From 3b0516a2959e25576e4f3fda697a3b025d06c8c9 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期二, 24 六月 2025 14:09:07 +0800
Subject: [PATCH] 每日录像可用指标添加日志,修改大屏为查看当前月平均

---
 ycl-server/src/main/java/com/ycl/platform/mapper/CheckRuleMapper.java |   64 +++++++++++++++++++++++++++-----
 1 files changed, 54 insertions(+), 10 deletions(-)

diff --git a/ycl-server/src/main/java/com/ycl/platform/mapper/CheckRuleMapper.java b/ycl-server/src/main/java/com/ycl/platform/mapper/CheckRuleMapper.java
index 44c50ee..058ce3f 100644
--- a/ycl-server/src/main/java/com/ycl/platform/mapper/CheckRuleMapper.java
+++ b/ycl-server/src/main/java/com/ycl/platform/mapper/CheckRuleMapper.java
@@ -1,19 +1,63 @@
 package com.ycl.platform.mapper;
 
-import com.ycl.platform.domain.entity.CheckRule;
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.ycl.platform.domain.vo.CheckRuleVO;
-import com.ycl.platform.domain.form.CheckRuleForm;
+import com.ycl.platform.domain.entity.CheckRule;
+
 import java.util.List;
-import org.apache.ibatis.annotations.Mapper;
 
 /**
- * 鑰冩牳瑙勫垯 Mapper 鎺ュ彛
- *
- * @author xp
- * @since 2024-03-06
+ * 鑰冩牳瑙勫垯Mapper鎺ュ彛
+ * 
+ * @author ruoyi
+ * @date 2024-04-15
  */
-@Mapper
-public interface CheckRuleMapper extends BaseMapper<CheckRule> {
+public interface CheckRuleMapper extends BaseMapper<CheckRule>
+{
+    /**
+     * 鏌ヨ鑰冩牳瑙勫垯
+     * 
+     * @param id 鑰冩牳瑙勫垯涓婚敭
+     * @return 鑰冩牳瑙勫垯
+     */
+    public CheckRule selectCheckRuleById(Long id);
 
+    /**
+     * 鏌ヨ鑰冩牳瑙勫垯鍒楄〃
+     * 
+     * @param checkRule 鑰冩牳瑙勫垯
+     * @return 鑰冩牳瑙勫垯闆嗗悎
+     */
+    public List<CheckRule> selectCheckRuleList(CheckRule checkRule);
+
+    /**
+     * 鏂板鑰冩牳瑙勫垯
+     * 
+     * @param checkRule 鑰冩牳瑙勫垯
+     * @return 缁撴灉
+     */
+    public int insertCheckRule(CheckRule checkRule);
+
+    /**
+     * 淇敼鑰冩牳瑙勫垯
+     * 
+     * @param checkRule 鑰冩牳瑙勫垯
+     * @return 缁撴灉
+     */
+    public int updateCheckRule(CheckRule checkRule);
+
+    /**
+     * 鍒犻櫎鑰冩牳瑙勫垯
+     * 
+     * @param id 鑰冩牳瑙勫垯涓婚敭
+     * @return 缁撴灉
+     */
+    public int deleteCheckRuleById(Long id);
+
+    /**
+     * 鎵归噺鍒犻櫎鑰冩牳瑙勫垯
+     * 
+     * @param ids 闇�瑕佸垹闄ょ殑鏁版嵁涓婚敭闆嗗悎
+     * @return 缁撴灉
+     */
+    public int deleteCheckRuleByIds(Long[] ids);
 }

--
Gitblit v1.8.0