From a1a7c03eae40f4b0344fce652e1a240cf5283624 Mon Sep 17 00:00:00 2001 From: Junjie <540245094@qq.com> Date: 星期五, 13 九月 2024 16:37:42 +0800 Subject: [PATCH] #合并订单出库,统一转波次出库前最新代码 --- zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/entity/TaskDetlLog.java | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/entity/TaskDetlLog.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/entity/TaskDetlLog.java index 71e1d66..b1c0a87 100644 --- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/entity/TaskDetlLog.java +++ b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/entity/TaskDetlLog.java @@ -43,7 +43,7 @@ * ID */ @ApiModelProperty(value= "ID") - @TableId(value = "id", type = IdType.INPUT) + @TableId(value = "id", type = IdType.AUTO) private Long id; /** @@ -246,6 +246,15 @@ return null; } + public TaskLog getTask$(){ + TaskLogService service = SpringUtils.getBean(TaskLogService.class); + TaskLog taskLog = service.getById(this.getTaskId()); + if (!Cools.isEmpty(taskLog)){ + return taskLog; + } + return null; + } + public String getHostId$(){ HostService service = SpringUtils.getBean(HostService.class); Host host = service.getById(this.hostId); -- Gitblit v1.9.1