From 3ceabb21c1fd2b7fbdbc5c77c23f26152ec7f9aa Mon Sep 17 00:00:00 2001 From: 1 <1@123> Date: 星期五, 09 五月 2025 18:57:25 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/TaskWrk.java | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/TaskWrk.java b/src/main/java/com/zy/asrs/entity/TaskWrk.java index 220c720..181892b 100644 --- a/src/main/java/com/zy/asrs/entity/TaskWrk.java +++ b/src/main/java/com/zy/asrs/entity/TaskWrk.java @@ -50,7 +50,7 @@ /** * 浠诲姟鐘舵�� 1: 鎺ユ敹 2: 娲惧彂 3: 瀹岀粨 4: 鍙栨秷 */ - @ApiModelProperty(value= "浠诲姟鐘舵�� 1: 鎺ユ敹 2: 娲惧彂 5: 瀹岀粨 4: 鍙栨秷 ") + @ApiModelProperty(value= "浠诲姟鐘舵�� 1: 鎺ユ敹 2: 娲惧彂 5: 瀹岀粨 4: 鍙栨秷 9锛氱瓑寰呭皬杞︽惉杩�") @TableField("STATUS") private Integer status; @@ -101,7 +101,7 @@ @TableField("ORIGIN_START_POINT") private String originStartPoint; - @ApiModelProperty(value = "鍘熷璧风偣") + @ApiModelProperty(value = "鍘熷缁堢偣") @TableField("ORIGIN_TARGET_POINT") private String originTargetPoint; @@ -355,7 +355,7 @@ public Integer getTargetPointConvert(){ - switch (targetPoint){ + switch (originTargetPoint){ case "11": return 11; default: @@ -363,4 +363,17 @@ } } + public Integer getIoTypeWms(){ + switch (ioType){ + case 2: + return 1; + case 3: + return 2; + case 1: + return 3; + default: + return 0; + } + } + } -- Gitblit v1.9.1