Sfoglia il codice sorgente

feat:

1. 项目详情进度名称修改;
2. 标项状态变更事件修改;
master
WendyYang 1 giorno fa
parent
commit
9608833093
4 ha cambiato i file con 19 aggiunte e 7 eliminazioni
  1. +13
    -2
      hz-pm-api/src/main/java/com/hz/pm/api/common/statemachine/event/TenderStateChangeEvent.java
  2. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/meeting/manage/MeetingManage.java
  3. +4
    -3
      hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java
  4. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/projectlib/handle/AbstractProcessHandle.java

+ 13
- 2
hz-pm-api/src/main/java/com/hz/pm/api/common/statemachine/event/TenderStateChangeEvent.java Vedi File

@@ -15,11 +15,22 @@ import lombok.Getter;
@AllArgsConstructor
public enum TenderStateChangeEvent implements AbstractStateChangeEvent {


/**
* 增加标项
*/
SUBMIT_PURCHASE_NOTICE(100, null, null),
/**
* 增加标项重新提交
*/
RESUBMIT_PURCHASE_NOTICE(108, null, null),
/**
* 增加标项通过
*/
PURCHASE_NOTICE_PASSED(107, null, null),
PURCHASE_NOTICE_FAILED(null, 108, null),
/**
* 增加标项不通过
*/
PURCHASE_NOTICE_FAILED(null, 107, null),
/**
* 填写采购&合同信息
*/


+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/meeting/manage/MeetingManage.java Vedi File

@@ -150,7 +150,7 @@ public class MeetingManage {
throw ReturnException.wrap("会议正在创建中");
}
try {
UserInfoDetails userDetail = LoginUserUtil.userDetail();
UserInfoDetails userDetail = LoginUserUtil.userDetailNotNull();
ExpertInviteReq inviteRule = req.getExpertInviteRule();
// 保存会议基本信息
Meeting meeting = BeanUtil.copyProperties(meetingBasic, Meeting.class);


+ 4
- 3
hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java Vedi File

@@ -526,6 +526,7 @@ public class PurchaseManage {
purchase.setPurchaseDate(w.getPurchaseDate());
purchase.setBidPayAmount(w.getBidPayAmount());
purchase.setPublishMhNotice(w.getPublishMhNotice());
purchase.setId(w.getBidId());
if (w.getBidId() == null) {
purchase.setCreateBy(user.getUserIdStr());
}
@@ -861,7 +862,7 @@ public class PurchaseManage {
throw BizException.wrap("该状态下不支持提交测试验证信息");
}
});
UserInfoDetails user = LoginUserUtil.userDetail();
UserInfoDetails user = LoginUserUtil.userDetailNotNull();
ProjectProcessType instType = ProjectProcessType.TEST_VALID;
WflowModels model = processModelManage.getWflowModelsNoNull(instType, user.getMhUnitId());
LocalDateTime now = LocalDateTime.now();
@@ -926,7 +927,7 @@ public class PurchaseManage {
throw BizException.wrap("该状态下不支持提交系统自测信息");
}
}
UserInfoDetails user = LoginUserUtil.userDetail();
UserInfoDetails user = LoginUserUtil.userDetailNotNull();
ProjectProcessType instType = ProjectProcessType.SELF_TEST;
WflowModels model = processModelManage.getWflowModelsNoNull(instType, user.getMhUnitId());

@@ -974,7 +975,7 @@ public class PurchaseManage {
throw BizException.wrap("该状态下不支持提交适配改造信息");
}
}
UserInfoDetails user = LoginUserUtil.userDetail();
UserInfoDetails user = LoginUserUtil.userDetailNotNull();
ProjectProcessType instType = ProjectProcessType.ADAPTION;
WflowModels model = processModelManage.getWflowModelsNoNull(instType, user.getMhUnitId());
Long projectId = purchases.get(0).getProjectId();


+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/projectlib/handle/AbstractProcessHandle.java Vedi File

@@ -37,7 +37,7 @@ public abstract class AbstractProcessHandle implements Ordered, ProcessHandle {

PROJECT_DECLARED("项目申报", 0),
COMPLIANCE_REVIEW("合规性审查", 1),
PROJECT_REVIEW("项目复核", 2),
PROJECT_REVIEW("项目评审", 2),
APPROVAL_AMOUNT("资金下达", 3),
PROJECT_APPROVAL("项目立项", 4),
PROJECT_PURCHASE("招标采购", 5),


Loading…
Annulla
Salva