@@ -261,7 +261,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND p.del_flag = '0'
AND sc.del_flag = '0'
and ml.del_flag = '0'
- and sp.status = '6'
+ and sp.status in ('4','6')
<if test="machineTool != null"> and sp.production_line_no = #{machineTool}</if>
</select>