소스 검색

fix: 收款统计bug修复

xdd 1 개월 전
부모
커밋
a96757adca
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      fs-service-system/src/main/resources/mapper/store/FsStorePaymentMapper.xml

+ 1 - 1
fs-service-system/src/main/resources/mapper/store/FsStorePaymentMapper.xml

@@ -163,7 +163,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         FROM
         fs_store_payment  AS o
         WHERE
-        o.status=1 and
+        o.status=1 and business_type=1 and
         (DATE_FORMAT(o.create_time,#{sqlDateFormat}) between #{beginTime} and #{finalTime})
         <if test="userIds != null and userIds.length>0">
             AND o.company_user_id IN