|
@@ -999,7 +999,13 @@ public class PlanQuarterServiceImpl extends ServiceImpl<PlanQuarterMapper, PlanQ
|
|
|
}
|
|
|
}
|
|
|
if (!ObjectUtils.isEmpty(thresholdTimeStart) && !ObjectUtils.isEmpty(thresholdTimeEnd)) {
|
|
|
- if (instance.before(thresholdTimeStart) || instance.after(thresholdTimeEnd)) {
|
|
|
+ System.err.println("instance=" + new Date(instance.getTime().getTime()));
|
|
|
+ System.err.println("thresholdTimeStart=" + thresholdTimeStart);
|
|
|
+ System.err.println("thresholdTimeEnd=" + thresholdTimeEnd);
|
|
|
+ System.err.println("instance.before(thresholdTimeStart)=" + instance.before(thresholdTimeStart));
|
|
|
+ System.err.println("instance.after(thresholdTimeEnd)=" + instance.after(thresholdTimeEnd));
|
|
|
+ Date date = new Date(instance.getTime().getTime());
|
|
|
+ if (date.before(thresholdTimeStart) || date.after(thresholdTimeEnd)) {
|
|
|
return false;
|
|
|
}
|
|
|
}
|