From 405e94c5d08e89c9bf2bd0820d39ceeaa049211d Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期三, 16 十月 2024 08:11:11 +0800 Subject: [PATCH] 流水记录表 --- src/main/java/com/zy/asrs/entity/FlowLog.java | 26 +++++++++++++++++--------- 1 files changed, 17 insertions(+), 9 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/FlowLog.java b/src/main/java/com/zy/asrs/entity/FlowLog.java index 18c4dcd..4146d9e 100644 --- a/src/main/java/com/zy/asrs/entity/FlowLog.java +++ b/src/main/java/com/zy/asrs/entity/FlowLog.java @@ -22,7 +22,7 @@ * 鏁版嵁缂栧彿 */ @ApiModelProperty(value= "鏁版嵁缂栧彿") - @TableId(value = "id", type = IdType.INPUT) + @TableId(value = "id", type = IdType.AUTO) private Long id; /** @@ -245,17 +245,25 @@ public String getOpType$() { String otp = ""; if (this.opType == 1L) { - otp = "1"; + otp = "鏂板璁㈠崟"; } else if (this.opType == 2L) { - otp = "2"; + otp = "淇敼璁㈠崟"; } else if (this.opType == 3L) { - otp = "3"; - } else if (this.opType == 3L) { - otp = "3"; - } else if (this.opType == 3L) { - otp = "3"; + otp = "缁勬墭鍏ュ簱"; + } else if (this.opType == 4L) { + otp = "璁㈠崟鍑哄簱"; + } else if (this.opType == 5L) { + otp = "璋冩嫧鍑哄簱"; + } else if (this.opType == 6L) { + otp = "鍔犲伐鍑哄簱"; + } else if (this.opType == 7L) { + otp = "鍙栨秷鍏ュ簱"; + } else if (this.opType == 8L) { + otp = "鍙栨秷绉诲簱"; + } else if (this.opType == 9L) { + otp = "鍙栨秷璋冩嫧"; } - return ""; + return otp; } -- Gitblit v1.9.1