|
|
@@ -356,6 +356,7 @@ public class PurchaseManage { |
|
|
|
purchase.setBidType(w.getBidType()); |
|
|
|
purchase.setPurchaseDate(w.getPurchaseDate()); |
|
|
|
purchase.setBidPayAmount(w.getBidPayAmount()); |
|
|
|
purchase.setPublishMhNotice(w.getPublishMhNotice()); |
|
|
|
if (purchase.getId() == null) { |
|
|
|
purchase.setCreateBy(user.getUserIdStr()); |
|
|
|
} |
|
|
@@ -364,7 +365,7 @@ public class PurchaseManage { |
|
|
|
purchase.setAdaptStatus(TenderAdaptStatus.WITHOUT_ADAPT_INFO.getCode()); |
|
|
|
purchase.setStatus(TenderStatus.TO_BE_SUBMIT_PURCHASE_CONSTRUCTION_INFO.getCode()); |
|
|
|
purchase.setXcfhxApplyStatus(TenderXcfhxApplyStatus.TO_BE_SUBMIT_XCFHX_APPLY.getCode()); |
|
|
|
if (Boolean.TRUE.equals(mhPurchaseNoticeOpen)) { |
|
|
|
if (Boolean.TRUE.equals(mhPurchaseNoticeOpen) && Boolean.TRUE.equals(w.getPublishMhNotice())) { |
|
|
|
notices.add(buildPurchaseNotice(w, user)); |
|
|
|
} |
|
|
|
return purchase; |
|
|
@@ -373,7 +374,7 @@ public class PurchaseManage { |
|
|
|
projectStateMachineUtil.pass(project); |
|
|
|
projectService.updateById(project); |
|
|
|
// 发布采购公告 |
|
|
|
if (Boolean.TRUE.equals(mhPurchaseNoticeOpen)) { |
|
|
|
if (!notices.isEmpty()) { |
|
|
|
mhApiClient.publishPurchaseNotice(notices); |
|
|
|
} |
|
|
|
} |
|
|
|