fix:编码发生变动 推送数据

This commit is contained in:
suzhuhong
2026-01-02 16:05:27 +08:00
parent 0fefc7773f
commit 784f34f993

View File

@@ -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;
}