修复错误
This commit is contained in:
@@ -51,6 +51,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
LEFT JOIN wms_material_coil mc ON w.warehouse_id = mc.warehouse_id
|
LEFT JOIN wms_material_coil mc ON w.warehouse_id = mc.warehouse_id
|
||||||
AND mc.data_type = 1
|
AND mc.data_type = 1
|
||||||
AND mc.del_flag = '0'
|
AND mc.del_flag = '0'
|
||||||
|
and (mc.material_type='成品' or mc.material_type='原料')
|
||||||
|
and mc.status!=1
|
||||||
WHERE w.del_flag = '0'
|
WHERE w.del_flag = '0'
|
||||||
<if test="itemType != null and itemType != ''">
|
<if test="itemType != null and itemType != ''">
|
||||||
AND mc.item_type = #{itemType}
|
AND mc.item_type = #{itemType}
|
||||||
@@ -165,7 +167,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
AND mc.data_type = 1
|
AND mc.data_type = 1
|
||||||
AND mc.del_flag = '0'
|
AND mc.del_flag = '0'
|
||||||
and (mc.material_type='成品' or mc.material_type='原料')
|
and (mc.material_type='成品' or mc.material_type='原料')
|
||||||
and mc.status!=2
|
and mc.status!=1
|
||||||
WHERE w.del_flag = '0'
|
WHERE w.del_flag = '0'
|
||||||
<if test="itemType != null and itemType != ''">
|
<if test="itemType != null and itemType != ''">
|
||||||
AND mc.item_type = #{itemType}
|
AND mc.item_type = #{itemType}
|
||||||
|
|||||||
Reference in New Issue
Block a user