java110 преди 5 години
родител
ревизия
05aa54e172
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      java110-db/src/main/resources/mapper/report/ReportFeeMonthStatisticsServiceDaoImplMapper.xml

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

@@ -1079,6 +1079,7 @@
         select t.fee_name feeName,count(t.obj_id) objCount
         from report_fee_month_statistics t
         where t.community_id = #{communityId}
+        and t.owe_amount > 0
         group by t.config_id,t.fee_name
         order by objCount desc
     </select>