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