Explorar o código

sop列表修改

wangliang hai 1 ano
pai
achega
d1e6d61cd7
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  1. 8 1
      sop-business/src/main/resources/mapper/SysUserMapper.xml

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