不查询逻辑删除

This commit is contained in:
2025-07-19 18:02:29 +08:00
parent 07990b0ca2
commit 8c5c2774fc

View File

@@ -42,6 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
FROM wms_stock s FROM wms_stock s
LEFT JOIN wms_product p ON s.item_type = 'product' AND s.item_id = p.product_id LEFT JOIN wms_product p ON s.item_type = 'product' AND s.item_id = p.product_id
LEFT JOIN wms_raw_material r ON s.item_type = 'raw_material' AND s.item_id = r.raw_material_id LEFT JOIN wms_raw_material r ON s.item_type = 'raw_material' AND s.item_id = r.raw_material_id
WHERE s.del_flag = 0
${ew.customSqlSegment} ${ew.customSqlSegment}
</select> </select>