|
|
|
@ -145,7 +145,9 @@
|
|
|
|
|
AND nameCode LIKE concat(#{nameCode}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="ggxh != '' and ggxh != null">
|
|
|
|
|
AND ggxh LIKE concat('%', #{ggxh}, '%')
|
|
|
|
|
and (
|
|
|
|
|
basic_products.ggxh LIKE concat('%', #{ggxh}, '%')
|
|
|
|
|
or basic_products.bzgg LIKE concat('%', #{ggxh}, '%'))
|
|
|
|
|
</if>
|
|
|
|
|
<if test="purType != '' and purType != null">
|
|
|
|
|
AND basic_udirel.purType = #{purType}
|
|
|
|
@ -279,6 +281,22 @@
|
|
|
|
|
#{item}
|
|
|
|
|
</foreach>
|
|
|
|
|
</if>
|
|
|
|
|
<if test="keyWords != '' and keyWords != null">
|
|
|
|
|
AND (
|
|
|
|
|
basic_products.nameCode LIKE concat('%', #{keyWords}, '%')
|
|
|
|
|
or basic_products.ybbm LIKE concat('%', #{keyWords}, '%')
|
|
|
|
|
or basic_products.sptm LIKE concat('%', #{keyWords}, '%')
|
|
|
|
|
or basic_products.bzgg LIKE concat('%', #{keyWords}, '%')
|
|
|
|
|
or basic_products.prepnSpec LIKE concat('%', #{keyWords}, '%')
|
|
|
|
|
or basic_products.cpmctymc LIKE concat('%', #{keyWords}, '%')
|
|
|
|
|
or basic_products.ggxh LIKE concat('%', #{keyWords}, '%')
|
|
|
|
|
or basic_products.manufactory LIKE concat('%', #{keyWords}, '%')
|
|
|
|
|
or basic_udirel.thirdId LIKE concat('%', #{keyWords}, '%')
|
|
|
|
|
or basic_udirel.thirdId1 LIKE concat('%', #{keyWords}, '%')
|
|
|
|
|
or basic_udirel.thirdId2 LIKE concat('%', #{keyWords}, '%')
|
|
|
|
|
or basic_udirel.thirdId3 LIKE concat('%', #{keyWords}, '%')
|
|
|
|
|
or basic_udirel.thirdId4 LIKE concat('%', #{keyWords}, '%'))
|
|
|
|
|
</if>
|
|
|
|
|
</where>
|
|
|
|
|
ORDER BY company_product_relevance.updateTime DESC
|
|
|
|
|
</select>
|
|
|
|
|