优化功能菜单模块的接口

This commit is contained in:
季圣华
2022-07-27 23:00:29 +08:00
parent 32fccee92c
commit 80c25cc35e
2 changed files with 0 additions and 74 deletions

View File

@@ -178,26 +178,6 @@ public class FunctionService {
return list;
}
/**
* 获取功能列表的叶子节点
* @return
* @throws Exception
*/
public List<Function> getRoleFunctionLeaf()throws Exception {
FunctionExample example = new FunctionExample();
example.createCriteria().andEnabledEqualTo(true).andParentNumberNotEqualTo("0")
.andComponentNotEqualTo("/layouts/IframePageView")
.andDeleteFlagNotEqualTo(BusinessConstants.DELETE_FLAG_DELETED);
example.setOrderByClause("Sort");
List<Function> list=null;
try{
list = functionsMapper.selectByExample(example);
}catch(Exception e){
JshException.readFail(logger, e);
}
return list;
}
public List<Function> findRoleFunction(String pnumber)throws Exception{
FunctionExample example = new FunctionExample();
example.createCriteria().andEnabledEqualTo(true).andParentNumberEqualTo(pnumber)