Kaynağa Gözat

工作台 预警 催办 处理

master
PoffyZhang 11 ay önce
ebeveyn
işleme
cf7eb67176
2 değiştirilmiş dosya ile 5 ekleme ve 2 silme
  1. +4
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/EarlyWarningProjectTask.java
  2. +1
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/sys/service/impl/ProjectEarlyWarningServiceImpl.java

+ 4
- 0
pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/EarlyWarningProjectTask.java Dosyayı Görüntüle

@@ -183,6 +183,7 @@ public class EarlyWarningProjectTask {
!renewalFundWarning.getDeclaredWarning() &&
!renewalFundWarning.getOperationWarning()){
renewalFundWarning.setNormal(Boolean.TRUE);
renewalFundWarning.setStatus(ProjectEarlyWarningStatusEnum.NORMAL.name());
}
projectEarlyWarningService.updateById(renewalFundWarning);
}
@@ -223,6 +224,7 @@ public class EarlyWarningProjectTask {
!operationWarning.getDeclaredWarning() &&
!operationWarning.getRenewalFundWarning()){
operationWarning.setNormal(Boolean.TRUE);
operationWarning.setStatus(ProjectEarlyWarningStatusEnum.NORMAL.name());
}
projectEarlyWarningService.updateById(operationWarning);
}
@@ -261,6 +263,7 @@ public class EarlyWarningProjectTask {
!declaredWarning.getOperationWarning() &&
!declaredWarning.getRenewalFundWarning()){
declaredWarning.setNormal(Boolean.TRUE);
declaredWarning.setStatus(ProjectEarlyWarningStatusEnum.NORMAL.name());
}
projectEarlyWarningService.updateById(declaredWarning);
}
@@ -299,6 +302,7 @@ public class EarlyWarningProjectTask {
!processWarning.getOperationWarning() &&
!processWarning.getRenewalFundWarning()){
processWarning.setNormal(Boolean.TRUE);
processWarning.setStatus(ProjectEarlyWarningStatusEnum.NORMAL.name());
}
projectEarlyWarningService.updateById(processWarning);
}


+ 1
- 2
pmapi/src/main/java/com/ningdatech/pmapi/sys/service/impl/ProjectEarlyWarningServiceImpl.java Dosyayı Görüntüle

@@ -4,7 +4,6 @@ import cn.hutool.core.collection.CollUtil;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ningdatech.pmapi.common.constant.BizConst;
import com.ningdatech.pmapi.projectlib.mapper.ProjectMapper;
import com.ningdatech.pmapi.projectlib.model.entity.Project;
import com.ningdatech.pmapi.projectlib.service.IProjectService;
import com.ningdatech.pmapi.sys.enumeration.ProjectEarlyWarningStatusEnum;
@@ -105,7 +104,7 @@ public class ProjectEarlyWarningServiceImpl extends ServiceImpl<ProjectEarlyWarn
warning.setStatus(ProjectEarlyWarningStatusEnum.OVER_TIME.name());
break;
case ADVENT:
warning.setStatus(ProjectEarlyWarningStatusEnum.OVER_TIME.name());
warning.setStatus(ProjectEarlyWarningStatusEnum.ADVENT_TIME.name());
break;
default:
warning.setStatus(ProjectEarlyWarningStatusEnum.OVER_TIME.name());


Yükleniyor…
İptal
Kaydet