package com.ssm.manage.service;

import com.ssm.core.service.BaseService;
import com.ssm.manage.entity.SmsException;
import com.ssm.manage.extendEntity.HairCallEntity;

import java.util.List;

public interface SsmHairCallNumService extends BaseService<HairCallEntity> {
    List<HairCallEntity> selectList(HairCallEntity hairCallEntity);
    Integer selectNum(HairCallEntity hairCallEntity);

    HairCallEntity addNum(HairCallEntity hairCallEntity) throws SmsException;

    HairCallEntity callNum(HairCallEntity hairCallEntity) throws SmsException, InterruptedException;

    void passNum(HairCallEntity hairCallEntity);

    void deleteCallNum(HairCallEntity hairCallEntity);

    void connectNum (HairCallEntity hairCallEntity);

    void passCallNum(HairCallEntity hairCallEntity);

    HairCallEntity nextWaitNum(HairCallEntity hairCallEntity);
}
