|
|
|
@ -306,6 +306,7 @@
|
|
|
|
|
lddl.task_time AS taskTime, |
|
|
|
|
ldr.warehouse_id AS warehouseId, |
|
|
|
|
ldr.consignee AS consignee, |
|
|
|
|
ldr.mall_name AS mallName, |
|
|
|
|
CASE |
|
|
|
|
lddl.kind |
|
|
|
|
WHEN 1 THEN |
|
|
|
@ -355,7 +356,7 @@
|
|
|
|
|
WHERE |
|
|
|
|
lddl.id = lds.delivery_id |
|
|
|
|
) signingNumber, |
|
|
|
|
GROUP_CONCAT( lddl.loading_team_name, lddl.loading_team_name ) AS handlingCrew |
|
|
|
|
GROUP_CONCAT( lddl.loading_team_name, lddl.unloading_team_name ) AS handlingCrew |
|
|
|
|
FROM |
|
|
|
|
logpm_distribution_delivery_list AS lddl |
|
|
|
|
LEFT JOIN logpm_distribution_signfor AS lds ON lddl.id = lds.delivery_id |
|
|
|
@ -376,6 +377,9 @@
|
|
|
|
|
<if test=" params.clineName != '' and params.clineName != null"> |
|
|
|
|
AND ldr.consignee like concat('%',#{params.clineName},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test=" params.mallName != '' and params.mallName != null"> |
|
|
|
|
AND ldr.mall_name like concat('%',#{params.mallName},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test=" params.type != '' and params.type != null"> |
|
|
|
|
AND lddl.type = #{params.type} |
|
|
|
|
</if> |
|
|
|
|