package cn.stylefeng.guns.modular.business.mapper;
|
|
import cn.stylefeng.guns.modular.business.dto.MentalTestMyTestOrderDTO;
|
import cn.stylefeng.guns.modular.business.dto.MentalTestMyTestRecordTopicDTO;
|
import cn.stylefeng.guns.modular.business.dto.MentalTestMyTestTopicDTO;
|
import cn.stylefeng.guns.modular.business.dto.MentalTestRecordPageDTO;
|
import cn.stylefeng.guns.modular.business.entity.MentalTestRecord;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* 心理测试记录 Mapper 接口
|
* </p>
|
*
|
* @author goupan
|
* @since 2024-01-09
|
*/
|
public interface MentalTestRecordMapper extends BaseMapper<MentalTestRecord> {
|
|
List<MentalTestMyTestTopicDTO> myTestTopic(@Param("userId") Long userId, @Param("topicId") Long topicId);
|
|
List<MentalTestMyTestRecordTopicDTO> myTestRecordTopicByMentalAppointmentId(@Param("mentalAppointmentId") Long mentalAppointmentId, @Param("mentalAppointmentIdList") List<Long> mentalAppointmentIdList);
|
|
List<MentalTestMyTestOrderDTO> myTestOrder(@Param("userId") Long userId, @Param("topicId") Long topicId);
|
|
Page<MentalTestRecordPageDTO> getPage(@Param("page") Page<Object> page, @Param("title") String title, @Param("nickName") String nickName, @Param("telephone") String telephone, @Param("testType") Integer testType);
|
|
}
|