package com.willalp.yiqing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.willalp.yiqing.domain.HsOrdersLogData;
import com.willalp.yiqing.domain.vo.OrdersVo;
import com.willalp.yiqing.domain.vo.RegisterVo;
import org.springframework.scheduling.annotation.Async;

import java.util.List;

/**
 * 派单记录数据Service接口
 *
 * @author willalp
 * @date 2022-05-24
 */
public interface IHsOrdersLogDataService extends IService<HsOrdersLogData>
{
    /**
     * 查询派单记录数据列表
     *
     * @param hsOrdersLogData 派单记录数据
     * @return 派单记录数据集合
     */
    public List<HsOrdersLogData> selectHsOrdersLogDataList(HsOrdersLogData hsOrdersLogData);

    /**
     * @param list
     * @param ordersVo
     */
    @Async("threadPoolTaskExecutor")
    void insertDatas(List<RegisterVo> list, OrdersVo ordersVo);
}
