From f54545abf716d0af8b5a7f9cd749fa8cd95ea65a Mon Sep 17 00:00:00 2001 From: zzw <wander.zheng@qq.com> Date: 星期一, 04 十二月 2023 15:58:21 +0800 Subject: [PATCH] 编号 --- 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