|
@@ -87,9 +87,9 @@ public class PlanApprovalController {
|
|
|
int size = planPassService.getPassList(build1).size();
|
|
|
int size1 = planPassService.getPassList(build2).size();
|
|
|
//计划提醒
|
|
|
- int size2 = planReminderService.getReminderList(build0).size();
|
|
|
+ long count = planReminderService.getReminderList(build0).stream().filter(item -> item.getStatus() == 0).count();
|
|
|
|
|
|
- return ResponseBeanBuilder.ok(unfinishedNum.builder().approval(totalfir.intValue()).pass(size + size1).remind(size2).build());
|
|
|
+ return ResponseBeanBuilder.ok(unfinishedNum.builder().approval(totalfir.intValue()).pass(size + size1).remind(((int) count)).build());
|
|
|
}
|
|
|
|
|
|
}
|