From c8fde8647b48e7c7d9b3beb6e8c39459f07c9eb2 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期四, 08 五月 2025 14:55:46 +0800
Subject: [PATCH] Merge branch 'devlop' of http://47.97.1.152:5880/r/wms-master into devlop

---
 rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/AsnOrder.java |   77 ++++++++++++++++++++++----------------
 1 files changed, 44 insertions(+), 33 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/AsnOrder.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/AsnOrder.java
index 0d1c981..cd25beb 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/AsnOrder.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/AsnOrder.java
@@ -4,16 +4,15 @@
 import java.util.*;
 
 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.fasterxml.jackson.annotation.JsonFormat;
 import com.vincent.rsf.server.system.constant.DictTypeCode;
 import com.vincent.rsf.server.system.entity.DictData;
 import com.vincent.rsf.server.system.service.DictDataService;
 import lombok.experimental.Accessors;
 import org.springframework.format.annotation.DateTimeFormat;
-import com.baomidou.mybatisplus.annotation.TableLogic;
-import java.text.SimpleDateFormat;
+
 import java.util.Date;
-import java.text.SimpleDateFormat;
-import java.util.Date;
+
 
 import com.baomidou.mybatisplus.annotation.IdType;
 import com.baomidou.mybatisplus.annotation.TableId;
@@ -79,6 +78,9 @@
     @ApiModelProperty(value= "閫佽揣鏁伴噺")
     private Double anfme;
 
+    @ApiModelProperty("鎵ц鏁伴噺")
+    private Double workQty;
+
     /**
      * 宸叉敹鏁伴噺
      */
@@ -91,11 +93,14 @@
     @ApiModelProperty(value= "鐗╂祦鍗曞彿")
     private String logisNo;
 
+    @ApiModelProperty("娉㈡ID")
+    private Long waveId;
+
     /**
      * 棰勮鍒拌揪鏃堕棿
      */
     @ApiModelProperty(value= "棰勮鍒拌揪鏃堕棿")
-    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd")
     private Date arrTime;
 
     /**
@@ -110,11 +115,9 @@
     @ApiModelProperty(value= "閲婃斁鐘舵�� 0:  姝e父   1:  宸查噴鏀�  ")
     private Short rleStatus;
 
-    /**
-     * 鍚嶇О
-     */
-//    @ApiModelProperty(value= "鍚嶇О")
-//    private String name;
+
+    @ApiModelProperty("鎵ц鐘舵��")
+    private Short exceStatus;
 
     /**
      * 鐘舵�� 1: 姝e父  0: 鍐荤粨  
@@ -126,7 +129,6 @@
      * 鏄惁鍒犻櫎 1: 鏄�  0: 鍚�  
      */
     @ApiModelProperty(value= "鏄惁鍒犻櫎 1: 鏄�  0: 鍚�  ")
-    @TableLogic
     private Integer deleted;
 
     /**
@@ -146,6 +148,7 @@
      */
     @ApiModelProperty(value= "娣诲姞鏃堕棿")
     @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
     private Date createTime;
 
     /**
@@ -159,6 +162,7 @@
      */
     @ApiModelProperty(value= "淇敼鏃堕棿")
     @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
     private Date updateTime;
 
     /**
@@ -190,34 +194,28 @@
         this.memo = memo;
     }
 
-//    AsnOrder asnOrder = new AsnOrder(
-//            null,    // 缂栧彿
-//            null,    // PO鍗曞彿
-//            null,    // PO鍗曟嵁鏍囪瘑
-//            null,    // 鍗曟嵁绫诲瀷[闈炵┖]
-//            null,    // 涓氬姟绫诲瀷[闈炵┖]
-//            null,    // 閫佽揣鏁伴噺[闈炵┖]
-//            null,    // 宸叉敹鏁伴噺[闈炵┖]
-//            null,    // 鐗╂祦鍗曞彿
-//            null,    // 棰勮鍒拌揪鏃堕棿
-//            null,    // 閲婃斁鐘舵�乕闈炵┖]
-//            null,    // 鍚嶇О
-//            null,    // 鐘舵�乕闈炵┖]
-//            null,    // 鏄惁鍒犻櫎[闈炵┖]
-//            null,    // 绉熸埛
-//            null,    // 娣诲姞浜哄憳
-//            null,    // 娣诲姞鏃堕棿[闈炵┖]
-//            null,    // 淇敼浜哄憳
-//            null,    // 淇敼鏃堕棿[闈炵┖]
-//            null    // 澶囨敞
-//    );
+    public String getExceStatus$() {
+        if (Cools.isEmpty(this.exceStatus)){
+            return "";
+        }
+        DictDataService dictDataService = SpringUtils.getBean(DictDataService.class);
+        DictData dictData = dictDataService.getOne(new LambdaQueryWrapper<DictData>()
+                .eq(DictData::getDictTypeCode, DictTypeCode.DICT_ASN_EXCE_STATUS)
+                .eq(DictData::getValue, this.exceStatus));
+        if (Objects.isNull(dictData)) {
+            return null;
+        }
+        return dictData.getLabel();
+    }
 
     public String getType$(){
         if (Cools.isEmpty(this.type)){
             return "";
         }
         DictDataService dictDataService = SpringUtils.getBean(DictDataService.class);
-        DictData dictData = dictDataService.getOne(new LambdaQueryWrapper<DictData>().eq(DictData::getDictTypeCode, DictTypeCode.DICT_SYS_ORDER_TYPE).eq(DictData::getValue, this.type));
+        DictData dictData = dictDataService.getOne(new LambdaQueryWrapper<DictData>()
+                .eq(DictData::getDictTypeCode, DictTypeCode.DICT_SYS_ORDER_TYPE)
+                .eq(DictData::getValue, this.type));
         if (Objects.isNull(dictData)) {
             return null;
         }
@@ -313,5 +311,18 @@
                 return null;
         }
     }
+    public String getNtyStatus$(){
+        if (null == this.ntyStatus){ return "error"; }
+        switch (this.ntyStatus){
+            case 0:
+                return "鏈笂鎶�";
+            case 1:
+                return "宸蹭笂鎶�";
+            case 2:
+                return "閮ㄥ垎涓婃姤";
+            default:
+                return "error";
+        }
+    }
 
 }

--
Gitblit v1.9.1