From dafb654e8b99b027d56e2c26df7f31eaed60dd2f Mon Sep 17 00:00:00 2001 From: lsh <lsh> Date: 星期四, 16 五月 2024 13:52:26 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/WrkMastSta.java | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 42 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/WrkMastSta.java b/src/main/java/com/zy/asrs/entity/WrkMastSta.java index 7770c83..ee95451 100644 --- a/src/main/java/com/zy/asrs/entity/WrkMastSta.java +++ b/src/main/java/com/zy/asrs/entity/WrkMastSta.java @@ -172,6 +172,48 @@ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime); } + public String getType$() { + if (Cools.isEmpty(this.type)) { + return ""; + } + switch (this.type) { + case 1: + return "闈炵┖"; + case 2: + return "绌烘澘"; + default: + return ""; + } + } + + /** + * 宸ヤ綔鐘舵�� 0锛氬垵濮� 1锛氱瓑寰呭皬杞﹀彇 2锛氱瓑寰呭皬杞︽斁 3锛氬畬鎴� + */ + public String getWrkSts$() { + if (Cools.isEmpty(this.wrkSts)) { + try { + if (this.wrkSts==0){ + return "鍒濆"; + } + }catch (Exception e){ + return ""; + } + return ""; + } + switch (this.wrkSts) { + case 0: + return "鍒濆"; + case 1: + return "绛夊緟灏忚溅鍙�"; + case 2: + return "绛夊緟灏忚溅鏀�"; + case 3: + return "瀹屾垚"; + default: + return ""; + } + } + public String getUpdateTime$(){ if (Cools.isEmpty(this.updateTime)){ return ""; -- Gitblit v1.9.1