Merge #18 into master from cc_20251114_minor_req
fix:订货信息新增订货备注并同步主数据;门店编码变更推送新管家
* cc_20251114_minor_req: (11 commits squashed)
- fix:门店日营销数据
- fix:jackson反序列化配置忽略未定义字段
- fix:菜品市场数据新增字段
- fix:菜品市场数据新增字段
- Merge branch 'master' into cc_20251114_minor_req
# Conflicts:
#	coolstore-partner-model/src/main/java/com/cool/store/dto/recipe/RevenueDataDTO.java
#	coolstore-partner-model/src/main/java/com/cool/store/vo/recipe/RevenueDataVO.java
- fix:数据看板日营业数据字段修改
- fix:根据手机号获取门店列表 开放接口
- Merge branch 'refs/heads/master' into cc_20251114_minor_req
# Conflicts:
#	coolstore-partner-web/src/main/java/com/cool/store/controller/webb/OpenApiController.java
- fix:开店管理修改基本信息资料中门店编码发生变化时推送新管家
- fix:订货信息新增订货备注并同步主数据
- Merge branch 'refs/heads/master' into cc_20251114_minor_req
Signed-off-by: 王非凡 <accounts_67eba0c5fee9c49c80c8e2b4@mail.teambition.com>
Reviewed-by: 苏竹红 <570057076@qq.com>
Merged-by: 苏竹红 <570057076@qq.com>
CR-link: https://codeup.aliyun.com/692ea314dec569489f6f167c/hangzhou/java/custom_zxjp/change/18
This commit is contained in:
@@ -214,6 +214,7 @@ public class BuildInformationServiceImpl implements BuildInformationService {
|
||||
response.setReceivingMsBankBranch(orderSysInfoDO.getReceivingMsBankBranch());
|
||||
response.setBankUnionPayAccount(orderSysInfoDO.getBankUnionPayAccount());
|
||||
response.setOrderType(orderSysInfoDO.getOrderType());
|
||||
response.setOrderRemark(orderSysInfoDO.getOrderRemark());
|
||||
WarehouseInfoDO warehouseInfoDO = warehouseInfoMapper.getByCode(orderSysInfoDO.getDeclareGoodsLogisticsWarehouse());
|
||||
if (Objects.nonNull(warehouseInfoDO)) {
|
||||
response.setDeclareGoodsLogisticsWarehouseName(warehouseInfoDO.getWarehouseName());
|
||||
|
||||
@@ -103,6 +103,7 @@ public class OrderSysInfoServiceImpl implements OrderSysInfoService {
|
||||
orderSysInfoDO.setDeclareGoodsType(request.getDeclareGoodsType());
|
||||
orderSysInfoDO.setDeclareGoodsDate(request.getDeclareGoodsDate());
|
||||
orderSysInfoDO.setWarehouseDeliveryDate(request.getWarehouseDeliveryDate());
|
||||
orderSysInfoDO.setOrderRemark(request.getOrderRemark());
|
||||
if (shopSubStageInfo.getShopSubStageStatus().equals(ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_151.getShopSubStageStatus())) {
|
||||
orderSysInfoDO.setOrderCreateTime(new Date());
|
||||
orderSysInfoDO.setOrderCreateUser(curUserId);
|
||||
|
||||
@@ -112,6 +112,10 @@ public class ShopServiceImpl implements ShopService {
|
||||
StoreService storeService;
|
||||
@Resource
|
||||
EnterpriseService enterpriseService;
|
||||
@Resource
|
||||
ShopAccountService shopAccountService;
|
||||
@Resource
|
||||
PushService pushService;
|
||||
|
||||
|
||||
@Override
|
||||
@@ -444,6 +448,7 @@ public class ShopServiceImpl implements ShopService {
|
||||
ShopStageInfoDO shopSubStageInfo = shopStageInfoDAO.getShopSubStageInfo(request.getShopId(), ShopSubStageEnum.SHOP_STAGE_7);
|
||||
//缴费阶段之后 加盟模式不能切换为直营店 直营店也不能切换为其他店
|
||||
ShopInfoDO shopInfo = shopInfoDAO.getShopInfo(request.getShopId());
|
||||
String oldShopCode = shopInfo.getShopCode();
|
||||
if (shopSubStageInfo.getShopSubStageStatus()>ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_70.getShopSubStageStatus()){
|
||||
if (request.getJoinMode()!=shopInfo.getJoinMode()&&
|
||||
(request.getJoinMode()==JoinModeEnum.FLAGSHIP_STORE.getCode()||shopInfo.getJoinMode()==JoinModeEnum.FLAGSHIP_STORE.getCode())){
|
||||
@@ -462,7 +467,17 @@ public class ShopServiceImpl implements ShopService {
|
||||
shopInfo.setFranchiseBrand(request.getFranchiseBrand());
|
||||
shopInfo.setStoreType(request.getStoreType());
|
||||
shopInfo.setManagerRegionId(request.getManagerRegionId());
|
||||
return shopInfoDAO.updateShopInfo(shopInfo);
|
||||
Integer f = shopInfoDAO.updateShopInfo(shopInfo);
|
||||
if (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;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -169,6 +169,7 @@ public class SyncMainSysServerImpl implements SyncMainSysServer {
|
||||
storeMasterDTO.setDeclareGoodsLogisticsWarehouse(orderSysInfoDO.getDeclareGoodsLogisticsWarehouse());
|
||||
storeMasterDTO.setDeclareGoodsType(Integer.valueOf(orderSysInfoDO.getDeclareGoodsType()));
|
||||
storeMasterDTO.setDeclareGoodsDate(orderSysInfoDO.getDeclareGoodsDate());
|
||||
storeMasterDTO.setOrderRemark(orderSysInfoDO.getOrderRemark());
|
||||
}
|
||||
LineInfoDO lineInfoDO = lineInfoDAO.getLineInfo(shopInfo.getLineId());
|
||||
StoreMasterDTO.SignerInfo signerInfo = new StoreMasterDTO.SignerInfo();
|
||||
|
||||
Reference in New Issue
Block a user