Gitea 1 year ago
parent 33c51d2cc8
commit be563b2933
  1. 10
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/modulex/controller/ModulexController.java

@ -339,7 +339,12 @@ public class ModulexController extends JeecgController<Modulex, IModulexService>
queryWrapper.eq("requirement_id",requirementid);
queryWrapper.eq("fun_level",2);
List<RequirementFun> listrf = requirementFunService.list(queryWrapper);
if(listrf.size()>0){
return Result.OK(listrf.get(0).getFunId());
}else {
return Result.error("无对应模块");
}
}
/**
@ -358,7 +363,12 @@ public class ModulexController extends JeecgController<Modulex, IModulexService>
queryWrapper.eq("requirement_id",requirementid);
queryWrapper.eq("fun_level",3);
List<RequirementFun> listrf = requirementFunService.list(queryWrapper);
if(listrf.size()>0){
return Result.OK(listrf.get(0).getFunId());
}else {
return Result.error("无对应功能");
}
}
/**

Loading…
Cancel
Save