Browse Source

ERP上传公共询价增加需求数量

hejq 7 years ago
parent
commit
e7c8459200

+ 14 - 0
src/main/java/com/uas/ps/inquiry/entity/BatchInProduct.java

@@ -52,6 +52,12 @@ public class BatchInProduct {
      */
     private String em_name;
 
+    /**
+     * 需求数量/月采购数量
+     */
+    private Double ycgqty;
+
+
     public Long getBip_id() {
         return bip_id;
     }
@@ -123,4 +129,12 @@ public class BatchInProduct {
     public void setEm_name(String em_name) {
         this.em_name = em_name;
     }
+
+    public Double getYcgqty() {
+        return ycgqty;
+    }
+
+    public void setYcgqty(Double ycgqty) {
+        this.ycgqty = ycgqty;
+    }
 }

+ 1 - 0
src/main/java/com/uas/ps/inquiry/service/impl/PublicInquiryServiceImpl.java

@@ -465,6 +465,7 @@ public class PublicInquiryServiceImpl implements PublicInquiryService {
                             item.setUserCode(batch.getBip_buyercode());
                             item.setOfferAmount(0);
                             item.setEndDate(inquiry.getBi_enddate());
+                            item.setNeedquantity(batch.getYcgqty());
                             if (null == item.getCmpCode() || item.getCmpCode().equals("无")) {
                                 item.setCmpCode(item.getSpec());
                             }