Przeglądaj źródła

Merge branch 'test' of jishutao/kede-server into master

anderx 1 rok temu
rodzic
commit
cdb6e61595

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