From a6480edc1d366bfeead1eb2784be13ae747e3f23 Mon Sep 17 00:00:00 2001 From: 1 <1@123> Date: 星期一, 12 五月 2025 17:12:24 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/TaskWrk.java | 26 +++++++++++++++++++++++++- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/TaskWrk.java b/src/main/java/com/zy/asrs/entity/TaskWrk.java index 181892b..9a52081 100644 --- a/src/main/java/com/zy/asrs/entity/TaskWrk.java +++ b/src/main/java/com/zy/asrs/entity/TaskWrk.java @@ -110,7 +110,7 @@ */ @ApiModelProperty(value= "閲嶉噺") @TableField("SC_WEIGHT") - private Integer scWeight; + private Integer scWeight = 0; /** * 淇敼浜哄憳 @@ -376,4 +376,28 @@ } } + public Integer getStatusWms(){ + switch (status){ + case 5: + return 1; + case 4: + return 0; + default: + return 0; + } + } + + public String getPut(String point){ + String[] split = point.split("-"); + if (split.length == 5){ +// String locNo = String.format("%02d", ) + +// String.format("%03d", split[3]) + +// String.format("%02d", split[4]); + + return split[2]+"0"+split[3]+split[4]; + } else { + return point; + } + } + } -- Gitblit v1.9.1