Browse Source

新增无限制公出列表

anderx 1 year ago
parent
commit
13e2d9b562
1 changed files with 12 additions and 0 deletions
  1. 12 0
      src/main/java/com/goafanti/common/mapper/TOrderNewMapper.xml

+ 12 - 0
src/main/java/com/goafanti/common/mapper/TOrderNewMapper.xml

@@ -1069,6 +1069,18 @@ left join department d on o.order_dep = d.id   left join t_order_mid a on o.orde
 
         </if>
       </if>
+        <if test="manageType==1">
+          and toprc.max_process  in (1,2,3,4,5)
+          <if test="maxProcessStatus =0">
+            and toprc.max_process  in (1,2,3)
+          </if>
+          <if test="maxProcessStatus =1">
+            and toprc.max_process  in (5)
+          </if>
+          <if test="maxProcessStatus =1">
+            and toprc.max_process  in (4)
+          </if>
+        </if>
     </if>
     <if test="specially ==7">
       and a.process_status > 5