Merge #66 into master from cc_20260305_opPlan_remove
fix:加盟合同签约完成后门店编码修改时推送新管家
* cc_20260305_opPlan_remove: (3 commits squashed)
- fix:开业运营方案阶段不初始化
- fix:加盟合同签约完成后门店编码修改时推送新管家
- Merge branch 'master' into cc_20260305_opPlan_remove
# Conflicts:
#	coolstore-partner-dao/src/main/java/com/cool/store/dao/ShopStageInfoDAO.java
Signed-off-by: 王非凡 <accounts_67eba0c5fee9c49c80c8e2b4@mail.teambition.com>
Merged-by: 正新 <accounts_6964c7bcd2a2c377c5bbd01b@mail.teambition.com>
CR-link: https://codeup.aliyun.com/692ea314dec569489f6f167c/hangzhou/java/custom_zxjp/change/66
This commit is contained in:
@@ -59,6 +59,10 @@ public class ShopStageInfoDAO {
|
||||
// 三明治跳过营帐通开通
|
||||
continue;
|
||||
}
|
||||
// 开业运营方案删除
|
||||
if (shopSubStageEnum.equals(ShopSubStageEnum.SHOP_STAGE_14)) {
|
||||
continue;
|
||||
}
|
||||
ShopStageInfoDO shopStageInfo = new ShopStageInfoDO();
|
||||
shopStageInfo.setLineId(lineInfoDO.getId());
|
||||
shopStageInfo.setShopId(shopId);
|
||||
|
||||
@@ -475,15 +475,19 @@ 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) {
|
||||
// 完成合同签约后推送新管家
|
||||
ShopStageInfoDO contractStage = shopStageInfoDAO.getShopSubStageInfo(request.getShopId(), SHOP_STAGE_8);
|
||||
if (contractStage.getShopSubStageStatus().equals(ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_84.getShopSubStageStatus())) {
|
||||
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