fix 81518 未符合项-编辑没有根据时间重新判断状态

This commit is contained in:
lijiarao
2024-02-01 17:38:14 +08:00
parent 059961d317
commit b682979d0d
@@ -169,6 +169,8 @@ public class LawsEvaluationNotMetServiceImpl extends ServiceImpl<LawsEvaluationN
lawsEvaluationNotMet.setState(AssessCommon.OVERDUE); lawsEvaluationNotMet.setState(AssessCommon.OVERDUE);
}else if (expectedTime.compareTo(theDayBefore) < 0){ }else if (expectedTime.compareTo(theDayBefore) < 0){
lawsEvaluationNotMet.setState(AssessCommon.WARNING); lawsEvaluationNotMet.setState(AssessCommon.WARNING);
}else if (expectedTime.compareTo(theDayBefore) >= 0){
lawsEvaluationNotMet.setState(AssessCommon.TO_BE_RECTIFIED);
} }
} }