diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.xml
index a9475bb40..fba5d059f 100644
--- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.xml
+++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.xml
@@ -29,7 +29,7 @@
-
+
@@ -64,7 +64,7 @@
lddl.vehicle_id vehicleId,
lddl.driver_id driverId,
lddl.distribution_company distributionCompany,
- lddl.delivery_state deliveryState,
+ lddl.delivery_status deliveryStatus,
(SELECT GROUP_CONCAT(DISTINCT ldsu.forklift_name SEPARATOR ',') FROM
logpm_distribution_signfor lds
join logpm_distribution_reservation ldr on lds.reservation_id =ldr.id
@@ -135,8 +135,8 @@
and lddl.type = #{param.type}
-
- and lddl.delivery_state = #{param.deliveryState}
+
+ and lddl.state = #{param.state}
and date_format(lddl.create_time,'%y%m%d%') = date_format(#{param.createTime_query},'%y%m%d%')
@@ -193,8 +193,8 @@
and lddl.distribution_company = #{param.distributionCompany}
-
- and lddl.delivery_state = #{param.deliveryState}
+
+ and lddl.delivery_status = #{param.deliveryStatus}
and lddl.date_format(create_time,'%y%m%d%') = date_format(#{param.createTime_query},'%y%m%d%')
@@ -232,8 +232,8 @@
and lddl.distribution_company = #{param.distributionCompany}
-
- and lddl.delivery_state = #{param.deliveryState}
+
+ and lddl.delivery_status = #{param.state}
and lddl.date_format(create_time,'%y%m%d%') = date_format(#{param.createTime_query},'%y%m%d%')
@@ -269,8 +269,8 @@
and lddl.distribution_company = #{param.distributionCompany}
-
- and lddl.delivery_state = #{param.deliveryState}
+
+ and lddl.state = #{param.state}
and lddl.date_format(create_time,'%y%m%d%') = date_format(#{param.createTime_query},'%y%m%d%')
@@ -308,8 +308,8 @@
and lddl.distribution_company = #{param.distributionCompany}
-
- and lddl.delivery_state = #{param.deliveryState}
+
+ and lddl.state = #{param.state}
and lddl.date_format(create_time,'%y%m%d%') = date_format(#{param.createTime_query},'%y%m%d%')
@@ -326,7 +326,7 @@
SELECT
ldpl.id packageId,
ldrs.stock_article_id orderId,
- ldpl.order_package_code orderPackageCode,
+ ldpl.packet_bar_code packetBarCode,
lds.reservation_id reservationId,
ldpl.quantity packageNub,
lddl.id deliveryId,
@@ -338,14 +338,14 @@
JOIN logpm_distribution_delivery_list lddl on lddl.id = lds.delivery_id
join logpm_distribution_parcel_list ldpl on ldrp.parce_list_id = ldpl.id
where
- lds.is_deleted =0 and lddl.id = #{deliveryId} and ldpl.order_package_code =#{barcode}
+ lds.is_deleted =0 and lddl.id = #{deliveryId} and ldpl.packet_bar_code =#{barcode}