|
@@ -923,7 +923,6 @@ public class PlanQuarterServiceImpl extends ServiceImpl<PlanQuarterMapper, PlanQ
|
|
public String planQuarterGetTips(HashMap<String, String> thresholdMap, HashMap<String, String> alertTimeMap) throws ParseException {
|
|
public String planQuarterGetTips(HashMap<String, String> thresholdMap, HashMap<String, String> alertTimeMap) throws ParseException {
|
|
//提示信息:定义距离结束时间*天内提示
|
|
//提示信息:定义距离结束时间*天内提示
|
|
int alertDay = Integer.parseInt(alertTimeMap.get("计划提报时间"));
|
|
int alertDay = Integer.parseInt(alertTimeMap.get("计划提报时间"));
|
|
- //提示信息:定义距离结束时间一周内提示
|
|
|
|
Integer remindTine = 1000 * 60 * 60 * 24 * alertDay;
|
|
Integer remindTine = 1000 * 60 * 60 * 24 * alertDay;
|
|
String subTips = "";
|
|
String subTips = "";
|
|
//季度提报时间的结束时间阈值
|
|
//季度提报时间的结束时间阈值
|
|
@@ -946,7 +945,6 @@ public class PlanQuarterServiceImpl extends ServiceImpl<PlanQuarterMapper, PlanQ
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- thresholdTime.setYear(date.getYear());
|
|
|
|
double surplus = thresholdTime.getTime() - date.getTime();
|
|
double surplus = thresholdTime.getTime() - date.getTime();
|
|
//少于设定时间便提醒
|
|
//少于设定时间便提醒
|
|
if (surplus < remindTine && surplus > 0) {
|
|
if (surplus < remindTine && surplus > 0) {
|