Prechádzať zdrojové kódy

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

caozixuan 3 rokov pred
rodič
commit
53a9284b4d

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