fix: 80689 企标计划--当前日期大于计划日期,且未完成制修订流程,项目状态未更新
This commit is contained in:
+2
-2
@@ -26,8 +26,8 @@ public class ESPlanProjectStatusJob implements Job {
|
||||
public void execute(JobExecutionContext context) throws JobExecutionException {
|
||||
// 每天执行定时任务 判断所有进行中的计划是否逾期 逾期则修改项目状态为逾期
|
||||
LambdaQueryWrapper<EnterpriseStandardPlan> espWrapper = new LambdaQueryWrapper<>();
|
||||
espWrapper.eq(EnterpriseStandardPlan::getProjectStatus, ESPProjectStatus.IN_PROGRESS.getValue());
|
||||
espWrapper.eq(EnterpriseStandardPlan::getProjectStatus, ESPProjectStatus.OVERDUE.getValue());
|
||||
espWrapper.eq(EnterpriseStandardPlan::getProjectStatus, ESPProjectStatus.IN_PROGRESS.getValue())
|
||||
.or().eq(EnterpriseStandardPlan::getProjectStatus, ESPProjectStatus.OVERDUE.getValue());
|
||||
espWrapper.eq(EnterpriseStandardPlan::getDelFlag, YesOrNoEnum.NO.getValue());
|
||||
List<EnterpriseStandardPlan> list = espService.list(espWrapper);
|
||||
Date curDate = new Date();
|
||||
|
||||
Reference in New Issue
Block a user