From 1c35f2b1215c136625c3a2eda0c1a50772bddad1 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期二, 23 九月 2025 16:31:14 +0800
Subject: [PATCH] 任务工作档修改

---
 src/main/java/com/zy/asrs/entity/WrkMast.java |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/WrkMast.java b/src/main/java/com/zy/asrs/entity/WrkMast.java
index 83298e9..1bf9d7a 100644
--- a/src/main/java/com/zy/asrs/entity/WrkMast.java
+++ b/src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -22,13 +22,17 @@
 
     private static final long serialVersionUID = 1L;
 
+    private Long id;
+
     /**
      * 宸ヤ綔鍙�
      */
     @ApiModelProperty(value= "宸ヤ綔鍙�")
-    @TableId(value = "wrk_no", type = IdType.INPUT)
     @TableField("wrk_no")
     private Integer wrkNo;
+
+    @ApiModelProperty("浠诲姟绫诲瀷锛� agv, crn")
+    private String taskType;
 
     @ApiModelProperty(value= "")
     @TableField("inv_wh")
@@ -92,14 +96,14 @@
      */
     @ApiModelProperty(value= "鐩爣绔�")
     @TableField("sta_no")
-    private Integer staNo;
+    private String staNo;
 
     /**
      * 婧愮珯
      */
     @ApiModelProperty(value= "婧愮珯")
     @TableField("source_sta_no")
-    private Integer sourceStaNo;
+    private String sourceStaNo;
 
     /**
      * 婧愬簱浣�
@@ -373,6 +377,16 @@
         return null;
     }
 
+    public String getTaskType$(){
+        if (Cools.isEmpty(this.taskType)){return  null;}
+        if (taskType.equals("agv")) {
+            return "AGV浠诲姟";
+        } else {
+            return "鍫嗗灈鏈轰换鍔�";
+        }
+    }
+
+
     public String getStaNo$(){
         BasDevpService service = SpringUtils.getBean(BasDevpService.class);
         BasDevp basDevp = service.selectById(this.staNo);

--
Gitblit v1.9.1