From cb415813de667096290d6bd0f924f5b523104117 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期一, 10 十一月 2025 17:41:04 +0800
Subject: [PATCH] 报备工单bug修改,定时任务在线问题修改新增导出扣分明细功能
---
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