package com.repair.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.repair.model.pojo.RepairClassesSettings;
import com.repair.model.vo.ClassesDataVo;
import com.repair.model.vo.ClassesSettingVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author ceshi
 * @since 2023-07-13
 */
@Repository
public interface RepairClassesSettingsMapper extends BaseMapper<RepairClassesSettings> {
    List<ClassesSettingVo> queryClassesSettingList(@Param("userIds") List<Integer> userIds, @Param("startTime") String startTime, @Param("endTime") String endTime);

    List<ClassesDataVo> queryClassesDatas(@Param("userIds") List<Integer> userIds, @Param("startDate") Integer startDate);

    ClassesDataVo queryClassesData(@Param("userId") Integer userId);
}
