소스 검색

优化代码

java110 5 년 전
부모
커밋
09d2c8a31b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      java110-db/src/main/resources/mapper/report/ReportFeeMonthStatisticsServiceDaoImplMapper.xml

+ 1 - 1
java110-db/src/main/resources/mapper/report/ReportFeeMonthStatisticsServiceDaoImplMapper.xml

@@ -1131,7 +1131,7 @@
     </select>
 
     <select id="queryAllPaymentCount" parameterType="Map" resultType="Map">
-        select t.fee_name feeName,count(distinct .obj_id) objCount
+        select t.fee_name feeName,count(distinct t.obj_id) objCount
         from report_fee_month_statistics t
         where t.community_id = #{communityId}
         group by t.config_id,t.fee_name