物料模糊查询

highway
A0010407 1 year ago
parent d193c0c676
commit 9f3a839045

@ -19,7 +19,7 @@
<select id="selectBaseProductList" parameterType="BaseProduct" resultMap="BaseProductResult">
<include refid="selectBaseProductVo"/>
<where>
<if test="productCode != null and productCode != ''"> and product_code = #{productCode}</if>
<if test="productCode != null and productCode != ''"> and product_code like concat('%', #{productCode}, '%')</if>
<if test="mtart != null and mtart != ''"> and mtart = #{mtart}</if>
<if test="productDescZh != null and productDescZh != ''"> and product_desc_zh like concat('%', #{productDescZh}, '%')</if>
</where>

Loading…
Cancel
Save