package com.ruoyi.ibs.task.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.ibs.task.domain.dto.TaskRecordDTO;
import com.ruoyi.ibs.task.domain.entity.TaskVisitRecord;
import com.ruoyi.ibs.task.domain.vo.VisitRecordListVO;
import com.ruoyi.ibs.task.domain.vo.VisitRecordVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 吴凯程
 * @Date 2025/6/17
 **/
@Mapper
public interface TaskVisitRecordMapper extends BaseMapper<TaskVisitRecord> {

    List<VisitRecordListVO> getVisitRecordList(@Param("custId") String custId, @Param("deptCode") String deptCode);

    List<VisitRecordListVO> getVisitRecordListByUserName(TaskRecordDTO taskRecordDTO);

    VisitRecordVO getVisitRecord(@Param("recordId") String recordId);
}
