From 0c88039271558602fb730157d46c9542672da615 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" Date: Tue, 23 Apr 2024 17:13:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=201.=E5=A2=9E=E5=8A=A0=E7=9B=98=E7=82=B9?= =?UTF-8?q?=E6=96=B0=E6=89=98=E7=9B=98=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../warehouse/entity/QuestDetailEntity.java | 6 + .../api/WarehouseTaskApiController.java | 1 + .../warehouse/mapper/TaskQuestMapper.xml | 3 + .../service/impl/TaskQuestServiceImpl.java | 152 ++++++++++-------- 4 files changed, 91 insertions(+), 71 deletions(-) diff --git a/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/entity/QuestDetailEntity.java b/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/entity/QuestDetailEntity.java index 8505f66de..4d3c14b41 100644 --- a/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/entity/QuestDetailEntity.java +++ b/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/entity/QuestDetailEntity.java @@ -216,6 +216,12 @@ public class QuestDetailEntity extends TenantEntity { @ApiModelProperty(value = "新托盘编码") private String newTrayCode; + /** + * 新托盘名称 + */ + @ApiModelProperty(value = "新托盘名称") + private String newTrayName; + /** * 货位id */ diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/api/WarehouseTaskApiController.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/api/WarehouseTaskApiController.java index 7534eafeb..89c039c40 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/api/WarehouseTaskApiController.java +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/api/WarehouseTaskApiController.java @@ -129,6 +129,7 @@ public class WarehouseTaskApiController { */ @PostMapping("/addDataInfo") public R addDataInfo(@RequestBody TaskSearchDTO taskSearchDTO){ + //当前登录人选择的仓库 BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse(); if(Objects.isNull(myCurrentWarehouse)){ diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/TaskQuestMapper.xml b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/TaskQuestMapper.xml index c38c81a72..4fd2f582e 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/TaskQuestMapper.xml +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/TaskQuestMapper.xml @@ -110,6 +110,7 @@ `grounding_allocation_id` bigint(20) NULL DEFAULT NULL COMMENT '上架后的库位ID', `new_tray_id` bigint(20) NULL DEFAULT NULL COMMENT '新托盘ID', `new_tray_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '新托盘编码', + `new_tray_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '新托盘名称', `is_new` int(20) NULL DEFAULT 0 COMMENT '是否是新增数据', `is_change` int(4) NULL DEFAULT 0 COMMENT '是否有变更 0未变更 1有变更', `is_change_at` int(4) NULL DEFAULT 0 COMMENT '是否有变更库位托盘 0未变更 1有变更', @@ -301,6 +302,7 @@ update ${questNum} set quest_status = #{param.questStatus} WHERE `id` = #{ param.id } + update ${questNum} @@ -325,6 +327,7 @@ is_change = #{item.isChange }, new_tray_id = #{item.newTrayId }, new_tray_code = #{item.newTrayCode }, + new_tray_name = #{item.newTrayName }, is_change_at = #{item.isChangeAt },