소스 검색

modify:

1. 终止审批拒绝修改;
tags/24080901
WendyYang 5 달 전
부모
커밋
fc063c4fab
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      hz-pm-api/src/main/java/com/hz/pm/api/projectlib/helper/ProjectChangeStopHelper.java

+ 2
- 2
hz-pm-api/src/main/java/com/hz/pm/api/projectlib/helper/ProjectChangeStopHelper.java 파일 보기

@@ -134,7 +134,7 @@ public class ProjectChangeStopHelper {
TenderStateChangeEvent tenderEvent) {
if (projBeforeEvent != null) {
if (projEvent.equals(ProjectStateChangeEvent.STOPPED_APPLY_FAILED)) {
project.setStoppedStatus(buildBizStatus(projBeforeEvent).getCode());
project.setStoppedStatus(buildBizStatus(projEvent).getCode());
} else {
Wrapper<ProjectChangeHistory> changeHistoryWrapper = Wrappers.lambdaQuery(ProjectChangeHistory.class)
.eq(ProjectChangeHistory::getProjectCode, project.getProjectCode())
@@ -158,7 +158,7 @@ public class ProjectChangeStopHelper {
.createOn(project.getCreateOn())
.build());
project.setStatus(change.getBeforeStatus());
project.setStage(project.getStatus() - project.getStatus() % 10000);
project.setStage(ProjectStatus.getNoNull(project.getStatus()).getStage().getCode());
projectService.updateById(project);
List<Purchase> purchases = purchaseService.listByProjectId(project.getId());
if (!purchases.isEmpty()) {


불러오는 중...
취소
저장