Authored by mali

商品池品类搜索

... ... @@ -33,7 +33,7 @@
and brand.brand_name like concat('%', #{productDetails.brandName}, '%')
</if>
<if test="productDetails.sortName != null and productDetails.sortName != ''">
and sort1.sort_name like concat('%', #{productDetails.sortName}, '%')
and (sort1.sort_name like concat('%', #{productDetails.sortName}, '%') or sort2.sort_name like concat('%', #{productDetails.sortName}, '%'))
</if>
</sql>
... ...