Browse Source

风险分项限制在5条的问题

main
kami 1 year ago
parent
commit
294010e61f
  1. 4
      src/main/java/com/biutag/supervision/controller/sensitivePerception/RiskPersonalController.java

4
src/main/java/com/biutag/supervision/controller/sensitivePerception/RiskPersonalController.java

@ -83,7 +83,7 @@ public class RiskPersonalController {
.eq(RiskScoreRule::getLevel, 2)); .eq(RiskScoreRule::getLevel, 2));
List<Model> models = modelService.list(new LambdaQueryWrapper<Model>().in(Model::getRiskScoreRuleId, rules2.stream().map(RiskScoreRule::getId).toList())); List<Model> models = modelService.list(new LambdaQueryWrapper<Model>().in(Model::getRiskScoreRuleId, rules2.stream().map(RiskScoreRule::getId).toList()));
List<RiskModelTaskClue> records = models.isEmpty() ? new ArrayList<>() : riskModelTaskClueService.page(Page.of(1, 5), new LambdaQueryWrapper<RiskModelTaskClue>() List<RiskModelTaskClue> records = models.isEmpty() ? new ArrayList<>() : riskModelTaskClueService.page(Page.of(1, 100), new LambdaQueryWrapper<RiskModelTaskClue>()
.eq(RiskModelTaskClue::getIdCode, riskPersonal.getIdCode()) .eq(RiskModelTaskClue::getIdCode, riskPersonal.getIdCode())
.in(RiskModelTaskClue::getModelId, models.stream().map(Model::getId).toList()) .in(RiskModelTaskClue::getModelId, models.stream().map(Model::getId).toList())
.eq(RiskModelTaskClue::getDel, "0") .eq(RiskModelTaskClue::getDel, "0")
@ -98,4 +98,4 @@ public class RiskPersonalController {
return Result.success(riskPersonalDetail); return Result.success(riskPersonalDetail);
} }
} }

Loading…
Cancel
Save