This commit is contained in:
2026-04-21 15:44:43 +08:00

View File

@@ -940,8 +940,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectMaterialMismatchCoilsPage" resultMap="WmsMaterialCoilResult"> <select id="selectMaterialMismatchCoilsPage" resultMap="WmsMaterialCoilResult">
SELECT mc.* SELECT mc.*
FROM wms_material_coil mc FROM wms_material_coil mc
LEFT JOIN wms_raw_material rm ON mc.item_type = 'raw_material' AND mc.item_id = rm.raw_material_id AND rm.del_flag = 0 LEFT JOIN wms_raw_material rm ON mc.item_type = 'raw_material' AND mc.item_id = rm.raw_material_id AND rm.del_flag = 0 AND rm.raw_material_name LIKE '%热轧卷板%'
LEFT JOIN wms_product wp ON mc.item_type = 'product' AND mc.item_id = wp.product_id AND wp.del_flag = 0 LEFT JOIN wms_product wp ON mc.item_type = 'product' AND mc.item_id = wp.product_id AND wp.del_flag = 0 AND wp.product_name LIKE '%热轧卷板%'
WHERE mc.del_flag = 0 WHERE mc.del_flag = 0
AND mc.item_id IS NOT NULL AND mc.item_id IS NOT NULL
AND mc.item_type IS NOT NULL AND mc.item_type IS NOT NULL