From 7f1ee24bca80d28851a95ee2019ea6faeb70d81c Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期一, 29 十二月 2025 17:34:39 +0800
Subject: [PATCH] 1.新增agv状态反馈

---
 src/main/java/com/zy/asrs/entity/WrkMast.java |   24 ++++++++++++++++++++----
 1 files changed, 20 insertions(+), 4 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..ecce007 100644
--- a/src/main/java/com/zy/asrs/entity/WrkMast.java
+++ b/src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -9,6 +9,7 @@
 import com.zy.asrs.mapper.BasWrkIotypeMapper;
 import com.zy.asrs.mapper.BasWrkStatusMapper;
 import com.zy.asrs.service.*;
+import com.zy.common.utils.Synchro;
 import com.zy.system.entity.User;
 import com.zy.system.service.UserService;
 import io.swagger.annotations.ApiModelProperty;
@@ -23,6 +24,10 @@
 public class WrkMast implements Serializable {
 
     private static final long serialVersionUID = 1L;
+
+    @ApiModelProperty(value= "")
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
 
     /**
      * 宸ヤ綔鍙�
@@ -110,6 +115,14 @@
     @TableField("source_loc_no")
     private String sourceLocNo;
 
+    /**
+     * 0锛氶渶瑕佸垱寤篴gv鎼繍绌烘枡鏋朵换鍔�
+     * 1锛歸ms鎴愬姛鍒涘缓agv鎼繍绌烘枡鏋朵换鍔�
+     */
+    @ApiModelProperty(value= "闇�瑕佷笅鍙慳gv浠诲姟鐨勭姸鎬�")
+    @TableField("ctn_type")
+    private Integer ctnType;
+
     @ApiModelProperty(value= "")
     @TableField("loc_sts")
     private String locSts;
@@ -156,10 +169,6 @@
     @ApiModelProperty(value= "宸ヤ綔鏃堕棿")
     @TableField("io_time")
     private Date ioTime;
-
-    @ApiModelProperty(value= "")
-    @TableField("ctn_type")
-    private Integer ctnType;
 
     @ApiModelProperty(value= "")
     private String packed;
@@ -307,6 +316,9 @@
     @ApiModelProperty(value= "婊℃澘")
     @TableField("full_plt")
     private String fullPlt;
+
+    @ApiModelProperty(value= "鎷嶇収鍥剧墖")
+    private String pic;
 
     public String getWrkSts$(){
         BasWrkStatusMapper mapper = SpringUtils.getBean(BasWrkStatusMapper.class);
@@ -484,4 +496,8 @@
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.logErrTime);
     }
 
+    public void sync(Object source) {
+        Synchro.Copy(source, this);
+    }
+
 }

--
Gitblit v1.9.1