Explorar el Código

Merge branch 'test'

anderx hace 1 año
padre
commit
e2e250d93a
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/main/java/com/goafanti/common/mapper/TOrderNewMapper.xml

+ 2 - 1
src/main/java/com/goafanti/common/mapper/TOrderNewMapper.xml

@@ -2108,7 +2108,8 @@ left join department d on o.order_dep = d.id   left join t_order_mid a on o.orde
         and a.create_time BETWEEN #{startTime} and #{endTime}
       </if>
       group by order_no )d on a.order_no=d.order_no
-      where a.order_no in (select a.order_no from expense_account a where a.target_type = 1
+      where a.process_status &gt; 0
+        and a.order_no in (select a.order_no from expense_account a where a.target_type = 1
                 <if test="startTime !=null and endTime != null">
                   and a.create_time BETWEEN #{startTime} and #{endTime}
                 </if>