Browse Source

开票信息增加店铺id

yujia 7 years ago
parent
commit
7645914f23

+ 30 - 0
src/main/java/com/uas/platform/b2c/fa/settlement/model/BillSubmit.java

@@ -135,6 +135,18 @@ public class BillSubmit implements Serializable{
     @Column(name = "bs_bill_info", columnDefinition = "text")
     private String billInfo;
 
+    /**
+     * 店铺id
+     */
+    @Column(name = "bs_storeid")
+    private String storeid;
+
+    /**
+     * 店铺名称
+     */
+    @Column(name = "bs_store_name")
+    private String storeName;
+
     public Long getId() {
         return id;
     }
@@ -287,4 +299,22 @@ public class BillSubmit implements Serializable{
         this.billInfo = billInfo;
         return this;
     }
+
+    public String getStoreid() {
+        return storeid;
+    }
+
+    public BillSubmit setStoreid(String storeid) {
+        this.storeid = storeid;
+        return this;
+    }
+
+    public String getStoreName() {
+        return storeName;
+    }
+
+    public BillSubmit setStoreName(String storeName) {
+        this.storeName = storeName;
+        return this;
+    }
 }

+ 1 - 0
src/main/java/com/uas/platform/b2c/fa/settlement/service/impl/BillSubmitServiceImpl.java

@@ -134,6 +134,7 @@ public class BillSubmitServiceImpl implements BillSubmitService {
                 if (buyerEnuu.equals(order.getBuyerenuu()) && buyeruu.equals(order.getBuyeruu())) {
                     billSubmit.setSellername(order.getSellername());
                     billSubmit.setSellerenuu(order.getSellerenuu());
+                    billSubmit.setStoreid(order.getStoreid());
                     order.setInvoicetype(bill.getKind());
                     order.setInvoiceAddress(bill.getArea() + "," + bill.getDetailAddress());
                     order.setInvoiceid(bill.getId());