From 8d90833250abee5951572659e9a192f2487cd704 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期一, 03 十一月 2025 09:30:52 +0800
Subject: [PATCH] 标准wms2.0
---
 src/main/java/com/zy/asrs/entity/LocCache.java |  131 ++++++++++++++++++++++---------------------
 1 files changed, 68 insertions(+), 63 deletions(-)
diff --git a/src/main/java/com/zy/asrs/entity/LocCache.java b/src/main/java/com/zy/asrs/entity/LocCache.java
index 8fad291..6d944f5 100644
--- a/src/main/java/com/zy/asrs/entity/LocCache.java
+++ b/src/main/java/com/zy/asrs/entity/LocCache.java
@@ -1,23 +1,21 @@
 package com.zy.asrs.entity;
 
-import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId;
-import com.baomidou.mybatisplus.enums.IdType;
 import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableName;
+import com.core.common.Cools;
 import com.core.common.SpringUtils;
 import com.zy.asrs.enums.LocStsType;
 import com.zy.asrs.service.BasWhsTypeService;
-import com.zy.asrs.service.BasCrnpService;
-
-import java.text.SimpleDateFormat;
-import java.util.Date;
-import org.springframework.format.annotation.DateTimeFormat;
-import com.zy.system.service.UserService;
 import com.zy.system.entity.User;
-
+import com.zy.system.service.UserService;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import com.baomidou.mybatisplus.annotations.TableName;
+import org.springframework.format.annotation.DateTimeFormat;
+
 import java.io.Serializable;
+import java.text.SimpleDateFormat;
+import java.util.Date;
 
 @Data
 @TableName("asr_loc_cache")
@@ -33,119 +31,119 @@
     /**
      * 搴撲綅鍙�
      */
-    @ApiModelProperty(value= "搴撲綅鍙�")
+    @ApiModelProperty(value = "搴撲綅鍙�")
     @TableField("loc_no")
     private String locNo;
 
     /**
      * 搴撲綅绫诲瀷
      */
-    @ApiModelProperty(value= "搴撲綅绫诲瀷")
+    @ApiModelProperty(value = "搴撲綅绫诲瀷")
     @TableField("whs_type")
     private Long whsType;
 
-    @ApiModelProperty(value= "")
+    @ApiModelProperty(value = "")
     @TableField("loc_sts")
     private String locSts;
 
     /**
      * 鎺�
      */
-    @ApiModelProperty(value= "鎺�")
+    @ApiModelProperty(value = "鎺�")
     private Integer row1;
 
     /**
      * 鍒�
      */
-    @ApiModelProperty(value= "鍒�")
+    @ApiModelProperty(value = "鍒�")
     private Integer bay1;
 
     /**
      * 灞�
      */
-    @ApiModelProperty(value= "灞�")
+    @ApiModelProperty(value = "灞�")
     private Integer lev1;
 
     /**
      * 婊℃澘(checkBox)
      */
-    @ApiModelProperty(value= "婊℃澘(checkBox)")
+    @ApiModelProperty(value = "婊℃澘(checkBox)")
     @TableField("full_plt")
     private String fullPlt;
 
     /**
      * 搴撲綅鐘舵��
      */
-    @ApiModelProperty(value= "搴撲綅鐘舵��")
+    @ApiModelProperty(value = "搴撲綅鐘舵��")
     @TableField("loc_type")
     private String locType;
 
     /**
-     * 楂樹綆绫诲瀷 0: 鏈煡  1: 浣庡簱浣�  2: 楂樺簱浣�  
+     * 楂樹綆绫诲瀷 0: 鏈煡  1: 浣庡簱浣�  2: 楂樺簱浣�
      */
-    @ApiModelProperty(value= "楂樹綆绫诲瀷 0: 鏈煡  1: 浣庡簱浣�  2: 楂樺簱浣�  ")
+    @ApiModelProperty(value = "楂樹綆绫诲瀷 0: 鏈煡  1: 浣庡簱浣�  2: 楂樺簱浣�  ")
     @TableField("loc_type1")
     private Short locType1;
 
     /**
-     * 瀹界獎绫诲瀷 0: 鏈煡  1: 绐勫簱浣�  2: 瀹藉簱浣�  
+     * 瀹界獎绫诲瀷 0: 鏈煡  1: 绐勫簱浣�  2: 瀹藉簱浣�
      */
