guohongjin
2024-05-15 5b7639f0bd9e056738ec15100ed0532e965c6cd5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package cn.stylefeng.guns.modular.business.service;
 
import cn.stylefeng.guns.modular.business.dto.MentalAppointmentPageDTO;
import cn.stylefeng.guns.modular.business.dto.MentalTestMyMentalAppointmentDTO;
import cn.stylefeng.guns.modular.business.dto.UserMentalAppointmentPageResponseDTO;
import cn.stylefeng.guns.modular.business.entity.MentalAppointment;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
 
import java.util.Date;
import java.util.List;
 
/**
 * <p>
 * 性格分析预约 服务类
 * </p>
 *
 * @author goupan
 * @since 2024-01-01
 */
public interface IMentalAppointmentService extends IService<MentalAppointment> {
 
    List<MentalTestMyMentalAppointmentDTO> myMentalAppointment(Long userId, String consultantName, List<Integer> statusFlagList);
 
 
    /**
     * 性格分析1v1咨询预约
     * @param page
     * @param userId
     * @param name
     * @param telephone
     * @param statusFlag
     * @return
     */
    Page<UserMentalAppointmentPageResponseDTO> userMentalAppointmentPage(Page<Object> page, Long userId, String name, String telephone, Integer statusFlag);
 
    Page<MentalAppointmentPageDTO> getPage(Page<Object> page, Long counsellingInfoId, String workerNickName, String userNickName, String userTelephone, Integer statusFlag, List<Integer> statusFlagList);
 
    List<MentalAppointmentPageDTO> mentalAnalysisTimeConfigSchedule(String searchBeginTime, String searchEndTime, Long counsellingInfoId, String workerNickName, String userNickName, String userTelephone, Integer statusFlag, List<Integer> statusFlagList);
 
    /**
     * 1V1咨询预约取消
     * @param id
     * @return
     */
    boolean mentalAppointmentCancel(Long id);
 
    /**
     * 预约时间匹配性格分析师
     * @param appointmentDay
     * @param beginTimePoint
     * @param endTimePoint
     * @return
     */
    Long assignMentalAppointmentWorkerId(Date appointmentDay, String beginTimePoint, String endTimePoint);
 
}