|
|
@ -357,7 +357,8 @@ |
|
|
|
end as clerkCheck, |
|
|
|
end as clerkCheck, |
|
|
|
CASE |
|
|
|
CASE |
|
|
|
WHEN ldbl.conditions = 30 THEN ldbl.update_time |
|
|
|
WHEN ldbl.conditions = 30 THEN ldbl.update_time |
|
|
|
end as clerkUpdateTime |
|
|
|
end as clerkUpdateTime, |
|
|
|
|
|
|
|
1 AS num |
|
|
|
FROM logpm_distrilbution_bill_lading ldbl |
|
|
|
FROM logpm_distrilbution_bill_lading ldbl |
|
|
|
LEFT JOIN logpm_distrilbution_bill_package ldbp on ldbl.id = ldbp.bill_lading_id |
|
|
|
LEFT JOIN logpm_distrilbution_bill_package ldbp on ldbl.id = ldbp.bill_lading_id |
|
|
|
LEFT JOIN logpm_distribution_parcel_list ldpl ON ldbp.parce_list_id = ldpl.id |
|
|
|
LEFT JOIN logpm_distribution_parcel_list ldpl ON ldbp.parce_list_id = ldpl.id |
|
|
|