Pārlūkot izejas kodu

审核历史修改

wangliang 3 gadi atpakaļ
vecāks
revīzija
760a243c2c

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

@@ -276,7 +276,7 @@
         <where>
             a.enable = true
             AND a.review = true
-            AND a.status = 'SUBMIT'
+            AND a.status = 'SUBMIT' and (f.status = 'START' or f.status = 'AUDITING' or f.status = 'REJECT')
             and EXISTS(
             <include refid="findFlowIdToMySelfSql" />
             and art.PROC_INST_ID_ = a.flow_id)
@@ -355,7 +355,7 @@
         <where>
             a.enable = true
             AND a.review = true
-            AND a.status = 'SUBMIT'
+            AND a.status = 'SUBMIT' and (f.status = 'START' or f.status = 'AUDITING' or f.status = 'REJECT')
             and EXISTS(
             select * from(
             <include refid="findFlowIdToNotMySelfSql" />