소스 검색

优化商户

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

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

@@ -337,7 +337,7 @@
         and pf.payer_obj_type = '3333'
         and pf.payer_obj_type = '3333'
         and t.community_id= #{communityId}
         and t.community_id= #{communityId}
         and t.cur_month_time < #{endDate}
         and t.cur_month_time < #{endDate}
-        and (t.receivable_amount - t.received_amount - t.discount_amount) > 0
+        and t.detail_id = '-1'
         group by a.room_id
         group by a.room_id
         ) a
         ) a
     </select>
     </select>