From e2255cad8935c961fe161eca60dc88b0930395ad Mon Sep 17 00:00:00 2001 From: wente <329538422@qq.com> Date: 星期一, 11 十二月 2023 15:25:00 +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