|
@@ -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}, '%')
|