package com.template.services;

import com.template.model.pojo.SmartDataSourceLog;
import com.template.model.pojo.SmartDataSourceLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.template.model.result.PageUtils;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>
 * 数据源操作日志 服务类
 * </p>
 *
 * @author ceshi
 * @since 2023-12-05
 */
public interface SmartDataSourceLogService extends IService<SmartDataSourceLog> {
    int insertSmartDataSourceLog(SmartDataSourceLog smartDataSourceLog);

    PageUtils<SmartDataSourceLog> queryPageSmartDataSourceLogs(int currentPage, int pageCount,
                                                               String startTime,
                                                               String endTime, SmartDataSourceLog smartDataSourceLog);

//    int updateSmartDataSourceLog(SmartDataSourceLog rns);

//    int deleteSmartDataSourceLogById(int id);

    SmartDataSourceLog getSmartById(int id);
}
