feat:修改运营顾问
This commit is contained in:
@@ -48,6 +48,7 @@ import java.util.stream.Stream;
|
||||
import static com.cool.store.enums.ErrorCodeEnum.*;
|
||||
import static com.cool.store.enums.UserRoleEnum.*;
|
||||
import static com.cool.store.enums.WorkflowSubStageStatusEnum.*;
|
||||
import static com.cool.store.enums.point.ShopSubStageEnum.SHOP_STAGE_15;
|
||||
import static com.cool.store.enums.point.ShopSubStageEnum.SHOP_STAGE_8;
|
||||
|
||||
/**
|
||||
@@ -498,9 +499,9 @@ public class ShopServiceImpl implements ShopService {
|
||||
throw new ServiceException(PARAMS_VALIDATE_ERROR);
|
||||
}
|
||||
log.info("updateOperationsConsultant shopId:{},operationsConsultant:{}",shopId,operationsConsultant);
|
||||
ShopStageInfoDO shopSubStageInfo = shopStageInfoDAO.getShopSubStageInfo(shopId, SHOP_STAGE_8);
|
||||
//缴费阶段未完成 不能分配运营顾问
|
||||
if (!ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_84.getShopSubStageStatus().equals(shopSubStageInfo.getShopSubStageStatus())){
|
||||
ShopStageInfoDO shopSubStageInfo = shopStageInfoDAO.getShopSubStageInfo(shopId, SHOP_STAGE_15);
|
||||
//分配运营顾问之后 可以修改 也就是阶段是建店开始之后就可以修改
|
||||
if (!ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_00.getShopSubStageStatus().equals(shopSubStageInfo.getShopSubStageStatus())){
|
||||
throw new ServiceException(CONTRACT_STAGE_NO_COMPLETE);
|
||||
}
|
||||
ShopInfoDO shopInfo = shopInfoDAO.getShopInfo(shopId);
|
||||
|
||||
Reference in New Issue
Block a user