소스 검색

优化实收统计方式

Your Name 2 년 전
부모
커밋
14e4d3cbd1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      java110-db/src/main/resources/mapper/report/ReportFeeStatisticsServiceDaoImplMapper.xml

+ 2 - 2
java110-db/src/main/resources/mapper/report/ReportFeeStatisticsServiceDaoImplMapper.xml

@@ -541,7 +541,7 @@
         1=1
         1=1
         and a.status_cd = '0'
         and a.status_cd = '0'
         and pf.payer_obj_type = '3333'
         and pf.payer_obj_type = '3333'
-        and t.community_id= a.community_id
+        and t.community_id=  #{communityId}
         and t.cur_month_time < #{endDate}
         and t.cur_month_time < #{endDate}
         <if test="configIds !=null ">
         <if test="configIds !=null ">
             and t.config_id in
             and t.config_id in
@@ -570,7 +570,7 @@
             and bu.floor_id = a.floor_id
             and bu.floor_id = a.floor_id
         </if>
         </if>
         and t.status_cd = '0'
         and t.status_cd = '0'
-        and t.community_id= a.community_id
+        and t.community_id=  #{communityId}
         and t.create_time &gt; #{startDate}
         and t.create_time &gt; #{startDate}
         and t.create_time &lt; #{endDate}
         and t.create_time &lt; #{endDate}
         <if test="configIds !=null ">
         <if test="configIds !=null ">