wuxw
2023-11-02 8478e0fc582d5d2baaf0d728e7313eac2ba5ceac
加入数据导入框架
2个文件已修改
9 ■■■■■ 已修改文件
java110-db/src/main/resources/mapper/report/BaseDataStatisticsServiceDaoImplMapper.xml 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-report/src/main/java/com/java110/report/smo/impl/BaseDataStatisticsInnerServiceSMOImpl.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/report/BaseDataStatisticsServiceDaoImplMapper.xml
@@ -485,23 +485,23 @@
        select max(pay_fee_time) from pay_fee_detail_month pfdm
        where pfdm.config_id = pfc.config_id and pfdm.obj_id = br.room_id
        and pfdm.status_cd = '0' and pfdm.detail_id != '-1'
        and pfdm.cur_month_time >=#{startTime} and pfdm.cur_month_time < #{endTIme}
        and pfdm.cur_month_time >=#{startTime} and pfdm.cur_month_time < #{endTime}
        ) payFeeTime,
        (
        select sum(pfdm.receivable_amount) from pay_fee_detail_month pfdm
        where pfdm.config_id = pfc.config_id
        and pfdm.obj_id = br.room_id
        and pfdm.status_cd = '0' and pfdm.cur_month_time >=#{startTime} and pfdm.cur_month_time < #{endTIme}
        and pfdm.status_cd = '0' and pfdm.cur_month_time >=#{startTime} and pfdm.cur_month_time < #{endTime}
        ) receivableAmount,
        (
        select sum(pfdm.received_amount) from pay_fee_detail_month pfdm
        where pfdm.config_id = pfc.config_id and pfdm.obj_id = br.room_id
        and pfdm.status_cd = '0' and pfdm.cur_month_time >=#{startTime} and pfdm.cur_month_time < #{endTIme}
        and pfdm.status_cd = '0' and pfdm.cur_month_time >=#{startTime} and pfdm.cur_month_time < #{endTime}
        ) receivedAmount,
        (
        select sum(pfdm.receivable_amount) from pay_fee_detail_month pfdm
        where pfdm.config_id = pfc.config_id and pfdm.obj_id = br.room_id
        and pfdm.status_cd = '0' and pfdm.detail_id = '-1' and pfdm.cur_month_time >=#{startTime} and pfdm.cur_month_time < #{endTIme}
        and pfdm.status_cd = '0' and pfdm.detail_id = '-1' and pfdm.cur_month_time >=#{startTime} and pfdm.cur_month_time < #{endTime}
        ) oweAmount
        from building_room br
        left join building_unit bu on br.unit_id = br.unit_id and bu.status_cd = '0'
service-report/src/main/java/com/java110/report/smo/impl/BaseDataStatisticsInnerServiceSMOImpl.java
@@ -170,6 +170,7 @@
        if (page != PageDto.DEFAULT_PAGE) {
            info.put("page",(page - 1) * row);
            info.put("row", row);
        }
        List<Map> infos = baseDataStatisticsServiceDaoImpl.getPropertyFeeSummaryData(info);
        return infos;