From 0835486111ad0332ca363803a847f8d62a3c5c24 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" Date: Tue, 5 Nov 2024 19:14:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=A2=9E=E5=8A=A0=E7=9B=B4=E5=8F=91?= =?UTF-8?q?=E5=95=86=E5=AE=B6=E7=AD=BE=E6=94=B6=E6=98=8E=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/logpm/trunkline/dto/LoadCarsDTO.java | 9 ++ .../mapper/TrunklineLoadSignOrderMapper.xml | 122 +++++++++++------- 2 files changed, 86 insertions(+), 45 deletions(-) diff --git a/blade-service-api/logpm-trunkline-api/src/main/java/com/logpm/trunkline/dto/LoadCarsDTO.java b/blade-service-api/logpm-trunkline-api/src/main/java/com/logpm/trunkline/dto/LoadCarsDTO.java index 946f44790..9a285d546 100644 --- a/blade-service-api/logpm-trunkline-api/src/main/java/com/logpm/trunkline/dto/LoadCarsDTO.java +++ b/blade-service-api/logpm-trunkline-api/src/main/java/com/logpm/trunkline/dto/LoadCarsDTO.java @@ -215,4 +215,13 @@ public class LoadCarsDTO implements Serializable { private String createTime; private String ids; + /** + * 商场联系人 + */ + private String mallPerson; + /** + * 商场联系电话 + */ + private String mallMobile; + } diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineLoadSignOrderMapper.xml b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineLoadSignOrderMapper.xml index b397e66db..7c3c47558 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineLoadSignOrderMapper.xml +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineLoadSignOrderMapper.xml @@ -9,7 +9,7 @@ and ltlso.warehouse_id = #{warehouseId} - + delete from logpm_trunkline_load_sign_order where load_id = #{loadId} and warehouse_id = #{warehouseId} @@ -39,7 +39,8 @@ left join logpm_trunkline_cars_load ltcl on ltcl.id = ltlso.load_id LEFT JOIN logpm_trunkline_cars_order ltco on ltco.sign_order_id = ltlso.id - and (ltlso.warehouse_id = #{param.warehouseId} or ltlso.final_node_id = #{param.warehouseId} or ltlso.driver_user_id = #{param.userId} or ltlso.assistant_user_id = #{param.userId}) + and (ltlso.warehouse_id = #{param.warehouseId} or ltlso.final_node_id = #{param.warehouseId} or + ltlso.driver_user_id = #{param.userId} or ltlso.assistant_user_id = #{param.userId}) and ltlso.load_id = #{param.loadId} @@ -60,57 +61,88 @@ update logpm_trunkline_load_sign_order set belong_to_warehouse_id = #{warehouseId}, - belong_to_warehouse_name = #{warehouseName} + belong_to_warehouse_name = #{warehouseName} where id = #{signOrderId} @@ -138,17 +170,17 @@ from logpm_trunkline_load_sign_order ltlso left join logpm_trunkline_cars_load ltcl on ltcl.id = ltlso.load_id LEFT JOIN logpm_trunkline_cars_order ltco on ltco.sign_order_id = ltlso.id - left join logpm_warehouse_warehouse lww on lww.id = ltlso.warehouse_id + left join logpm_warehouse_warehouse lww on lww.id = ltlso.warehouse_id and (ltlso.warehouse_id in - - #{item} - + + #{item} + or ltlso.final_node_id in - - #{item} - ) + + #{item} + ) and ltlso.load_id = #{param.loadId} @@ -171,7 +203,7 @@ - + delete from logpm_trunkline_load_sign_order where id in