Showing
1 changed file
with
1 additions
and
1 deletions
@@ -33,7 +33,7 @@ | @@ -33,7 +33,7 @@ | ||
33 | and brand.brand_name like concat('%', #{productDetails.brandName}, '%') | 33 | and brand.brand_name like concat('%', #{productDetails.brandName}, '%') |
34 | </if> | 34 | </if> |
35 | <if test="productDetails.sortName != null and productDetails.sortName != ''"> | 35 | <if test="productDetails.sortName != null and productDetails.sortName != ''"> |
36 | - and sort1.sort_name like concat('%', #{productDetails.sortName}, '%') | 36 | + and (sort1.sort_name like concat('%', #{productDetails.sortName}, '%') or sort2.sort_name like concat('%', #{productDetails.sortName}, '%')) |
37 | </if> | 37 | </if> |
38 | </sql> | 38 | </sql> |
39 | 39 |
-
Please register or login to post a comment