From ddb9678030a8391fe63e6eb0775a77d12f1023ca Mon Sep 17 00:00:00 2001 From: ZY <zc857179121@qq.com> Date: 星期四, 26 九月 2024 13:17:01 +0800 Subject: [PATCH] 1 --- 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