package com.fufan.mtsaas.modules.base.log.service;

import com.baomidou.mybatisplus.service.IService;
import com.fufan.mtsaas.modules.base.log.bo.request.LogQueryRequest;
import com.fufan.mtsaas.modules.base.log.bo.request.LogSaveRequest;
import com.fufan.mtsaas.modules.base.log.model.TSysLog;
import com.fufan.mtsaas.modules.common.bo.response.RequestPojo;
import com.fufan.mtsaas.modules.common.bo.response.Result;

/**
 * 系统操作日志表 服务类
 *
 * @author Liby
 * @since 2022-03-16
 */
public interface TSysLogSvc extends IService<TSysLog> {

    Result doQueryPage(LogQueryRequest logQueryRequest);

    Result doSave(LogSaveRequest logSaveRequest, RequestPojo requestPojo);

    Result doSaveLogin(LogSaveRequest logSaveRequest, RequestPojo requestPojo);

    Result saveLogInfo(long relatedId, String relatedType, String title,
                       String content, String operateType, String operateStatus, RequestPojo requestPojo);
}
