From d2cb36959b65ece32cec7e2db4d6764f5c788b1d Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期三, 30 四月 2025 08:33:24 +0800
Subject: [PATCH] 1. 波次删除判断是否有子任务列表 2. 任务明细添加字段:执行数量,完成数量, 源单据号,源单据ID

---
 rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WaitPakin.java |   30 ++++++++++++++----------------
 1 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WaitPakin.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WaitPakin.java
index a7103f5..3bd249f 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WaitPakin.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WaitPakin.java
@@ -3,6 +3,8 @@
 import com.baomidou.mybatisplus.annotation.TableLogic;
 import java.text.SimpleDateFormat;
 import java.util.Date;
+
+import lombok.experimental.Accessors;
 import org.springframework.format.annotation.DateTimeFormat;
 import java.text.SimpleDateFormat;
 import java.util.Date;
@@ -22,6 +24,7 @@
 import java.util.Date;
 
 @Data
+@Accessors(chain = true)
 @TableName("man_wait_pakin")
 public class WaitPakin implements Serializable {
 
@@ -39,18 +42,6 @@
      */
     @ApiModelProperty(value= "缂栫爜")
     private String code;
-
-    /**
-     * 璁㈠崟ID
-     */
-    @ApiModelProperty(value= "璁㈠崟ID")
-    private Long ansId;
-
-    /**
-     * 璁㈠崟缂栫爜
-     */
-    @ApiModelProperty(value= "璁㈠崟缂栫爜")
-    private String asnCode;
 
     /**
      * 瀹瑰櫒鐮�
@@ -71,6 +62,12 @@
     private Short ioStatus;
 
     /**
+     * 鏄惁涓嶈壇鍝�
+     */
+    @ApiModelProperty("鏄惁涓嶈壇鍝�")
+    private Short flagDefect;
+
+    /**
      * 鐘舵�� 1: 姝e父  0: 鍐荤粨  
      */
     @ApiModelProperty(value= "鐘舵�� 1: 姝e父  0: 鍐荤粨  ")
@@ -80,7 +77,6 @@
      * 鏄惁鍒犻櫎 1: 鏄�  0: 鍚�  
      */
     @ApiModelProperty(value= "鏄惁鍒犻櫎 1: 鏄�  0: 鍚�  ")
-    @TableLogic
     private Integer deleted;
 
     /**
@@ -123,10 +119,8 @@
 
     public WaitPakin() {}
 
-    public WaitPakin(String code,Long ansId,String asnCode,String barcode,Double anfme,Short ioStatus,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
+    public WaitPakin(String code,String barcode,Double anfme,Short ioStatus,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
         this.code = code;
-        this.ansId = ansId;
-        this.asnCode = asnCode;
         this.barcode = barcode;
         this.anfme = anfme;
         this.ioStatus = ioStatus;
@@ -164,6 +158,10 @@
                 return "寰呭叆搴�";
             case  1:
                 return " 鍏ュ簱涓�";
+            case 2:
+                return "浠诲姟鎵ц涓�";
+            case 3:
+                return "浠诲姟瀹屾垚";
             default:
                 return String.valueOf(this.ioStatus);
         }

--
Gitblit v1.9.1