package com.limap.quartz.task;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.limap.core.basic.domain.SysCellNumber;
import com.limap.core.basic.service.ISysCellNumberService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component("CellTask")
@Slf4j
public class CellTask {

    @Autowired
    private ISysCellNumberService cellNumberService;

    public void executeCell() {
        List<SysCellNumber> list = cellNumberService.list(new QueryWrapper<SysCellNumber>().eq("is_use",1));
        //todo 随机拨打，没有数据使用随机号码


    }
}
