parent
1bf9963031
commit
32f2d11dbe
|
@ -27,9 +27,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<include refid="selectProductInfoVo"/>
|
||||
<where>
|
||||
and status = 0
|
||||
<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="productName != null and productName != ''"> and product_name like concat('%', #{productName}, '%')</if>
|
||||
<if test="model != null and model != ''"> and model = #{model}</if>
|
||||
<if test="model != null and model != ''"> and model like concat('%', #{model}, '%')</if>
|
||||
<if test="type != null and type != ''"> and find_in_set(type , #{type})</if>
|
||||
</where>
|
||||
</select>
|
||||
|
|
Loading…
Reference in New Issue