|
|
@@ -0,0 +1,43 @@
|
|
|
+package cn.tr.module.sys.log.service;
|
|
|
+
|
|
|
+import cn.tr.module.sys.log.dto.SysOperLogDTO;
|
|
|
+import cn.tr.module.sys.log.dto.SysOpeLogQueryDTO;
|
|
|
+
|
|
|
+import java.util.*;
|
|
|
+/**
|
|
|
+ * @ClassName : ISysOperLogService
|
|
|
+ * @Description :
|
|
|
+ * @Author : LF
|
|
|
+ * @Date: 2023年03月24日
|
|
|
+ */
|
|
|
+
|
|
|
+public interface ISysOperLogService {
|
|
|
+ /**
|
|
|
+ * 根据条件查询
|
|
|
+ * @param query 查询参数
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ List<SysOperLogDTO> selectOperLogDataList(SysOpeLogQueryDTO query);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 根据id查询操作日志
|
|
|
+ * @param id 日志id
|
|
|
+ * @return 日志
|
|
|
+ */
|
|
|
+ SysOperLogDTO selectOperLogById(String id);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 新增日志
|
|
|
+ * @param source 新增日志
|
|
|
+ * @return true:新增成功
|
|
|
+ */
|
|
|
+ boolean insertOperLog(SysOperLogDTO source);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 根据id删除日志
|
|
|
+ * @param ids 日志id
|
|
|
+ * @return 删除数量
|
|
|
+ */
|
|
|
+ int deleteOperLogByIds(Collection<String> ids);
|
|
|
+
|
|
|
+}
|