From 4b83bc0f30abba8cbd54eeed2fcc0b9d6d135113 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期三, 29 十一月 2023 17:05:27 +0800
Subject: [PATCH] 6
---
zt/core/src/main/resources/mapper/workflowconfig/WfDefDao.xml | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/zt/core/src/main/resources/mapper/workflowconfig/WfDefDao.xml b/zt/core/src/main/resources/mapper/workflowconfig/WfDefDao.xml
index f1580fc..48f8158 100644
--- a/zt/core/src/main/resources/mapper/workflowconfig/WfDefDao.xml
+++ b/zt/core/src/main/resources/mapper/workflowconfig/WfDefDao.xml
@@ -116,11 +116,14 @@
</select>
<select id="getStyleList" resultType="com.zt.modules.workflowconfig.model.WfDef">
- select diagram
- from wf_def
+ select Content as diagram
+ from WX_NETWORK_DIAGRAM
where is_delete = 0
- <if test="flowCode!=null and flowCode!=''">
- and CODE = #{flowCode}
+ <if test="projectId!=null and projectId!=''">
+ and PROJECT_ID = #{projectId}
+ </if>
+ <if test="diagramId!=null and diagramId!=''">
+ and DIAGRAM_ID = #{diagramId}
</if>
</select>
--
Gitblit v1.9.1