From a167c1ba9816896114debe769b8247a72f3a1a99 Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期二, 23 九月 2025 12:33:33 +0800 Subject: [PATCH] 缓冲区功能调整 --- src/main/java/com/zy/asrs/entity/WrkMast.java | 32 +++++++++++++++++++++++--------- 1 files changed, 23 insertions(+), 9 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/WrkMast.java b/src/main/java/com/zy/asrs/entity/WrkMast.java index f33acd0..1bf9d7a 100644 --- a/src/main/java/com/zy/asrs/entity/WrkMast.java +++ b/src/main/java/com/zy/asrs/entity/WrkMast.java @@ -22,13 +22,17 @@ private static final long serialVersionUID = 1L; + private Long id; + /** * 宸ヤ綔鍙� */ @ApiModelProperty(value= "宸ヤ綔鍙�") - @TableId(value = "wrk_no", type = IdType.INPUT) @TableField("wrk_no") private Integer wrkNo; + + @ApiModelProperty("浠诲姟绫诲瀷锛� agv, crn") + private String taskType; @ApiModelProperty(value= "") @TableField("inv_wh") @@ -92,14 +96,14 @@ */ @ApiModelProperty(value= "鐩爣绔�") @TableField("sta_no") - private Integer staNo; + private String staNo; /** * 婧愮珯 */ @ApiModelProperty(value= "婧愮珯") @TableField("source_sta_no") - private Integer sourceStaNo; + private String sourceStaNo; /** * 婧愬簱浣� @@ -373,6 +377,16 @@ return null; } + public String getTaskType$(){ + if (Cools.isEmpty(this.taskType)){return null;} + if (taskType.equals("agv")) { + return "AGV浠诲姟"; + } else { + return "鍫嗗灈鏈轰换鍔�"; + } + } + + public String getStaNo$(){ BasDevpService service = SpringUtils.getBean(BasDevpService.class); BasDevp basDevp = service.selectById(this.staNo); @@ -481,12 +495,12 @@ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.errorTime); } - public void setErrorMemo(String errorMemo) { - if (errorMemo.length() > 255) { - errorMemo = errorMemo.substring(0, 150); - } - this.errorMemo = errorMemo; - } +// public void setErrorMemo(String errorMemo) { +// if (errorMemo.length() > 255) { +// errorMemo = errorMemo.substring(0, 150); +// } +// this.errorMemo = errorMemo; +// } public String getLogErrTime$(){ if (Cools.isEmpty(this.logErrTime)){ -- Gitblit v1.9.1