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