fix 推送数据枚举错误
This commit is contained in:
@@ -66,7 +66,7 @@ public class HqtAPIServiceImpl implements HqtAPIService {
|
|||||||
log.info("开始推送门店信息request:{}",JSONObject.toJSONString(request));
|
log.info("开始推送门店信息request:{}",JSONObject.toJSONString(request));
|
||||||
ShopInfoDO shopInfo = shopInfoDAO.getShopInfo(request.getShopId());
|
ShopInfoDO shopInfo = shopInfoDAO.getShopInfo(request.getShopId());
|
||||||
//,加盟公司自有店->加盟公司建店 不推送数据 再crm中完成
|
//,加盟公司自有店->加盟公司建店 不推送数据 再crm中完成
|
||||||
if ( shopInfo.getJoinMode().equals(JoinModeEnum.FRANCHISE_COMPANIES.getCode())){
|
if ( shopInfo.getJoinMode().equals(JoinModeEnum.OWN_STORE.getCode())){
|
||||||
log.info("加盟公司自有店->加盟公司建店 不推送数据 再crm中完成");
|
log.info("加盟公司自有店->加盟公司建店 不推送数据 再crm中完成");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -538,6 +538,7 @@ public class PCTestController {
|
|||||||
EnterpriseUserDO userInfoById = enterpriseUserDAO.getUserInfoById(shopInfo.getInvestmentManager());
|
EnterpriseUserDO userInfoById = enterpriseUserDAO.getUserInfoById(shopInfo.getInvestmentManager());
|
||||||
BigRegionDO bigRegionDO = bigRegionDAO.getByRegionId(shopInfo.getRegionId());
|
BigRegionDO bigRegionDO = bigRegionDAO.getByRegionId(shopInfo.getRegionId());
|
||||||
HqtBuildRequest request = new HqtBuildRequest();
|
HqtBuildRequest request = new HqtBuildRequest();
|
||||||
|
request.setShopId(shopId);
|
||||||
request.setShopCode(shopInfo.getShopCode());
|
request.setShopCode(shopInfo.getShopCode());
|
||||||
request.setShopName(shopInfo.getShopName());
|
request.setShopName(shopInfo.getShopName());
|
||||||
request.setShopDecorationAttributes(shopInfo.getShopDecorationAttributes());
|
request.setShopDecorationAttributes(shopInfo.getShopDecorationAttributes());
|
||||||
|
|||||||
Reference in New Issue
Block a user