package cn.stylefeng.guns.modular.business.service;
|
|
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.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* 心理测试记录 服务类
|
* </p>
|
*
|
* @author goupan
|
* @since 2024-01-09
|
*/
|
public interface IMentalTestRecordService extends IService<MentalTestRecord> {
|
|
/**
|
* 我的测试
|
* @param userId
|
* @return
|
*/
|
List<MentalTestMyTestTopicDTO> myTestTopic(Long userId, Long topicId);
|
|
/**
|
* 我的测试记录(含题库信息)
|
* @param mentalAppointmentId
|
* @param mentalAppointmentIdList
|
* @return
|
*/
|
List<MentalTestMyTestRecordTopicDTO> myTestRecordTopicByMentalAppointmentId(Long mentalAppointmentId, List<Long> mentalAppointmentIdList);
|
|
/**
|
* 我的测试(订单)
|
* @param userId
|
* @param topicId
|
* @return
|
*/
|
List<MentalTestMyTestOrderDTO> myTestOrder(Long userId, Long topicId);
|
|
/**
|
* 从测试记录中获取1v1咨询师
|
* @param mentalTestRecordId
|
* @param userId
|
* @return
|
*/
|
Long getConsultWorkerIdByRecord(Long mentalTestRecordId, Long userId);
|
|
Page<MentalTestRecordPageDTO> getPage(Page<Object> page, String title, String nickName, String telephone, Integer testType);
|
|
}
|