소스 검색

财务统计财务调用修改

anderx 2 년 전
부모
커밋
cb4ed0a131
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/goafanti/common/mapper/TOrderInvoiceMapper.xml

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

@@ -633,7 +633,7 @@ where a.status=2 and a.order_no=  #{orderNo,jdbcType=VARCHAR}
               a.order_no = b.order_no
                    left join department c on
               b.order_dep = c.id
-            where a.status in (1, 2) and a.approval in (0,2)
+            where a.status in (1, 2) and a.approval in (0,2) and a.type=0 and b.delete_sign in (0,2)
               and c.finance_id = #{aid})x
       group by x.aid,x.dates
     </select>