@@ -524,6 +524,7 @@
and ml.del_flag = '0'
and sp.status in ('4','6')
<if test="machineTool != null">AND dps.mac_id = #{machineTool} AND FIND_IN_SET(#{machineTool}, sp.products_line_no_arry_id) > 0</if>
+ GROUP BY sp.id
</select>