From c8d8a511f45c96ed3a5123a88e48de2ffdbf632a Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期日, 03 十二月 2023 20:00:47 +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