wangliang 1 anno fa
parent
commit
d1e6d61cd7

+ 8 - 1
sop-business/src/main/resources/mapper/SysUserMapper.xml

@@ -117,7 +117,14 @@
                 and tffa.status = #{flowTaskTypeEnum}
             </if>
             <if test="type != null and type != ''">
-                and tfcf.type = #{type}
+                <choose>
+                    <when test="type == 'SOP_FLOW'">
+                        and (tfcf.type = 'OFFICE_SOP_FLOW' or tfcf.type = 'CLOUD_MARK_SOP_FLOW')
+                    </when>
+                    <otherwise>
+                        and tfcf.type = #{type}
+                    </otherwise>
+                </choose>
             </if>
             <if test="customName != null and customName != ''">
                 and sc.name like concat('%', #{customName}, '%')