Showing
1 changed file
with
1 additions
and
1 deletions
@@ -108,7 +108,7 @@ public class ProductIndexBaseService { | @@ -108,7 +108,7 @@ public class ProductIndexBaseService { | ||
108 | } catch (Exception e) { | 108 | } catch (Exception e) { |
109 | } | 109 | } |
110 | productMap.put("tbl_country_id", tbl_country_id); | 110 | productMap.put("tbl_country_id", tbl_country_id); |
111 | - productMap.put("tbl_brand_id", "Y".equalsIgnoreCase(is_global)?brand_id*(-1):0);//全球购品牌id改为正数 | 111 | + productMap.put("tbl_brand_id", brand_id <0 && "N".equalsIgnoreCase(is_global)?0:brand_id * -1);//全球购品牌id改为正数 |
112 | productMap.put("tbl_country_name", map.get(ProductIndexEsField.tblCountryName)); | 112 | productMap.put("tbl_country_name", map.get(ProductIndexEsField.tblCountryName)); |
113 | String tbl_plane = (tbl_country_id != null && tbl_country_id != 86) ? "Y" : "N"; | 113 | String tbl_plane = (tbl_country_id != null && tbl_country_id != 86) ? "Y" : "N"; |
114 | productMap.put("tbl_plane", tbl_plane); | 114 | productMap.put("tbl_plane", tbl_plane); |
-
Please register or login to post a comment