소스 검색

sop列表修改

wangliang 1 년 전
부모
커밋
d1e6d61cd7
1개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  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}, '%')