fix:编码发生变动 推送数据
This commit is contained in:
@@ -478,15 +478,15 @@ public class ShopServiceImpl implements ShopService {
|
||||
shopInfo.setManagerRegionId(request.getManagerRegionId());
|
||||
shopInfo.setInvestRegionId(request.getInvestRegionId());
|
||||
Integer f = shopInfoDAO.updateShopInfo(shopInfo);
|
||||
if (StringUtils.isNotBlank(request.getShopCode()) && StringUtils.compare(request.getShopCode().trim(), oldShopCode) != 0) {
|
||||
try {
|
||||
log.info("门店编码发生修改,推送新管家");
|
||||
ZxjpApiRequest data = shopAccountService.getData(request.getShopId(), DownSystemTypeEnum.XGJ);
|
||||
pushService.pushDataToXGJ(data);
|
||||
} catch (Exception e) {
|
||||
log.error("推送新管家失败", e);
|
||||
}
|
||||
}
|
||||
// if (StringUtils.isNotBlank(request.getShopCode()) && StringUtils.compare(request.getShopCode().trim(), oldShopCode) != 0) {
|
||||
// try {
|
||||
// log.info("门店编码发生修改,推送新管家");
|
||||
// ZxjpApiRequest data = shopAccountService.getData(request.getShopId(), DownSystemTypeEnum.XGJ);
|
||||
// pushService.pushDataToXGJ(data);
|
||||
// } catch (Exception e) {
|
||||
// log.error("推送新管家失败", e);
|
||||
// }
|
||||
// }
|
||||
return f;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user