huminmin
2026-04-27 398551392afc2ab879f837f60f95f9c9d8cf3c98
src/main/resources/mapper/production/ProductionOrderMapper.xml
@@ -65,6 +65,12 @@
                <if test="c.id != null">
                    and po.id = #{c.id}
                </if>
                <if test="c.productName != null and c.productName != ''">
                    and p.product_name like concat('%', #{c.productName}, '%')
                </if>
                <if test="c.model != null and c.model != ''">
                    and pm.model like concat('%', #{c.model}, '%')
                </if>
                <if test="c.productModelId != null">
                    and po.product_model_id = #{c.productModelId}
                </if>