Explorar o código

新增无限制公出列表

anderx hai 1 ano
pai
achega
13e2d9b562
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  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