From 73df1a92d6fd2696d4f359efa19e4b684317d732 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期日, 17 九月 2023 18:46:13 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/WrkDetlLog.java | 44 ++++++++++++++++++++++++++++++++------------ 1 files changed, 32 insertions(+), 12 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/WrkDetlLog.java b/src/main/java/com/zy/asrs/entity/WrkDetlLog.java index fe18307..dd5ee4c 100644 --- a/src/main/java/com/zy/asrs/entity/WrkDetlLog.java +++ b/src/main/java/com/zy/asrs/entity/WrkDetlLog.java @@ -226,7 +226,7 @@ * 瑕佹眰妫�楠� 1: 鏄� 0: 鍚� */ @ApiModelProperty(value= "瑕佹眰妫�楠� 1: 鏄� 0: 鍚� ") - private Integer check; + private Integer inspect; /** * 鍗遍櫓鍝� 1: 鏄� 0: 鍚� @@ -287,29 +287,49 @@ } } +// public String getSource$(){ +// if (null == this.source){ return null; } +// switch (this.source){ +// case 1: +// return "鍒堕��"; +// case 2: +// return "閲囪喘"; +// case 3: +// return "澶栧崗"; +// default: +// return String.valueOf(this.source); +// } +// } + public String getSource$(){ - if (null == this.source){ return null; } + if (null == this.source){ return "鏈‘璁�"; } switch (this.source){ case 1: - return "鍒堕��"; - case 2: - return "閲囪喘"; - case 3: - return "澶栧崗"; + return "纭"; default: - return String.valueOf(this.source); + return "鏈‘璁�"; } } - public String getCheck$(){ - if (null == this.check){ return null; } - switch (this.check){ + public String getDeadTime(){ + if (null == this.source){ return "鏈‘璁�"; } + switch (this.source){ + case 1: + return "纭"; + default: + return "鏈‘璁�"; + } + } + + public String getInspect$(){ + if (null == this.inspect){ return null; } + switch (this.inspect){ case 1: return "鏄�"; case 0: return "鍚�"; default: - return String.valueOf(this.check); + return String.valueOf(this.inspect); } } -- Gitblit v1.9.1