From c2eefadb8239df552ef43d7ba55d5735bb603ed1 Mon Sep 17 00:00:00 2001
From: yeg <1347747024@qq.com>
Date: 星期日, 30 八月 2026 14:50:28 +0800
Subject: [PATCH] 实现测试暂停继续接收区间

---
 ruoyi-system/src/main/java/com/ruoyi/system/mapper/TTestMapper.java |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TTestMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TTestMapper.java
index 47cd067..1f18933 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TTestMapper.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TTestMapper.java
@@ -78,4 +78,15 @@
     int updateReceptionStarted(@Param("testId") Long testId, @Param("startedAtUtc") Date startedAtUtc,
             @Param("updateBy") String updateBy);
     int insertReceptionInterval(TTestReceptionInterval interval);
+    List<TTestReceptionInterval> selectOpenReceptionIntervalsForUpdate(Long testId);
+    List<TTestReceptionInterval> selectReceptionIntervals(Long testId);
+    TTestReceptionInterval selectLatestReceptionIntervalForUpdate(@Param("testId") Long testId,
+            @Param("sourceType") String sourceType, @Param("sourceId") Long sourceId,
+            @Param("sourceChannelCode") String sourceChannelCode);
+    int closeReceptionInterval(@Param("intervalId") Long intervalId, @Param("endBoundaryAtUtc") Date endBoundaryAtUtc,
+            @Param("boundaryNote") String boundaryNote);
+    int updateReceptionPaused(@Param("testId") Long testId, @Param("updateBy") String updateBy,
+            @Param("updatedAtUtc") Date updatedAtUtc);
+    int updateReceptionResumed(@Param("testId") Long testId, @Param("updateBy") String updateBy,
+            @Param("updatedAtUtc") Date updatedAtUtc);
 }

--
Gitblit v1.7.1