|
|
@ -64,7 +64,7 @@ |
|
|
|
lwtt.tray_type |
|
|
|
lwtt.tray_type |
|
|
|
FROM |
|
|
|
FROM |
|
|
|
logpm_warehouse_tray AS tray |
|
|
|
logpm_warehouse_tray AS tray |
|
|
|
left join logpm_warehouse_tray_type lwtt on tray.id = lwtt.tray_id |
|
|
|
left join logpm_warehouse_tray_type lwtt on tray.id = lwtt.tray_id and lwtt.is_deleted=0 |
|
|
|
INNER JOIN logpm_warehouse_warehouse AS warehouse ON tray.warehouse_id = warehouse.id |
|
|
|
INNER JOIN logpm_warehouse_warehouse AS warehouse ON tray.warehouse_id = warehouse.id |
|
|
|
<where> |
|
|
|
<where> |
|
|
|
tray.is_deleted = '0' |
|
|
|
tray.is_deleted = '0' |
|
|
|