Browse Source

增加采购单位ID

tags/24080901
WendyYang 9 months ago
parent
commit
16259a6546
3 changed files with 8 additions and 0 deletions
  1. +2
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java
  2. +3
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/entity/Purchase.java
  3. +3
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/req/SubmitPurchaseNoticeReq.java

+ 2
- 0
hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java View File

@@ -272,7 +272,9 @@ public class PurchaseManage {
purchase.setPurchaseRemark(w.getPurchaseRemark()); purchase.setPurchaseRemark(w.getPurchaseRemark());
purchase.setPurchaseScope(w.getPurchaseScope()); purchase.setPurchaseScope(w.getPurchaseScope());
purchase.setPurchaseUnit(w.getPurchaseUnit()); purchase.setPurchaseUnit(w.getPurchaseUnit());
purchase.setPurchaseUnitId(w.getPurchaseUnitId());
purchase.setPurchaseContact(w.getPurchaseContact()); purchase.setPurchaseContact(w.getPurchaseContact());
purchase.setBidType(w.getBidType());
if (purchase.getId() == null) { if (purchase.getId() == null) {
purchase.setCreateBy(user.getUserIdStr()); purchase.setCreateBy(user.getUserIdStr());
} }


+ 3
- 0
hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/entity/Purchase.java View File

@@ -107,6 +107,9 @@ public class Purchase {
@ApiModelProperty("采购单位") @ApiModelProperty("采购单位")
private String purchaseUnit; private String purchaseUnit;


@ApiModelProperty("采购单位ID")
private Long purchaseUnitId;

@ApiModelProperty("采购联系人") @ApiModelProperty("采购联系人")
private String purchaseContact; private String purchaseContact;




+ 3
- 0
hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/req/SubmitPurchaseNoticeReq.java View File

@@ -77,6 +77,9 @@ public class SubmitPurchaseNoticeReq {
@ApiModelProperty("采购单位") @ApiModelProperty("采购单位")
private String purchaseUnit; private String purchaseUnit;


@ApiModelProperty("采购单位")
private Long purchaseUnitId;

@ApiModelProperty("采购联系人") @ApiModelProperty("采购联系人")
private String purchaseContact; private String purchaseContact;




Loading…
Cancel
Save