package com.pqs9000.mapper.responsibility;

import com.pqs9000.pojo.responsibility.UserExcelData;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.Date;

/**
 * @author hongawen
 * @Date: 2019/4/19 13:37
 */
public interface UserExcelDataMapper extends Mapper<UserExcelData> {

    //根据条件查询是否已经加载过用采数据
    UserExcelData selectUserExcelData(@Param("excelName")String excelName, @Param("startTime")Date startTime, @Param("endTime")Date endTime);

    //根据索引删除之前的数据库记录
    void deleteByIndex(String userDataIndex);
}
