|
|
|
@ -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); |
|
|
|
|
return Result.OK(listrf.get(0).getFunId()); |
|
|
|
|
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); |
|
|
|
|
return Result.OK(listrf.get(0).getFunId()); |
|
|
|
|
if(listrf.size()>0){ |
|
|
|
|
return Result.OK(listrf.get(0).getFunId()); |
|
|
|
|
}else { |
|
|
|
|
return Result.error("无对应功能"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|