package com.storlead.sales.service.systemrule;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.storlead.framework.common.result.Result;
import com.storlead.sales.pojo.dto.systemrule.OperationLogSearchDTO;
import com.storlead.sales.pojo.entity.systemrule.OperationLogEntity;
import com.storlead.framework.mybatis.service.MyBaseService;
import com.storlead.sales.pojo.vo.systemrule.OperationLogListVO;

/**
 * <p>
 * 操作日志表 服务类
 * </p>
 *
 * @author YPZ
 * @since 2024-06-18
 */
public interface OperationLogService extends MyBaseService<OperationLogEntity> {

    void logOperation(String tableName,Integer operationType,String resourceType, Long resourceTypeId, String fieldName, String swaggerTitle, String oldValue, String newValue, String operator);

    /***
      * @Description: 日志列表查询接口
      * @Param:
      * @return:
      * @Author: YPZ
      * @Date: 2024/6/21 12:04
      */
    Result<IPage<OperationLogListVO>> selectListVO(OperationLogSearchDTO operationLogSearchDTO);
}
