package com.pqs9300.mapper.transaction;

import com.pqs9300.pojo.transaction.Supervise;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.Date;
import java.util.List;


public interface SuperviseMapper extends Mapper<Supervise> {

    List<Supervise> getTransactionDataByDepts(@Param("deptsIndexs")List<String> deptsIndexs, @Param("startTime")Date startTime, @Param("endTime")Date endTime, @Param("type")Integer type, @Param("progress")Integer progress);

    List<Supervise> getTransactionDataByUserIndex(@Param("userIndex")String userIndex, @Param("startTime")Date startTime, @Param("endTime")Date endTime, @Param("type")Integer type, @Param("progress")Integer progress);

}