-    @ApiModelProperty(value= "瀹界獎绫诲瀷 0: 鏈煡  1: 绐勫簱浣�  2: 瀹藉簱浣�  ")
+    @ApiModelProperty(value = "瀹界獎绫诲瀷 0: 鏈煡  1: 绐勫簱浣�  2: 瀹藉簱浣�  ")
     @TableField("loc_type2")
     private Short locType2;
 
     /**
-     * 杞婚噸绫诲瀷 0: 鏈煡  1: 杞诲簱浣�  2: 閲嶅簱浣�  
+     * 杞婚噸绫诲瀷 0: 鏈煡  1: 杞诲簱浣�  2: 閲嶅簱浣�
      */
-    @ApiModelProperty(value= "杞婚噸绫诲瀷 0: 鏈煡  1: 杞诲簱浣�  2: 閲嶅簱浣�  ")
+    @ApiModelProperty(value = "杞婚噸绫诲瀷 0: 鏈煡  1: 杞诲簱浣�  2: 閲嶅簱浣�  ")
     @TableField("loc_type3")
     private Short locType3;
 
-    @ApiModelProperty(value= "")
+    @ApiModelProperty(value = "")
     @TableField("out_enable")
     private String outEnable;
 
-    @ApiModelProperty(value= "")
+    @ApiModelProperty(value = "")
     @TableField("io_time")
-    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date ioTime;
 
-    @ApiModelProperty(value= "")
+    @ApiModelProperty(value = "")
     @TableField("first_time")
-    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date firstTime;
 
     /**
      * 淇敼浜哄憳
      */
-    @ApiModelProperty(value= "淇敼浜哄憳")
+    @ApiModelProperty(value = "淇敼浜哄憳")
     @TableField("modi_user")
     private Long modiUser;
 
     /**
      * 淇敼鏃堕棿
      */
-    @ApiModelProperty(value= "淇敼鏃堕棿")
+    @ApiModelProperty(value = "淇敼鏃堕棿")
     @TableField("modi_time")
-    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date modiTime;
 
     /**
      * 鍒涘缓鑰�
      */
-    @ApiModelProperty(value= "鍒涘缓鑰�")
+    @ApiModelProperty(value = "鍒涘缓鑰�")
     @TableField("appe_user")
     private Long appeUser;
 
     /**
      * 娣诲姞鏃堕棿
      */
-    @ApiModelProperty(value= "娣诲姞鏃堕棿")
+    @ApiModelProperty(value = "娣诲姞鏃堕棿")
     @TableField("appe_time")
-    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date appeTime;
 
-    @ApiModelProperty(value= "")
+    @ApiModelProperty(value = "")
     private String barcode;
 
     @ApiModelProperty("搴撳尯ID")
@@ -162,19 +160,20 @@
     /**
      * 鏄惁鍐荤粨,0.鏈喕缁擄紝1.宸插喕缁�
      */
-    @ApiModelProperty(value= "鏄惁鍐荤粨,0.鏈喕缁擄紝1.宸插喕缁�")
+    @ApiModelProperty(value = "鏄惁鍐荤粨,0.鏈喕缁擄紝1.宸插喕缁�")
     private Integer frozen;
 
     /**
      * 鍐荤粨澶囨敞
      */
-    @ApiModelProperty(value= "鍐荤粨澶囨敞")
+    @ApiModelProperty(value = "鍐荤粨澶囨敞")
     @TableField("frozen_memo")
     private String frozenMemo;
 
-    public LocCache() {}
+    public LocCache() {
+    }
 
