From b7e08df5a07b3fa832a46ecc31983e16f2bccc8c Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 24 七月 2023 14:56:01 +0800
Subject: [PATCH] # 出库作业,和库存明细管理 排序

---
 src/main/java/com/zy/asrs/entity/PltBarcode.java |  105 +++++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 94 insertions(+), 11 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/PltBarcode.java b/src/main/java/com/zy/asrs/entity/PltBarcode.java
index 4481171..a02bdf6 100644
--- a/src/main/java/com/zy/asrs/entity/PltBarcode.java
+++ b/src/main/java/com/zy/asrs/entity/PltBarcode.java
@@ -9,6 +9,7 @@
 import com.zy.system.entity.User;
 import com.zy.system.service.UserService;
 import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
 import org.springframework.format.annotation.DateTimeFormat;
 
 import java.io.Serializable;
@@ -16,6 +17,7 @@
 import java.util.Date;
 
 @TableName("asr_plt_barcode")
+@Data
 public class PltBarcode implements Serializable {
 
     private static final long serialVersionUID = 1L;
@@ -71,6 +73,13 @@
     private Double qty;
 
     /**
+     * 鎬绘暟閲�
+     */
+    @ApiModelProperty(value= "鎬绘暟閲�")
+    @TableField("all_qty")
+    private Double allQty;
+
+    /**
      * 搴撲綅鍙�
      */
     @ApiModelProperty(value= "搴撲綅鍙�")
@@ -106,15 +115,35 @@
      */
     @ApiModelProperty(value= "鍗曢噸")
     private Double weight;
-
+    /**
+     * 鎬婚噸
+     */
+    @ApiModelProperty(value= "鎬婚噸閲�")
+    @TableField("all_weight")
+    private Double allWeight;
+    /**
+     * 鏉ユ簮
+     */
+    @ApiModelProperty(value="鏉ユ簮")
+    private String source;
+    /**
+     * 鎵瑰彿
+     */
+    @ApiModelProperty(value = "鎵瑰彿")
+    private String supplier;
+    /**
+     * 渚涘簲鍟�
+     */
+    @ApiModelProperty(value = "渚涘簲鍟�")
+    private String vendor;
     /**
      * 澶囨敞
      */
     @ApiModelProperty(value= "澶囨敞")
     private String memo;
 
-    @ApiModelProperty(value= "鎵瑰彿")
-    private String supplier;
+//    @ApiModelProperty(value= "鎵瑰彿")
+//    private String supplier;
 
     /**
      * ERP杩炵嚎 0: 闈炶繛绾�  1: ERP杩炵嚎  
@@ -168,9 +197,49 @@
     @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
     private Date appeTime;
 
+    /**
+     * 鍗曠鏁伴噺
+     */
+    @ApiModelProperty(value = "鍗曠鏁伴噺")
+    @TableField("qty_box")
+    private Double qtyBox;
+
+    /**
+     * 瀹㈡埛鍚嶇О
+     */
+    @ApiModelProperty(value= "瀹㈡埛鍚嶇О")
+    private String str3;
+
+    /**
+     * 椤圭洰淇℃伅
+     */
+    @ApiModelProperty(value= "椤圭洰淇℃伅")
+    private String str4;
+    /**
+     * 绫诲埆
+     */
+    @ApiModelProperty(value= "绫诲埆")
+    private String str5;
+
+    public String getStr5$(){
+        if (Cools.isEmpty(this.str5) ){
+            return "";
+        }
+        if (this.str5.equals("1")){
+            return "鍘熸潗鏂�";
+        }
+        if (this.str5.equals("2")){
+            return "鎴愬搧";
+        }
+        if (this.str5.equals("3")){
+            return "鍗婃垚鍝�";
+        }
+        return "";
+    }
+
     public PltBarcode() {}
 
-    public PltBarcode(String barcode,String billNo,Integer seqNo,Integer billType,String matNo,String matName,Double qty,String locNo,String specs,String unit,String size,String color,Double weight,String memo,Integer linkErp,Integer ioStatus,Date ioTime,Long modiUser,Date modiTime,Long appeUser,Date appeTime) {
+    public PltBarcode(String barcode,Double allQty,Double qtyBox,String source,String supplier,String vendor,Double allWeight,String billNo,Integer seqNo,Integer billType,String matNo,String matName,Double qty,String locNo,String specs,String unit,String size,String color,Double weight,String memo,Integer linkErp,Integer ioStatus,Date ioTime,Long modiUser,Date modiTime,Long appeUser,Date appeTime) {
         this.barcode = barcode;
         this.billNo = billNo;
         this.seqNo = seqNo;
@@ -192,6 +261,12 @@
         this.modiTime = modiTime;
         this.appeUser = appeUser;
         this.appeTime = appeTime;
+        this.allQty=allQty;
+        this.allWeight=allWeight;
+        this.source=source;
+        this.supplier=supplier;
+        this.vendor=vendor;
+        this.qtyBox=qtyBox;
     }
 
 //    PltBarcode pltBarcode = new PltBarcode(
@@ -225,6 +300,14 @@
     public void setBarcode(String barcode) {
         this.barcode = barcode;
     }
+
+    public double getAllWeight(){return allWeight;}
+
+    public void setAllWeight(Double allweight){this.allWeight=allweight;}
+
+    public Double getAllQty(){return allQty;}
+
+    public void setAllQty(Double allqty){this.allQty=allqty;}
 
     public String getBillNo() {
         return billNo;
@@ -340,13 +423,13 @@
         this.weight = weight;
     }
 
-    public String getSupplier() {
-        return supplier;
-    }
-
-    public void setSupplier(String supplier) {
-        this.supplier = supplier;
-    }
+//    public String getSupplier() {
+//        return supplier;
+//    }
+//
+//    public void setSupplier(String supplier) {
+//        this.supplier = supplier;
+//    }
 
     public String getMemo() {
         return memo;

--
Gitblit v1.9.1