|
|
@@ -286,7 +286,7 @@ public class FactorEnchanceController extends JeecgController<FactorEnchance, IF
|
|
|
Page<FactorEnchance> page = new Page<FactorEnchance>(pageNo, pageSize);
|
|
|
queryWrapper.eq("del_flag", CommonConstant.DEL_FLAG_0);
|
|
|
queryWrapper.in("factor_catalog", medicalInsRuleInfoId, shareRulesId);
|
|
|
- //包括自身规则 -
|
|
|
+ //过滤自身规则
|
|
|
if (list.size() > 0) {
|
|
|
queryWrapper.notIn("id", list.stream().map(RuleFactorRela::getFactorEnhanceId).collect(Collectors.toList()));
|
|
|
}
|
|
|
@@ -300,6 +300,7 @@ public class FactorEnchanceController extends JeecgController<FactorEnchance, IF
|
|
|
@ApiOperation(value = "配置规则类别对应数据", notes = "配置规则类别对应数据")
|
|
|
@GetMapping(value = "/relaChildrenList")
|
|
|
public Result<List<CommonResponse>> relaChildrenList(@RequestParam(name = "medicalInsRuleInfoId") Integer medicalInsRuleInfoId, HttpServletRequest req) {
|
|
|
+
|
|
|
List<RuleFactorRela> list = ruleFactorRelaService.list(medicalInsRuleInfoId);
|
|
|
List<CommonResponse> responses = new ArrayList<>();
|
|
|
if (list.size() > 0) {
|