6 天以前 f4d4d29368ccacb807f93e2033cd4a643a3ddade
src/main/resources/mapper/production/ProductBomMapper.xml
@@ -25,10 +25,13 @@
        left join product p on pm.product_id = p.id)A
        where 1=1
        <if test="c.productModelName != null">
            and productModelName = #{c.productModelName}
            and product_model_name = #{c.productModelName}
        </if>
        <if test="c.productModelId != null">
            and product_model_id = #{c.productModelId}
        </if>
        <if test="c.productName != null">
            and productName = #{c.productName}
            and product_name = #{c.productName}
        </if>
        <if test="c.bomNo != null">
            and bom_no = #{c.bomNo}