|
|
|
@ -93,7 +93,6 @@
|
|
|
|
|
c.title cargoTitle, |
|
|
|
|
s.title shelfTitle, |
|
|
|
|
l.title goodsAllocation, |
|
|
|
|
t.tray_no pallet, |
|
|
|
|
ad.firstPackName firsts, |
|
|
|
|
ad.secondPackName `second`, |
|
|
|
|
ad.thirdPackName thirdProduct, |
|
|
|
@ -102,7 +101,7 @@
|
|
|
|
|
ad.mscsNum quantity, |
|
|
|
|
ad.mctsTruck trainNumber, |
|
|
|
|
( |
|
|
|
|
select create_time from ht_scan_log where unitNo = #{unitNo} and type = 1 or type = 4 and unitNo = #{unitNo} |
|
|
|
|
select create_time from ht_scan_log where unitNo = #{unitNo} and type in (1,4) |
|
|
|
|
ORDER BY create_time desc |
|
|
|
|
limit 1 |
|
|
|
|
) warehouseEntryTimeEnd |
|
|
|
@ -112,8 +111,6 @@
|
|
|
|
|
left join ht_location l on od.location_id = l.id |
|
|
|
|
left join ht_shelf s on l.shelf_id = s.id |
|
|
|
|
left join ht_cargo c on s.cargo_id = c.id |
|
|
|
|
left join ht_tray_scan_des tsd on tsd.unitNo = od.unitNo |
|
|
|
|
left join ht_tray t on t.id = tsd.tray_id |
|
|
|
|
left join ht_detail_product hdp on hdp.unit_no = od.unitNo |
|
|
|
|
where od.unitNo = #{unitNo} |
|
|
|
|
|
|
|
|
|