From 5e89cb64a5cc8c60d22aa477799112e4b0d60157 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期三, 04 一月 2023 16:53:23 +0800 Subject: [PATCH] #显示优化 --- src/main/java/com/zy/ints/entity/ErpDetTb.java | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/ints/entity/ErpDetTb.java b/src/main/java/com/zy/ints/entity/ErpDetTb.java index c75edc0..f7997d6 100644 --- a/src/main/java/com/zy/ints/entity/ErpDetTb.java +++ b/src/main/java/com/zy/ints/entity/ErpDetTb.java @@ -146,5 +146,38 @@ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.billdate); } + public String getIokindid$(){ + if (null == this.iokindid){ return null; } + switch (this.iokindid){ + case "TF_PSS": + return "閲囪喘閿�鍞�"; + case "TF_IC": + return "搴撳瓨璋冩嫧"; + case "TF_IJ": + return "搴撳瓨璋冩暣"; + case "TF_ML": + return "鐢熶骇棰嗘枡"; + case "TF_MM0": + return "鐢熶骇缂村簱"; + case "TF_TC": + return "鎵樺伐閫�鍥�"; + default: + return String.valueOf(this.status); + } + } + + public String getStatus$(){ + if (null == this.status){ return null; } + switch (this.status){ + case 0: + return "0(鍒濆鐘舵��)"; + case 1: + return "1(宸叉帴鏀�)"; + case 2: + return "2(寮傚父)"; + default: + return String.valueOf(this.status); + } + } } -- Gitblit v1.9.1