This commit is contained in:
CD
2022-11-03 14:15:08 +08:00
parent 6aaf4a2d94
commit 7f3c977464
2 changed files with 2 additions and 2 deletions
@@ -170,7 +170,7 @@ public class PrehomoJob implements Job {
}
}
//如果prehomo - 逾期后每天通知
if (projectLawsInventoryEO.getDesignDueDate().before(currentDate)) {
if (!StringUtils.equals(currentDateStr,sdf.format(projectLawsInventoryEO.getPrehomoDueDate()))&&projectLawsInventoryEO.getDesignDueDate().before(currentDate)) {
if(StringUtils.isNotEmpty(projectLawsInventoryEO.getDesignDutyId())){
dueUserIdList.add(projectLawsInventoryEO.getDesignDutyId());
}
@@ -169,7 +169,7 @@ public class VerifyComplianceJob implements Job {
}
}
//如果验证符合性 - 逾期后每天通知
if (projectLawsInventoryEO.getVerifyDueDate().before(currentDate)) {
if (!StringUtils.equals(currentDateStr,sdf.format(projectLawsInventoryEO.getVerifyDueDate()))&&projectLawsInventoryEO.getVerifyDueDate().before(currentDate)) {
if(StringUtils.isNotEmpty(projectLawsInventoryEO.getVerifyDutyId())){
dueUserIdList.add(projectLawsInventoryEO.getVerifyDutyId());
}