From 26d5890bf75f0917eca93d2d1780bf5aea0cec7a Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期三, 26 六月 2024 09:08:53 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/entity/Pla.java |   39 ++++++++++++++++++++++++++++++++++-----
 1 files changed, 34 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/Pla.java b/src/main/java/com/zy/asrs/entity/Pla.java
index 45cd619..55dc517 100644
--- a/src/main/java/com/zy/asrs/entity/Pla.java
+++ b/src/main/java/com/zy/asrs/entity/Pla.java
@@ -67,7 +67,22 @@
     //鍖呰鍙�
     @TableField("package_no")
     @ExcelProperty(value = "鍖呰鍙�")
-    private String packageNo;
+    private Integer packageNo;
+
+    //鐗屽彿
+    @ExcelProperty(value = "鍏宠仈鐗屽彿")
+    @TableField("new_brand")
+    private String newBrand;
+
+    //鎵瑰彿
+    @TableField("new_batch")
+    @ExcelProperty(value = "鍏宠仈鎵瑰彿")
+    private String newBatch;
+
+    //鍖呰鍙�
+    @TableField("new_package_no")
+    @ExcelProperty(value = "鍏宠仈鍖呰鍙�")
+    private Integer newPackageNo;
 
     //鍖呰鍙�
     @ExcelProperty(value = "鐢熶骇鏃ユ湡")
@@ -223,7 +238,7 @@
 
     //姝ラ
     @TableField("step")
-    private int step;
+    private Integer step;
 
     @TableField("create_time")
     private Date createTime;
@@ -262,7 +277,7 @@
     private String memo;
 
     @TableField("stock_freeze")
-    private int stockFreeze;
+    private Integer stockFreeze;
 
     @TableField("stock_freeze_by")
     private String stockFreezeBy;
@@ -277,17 +292,31 @@
         return new SimpleDateFormat("yyyy-MM-dd").format(this.createTime);
     }
 
+    public String getPackageNo$(){
+        if(Cools.isEmpty(packageNo)){
+            return null;
+        }
+        if(packageNo < 10){
+            return "00" + packageNo;
+        }else if(packageNo < 100){
+            return "0" + packageNo;
+        }else {
+            return packageNo + "";
+        }
+
+    }
+
     public String getPakinTime$() {
         if (Cools.isEmpty(this.pakinTime)){
             return "";
         }
-        return new SimpleDateFormat("yyyy-MM-dd HH").format(this.pakinTime);
+        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.pakinTime);
     }
 
     public String getStockFreezeDate$() {
         if (Cools.isEmpty(this.stockFreezeDate)){
             return "";
         }
-        return new SimpleDateFormat("yyyy-MM-dd").format(this.stockFreezeDate);
+        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.stockFreezeDate);
     }
 }

--
Gitblit v1.9.1