Explorar el Código

预警项目状态校验任务修改

tags/24090101
CMM hace 2 meses
padre
commit
48879e4212
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. +2
    -2
      hz-pm-api/src/main/java/com/hz/pm/api/scheduler/task/EarlyWarningProjectTask.java
  2. +2
    -2
      hz-pm-api/src/test/java/com/hz/pm/api/warning/DelayWarningTest.java

+ 2
- 2
hz-pm-api/src/main/java/com/hz/pm/api/scheduler/task/EarlyWarningProjectTask.java Ver fichero

@@ -234,7 +234,7 @@ public class EarlyWarningProjectTask {
}
break;
// 已采购未改造完成 当用户适配改造完成已完成单位确认 说明进度正常
case MODIFIED_NOT_FINAL_INSPECTION:{
case PURCHASED_UNMODIFIED:{
List<TenderStateChangeEvent> events = Lists.newArrayList();
events.add(TenderStateChangeEvent.SUBMIT_PURCHASE_ORG_CONFIRM);
PurchaseStatusChange purchaseStatusChange = purchaseStatusChangeService.getLastOne(projectCode, events);
@@ -250,7 +250,7 @@ public class EarlyWarningProjectTask {
}
break;
// 已改造完成未终验 当用户提交终验申请 说明进度正常
case PURCHASED_UNMODIFIED:{
case MODIFIED_NOT_FINAL_INSPECTION:{
List<ProjectStateChangeEvent> events = Lists.newArrayList();
events.add(ProjectStateChangeEvent.FINAL_ACCEPTANCE_APPLICATION);
ProjectStatusChange projectStatusChange = projectStatusChangeService.getLastOne(projectCode, events);


+ 2
- 2
hz-pm-api/src/test/java/com/hz/pm/api/warning/DelayWarningTest.java Ver fichero

@@ -371,7 +371,7 @@ public class DelayWarningTest extends AppTests {
}
break;
// 已采购未改造完成 当用户适配改造完成已完成单位确认 说明进度正常
case MODIFIED_NOT_FINAL_INSPECTION:{
case PURCHASED_UNMODIFIED:{
List<TenderStateChangeEvent> events = Lists.newArrayList();
events.add(TenderStateChangeEvent.SUBMIT_PURCHASE_ORG_CONFIRM);
PurchaseStatusChange purchaseStatusChange = purchaseStatusChangeService.getLastOne(projectCode, events);
@@ -387,7 +387,7 @@ public class DelayWarningTest extends AppTests {
}
break;
// 已改造完成未终验 当用户提交终验申请 说明进度正常
case PURCHASED_UNMODIFIED:{
case MODIFIED_NOT_FINAL_INSPECTION:{
List<ProjectStateChangeEvent> events = Lists.newArrayList();
events.add(ProjectStateChangeEvent.FINAL_ACCEPTANCE_APPLICATION);
ProjectStatusChange projectStatusChange = projectStatusChangeService.getLastOne(projectCode, events);


Cargando…
Cancelar
Guardar