zhijiezhao 3 years ago
parent
commit
b5bf7c6f83

+ 2 - 2
src/main/java/com/caimei365/commodity/service/impl/SearchProductServiceImpl.java

@@ -81,8 +81,8 @@ public class SearchProductServiceImpl implements SearchProductService {
         if (promotionFlag == 1) {
             filterList.add("p_promotions_id > 0");
         }
+        log.info("brandIds = "+ brandIds+"------------------------------------------------------------------------");
         if (!StringUtils.isEmpty(brandIds) && !"null".equals(brandIds)) {
-            log.info("brandIds = "+ brandIds+"------------------------------------------------------------------------");
             StringBuffer brandBuilder = new StringBuffer();
             if (brandIds.contains(",")) {
                 String[] split = brandIds.split(",");
@@ -241,8 +241,8 @@ public class SearchProductServiceImpl implements SearchProductService {
         if (promotionFlag == 1) {
             filterList.add("p_promotions_id > 0");
         }
+        log.info("brandIds = "+ brandIds+"------------------------------------------------------------------------");
         if (!StringUtils.isEmpty(brandIds) && !"null".equals(brandIds)) {
-            log.info("brandIds = "+ brandIds+"------------------------------------------------------------------------");
             StringBuffer brandBuilder = new StringBuffer();
             if (brandIds.contains(",")) {
                 String[] split = brandIds.split(",");