From dcee04e577389842f31d6c8b114e046c837bb05e Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期四, 22 一月 2026 10:57:06 +0800
Subject: [PATCH] #

---
 zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Travel.java |   95 ++++++++++++++---------------------------------
 1 files changed, 28 insertions(+), 67 deletions(-)

diff --git a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Travel.java b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Travel.java
index caeac02..8d3db1d 100644
--- a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Travel.java
+++ b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Travel.java
@@ -3,9 +3,6 @@
 import com.baomidou.mybatisplus.annotation.IdType;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
-import com.zy.acs.framework.common.Cools;
-import com.zy.acs.framework.common.SpringUtils;
-import com.zy.acs.manager.manager.service.AgvService;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
@@ -62,6 +59,18 @@
     private String taskIds;
 
     /**
+     * 婊氱瓛绾跨瓑寰� 1: 鏄�  0: 鍚�
+     */
+    @ApiModelProperty(value= "婊氱瓛绾跨瓑寰� 1: 鏄�  0: 鍚�  ")
+    private Integer rollerWaiting;
+
+    /**
+     * 婊氱瓛绾跨瓑寰呭湴鐮�
+     */
+    @ApiModelProperty(value= "婊氱瓛绾跨瓑寰呭湴鐮�")
+    private Long rollerWaitingCode;
+
+    /**
      * 杩涘害
      */
     @ApiModelProperty(value= "杩涘害")
@@ -83,13 +92,13 @@
      * 绉熸埛
      */
     @ApiModelProperty(value= "绉熸埛")
-    private Integer tenantId;
+    private Long tenantId;
 
     /**
      * 娣诲姞浜哄憳
      */
     @ApiModelProperty(value= "娣诲姞浜哄憳")
-    private Integer createBy;
+    private Long createBy;
 
     /**
      * 娣诲姞鏃堕棿
@@ -101,7 +110,7 @@
      * 淇敼浜哄憳
      */
     @ApiModelProperty(value= "淇敼浜哄憳")
-    private Integer updateBy;
+    private Long updateBy;
 
     /**
      * 淇敼鏃堕棿
@@ -115,76 +124,28 @@
     @ApiModelProperty(value= "澶囨敞")
     private String memo;
 
-    public Travel() {}
-
-    public Travel(String uuid,String travelId,Long agvId,Long currSeg,String taskContent,String taskIds,String state,Integer status,Integer deleted,Integer tenantId,Integer createBy,Date createTime,Integer updateBy,Date updateTime,String memo) {
-        this.uuid = uuid;
-        this.travelId = travelId;
-        this.agvId = agvId;
-        this.currSeg = currSeg;
-        this.taskContent = taskContent;
-        this.taskIds = taskIds;
-        this.state = state;
-        this.status = status;
-        this.deleted = deleted;
-        this.tenantId = tenantId;
-        this.createBy = createBy;
-        this.createTime = createTime;
-        this.updateBy = updateBy;
-        this.updateTime = updateTime;
-        this.memo = memo;
-    }
-
-//    Travel travel = new Travel(
-//            null,    // 缂栧彿
-//            null,    // 缁勭紪鍙�
-//            null,    // AGV
-//            null,    // 褰撳墠鑺傜偣
-//            null,    // 鍐呭
-//            null,    // 浠诲姟鍒楄〃
-//            null,    // 杩涘害
-//            null,    // 鐘舵�乕闈炵┖]
-//            null,    // 鏄惁鍒犻櫎[闈炵┖]
-//            null,    // 绉熸埛
-//            null,    // 娣诲姞浜哄憳
-//            null,    // 娣诲姞鏃堕棿[闈炵┖]
-//            null,    // 淇敼浜哄憳
-//            null,    // 淇敼鏃堕棿
-//            null    // 澶囨敞
-//    );
-
-    public String getAgvId$(){
-        AgvService service = SpringUtils.getBean(AgvService.class);
-        Agv agv = service.getById(this.agvId);
-        if (!Cools.isEmpty(agv)){
-            return String.valueOf(agv.getUuid());
+    public Boolean getRollerWaitingBool(){
+        if (null == this.rollerWaiting){ return null; }
+        switch (this.rollerWaiting){
+            case 1:
+                return true;
+            case 0:
+                return false;
+            default:
+                return null;
         }
-        return null;
     }
 
-    public String getStatus$(){
+    public Boolean getStatusBool(){
         if (null == this.status){ return null; }
         switch (this.status){
             case 1:
-                return "姝e父";
+                return true;
             case 0:
-                return "鍐荤粨";
+                return false;
             default:
-                return String.valueOf(this.status);
+                return null;
         }
     }
-
-    public String getDeleted$(){
-        if (null == this.deleted){ return null; }
-        switch (this.deleted){
-            case 1:
-                return "鏄�";
-            case 0:
-                return "鍚�";
-            default:
-                return String.valueOf(this.deleted);
-        }
-    }
-
 
 }

--
Gitblit v1.9.1