From 9b31428152f0fc993130a9adf58f6163db9ea667 Mon Sep 17 00:00:00 2001
From: wang..123 <brook_w@163.com>
Date: 星期一, 14 二月 2022 21:23:52 +0800
Subject: [PATCH] 字段全部添加
---
src/main/java/com/zy/asrs/entity/PltBarcode.java | 45 +++++++++++++++++++--------------------------
1 files changed, 19 insertions(+), 26 deletions(-)
diff --git a/src/main/java/com/zy/asrs/entity/PltBarcode.java b/src/main/java/com/zy/asrs/entity/PltBarcode.java
index 90b47bd..57978ce 100644
--- a/src/main/java/com/zy/asrs/entity/PltBarcode.java
+++ b/src/main/java/com/zy/asrs/entity/PltBarcode.java
@@ -120,14 +120,14 @@
*/
@ApiModelProperty(value= "鎬婚噸閲�")
@TableField("all_weight")
- private double allWeight;
+ private Double allWeight;
/**
- * 鏉ユ簮锛�1銆佸鍗� 2銆佽嚜鍒� 3銆佸渚�
+ * 鏉ユ簮
*/
- @ApiModelProperty(value="鏉ユ簮锛�1銆佸鍗� 2銆佽嚜鍒� 3銆佸渚�")
- private Integer source;
+ @ApiModelProperty(value="鏉ユ簮")
+ private String source;
/**
- * 渚涘簲鍟�
+ * 鎵瑰彿
*/
@ApiModelProperty(value = "鎵瑰彿")
private String supplier;
@@ -135,8 +135,7 @@
* 渚涘簲鍟�
*/
@ApiModelProperty(value = "渚涘簲鍟�")
- @TableField("batch_number")
- private String batchNumber;
+ private String vendor;
/**
* 澶囨敞
*/
@@ -198,9 +197,16 @@
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
private Date appeTime;
+ /**
+ * 鍗曠鏁伴噺
+ */
+ @ApiModelProperty(value = "鍗曠鏁伴噺")
+ @TableField("qty_box")
+ private Double qtyBox;
+
public PltBarcode() {}
- public PltBarcode(String barcode,double allQty,Integer source,String supplier,String batchNumber,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) {
+ 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;
@@ -226,7 +232,8 @@
this.allWeight=allWeight;
this.source=source;
this.supplier=supplier;
- this.batchNumber=batchNumber;
+ this.vendor=vendor;
+ this.qtyBox=qtyBox;
}
// PltBarcode pltBarcode = new PltBarcode(
@@ -263,11 +270,11 @@
public double getAllWeight(){return allWeight;}
- public void setAllWeight(double allweight){this.allWeight=allweight;}
+ public void setAllWeight(Double allweight){this.allWeight=allweight;}
- public double getAllQty(){return allQty;}
+ public Double getAllQty(){return allQty;}
- public void setAllQty(double allqty){this.allQty=allqty;}
+ public void setAllQty(Double allqty){this.allQty=allqty;}
public String getBillNo() {
return billNo;
@@ -287,20 +294,6 @@
public Integer getBillType() {
return billType;
- }
-
- public String getSource$(){
- if (null == this.source){ return null; }
- switch (this.source){
- case 1:
- return "澶栧崗";
- case 2:
- return "鑷埗";
- case 3:
- return "瀹緵";
- default:
- return String.valueOf(this.source);
- }
}
public String getBillType$(){
--
Gitblit v1.9.1