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/TemplateJsonService.java | 93 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 93 insertions(+), 0 deletions(-)
diff --git a/jnpf-flowable/jnpf-flowable-biz/src/main/java/jnpf/flowable/service/TemplateJsonService.java b/jnpf-flowable/jnpf-flowable-biz/src/main/java/jnpf/flowable/service/TemplateJsonService.java
new file mode 100644
index 0000000..96075ff
--- /dev/null
+++ b/jnpf-flowable/jnpf-flowable-biz/src/main/java/jnpf/flowable/service/TemplateJsonService.java
@@ -0,0 +1,93 @@
+package jnpf.flowable.service;
+
+import jnpf.base.entity.VisualdevEntity;
+import jnpf.base.service.SuperService;
+import jnpf.exception.WorkFlowException;
+import jnpf.flowable.entity.TemplateJsonEntity;
+import jnpf.flowable.model.templatejson.TemplateJsonInfoVO;
+import jnpf.flowable.model.templatenode.TemplateNodeUpFrom;
+
+import java.util.List;
+
+public interface TemplateJsonService extends SuperService<TemplateJsonEntity> {
+
+ /**
+ * 鍒楄〃
+ *
+ * @return
+ */
+ List<TemplateJsonEntity> getListByTemplateIds(List<String> id);
+
+ /**
+ * 鍒楄〃
+ *
+ * @return
+ */
+ List<TemplateJsonEntity> getList(String templateId);
+
+ /**
+ * 鑾峰彇鍚敤鐨勫垪琛�
+ */
+ List<TemplateJsonEntity> getListOfEnable();
+
+ /**
+ * 淇℃伅
+ *
+ * @param id 涓婚敭鍊�
+ * @return ignore
+ */
+ TemplateJsonEntity getInfo(String id) throws WorkFlowException;
+
+ /**
+ * 鏇存柊
+ *
+ * @param id 涓婚敭鍊�
+ * @param entity 瀹炰綋瀵硅薄
+ * @return ignore
+ */
+ boolean update(String id, TemplateJsonEntity entity);
+
+ /**
+ * 娴佺▼淇濆瓨鎴栧彂甯�
+ *
+ * @param from 涓婚敭鍊�
+ * @return ignore
+ */
+ void save(TemplateNodeUpFrom from) throws WorkFlowException;
+
+ /**
+ * 鏂板
+ *
+ * @param from 瀵硅薄
+ * @return ignore
+ */
+ void create(TemplateNodeUpFrom from);
+
+ /**
+ * 鍒犻櫎
+ *
+ * @param id 瀹炰綋瀵硅薄
+ */
+ void delete(List<String> id);
+
+ /**
+ * 澶嶅埗
+ *
+ * @param entity 瀹炰綋瀵硅薄
+ */
+ void copy(TemplateJsonEntity entity, String id);
+
+ /**
+ * 鐗堟湰璇︽儏
+ *
+ * @param id 鐗堟湰涓婚敭
+ */
+ TemplateJsonInfoVO getInfoVo(String id) throws WorkFlowException;
+
+ /**
+ * 鑾峰彇琛ㄥ崟
+ *
+ * @param id 鐗堟湰涓婚敭
+ */
+ VisualdevEntity getFormInfo(String id) throws WorkFlowException;
+}
--
Gitblit v1.8.0