Commit 80eb987f authored by maoying's avatar maoying

修改所在建筑设备列表查询脚本

parent c59bd4e2
...@@ -1494,9 +1494,10 @@ ...@@ -1494,9 +1494,10 @@
wlec.name AS category_name wlec.name AS category_name
FROM FROM
wl_equipment_specific AS spe wl_equipment_specific AS spe
LEFT JOIN wl_stock_detail AS det ON det.equipment_specific_id = spe.id
LEFT JOIN wl_equipment AS wle ON spe.equipment_code = wle.code LEFT JOIN wl_equipment AS wle ON spe.equipment_code = wle.code
LEFT JOIN wl_equipment_category AS wlec ON wlec.id = wle.category_id LEFT JOIN wl_equipment_category AS wlec ON wlec.id = wle.category_id
WHERE WHERE
spe.warehouse_structure_id =#{floorId} det.amount > 0 and spe.warehouse_structure_id =#{floorId}
</select> </select>
</mapper> </mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment