Authored by wangnan

fix

@@ -243,15 +243,15 @@ public class TblLogicService { @@ -243,15 +243,15 @@ public class TblLogicService {
243 productIndexBO.setBrandName(tblBrand.getBrandNameEn()); 243 productIndexBO.setBrandName(tblBrand.getBrandNameEn());
244 productIndexBO.setBrandNameEn(tblBrand.getBrandNameEn()); 244 productIndexBO.setBrandNameEn(tblBrand.getBrandNameEn());
245 productIndexBO.setBrandNameCn(tblBrand.getBrandNameCn()); 245 productIndexBO.setBrandNameCn(tblBrand.getBrandNameCn());
  246 + if (tblBrand.getBrandId() != null) {
  247 + productIndexBO.setShopId(tblBrand.getBrandId() * (-1));
  248 + }
246 } else { 249 } else {
247 // 增量当品牌删除的时候 250 // 增量当品牌删除的时候
248 productIndexBO.setBrandName(null); 251 productIndexBO.setBrandName(null);
249 productIndexBO.setBrandNameEn(null); 252 productIndexBO.setBrandNameEn(null);
250 productIndexBO.setBrandNameCn(null); 253 productIndexBO.setBrandNameCn(null);
251 } 254 }
252 - if(tblBrand.getBrandId()!=null){  
253 - productIndexBO.setShopId(tblBrand.getBrandId()*(-1));  
254 - }  
255 return productIndexBO; 255 return productIndexBO;
256 } 256 }
257 257