Showing
1 changed file
with
3 additions
and
1 deletions
@@ -249,7 +249,9 @@ public class TblLogicService { | @@ -249,7 +249,9 @@ public class TblLogicService { | ||
249 | productIndexBO.setBrandNameEn(null); | 249 | productIndexBO.setBrandNameEn(null); |
250 | productIndexBO.setBrandNameCn(null); | 250 | productIndexBO.setBrandNameCn(null); |
251 | } | 251 | } |
252 | - productIndexBO.setShopId(tblBrand.getBrandId()*(-1)); | 252 | + if(tblBrand.getBrandId()!=null){ |
253 | + productIndexBO.setShopId(tblBrand.getBrandId()*(-1)); | ||
254 | + } | ||
253 | return productIndexBO; | 255 | return productIndexBO; |
254 | } | 256 | } |
255 | 257 |
-
Please register or login to post a comment