package com.yeejoin.amos.boot.module.common.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.boot.module.common.api.entity.DutyPersonShiftLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 值班人员日期日志表 Mapper 接口
 */
public interface DutyPersonShiftLogMapper extends BaseMapper<DutyPersonShiftLog> {
    List<Map<String, String>> selectSpecificDateLogForCar(@Param("dutyDate") String dutyDate);
    List<Map<String, String>> selectSpecificDateLogForPerson(@Param("dutyDate") String dutyDate);
    List<Map<String, String>> selectSpecificDateLogForPersonGroupByPostTypeName(@Param("dutyDate") String dutyDate);
}
