Browse Source

BUG修复

wangliang 3 years ago
parent
commit
44336483d9

+ 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>