src/main/java/com/nanometer/smartlab/dao/SysWarehouseDao.xml
@@ -127,5 +127,21 @@ LEFT JOIN base_meta bm3 ON bm3.id = swc.structure where sw.valid_flag = 1 AND swc.valid_flag = 1 </select> <select id="selectAllWarehouse" resultType="java.util.Map"> select sw.id, sw.type, bm.meta_value typeName, sw.name, sw.info_code infoCode, sw.bar_code barCode, sw.location1, sw.location2, date_format(sw.create_time,'%Y-%m-%d %H:%i:%S') createTime, sw.department from sys_warehouse as sw left join base_meta bm on bm.id = sw.type where sw.valid_flag = 1 </select> </mapper>