From 4e9991c5dfcbc6124692c12c1dce9a0a87885ad1 Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期二, 03 十二月 2024 16:59:03 +0800
Subject: [PATCH] 修改数量类型为Double并优化订单处理逻辑

---
 src/main/java/com/zy/asrs/entity/Node.java |   18 ++++++------------
 1 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/Node.java b/src/main/java/com/zy/asrs/entity/Node.java
index 7bb77ec..d04091f 100644
--- a/src/main/java/com/zy/asrs/entity/Node.java
+++ b/src/main/java/com/zy/asrs/entity/Node.java
@@ -329,17 +329,6 @@
         return status;
     }
 
-    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 String getRow1$(){
         if (null == this.row1){ return null; }
@@ -432,5 +421,10 @@
         this.memo = memo;
     }
 
-
+    public String getStatus$() {
+        if (Cools.isEmpty(this.status)){
+            return "";
+        }
+        return this.status == 1 ? "姝e父" : "鍐荤粨";
+    }
 }

--
Gitblit v1.9.1