From 70d8f4cdb1715a1c183b028f82f970db8816cfae Mon Sep 17 00:00:00 2001
From: 18516761980 <4761516tqsxp>
Date: 星期二, 15 三月 2022 17:10:57 +0800
Subject: [PATCH] .

---
 src/main/java/zy/cloud/wms/manager/entity/OrderDetl.java |   97 +++++++++++++++++++++++-------------------------
 1 files changed, 47 insertions(+), 50 deletions(-)

diff --git a/src/main/java/zy/cloud/wms/manager/entity/OrderDetl.java b/src/main/java/zy/cloud/wms/manager/entity/OrderDetl.java
index 6a5a561..123e37d 100644
--- a/src/main/java/zy/cloud/wms/manager/entity/OrderDetl.java
+++ b/src/main/java/zy/cloud/wms/manager/entity/OrderDetl.java
@@ -7,6 +7,9 @@
 import com.core.common.Cools;
 import com.core.common.SpringUtils;
 import io.swagger.annotations.ApiModelProperty;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
 import zy.cloud.wms.manager.service.OrderService;
 import zy.cloud.wms.system.entity.Host;
 import zy.cloud.wms.system.entity.User;
@@ -17,6 +20,9 @@
 import java.text.SimpleDateFormat;
 import java.util.Date;
 
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
 @TableName("man_order_detl")
 public class OrderDetl implements Serializable {
 
@@ -42,6 +48,13 @@
     @ApiModelProperty(value= "璁㈠崟鍐呯爜")
     @TableField("order_id")
     private Long orderId;
+
+    /**
+     * 璁㈠崟缂栧彿
+     */
+    @ApiModelProperty(value= "璁㈠崟缂栧彿")
+    @TableField("order_no")
+    private String orderNo;
 
     /**
      * 鏁伴噺
@@ -169,56 +182,32 @@
     @ApiModelProperty(value= "澶囨敞")
     private String memo;
 
-    public OrderDetl() {}
-
-    public OrderDetl(Long hostId, Long orderId,Double anfme,String matnr,String maktx,String name,String specs,String model,String batch,String unit,String barcode,String supplier,Double unitPrice,Integer itemNum,Integer count,Double weight,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
-        this.hostId = hostId;
-        this.orderId = orderId;
-        this.anfme = anfme;
-        this.matnr = matnr;
-        this.maktx = maktx;
-        this.name = name;
-        this.specs = specs;
-        this.model = model;
-        this.batch = batch;
-        this.unit = unit;
-        this.barcode = barcode;
-        this.supplier = supplier;
-        this.unitPrice = unitPrice;
-        this.itemNum = itemNum;
-        this.count = count;
-        this.weight = weight;
-        this.status = status;
-        this.createBy = createBy;
-        this.createTime = createTime;
-        this.updateBy = updateBy;
-        this.updateTime = updateTime;
-        this.memo = memo;
-    }
-
-//    OrderDetl orderDetl = new OrderDetl(
-//            null,    // 璁㈠崟鍐呯爜
-//            null,    // 鏁伴噺
-//            null,    // 鍟嗗搧缂栫爜
-//            null,    // 鍟嗗搧鍚嶇О
-//            null,    // 鍚嶇О
-//            null,    // 瑙勬牸
-//            null,    // 鍨嬪彿
-//            null,    // 鎵瑰彿
-//            null,    // 鍗曚綅
-//            null,    // 鍟嗗搧鏉$爜
-//            null,    // 渚涘簲鍟�
-//            null,    // 鍗曚环
-//            null,    // 鍝侀」鏁�
-//            null,    // 鏁伴噺
-//            null,    // 閲嶉噺
-//            null,    // 鐘舵��
-//            null,    // 娣诲姞浜哄憳
-//            null,    // 娣诲姞鏃堕棿
-//            null,    // 淇敼浜哄憳
-//            null,    // 淇敼鏃堕棿
-//            null    // 澶囨敞
-//    );
+//    public OrderDetl() {}
+//
+//    public OrderDetl(Long hostId, Long orderId,Double anfme,String matnr,String maktx,String name,String specs,String model,String batch,String unit,String barcode,String supplier,Double unitPrice,Integer itemNum,Integer count,Double weight,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
+//        this.hostId = hostId;
+//        this.orderId = orderId;
+//        this.anfme = anfme;
+//        this.matnr = matnr;
+//        this.maktx = maktx;
+//        this.name = name;
+//        this.specs = specs;
+//        this.model = model;
+//        this.batch = batch;
+//        this.unit = unit;
+//        this.barcode = barcode;
+//        this.supplier = supplier;
+//        this.unitPrice = unitPrice;
+//        this.itemNum = itemNum;
+//        this.count = count;
+//        this.weight = weight;
+//        this.status = status;
+//        this.createBy = createBy;
+//        this.createTime = createTime;
+//        this.updateBy = updateBy;
+//        this.updateTime = updateTime;
+//        this.memo = memo;
+//    }
 
     public Long getId() {
         return id;
@@ -262,6 +251,14 @@
         this.orderId = orderId;
     }
 
+    public String getOrderNo() {
+        return orderNo;
+    }
+
+    public void setOrderNo(String orderNo) {
+        this.orderNo = orderNo;
+    }
+
     public Double getAnfme() {
         return anfme;
     }

--
Gitblit v1.9.1