|
|
@@ -317,9 +317,9 @@ public class ChecklistController extends BladeController {
|
|
|
for (int i = 0; i <= days; i++) {
|
|
|
String theDay = getDay(dateBegin, i);
|
|
|
// 延长一天,是为了sql可以查询出最后一天的记录
|
|
|
- String nextDay = getDay(dateBegin, i + 1);
|
|
|
+// String nextDay = getDay(dateBegin, i + 1);
|
|
|
checklist.setDate_begin(theDay);
|
|
|
- checklist.setDate_end(nextDay);
|
|
|
+ checklist.setDate_end(theDay);
|
|
|
|
|
|
deptChildIds.forEach(deptId -> {
|
|
|
List<Map> reportData = getReportData(checklist, dataType, theDay, deptService.getById(deptId), check_category, check_item);
|