|
|
|
@ -18,7 +18,7 @@
|
|
|
|
|
count(d.id) as value, |
|
|
|
|
w.destination_warehouse_id as warehouseId |
|
|
|
|
from logpm_platform.logpm_warehouse_waybill as w |
|
|
|
|
INNER JOIN logpm_platform.logpm_trunkline_advance_detail as d on w.waybill_no = d.waybill_no |
|
|
|
|
INNER JOIN logpm_platform.logpm_trunkline_advance_detail as d on w.id = d.waybill_id |
|
|
|
|
where w.freeze_status = 0 |
|
|
|
|
and w.create_time BETWEEN #{startTime} and #{endTime} |
|
|
|
|
group by w.destination_warehouse_id |
|
|
|
@ -30,7 +30,7 @@
|
|
|
|
|
count(d.id) as value, |
|
|
|
|
date_format(w.create_time, '%Y-%m') as month |
|
|
|
|
from logpm_platform.logpm_warehouse_waybill as w |
|
|
|
|
INNER JOIN logpm_platform.logpm_trunkline_advance_detail as d on w.waybill_no = d.waybill_no |
|
|
|
|
INNER JOIN logpm_platform.logpm_trunkline_advance_detail as d on w.id = d.waybill_id |
|
|
|
|
where w.freeze_status = 0 |
|
|
|
|
and w.create_time BETWEEN #{startTime} and #{endTime} |
|
|
|
|
group by month |
|
|
|
|