Commit 31226bbe by huangZW

1111

parent b1fd4e2d
package com.gic.haoban.manage.api.service; package com.gic.haoban.manage.api.service;
import com.gic.haoban.manage.api.dto.ApplicationSettingDTO;
import com.gic.haoban.manage.api.dto.AuditSettingDTO; import com.gic.haoban.manage.api.dto.AuditSettingDTO;
/** /**
......
...@@ -13,4 +13,6 @@ public interface DictApiService { ...@@ -13,4 +13,6 @@ public interface DictApiService {
DictDTO findOneDict(String dictId); DictDTO findOneDict(String dictId);
Page<DictDTO> pageList(BasePageInfo pageInfo); Page<DictDTO> pageList(BasePageInfo pageInfo);
void deleteOne(String dictId);
} }
...@@ -66,7 +66,7 @@ public class EnterpriseController extends WebBaseController{ ...@@ -66,7 +66,7 @@ public class EnterpriseController extends WebBaseController{
return resultResponse(HaoBanErrCode.ERR_1,pageVo); return resultResponse(HaoBanErrCode.ERR_1,pageVo);
} }
//企业列表 //授权详情列表
@RequestMapping("authorize-detail") @RequestMapping("authorize-detail")
public HaobanResponse authorizeDetail(String wxEnterpriseId) { public HaobanResponse authorizeDetail(String wxEnterpriseId) {
List<EnterpriseDetailDTO> list = wxEnterpriseRelatedApiService.listEnterpriseByWxEnterpriseId(wxEnterpriseId); List<EnterpriseDetailDTO> list = wxEnterpriseRelatedApiService.listEnterpriseByWxEnterpriseId(wxEnterpriseId);
......
...@@ -49,4 +49,9 @@ public class DictServiceImpl implements DictApiService{ ...@@ -49,4 +49,9 @@ public class DictServiceImpl implements DictApiService{
PageHelper.startPage(pageInfo.getPageNum(), pageInfo.getPageSize()); PageHelper.startPage(pageInfo.getPageNum(), pageInfo.getPageSize());
return PageUtil.changePageHelperToCurrentPage( dictMapper.pageList(),DictDTO.class); return PageUtil.changePageHelperToCurrentPage( dictMapper.pageList(),DictDTO.class);
} }
@Override
public void deleteOne(String dictId) {
dictMapper.deleteByPrimaryKey(dictId);
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment