From 58bb9d3e0a8d8c385085f8cce3492eccf5448ec4 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期三, 10 九月 2025 16:20:12 +0800
Subject: [PATCH] 1

---
 src/main/java/com/zy/asrs/entity/WrkMast.java |   48 ++++++++++--------------------------------------
 1 files changed, 10 insertions(+), 38 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/WrkMast.java b/src/main/java/com/zy/asrs/entity/WrkMast.java
index e896efc..18cda39 100644
--- a/src/main/java/com/zy/asrs/entity/WrkMast.java
+++ b/src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -28,9 +28,16 @@
      * 宸ヤ綔鍙�
      */
     @ApiModelProperty(value= "宸ヤ綔鍙�")
-    @TableId(value = "wrk_no", type = IdType.INPUT)
+    @TableId(value = "wrk_no", type = IdType.AUTO)
     @TableField("wrk_no")
-    private Integer wrkNo;
+    private Long wrkNo;
+
+    /**
+     * 宸ヤ綔鍙�
+     */
+    @ApiModelProperty(value= "宸ヤ綔鍙�")
+    @TableField("plc_wrk_no")
+    private Integer plcWrkNo;
 
     @ApiModelProperty(value= "")
     @TableField("inv_wh")
@@ -65,7 +72,7 @@
      */
     @ApiModelProperty(value= "鍫嗗灈鏈�")
     @TableField("crn_no")
-    private Integer crnNo;
+    private String crnNo;
 
     @ApiModelProperty(value= "")
     @TableField("sheet_no")
@@ -89,19 +96,6 @@
     @TableField("loc_no")
     private String locNo;
 
-    /**
-     * 鐩爣绔�
-     */
-    @ApiModelProperty(value= "鐩爣绔�")
-    @TableField("sta_no")
-    private Integer staNo;
-
-    /**
-     * 婧愮珯
-     */
-    @ApiModelProperty(value= "婧愮珯")
-    @TableField("source_sta_no")
-    private Integer sourceStaNo;
 
     /**
      * 婧愬簱浣�
@@ -358,23 +352,7 @@
         return null;
     }
 
-    public String getStaNo$(){
-        BasDevpService service = SpringUtils.getBean(BasDevpService.class);
-        BasDevp basDevp = service.selectById(this.staNo);
-        if (!Cools.isEmpty(basDevp)){
-            return String.valueOf(basDevp.getDevNo());
-        }
-        return null;
-    }
 
-    public String getSourceStaNo$(){
-        BasDevpService service = SpringUtils.getBean(BasDevpService.class);
-        BasDevp basDevp = service.selectById(this.sourceStaNo);
-        if (!Cools.isEmpty(basDevp)){
-            return String.valueOf(basDevp.getDevNo());
-        }
-        return null;
-    }
 
     public String getSourceLocNo$(){
         LocMastService service = SpringUtils.getBean(LocMastService.class);
@@ -470,12 +448,6 @@
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.errorTime);
     }
 
-    public void setErrorMemo(String errorMemo) {
-        if (errorMemo.length() > 255) {
-            errorMemo = errorMemo.substring(0, 150);
-        }
-        this.errorMemo = errorMemo;
-    }
 
     public String getLogErrTime$(){
         if (Cools.isEmpty(this.logErrTime)){

--
Gitblit v1.9.1