fix 81518 未符合项-编辑没有根据时间重新判断状态
This commit is contained in:
+3
-1
@@ -158,7 +158,9 @@ public class LawsEvaluationNotMetServiceImpl extends ServiceImpl<LawsEvaluationN
|
|||||||
lawsEvaluationNotMet.setSource(source);
|
lawsEvaluationNotMet.setSource(source);
|
||||||
//如果待整改判断预警和超期
|
//如果待整改判断预警和超期
|
||||||
String state = lawsEvaluationNotMet.getState();
|
String state = lawsEvaluationNotMet.getState();
|
||||||
if (AssessCommon.TO_BE_RECTIFIED.equals(state)){
|
if (AssessCommon.TO_BE_RECTIFIED.equals(state)
|
||||||
|
||AssessCommon.OVERDUE.equals(state)
|
||||||
|
||AssessCommon.WARNING.equals(state)){
|
||||||
Date expectedTime = lawsEvaluationNotMet.getExpectedTime();
|
Date expectedTime = lawsEvaluationNotMet.getExpectedTime();
|
||||||
DateTime date = DateUtil.date();
|
DateTime date = DateUtil.date();
|
||||||
DateTime theDayBefore = DateUtil.offsetDay(date, 1);
|
DateTime theDayBefore = DateUtil.offsetDay(date, 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user