瀏覽代碼

去除功能管理账号限制

huang 2 周之前
父節點
當前提交
6cda8d3cf3
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/main/java/com/jsh/erp/service/FunctionService.java

+ 0 - 2
src/main/java/com/jsh/erp/service/FunctionService.java

@@ -78,10 +78,8 @@ public class FunctionService {
     public List<FunctionEx> select(String name, String type)throws Exception {
         List<FunctionEx> list=null;
         try{
-            if(BusinessConstants.DEFAULT_MANAGER.equals(userService.getCurrentUser().getLoginName())) {
                 PageUtils.startPage();
                 list = functionMapperEx.selectByConditionFunction(name, type);
-            }
         }catch(Exception e){
             JshException.readFail(logger, e);
         }