|
@@ -62,11 +62,7 @@ public class ZhcxReprotSameDayRealTimeInspectionStatisticsServiceImpl extends Se
|
|
|
Date statisticsTime = calendar.getTime();
|
|
|
|
|
|
//当前最后一小时
|
|
|
- calendar.set(Calendar.HOUR, 23);
|
|
|
- calendar.set(Calendar.MINUTE, 59);
|
|
|
- calendar.set(Calendar.SECOND, 59);
|
|
|
- calendar.set(Calendar.MILLISECOND, 999);
|
|
|
- String endTime = dateFormat.format(calendar.getTime());
|
|
|
+ String endTime = DateUtil.format(statisticsTime, "yyyy-MM-dd") + " 23:59:59";
|
|
|
|
|
|
//前一小时报验单
|
|
|
List<SameDayRealTimeInspectionVo> inspetionList = dao.getInspetion(dateFormat.format(date0), endTime);
|