From ebd2f4397a92c6a5096de1b86d59154363344720 Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期二, 13 五月 2025 08:48:15 +0800
Subject: [PATCH] #

---
 zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Task.java |   61 +++++++++++++++++++++++-------
 1 files changed, 47 insertions(+), 14 deletions(-)

diff --git a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Task.java b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Task.java
index a765540..af1c34c 100644
--- a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Task.java
+++ b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Task.java
@@ -116,6 +116,12 @@
     private Long oriCode;
 
     /**
+     * 璧峰宸烽亾鍝堝笇
+     */
+    @ApiModelProperty(value= "璧峰宸烽亾鍝堝笇")
+    private String oriLaneHash;
+
+    /**
      * 鐩爣绔�
      */
     @ApiModelProperty(value= "鐩爣绔�")
@@ -132,6 +138,12 @@
      */
     @ApiModelProperty(value= "鐩爣鐮�")
     private Long destCode;
+
+    /**
+     * 鐩爣宸烽亾鍝堝笇
+     */
+    @ApiModelProperty(value= "鐩爣宸烽亾鍝堝笇")
+    private String destLaneHash;
 
     /**
      * 绌烘澘
@@ -368,20 +380,6 @@
         return null;
     }
 
-    public String getStatus$(){
-        if (null == this.status){ return null; }
-        switch (this.status){
-            case 1:
-                return "姝e父";
-            case 0:
-                return "鍐荤粨";
-            default:
-                return String.valueOf(this.status);
-        }
-    }
-
-
-
     public Boolean getStatusBool(){
         if (null == this.status){ return null; }
         switch (this.status){
@@ -394,5 +392,40 @@
         }
     }
 
+    public String getOriDesc() {
+        String oriDesc = "";
+        if (null != this.oriSta) {
+            oriDesc = "STA" + " - " + this.getOriSta$();
+        }
+        if (null != this.oriLoc) {
+            oriDesc = "LOC" + " - " + this.getOriLoc$();
+        }
+        if (!Cools.isEmpty(oriDesc)) {
+            if (null != this.oriCode) {
+                oriDesc = oriDesc + " (" + this.getOriCode$() + ")";
+            }
+        } else {
+            oriDesc = "CODE" + " - " + this.getOriCode$();
+        }
+        return oriDesc;
+    }
+
+    public String getDestDesc() {
+        String destDesc = "";
+        if (null != this.destSta) {
+            destDesc = "STA" + " - " + this.getDestSta$();
+        }
+        if (null != this.destLoc) {
+            destDesc = "LOC" + " - " + this.getDestLoc$();
+        }
+        if (!Cools.isEmpty(destDesc)) {
+            if (null != this.destCode) {
+                destDesc = destDesc + " (" + this.getDestCode$() + ")";
+            }
+        } else {
+            destDesc = "CODE" + " - " + this.getDestCode$();
+        }
+        return destDesc;
+    }
 
 }

--
Gitblit v1.9.1