Merge branch 'cc_20240606_lastFix' into 'master'

order

See merge request hangzhou/java/custom_xfsg!13
This commit is contained in:
zhangchenbiao
2024-06-06 03:05:54 +00:00

View File

@@ -128,6 +128,7 @@ public class FirstOrderServiceImp implements FirstOrderService {
log.error("shopId is null");
throw new ServiceException(ErrorCodeEnum.FIRST_ORDER_PARAM_NULL);
}
ShopInfoDO shopInfo = shopService.getShopInfo(shopId);
FirstOrderDTO order = firstOrderDAO.selectFirstOrderByShopId(shopId);
ShopStageInfoDO shopSubStageInfo = shopStageInfoDAO.getShopSubStageInfo(shopId, ShopSubStageEnum.SHOP_STAGE_15);
if (ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_151.getShopSubStageStatus().equals(shopSubStageInfo.getShopSubStageStatus())) {
@@ -142,7 +143,6 @@ public class FirstOrderServiceImp implements FirstOrderService {
String userName = enterpriseUserDAO.getUserName(order.getCreateUserId());
order.setPartnerName(userName);
ShopInfoDO shopInfo = shopService.getShopInfo(order.getShopId());
String storeNum = shopInfo.getStoreNum();
Boolean flag = coolStoreStartFlowService.getFirstOrder(storeNum);
log.info("saveOrder,flag:{}", flag);