From c8c0f4c93862bf18f804dcdc017ea7affc09bc90 Mon Sep 17 00:00:00 2001
From: luodangjia <luodangjia>
Date: 星期四, 21 十一月 2024 14:38:02 +0800
Subject: [PATCH] 11.21

---
 ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysOperLogServiceImpl.java |   80 ++++-----------------------------------
 1 files changed, 9 insertions(+), 71 deletions(-)

diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysOperLogServiceImpl.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysOperLogServiceImpl.java
index b2e0900..3958d3f 100644
--- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysOperLogServiceImpl.java
+++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysOperLogServiceImpl.java
@@ -1,82 +1,20 @@
 package com.ruoyi.system.service.impl;
 
-import java.util.Collection;
-import java.util.List;
-import java.util.Map;
-import java.util.function.Function;
-
-import com.baomidou.mybatisplus.core.conditions.Wrapper;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
-import com.ruoyi.system.mapper.SysOperLogMapper;
-import org.springframework.beans.factory.annotation.Autowired;
+import com.ruoyi.account.mapper.SysOperLogMapper;
+import com.ruoyi.system.api.model.SysOperLog;
+import com.ruoyi.account.service.SysOperLogService;
 import org.springframework.stereotype.Service;
-import com.ruoyi.system.api.domain.SysOperLog;
-import com.ruoyi.system.service.ISysOperLogService;
-
-import javax.annotation.Resource;
 
 /**
- * 操作日志 服务层处理
+ * <p>
+ *  服务实现类
+ * </p>
  *
- * @author ruoyi
+ * @author luodangjia
+ * @since 2024-11-21
  */
 @Service
-public class SysOperLogServiceImpl extends ServiceImpl<SysOperLogMapper, SysOperLog> implements ISysOperLogService {
+public class SysOperLogServiceImpl extends ServiceImpl<SysOperLogMapper, SysOperLog> implements SysOperLogService {
 
-
-	@Resource
-	private SysOperLogMapper operLogMapper;
-	
-	/**
-	 * 新增操作日志
-	 *
-	 * @param operLog 操作日志对象
-	 * @return 结果
-	 */
-	@Override
-	public int insertOperlog(SysOperLog operLog) {
-		return operLogMapper.insertOperlog(operLog);
-	}
-	
-	/**
-	 * 查询系统操作日志集合
-	 *
-	 * @param operLog 操作日志对象
-	 * @return 操作日志集合
-	 */
-	@Override
-	public List<SysOperLog> selectOperLogList(SysOperLog operLog) {
-		return operLogMapper.selectOperLogList(operLog);
-	}
-	
-	/**
-	 * 批量删除系统操作日志
-	 *
-	 * @param operIds 需要删除的操作日志ID
-	 * @return 结果
-	 */
-	@Override
-	public int deleteOperLogByIds(Long[] operIds) {
-		return operLogMapper.deleteOperLogByIds(operIds);
-	}
-	
-	/**
-	 * 查询操作日志详细
-	 *
-	 * @param operId 操作ID
-	 * @return 操作日志对象
-	 */
-	@Override
-	public SysOperLog selectOperLogById(Long operId) {
-		return operLogMapper.selectOperLogById(operId);
-	}
-	
-	/**
-	 * 清空操作日志
-	 */
-	@Override
-	public void cleanOperLog() {
-		operLogMapper.cleanOperLog();
-	}
 }

--
Gitblit v1.7.1