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;