ソースを参照

信创符合性申请修改

tags/24080901
WendyYang 8ヶ月前
コミット
e76243e8ad
6個のファイルの変更25行の追加4行の削除
  1. +11
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/common/statemachine/action/TenderAction.java
  2. +5
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/common/statemachine/builder/impl/TenderStateMachineBuilderImpl.java
  3. +4
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/common/statemachine/event/TenderStatusChangeEvent.java
  4. +2
    -2
      hz-pm-api/src/main/java/com/hz/pm/api/performance/manage/OrgSelfAppraisalManage.java
  5. +2
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/ConstructionManage.java
  6. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/projectlib/model/enumeration/ProjectStatusEnum.java

+ 11
- 0
hz-pm-api/src/main/java/com/hz/pm/api/common/statemachine/action/TenderAction.java ファイルの表示

@@ -107,6 +107,17 @@ public class TenderAction {
}

/**
* 重新提交信创符合性申请
*
* @param message \
*/
@OnTransition(source = "XCFHX_APPLY_FAILED", target = "ON_XCFHX_APPLY")
public void RESUBMIT_XCFHX_APPLY(Message<ProjectStatusChangeEvent> message) {
Purchase purchase = getPurchaseInfo(message);
purchase.setStatus(TenderStatusEnum.ON_XCFHX_APPLY.getTenderStatus());
}

/**
* 终验申报
*
* @param message \


+ 5
- 0
hz-pm-api/src/main/java/com/hz/pm/api/common/statemachine/builder/impl/TenderStateMachineBuilderImpl.java ファイルの表示

@@ -98,6 +98,11 @@ public class TenderStateMachineBuilderImpl implements TenderStateMachineBuilder
.source(TenderStatusEnum.TO_BE_SUBMIT_XCFHX_APPLY)
.target(TenderStatusEnum.ON_XCFHX_APPLY)
.event(TenderStatusChangeEvent.SUBMIT_XCFHX_APPLY)
.and()// 信创符合性申请
.withExternal()
.source(TenderStatusEnum.XCFHX_APPLY_FAILED)
.target(TenderStatusEnum.ON_XCFHX_APPLY)
.event(TenderStatusChangeEvent.RESUBMIT_XCFHX_APPLY)
.and()
// 信创符合性申请通过
.withExternal()


+ 4
- 0
hz-pm-api/src/main/java/com/hz/pm/api/common/statemachine/event/TenderStatusChangeEvent.java ファイルの表示

@@ -38,6 +38,10 @@ public enum TenderStatusChangeEvent {
*/
SUBMIT_XCFHX_APPLY(301, null, null),
/**
* 信创符合性重新申请
*/
RESUBMIT_XCFHX_APPLY(303, null, null),
/**
* 信创符合性申请通过
*/
XCFHX_APPLY_PASSED(302, null, null),


+ 2
- 2
hz-pm-api/src/main/java/com/hz/pm/api/performance/manage/OrgSelfAppraisalManage.java ファイルの表示

@@ -82,8 +82,8 @@ public class OrgSelfAppraisalManage {
/**
* 绩效列表
*
* @param req
* @return
* @param req \
* @return \
*/
public PageVo<PerformanceAppraisalVO> list(PerformanceAppraisalListReq req) {
UserInfoDetails user = LoginUserUtil.loginUserDetail();


+ 2
- 1
hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/ConstructionManage.java ファイルの表示

@@ -642,7 +642,8 @@ public class ConstructionManage {
@Transactional(rollbackFor = Exception.class)
public void submitXcfhxApply(XcfhxApplyReq req) {
Purchase purchase = purchaseService.getById(req.getBidId());
if (!TenderStatusEnum.TO_BE_SUBMIT_XCFHX_APPLY.eq(purchase.getStatus())) {
if (!TenderStatusEnum.TO_BE_SUBMIT_XCFHX_APPLY.eq(purchase.getStatus())
&& !TenderStatusEnum.XCFHX_APPLY_FAILED.eq(purchase.getStatus())) {
throw BizException.wrap("该标段不支持提交信创符合性申请");
}



+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/projectlib/model/enumeration/ProjectStatusEnum.java ファイルの表示

@@ -101,7 +101,7 @@ public enum ProjectStatusEnum {
return null;
}

public boolean eq(int code) {
public boolean eq(Integer code) {
return this.getCode().equals(code);
}



読み込み中…
キャンセル
保存