Authored by wangnan

fix

... ... @@ -243,15 +243,15 @@ public class TblLogicService {
productIndexBO.setBrandName(tblBrand.getBrandNameEn());
productIndexBO.setBrandNameEn(tblBrand.getBrandNameEn());
productIndexBO.setBrandNameCn(tblBrand.getBrandNameCn());
if (tblBrand.getBrandId() != null) {
productIndexBO.setShopId(tblBrand.getBrandId() * (-1));
}
} else {
// 增量当品牌删除的时候
productIndexBO.setBrandName(null);
productIndexBO.setBrandNameEn(null);
productIndexBO.setBrandNameCn(null);
}
if(tblBrand.getBrandId()!=null){
productIndexBO.setShopId(tblBrand.getBrandId()*(-1));
}
return productIndexBO;
}
... ...