zss
7 天以前 a5a094d5eb9eabb81acd714c964e51f1a99502b8
inspect-server/src/main/resources/mapper/WarehouseMapper.xml
@@ -52,4 +52,22 @@
            and state=1
        order by id, sId, crow, ccol
    </select>
    <select id="selectWarehouseListAll" resultMap="Warehouse">
        select w.id,
               w.name,
               ws.id   sId,
               ws.name sName,
               ws.row,
               ws.col,
               wc.id   cId,
               wc.row  crow,
               wc.col  ccol
        from warehouse w
                 left join warehouse_shelf ws on w.id = ws.warehouse_id
                 left join warehouse_cell wc on shelf_id = ws.id
        where
             state=1
        order by id, sId, crow, ccol
    </select>
</mapper>