package com.xiaopeng.maintenance.mapper;
|
|
import com.xiaopeng.api.model.maintenance.XpClockIn;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.time.LocalDateTime;
|
import java.util.List;
|
|
/**
|
* <p>
|
* 打卡明细 Mapper 接口
|
* </p>
|
*
|
* @author mitao
|
* @since 2026-02-03
|
*/
|
public interface XpClockInMapper extends BaseMapper<XpClockIn> {
|
|
/**
|
* 查询用户当天的打卡记录
|
* @param tableSuffix 分表后缀 (0-9)
|
* @param appUserId 用户ID
|
* @param startTime 开始时间 (当天00:00:00)
|
* @param endTime 结束时间 (当天23:59:59)
|
* @return 打卡记录列表
|
*/
|
List<XpClockIn> selectTodayClockInRecords(
|
@Param("tableSuffix") Integer tableSuffix,
|
@Param("appUserId") Long appUserId,
|
@Param("startTime") LocalDateTime startTime,
|
@Param("endTime") LocalDateTime endTime
|
);
|
}
|