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