From 16259a654671f830f8df656a7ed7565c934996b3 Mon Sep 17 00:00:00 2001 From: WendyYang Date: Tue, 26 Mar 2024 13:54:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=87=87=E8=B4=AD=E5=8D=95?= =?UTF-8?q?=E4=BD=8DID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java | 2 ++ .../main/java/com/hz/pm/api/projectdeclared/model/entity/Purchase.java | 3 +++ .../hz/pm/api/projectdeclared/model/req/SubmitPurchaseNoticeReq.java | 3 +++ 3 files changed, 8 insertions(+) diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java index 68c195a..f25deab 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java @@ -272,7 +272,9 @@ public class PurchaseManage { purchase.setPurchaseRemark(w.getPurchaseRemark()); purchase.setPurchaseScope(w.getPurchaseScope()); purchase.setPurchaseUnit(w.getPurchaseUnit()); + purchase.setPurchaseUnitId(w.getPurchaseUnitId()); purchase.setPurchaseContact(w.getPurchaseContact()); + purchase.setBidType(w.getBidType()); if (purchase.getId() == null) { purchase.setCreateBy(user.getUserIdStr()); } diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/entity/Purchase.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/entity/Purchase.java index 0be6dc3..24cd3cd 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/entity/Purchase.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/entity/Purchase.java @@ -107,6 +107,9 @@ public class Purchase { @ApiModelProperty("采购单位") private String purchaseUnit; + @ApiModelProperty("采购单位ID") + private Long purchaseUnitId; + @ApiModelProperty("采购联系人") private String purchaseContact; diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/req/SubmitPurchaseNoticeReq.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/req/SubmitPurchaseNoticeReq.java index 9abf4b1..43f58fe 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/req/SubmitPurchaseNoticeReq.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/req/SubmitPurchaseNoticeReq.java @@ -77,6 +77,9 @@ public class SubmitPurchaseNoticeReq { @ApiModelProperty("采购单位") private String purchaseUnit; + @ApiModelProperty("采购单位") + private Long purchaseUnitId; + @ApiModelProperty("采购联系人") private String purchaseContact;