|
|
@@ -278,7 +278,12 @@ public class IotRyDailyReportServiceImpl implements IotRyDailyReportService {
|
|
|
tempDetail.setDeptId(iotRyDailyReport.getDeptId());
|
|
|
tempDetail.setTaskId(iotRyDailyReport.getTaskId());
|
|
|
tempDetail.setReportId(iotRyDailyReport.getId());
|
|
|
- tempDetail.setReportDate(detail.getReportDate());
|
|
|
+ if (ObjUtil.isNotEmpty(detail.getReportDate())) {
|
|
|
+ tempDetail.setReportDate(detail.getReportDate());
|
|
|
+ }
|
|
|
+ if (ObjUtil.isNotEmpty(detail.getStartDateTime())) {
|
|
|
+ tempDetail.setReportDate(detail.getStartDateTime());
|
|
|
+ }
|
|
|
reportDOs.add(tempDetail);
|
|
|
});
|
|
|
// 插入日报明细记录
|