-    public LocCache(String locNo,Long whsType,Integer pltType,Integer ctnType,String locSts,String sheetNo,Integer crnNo,Integer row1,Integer bay1,Integer lev1,String fullPlt,String locType,Short locType1,Short locType2,Short locType3,String outEnable,Date ioTime,Date firstTime,Long modiUser,Date modiTime,Long appeUser,Date appeTime,Date errorTime,String errorMemo,Integer ctnKind,Double scWeight,String invWh,String mk,String barcode,String PdcType,String ctnNo,Integer libraryType,Integer gro1,Integer frozen,String frozenMemo) {
+    public LocCache(String locNo, Long whsType, Integer pltType, Integer ctnType, String locSts, String sheetNo, Integer crnNo, Integer row1, Integer bay1, Integer lev1, String fullPlt, String locType, Short locType1, Short locType2, Short locType3, String outEnable, Date ioTime, Date firstTime, Long modiUser, Date modiTime, Long appeUser, Date appeTime, Date errorTime, String errorMemo, Integer ctnKind, Double scWeight, String invWh, String mk, String barcode, String PdcType, String ctnNo, Integer libraryType, Integer gro1, Integer frozen, String frozenMemo) {
         this.locNo = locNo;
         this.whsType = whsType;
         this.locSts = locSts;
@@ -199,10 +198,10 @@
     }
 
 
-    public String getWhsType$(){
+    public String getWhsType$() {
         BasWhsTypeService service = SpringUtils.getBean(BasWhsTypeService.class);
         BasWhsType basWhsType = service.selectById(this.whsType);
-        if (!Cools.isEmpty(basWhsType)){
+        if (!Cools.isEmpty(basWhsType)) {
             return String.valueOf(basWhsType.getWhsDesc());
         }
         return null;
@@ -235,9 +234,11 @@
 //        return null;
 //    }
 
-    public String getLocType1$(){
-        if (null == this.locType1){ return null; }
-        switch (this.locType1){
+    public String getLocType1$() {
+        if (null == this.locType1) {
+            return null;
+        }
+        switch (this.locType1) {
             case 0:
                 return "鏈煡";
             case 1:
@@ -249,9 +250,11 @@
         }
     }
 
-    public String getLocType2$(){
-        if (null == this.locType2){ return null; }
-        switch (this.locType2){
+    public String getLocType2$() {
+        if (null == this.locType2) {
+            return null;
+        }
+        switch (this.locType2) {
             case 0:
                 return "鏈煡";
             case 1:
@@ -263,9 +266,11 @@
         }
     }
 
-    public String getLocType3$(){
-        if (null == this.locType3){ return null; }
-        switch (this.locType3){
+    public String getLocType3$() {
+        if (null == this.locType3) {
+            return null;
+        }
+        switch (this.locType3) {
             case 0:
                 return "鏈煡";
             case 1:
@@ -277,47 +282,47 @@
         }
     }
 
-    public String getIoTime$(){
-        if (Cools.isEmpty(this.ioTime)){
+    public String getIoTime$() {
+        if (Cools.isEmpty(this.ioTime)) {
             return "";
         }
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.ioTime);
     }
 
-    public String getFirstTime$(){
-        if (Cools.isEmpty(this.firstTime)){
+    public String getFirstTime$() {
+        if (Cools.isEmpty(this.firstTime)) {
             return "";
         }
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.firstTime);
     }
 
-    public String getModiUser$(){
+    public String getModiUser$() {
         UserService service = SpringUtils.getBean(UserService.class);
         User user = service.selectById(this.modiUser);
-        if (!Cools.isEmpty(user)){
+        if (!Cools.isEmpty(user)) {
             return String.valueOf(user.getNickname());
         }
         return null;
     }
 
-    public String getModiTime$(){
-        if (Cools.isEmpty(this.modiTime)){
+    public String getModiTime$() {
+        if (Cools.isEmpty(this.modiTime)) {
             return "";
         }
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.modiTime);
     }
 
-    public String getAppeUser$(){
+    public String getAppeUser$() {
         UserService service = SpringUtils.getBean(UserService.class);
         User user = service.selectById(this.appeUser);
-        if (!Cools.isEmpty(user)){
+        if (!Cools.isEmpty(user)) {
             return String.valueOf(user.getNickname());
         }
         return null;
     }
 
-    public String getAppeTime$(){
-        if (Cools.isEmpty(this.appeTime)){
+    public String getAppeTime$() {
+        if (Cools.isEmpty(this.appeTime)) {
             return "";
         }
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime);
--
Gitblit v1.9.1