Browse Source

修复任务分发首页数量

main
sjh 1 year ago
parent
commit
8a576fa3c7
  1. 1
      src/main/java/com/biutag/supervision/service/ModelClueTaskService.java

1
src/main/java/com/biutag/supervision/service/ModelClueTaskService.java

@ -30,6 +30,7 @@ public class ModelClueTaskService extends ServiceImpl<ModelClueTaskMapper, Model
if (Objects.nonNull(param.getDistributionTime()) && !param.getDistributionTime().isEmpty()) {
queryWrapper.between("mt.distribution_time", param.getDistributionTime().get(0), param.getDistributionTime().get(1));
}
queryWrapper.groupBy("mt.id");
Page<ModelClueTaskModel> page = baseMapper.queryPage(Page.of(param.getCurrent(), param.getSize()), queryWrapper);
return page;
}

Loading…
Cancel
Save