瀏覽代碼

审核历史修改

wangliang 3 年之前
父節點
當前提交
760a243c2c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      distributed-print-business/src/main/resources/mapper/ExamTaskMapper.xml

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