From af6c73841b54f0c9002ce85b8c0d1679e25d5d7c Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 01 七月 2026 18:06:02 +0800
Subject: [PATCH] 【景宁】任务组开发
---
smartor/src/main/java/com/smartor/mapper/ServiceTaskScheduleMapper.java | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 59 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/java/com/smartor/mapper/ServiceTaskScheduleMapper.java b/smartor/src/main/java/com/smartor/mapper/ServiceTaskScheduleMapper.java
new file mode 100644
index 0000000..59a4703
--- /dev/null
+++ b/smartor/src/main/java/com/smartor/mapper/ServiceTaskScheduleMapper.java
@@ -0,0 +1,59 @@
+package com.smartor.mapper;
+
+import com.smartor.domain.ServiceTaskSchedule;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+/**
+ * 闅忚浠诲姟璁″垝涓昏〃 Mapper 鎺ュ彛
+ *
+ * @author smartor
+ * @date 2026-06-30
+ */
+@Mapper
+public interface ServiceTaskScheduleMapper {
+
+ /**
+ * 鏌ヨ璁″垝璇︽儏
+ */
+ ServiceTaskSchedule selectServiceTaskScheduleById(Long id);
+
+ /**
+ * 閫氳繃 taskid 鏌ヨ浠诲姟瀵瑰簲鐨勬湁鏁堣鍒掞紙appltype=5 涓�瀵逛竴锛�
+ */
+ ServiceTaskSchedule selectByTaskid(@Param("taskid") Long taskid);
+
+ /**
+ * 鏌ヨ璁″垝鍒楄〃
+ */
+ List<ServiceTaskSchedule> selectServiceTaskScheduleList(ServiceTaskSchedule serviceTaskSchedule);
+
+ /**
+ * 鏂板璁″垝
+ */
+ int insertServiceTaskSchedule(ServiceTaskSchedule serviceTaskSchedule);
+
+ /**
+ * 淇敼璁″垝
+ */
+ int updateServiceTaskSchedule(ServiceTaskSchedule serviceTaskSchedule);
+
+ /**
+ * 閫昏緫鍒犻櫎锛堟寜 id锛�
+ */
+ int deleteServiceTaskScheduleById(Long id);
+
+ /**
+ * 閫昏緫鍒犻櫎锛堟寜 taskid锛夛細淇敼浠诲姟鏃舵竻绌烘棫璁″垝
+ */
+ int deleteByTaskid(@Param("taskid") Long taskid);
+
+ /**
+ * 浠诲姟缁勶紙appltype=5锛夋粴鍔ㄨ皟搴︾敤锛氭煡璇㈡墍鏈夋湭杈句笂闄愮殑寰幆璁″垝銆�
+ * 鏉′欢锛歴chedule_style=1 涓� (max_loop_count is null or max_loop_count=0 or current_loop_count < max_loop_count)
+ * 闄愬埗杩斿洖鏉℃暟閬垮厤闀夸簨鍔°��
+ */
+ List<ServiceTaskSchedule> selectActiveCycleSchedules(@Param("limit") int limit);
+}
--
Gitblit v1.9.3