|
@@ -924,7 +924,7 @@ public class PlanQuarterServiceImpl extends ServiceImpl<PlanQuarterMapper, PlanQ
|
|
|
//提示信息:定义距离结束时间*天内提示
|
|
|
int alertDay = Integer.parseInt(alertTimeMap.get("计划提报时间"));
|
|
|
//提示信息:定义距离结束时间一周内提示
|
|
|
- Integer remindTine = 1000 * 60 * 60 * 24 * alertDay; //提示语
|
|
|
+ Integer remindTine = 1000 * 60 * 60 * 24 * alertDay;
|
|
|
String subTips = "";
|
|
|
//季度提报时间的结束时间阈值
|
|
|
Date thresholdTime = null;
|
|
@@ -948,7 +948,7 @@ public class PlanQuarterServiceImpl extends ServiceImpl<PlanQuarterMapper, PlanQ
|
|
|
}
|
|
|
thresholdTime.setYear(date.getYear());
|
|
|
double surplus = thresholdTime.getTime() - date.getTime();
|
|
|
- //少于一周便提醒
|
|
|
+ //少于设定时间便提醒
|
|
|
if (surplus < remindTine && surplus > 0) {
|
|
|
//剩余天数(向上取整)
|
|
|
int i = new Double(Math.ceil(surplus / 1000 / 60 / 60 / 24)).intValue();
|