|
@@ -145,7 +145,8 @@ public class BandingTaskController {
|
|
|
public RT<List<BandingTaskRuleVo>> ruleList(@RequestParam Long id){
|
|
|
List<BandingRule> ruleList = ruleService.list();
|
|
|
|
|
|
- Set<Long> collect = taskRuleService.list().stream().map(BandingTaskRule::getBandingRuleId).collect(Collectors.toSet());
|
|
|
+ Set<Long> collect = taskRuleService.list(new QueryWrapper<BandingTaskRule>().lambda().eq(BandingTaskRule::getBandingTaskId, id))
|
|
|
+ .stream().map(BandingTaskRule::getBandingRuleId).collect(Collectors.toSet());
|
|
|
|
|
|
List<BandingTaskRuleVo> list = new ArrayList<>();
|
|
|
for (BandingRule bandingRule : ruleList) {
|