소스 검색

Merge branch 'test'

anderx 1 년 전
부모
커밋
e2e250d93a
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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>