6
jinlin
2023-11-29 d89ef43c4713adf26f74b796653d1dd15ff1f81a
zt/core/src/main/resources/mapper/workflowconfig/WfDefDao.xml
@@ -116,14 +116,11 @@
    </select>
    <select id="getStyleList" resultType="com.zt.modules.workflowconfig.model.WfDef">
        select Content as diagram
        from WX_NETWORK_DIAGRAM
        select diagram
        from wf_def
        where is_delete = 0
        <if test="projectId!=null and projectId!=''">
            and PROJECT_ID = #{projectId}
        </if>
        <if test="diagramId!=null and diagramId!=''">
            and DIAGRAM_ID = #{diagramId}
        <if test="flowCode!=null and flowCode!=''">
            and CODE = #{flowCode}
        </if>
    </select>