|
|
@@ -168,8 +168,8 @@ public class CreateRyDailyReportOrderJob implements JobHandler {
|
|
|
// 查询当天生成的日报
|
|
|
LocalDateTime createDate = report.getCreateTime();
|
|
|
String formatDateStr = LocalDateTimeUtil.format(createDate, "yyyy-MM-dd");
|
|
|
- // 除新疆综合队外的其它队伍
|
|
|
- if (formatDateStr.equals(currentFormatDateStr)) {
|
|
|
+ // 除新疆综合队外的其它队伍 排队综合队
|
|
|
+ if (formatDateStr.equals(currentFormatDateStr) && !updaterPair.containsKey(report.getDeptId())) {
|
|
|
currentDayReportedDeptIds.add(report.getDeptId());
|
|
|
}
|
|
|
// 查询 新疆综合队 在明天有没有创建过日报
|
|
|
@@ -178,7 +178,7 @@ public class CreateRyDailyReportOrderJob implements JobHandler {
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
-
|
|
|
+ System.out.println("综合队明天的日报数量:" + tomorrowReportedDeptIds.size());
|
|
|
// 所有的部门id
|
|
|
Set<Long> reportedDeptIds = new HashSet<>();
|
|
|
// 今天生成日报部门id
|