package com.seer.teach.openapi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.seer.teach.openapi.entity.SnCallLogsEntity;

/**
 * <p>
 * SN接口调用日志表 服务类
 * </p>
 *
 * @author Wang
 * @since 2025-10-31 13:31:24
 */
public interface SnCallLogsService extends IService<SnCallLogsEntity> {

    <T> void saveSseLog(String sn, String requestDesc, Integer sessionId, T reqParams, T keyParameters);

    <T> void saveRequestLog(String sn, String requestDesc, Integer sessionId, T reqParams, T keyParameters);

    <T> void updateResponseLog(Integer sessionId, T responseData);

    void updateErrorLog(Integer sessionId, String errorMessage);

    void updateEmptyResponseLog(Integer sessionId);

}
