浏览代码

Merge remote-tracking branch 'origin/dev_v2.2.0' into dev_v2.2.0

caozixuan 3 年之前
父节点
当前提交
53a9284b4d
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      distributed-print-business/src/main/resources/mapper/ExamTaskMapper.xml

+ 2 - 3
distributed-print-business/src/main/resources/mapper/ExamTaskMapper.xml

@@ -266,10 +266,9 @@
         <where>
             a.enable = true
             AND a.review = true
-            AND a.status = 'SUBMIT' and (f.status = 'AUDITING' or f.status = 'REJECT')
             and EXISTS(
-            <include refid="findFlowIdToMySelfSql" />
-            and art.PROC_INST_ID_ = a.flow_id)
+            select * from
+            (<include refid="findFlowIdToMySelfSql" />) t where t.flowId = a.flow_id)
             <if test="schoolId != null and schoolId != ''">
                 and a.school_id = #{schoolId}
             </if>