소스 검색

优化实收明细

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

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

@@ -119,7 +119,7 @@
         inner join pay_fee pf on t.room_id = pf.payer_obj_id and pf.payer_obj_type = '3333' and pf.status_cd = '0'
         inner join pay_fee_detail pfd on pf.fee_id = pfd.fee_id and pfd.status_cd = '0'
         where 1=1
-        <if test="floorId != null and floorId != ''">
+        <if test="startDate != null and startDate != ''">
             and pfd.create_time &gt;= #{startDate}
             and pfd.create_time &lt;= #{endDate}
         </if>
@@ -175,7 +175,7 @@
         inner join pay_fee pf on t.room_id = pf.payer_obj_id and pf.payer_obj_type = '3333' and pf.status_cd = '0'
         inner join pay_fee_detail pfd on pf.fee_id = pfd.fee_id and pfd.status_cd = '0'
         where 1=1
-        <if test="floorId != null and floorId != ''">
+        <if test="startDate != null and startDate != ''">
         and pfd.create_time &gt;= #{startDate}
         and pfd.create_time &lt;= #{endDate}
         </if>