@ -64,7 +64,7 @@
lwtt.tray_type
FROM
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
<where>
tray.is_deleted = '0'