|
@@ -408,7 +408,10 @@ public class ApsServiceImpl implements ApsService {
|
|
|
apsPlanStartDate = DateUtil.date().offset(DateField.HOUR, a);
|
|
|
}
|
|
|
}
|
|
|
+ String formatdate = DateUtil.format(apsPlanStartDate, "yyyy-MM-dd HH:mm");
|
|
|
+ apsPlanStartDate = DateUtil.parse(formatdate,"yyyy-MM-dd HH:mm");
|
|
|
Date finalApsPlanStartDate = apsPlanStartDate;
|
|
|
+
|
|
|
/*Date finalApsPlanStartDate = Date.from(
|
|
|
LocalDateTime.now().plusDays(1).withHour(12).withMinute(0).withSecond(0).atZone(ZoneId.systemDefault()).toInstant());*/
|
|
|
if (cdorders != null && cdorders.size() > 0) {
|