src/main/resources/mapper/production/ProductionProductMainMapper.xml
@@ -51,11 +51,11 @@ <if test="c.auditStatus != null"> and ppm.audit_status = #{c.auditStatus} </if> <if test="c.workOrderId != ''"> <if test="c.workOrderId != null"> and ppm.work_order_id = #{c.workOrderId} </if> </where> order by pwo.id desc, ppm.id asc order by ppm.id desc </select> <select id="getOrderByMainId" resultType="com.ruoyi.production.pojo.ProductOrder">