From 34981c30a78e8bbd7791131059a9210f9928b62c Mon Sep 17 00:00:00 2001
From: 刘光辉 <347230014@qq.com>
Date: 星期四, 17 九月 2026 09:24:09 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into master

---
 jnpf-flowable/jnpf-flowable-biz/src/main/java/jnpf/flowable/service/RecordService.java |   79 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 79 insertions(+), 0 deletions(-)

diff --git a/jnpf-flowable/jnpf-flowable-biz/src/main/java/jnpf/flowable/service/RecordService.java b/jnpf-flowable/jnpf-flowable-biz/src/main/java/jnpf/flowable/service/RecordService.java
new file mode 100644
index 0000000..902078f
--- /dev/null
+++ b/jnpf-flowable/jnpf-flowable-biz/src/main/java/jnpf/flowable/service/RecordService.java
@@ -0,0 +1,79 @@
+package jnpf.flowable.service;
+
+import jnpf.base.service.SuperService;
+import jnpf.flowable.entity.RecordEntity;
+import jnpf.flowable.model.operator.OperatorVo;
+import jnpf.flowable.model.record.RecordVo;
+import jnpf.flowable.model.task.TaskPagination;
+
+import java.util.List;
+
+/**
+ * 绫荤殑鎻忚堪
+ *
+ * @author JNPF@YinMai Info. Co., Ltd
+ * @version 5.0.x
+ * @since 2024/4/23 9:21
+ */
+public interface RecordService extends SuperService<RecordEntity> {
+
+    /**
+     * 鍒楄〃
+     *
+     * @param taskId 浠诲姟id
+     */
+    List<RecordEntity> getList(String taskId);
+
+    /**
+     * 鍒嗛〉鍒楄〃
+     *
+     * @param pagination 鍒嗛〉
+     */
+    List<OperatorVo> getList(TaskPagination pagination);
+
+    /**
+     * 娑堟伅姹囨�诲垪琛�
+     *
+     * @param taskId     浠诲姟id
+     * @param statusList 鐘舵��
+     */
+    List<RecordEntity> getRecordList(String taskId, List<Integer> statusList);
+
+    /**
+     * 璇︽儏
+     *
+     * @param id 璁板綍涓婚敭
+     */
+    RecordEntity getInfo(String id);
+
+    /**
+     * 淇濆瓨
+     *
+     * @param entity 璁板綍瀹炰綋
+     */
+    void create(RecordEntity entity);
+
+    /**
+     * 淇敼
+     *
+     * @param id     涓婚敭
+     * @param entity 瀹炰綋
+     */
+    void update(String id, RecordEntity entity);
+
+    /**
+     * 鍙樻洿鐘舵�佷负浣滃簾
+     *
+     * @param taskId       浠诲姟涓婚敭
+     * @param nodeCodeList 鑺傜偣缂栫爜
+     */
+    void updateStatusToInvalid(String taskId, List<String> nodeCodeList);
+
+    /**
+     * 璁板綍鍒楄〃
+     *
+     * @param taskId 浠诲姟涓婚敭
+     * @param nodeId 鑺傜偣id
+     */
+    List<RecordVo> getList(String taskId, String nodeId);
+}

--
Gitblit v1.8.0