Commit 31226bbe by huangZW

1111

parent b1fd4e2d
package com.gic.haoban.manage.api.service;
import com.gic.haoban.manage.api.dto.ApplicationSettingDTO;
import com.gic.haoban.manage.api.dto.AuditSettingDTO;
/**
......
......@@ -13,4 +13,6 @@ public interface DictApiService {
DictDTO findOneDict(String dictId);
Page<DictDTO> pageList(BasePageInfo pageInfo);
void deleteOne(String dictId);
}
......@@ -66,7 +66,7 @@ public class EnterpriseController extends WebBaseController{
return resultResponse(HaoBanErrCode.ERR_1,pageVo);
}
//企业列表
//授权详情列表
@RequestMapping("authorize-detail")
public HaobanResponse authorizeDetail(String wxEnterpriseId) {
List<EnterpriseDetailDTO> list = wxEnterpriseRelatedApiService.listEnterpriseByWxEnterpriseId(wxEnterpriseId);
......
......@@ -49,4 +49,9 @@ public class DictServiceImpl implements DictApiService{
PageHelper.startPage(pageInfo.getPageNum(), pageInfo.getPageSize());
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