增加接口获取店铺某阶段状态
This commit is contained in:
@@ -132,4 +132,6 @@ public interface ShopService {
|
||||
* @return
|
||||
*/
|
||||
List<UserDTO> getSubStageHandle(Long shopId,Integer subStage);
|
||||
|
||||
ShopStageInfoVO getShopStageStatus(Long shopId, Integer subStage);
|
||||
}
|
||||
|
||||
@@ -781,7 +781,7 @@ public class ShopServiceImpl implements ShopService {
|
||||
case SHOP_SUB_STAGE_STATUS_85:
|
||||
return getUsersByRolesAndRegion(Arrays.asList(REGION_OFFICE, JOIN_OFFICE), shopInfo.getRegionId());
|
||||
|
||||
case SHOP_SUB_STAGE_STATUS_72:
|
||||
// case SHOP_SUB_STAGE_STATUS_72:
|
||||
case SHOP_SUB_STAGE_STATUS_83:
|
||||
return getUsersByRolesAndRegion(Arrays.asList(REGION_OFFICE, BRANCH_OFFICE), shopInfo.getRegionId());
|
||||
|
||||
@@ -860,6 +860,18 @@ public class ShopServiceImpl implements ShopService {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public ShopStageInfoVO getShopStageStatus(Long shopId, Integer subStage) {
|
||||
if(shopId == null|| subStage == null ){
|
||||
throw new ServiceException(ErrorCodeEnum.PARAMS_VALIDATE_ERROR);
|
||||
}
|
||||
ShopStageInfoDO stage = shopStageInfoDAO.getByShopIdAndSubStage(shopId, subStage);
|
||||
if (stage!=null){
|
||||
return new ShopStageInfoVO(stage.getShopStage(), stage.getShopSubStage(), stage.getShopSubStageStatus(),stage.getIsTerminated());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取招商经理信息
|
||||
* @param
|
||||
|
||||
Reference in New Issue
Block a user