package com.ruoyi.web.modules.diagnosis.service;

import java.util.List;
import com.ruoyi.web.modules.diagnosis.domain.BizConsultMessage;
import com.ruoyi.web.modules.diagnosis.domain.BizConsultSession;
import com.ruoyi.web.modules.diagnosis.domain.VetConsultSendBody;

/**
 * 在线接诊（兽医）及移动端协同服务。
 */
public interface IBizVetOnlineConsultService
{
    List<BizConsultSession> selectVetSessionList(BizConsultSession query, Long sysUserId);

    List<BizConsultMessage> selectSessionMessages(Long sessionId, Long beforeId, Integer pageSize, Long sysUserId);

    BizConsultMessage sendVetMessage(Long sessionId, VetConsultSendBody body, Long sysUserId, String senderName);

    BizConsultSession openOrGetVetSession(Long vetResourceId, Long askerUserId, String askerName);

    BizConsultMessage sendAskerMessage(Long sessionId, VetConsultSendBody body, Long askerUserId, String askerName);

    int hideSessionForVet(Long sessionId, Long askerUserId);

    List<BizConsultSession> selectAskerSessionList(BizConsultSession query);

    List<BizConsultMessage> selectAskerSessionMessages(Long sessionId, Long beforeId, Integer pageSize,
            Long askerUserId);
}
