From 49ee3dec1513991d5ff29db09be669a37885b59d Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 18 四月 2024 15:58:24 +0800
Subject: [PATCH] 定时任务bug修改。可重试的http请求工具类,请求配置、sql备份

---
 ycl-server/src/main/java/com/ycl/platform/mapper/CheckRuleMapper.java |   64 +++++++++++++++++++++++++++----
 1 files changed, 55 insertions(+), 9 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..0d23dd4 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,65 @@
 package com.ycl.platform.mapper;
 
-import com.ycl.platform.domain.entity.CheckRule;
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.ycl.platform.domain.entity.CheckRule;
+import com.ycl.platform.domain.query.CheckRuleQuery;
 import com.ycl.platform.domain.vo.CheckRuleVO;
-import com.ycl.platform.domain.form.CheckRuleForm;
+
 import java.util.List;
-import org.apache.ibatis.annotations.Mapper;
 
 /**
- * 鑰冩牳瑙勫垯 Mapper 鎺ュ彛
- *
- * @author xp
- * @since 2024-03-06
+ * 鑰冩牳瑙勫垯Mapper鎺ュ彛
+ * 
+ * @author ruoyi
+ * @date 2024-04-01
  */
-@Mapper
-public interface CheckRuleMapper extends BaseMapper<CheckRule> {
+public interface CheckRuleMapper extends BaseMapper<CheckRule>
+{
+    /**
+     * 鏌ヨ鑰冩牳瑙勫垯
+     * 
+     * @param id 鑰冩牳瑙勫垯涓婚敭
+     * @return 鑰冩牳瑙勫垯
+     */
+    public CheckRuleVO selectCheckRuleById(Long id);
 
+    /**
+     * 鏌ヨ鑰冩牳瑙勫垯鍒楄〃
+     * 
+     * @param checkRuleQuery 鑰冩牳瑙勫垯
+     * @return 鑰冩牳瑙勫垯闆嗗悎
+     */
+    public List<CheckRuleVO> selectCheckRuleList(CheckRuleQuery checkRuleQuery);
+
+    /**
+     * 鏂板鑰冩牳瑙勫垯
+     * 
+     * @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