order
This commit is contained in:
@@ -128,6 +128,7 @@ public class FirstOrderServiceImp implements FirstOrderService {
|
|||||||
log.error("shopId is null");
|
log.error("shopId is null");
|
||||||
throw new ServiceException(ErrorCodeEnum.FIRST_ORDER_PARAM_NULL);
|
throw new ServiceException(ErrorCodeEnum.FIRST_ORDER_PARAM_NULL);
|
||||||
}
|
}
|
||||||
|
ShopInfoDO shopInfo = shopService.getShopInfo(shopId);
|
||||||
FirstOrderDTO order = firstOrderDAO.selectFirstOrderByShopId(shopId);
|
FirstOrderDTO order = firstOrderDAO.selectFirstOrderByShopId(shopId);
|
||||||
ShopStageInfoDO shopSubStageInfo = shopStageInfoDAO.getShopSubStageInfo(shopId, ShopSubStageEnum.SHOP_STAGE_15);
|
ShopStageInfoDO shopSubStageInfo = shopStageInfoDAO.getShopSubStageInfo(shopId, ShopSubStageEnum.SHOP_STAGE_15);
|
||||||
if (ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_151.getShopSubStageStatus().equals(shopSubStageInfo.getShopSubStageStatus())) {
|
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());
|
String userName = enterpriseUserDAO.getUserName(order.getCreateUserId());
|
||||||
order.setPartnerName(userName);
|
order.setPartnerName(userName);
|
||||||
ShopInfoDO shopInfo = shopService.getShopInfo(order.getShopId());
|
|
||||||
String storeNum = shopInfo.getStoreNum();
|
String storeNum = shopInfo.getStoreNum();
|
||||||
Boolean flag = coolStoreStartFlowService.getFirstOrder(storeNum);
|
Boolean flag = coolStoreStartFlowService.getFirstOrder(storeNum);
|
||||||
log.info("saveOrder,flag:{}", flag);
|
log.info("saveOrder,flag:{}", flag);
|
||||||
|
|||||||
Reference in New Issue
Block a user