old mode 100644
new mode 100755
| | |
| | | package com.java110.report.api; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.dto.RoomDto; |
| | | import com.java110.dto.repair.RepairUserDto; |
| | | import com.java110.dto.reportFeeMonthStatistics.ReportFeeMonthStatisticsDto; |
| | | import com.java110.po.reportFeeMonthStatistics.ReportFeeMonthStatisticsPo; |
| | |
| | | reportFeeMonthStatisticsDto.setRoomNum(roomNum); |
| | | reportFeeMonthStatisticsDto.setConfigId(configId); |
| | | reportFeeMonthStatisticsDto.setFeeTypeCd(feeTypeCd); |
| | | reportFeeMonthStatisticsDto.setStartTime(startTime); |
| | | reportFeeMonthStatisticsDto.setEndTime(endTime); |
| | | if (!StringUtil.isEmpty(startTime)) { |
| | | reportFeeMonthStatisticsDto.setStartTime(startTime + " 00:00:00"); |
| | | } |
| | | if (!StringUtil.isEmpty(endTime)) { |
| | | reportFeeMonthStatisticsDto.setEndTime(endTime + " 23:59:59"); |
| | | } |
| | | return getReportFeeMonthStatisticsBMOImpl.queryFeeBreakdown(reportFeeMonthStatisticsDto); |
| | | } |
| | | |
| | |
| | | * |
| | | * @param communityId 小区ID |
| | | * @return |
| | | * @serviceCode /reportFeeMonthStatistics/queryReportProficientCount |
| | | * @path /app/reportFeeMonthStatistics/queryReportProficientCount |
| | | * @serviceCode /reportFeeMonthStatistics/queryReportProficient |
| | | * @path /app/reportFeeMonthStatistics/queryReportProficient |
| | | */ |
| | | @RequestMapping(value = "/queryReportProficientCount", method = RequestMethod.GET) |
| | | public ResponseEntity<String> queryReportProficientCount(@RequestParam(value = "communityId") String communityId) { |
| | | @RequestMapping(value = "/queryReportProficient", method = RequestMethod.GET) |
| | | public ResponseEntity<String> queryReportProficient(@RequestParam(value = "communityId") String communityId) { |
| | | ReportFeeMonthStatisticsDto reportFeeMonthStatisticsDto = new ReportFeeMonthStatisticsDto(); |
| | | reportFeeMonthStatisticsDto.setCommunityId(communityId); |
| | | return getReportFeeMonthStatisticsBMOImpl.queryReportProficientCount(reportFeeMonthStatisticsDto); |
| | | } |
| | | |
| | | /** |
| | | * 查询未收费房屋 |
| | | * select t.* from building_room t |
| | | * inner join building_unit bu on t.unit_id = bu.unit_id and bu.status_cd = '0' |
| | | * inner join f_floor f on bu.floor_id = f.floor_id and f.status_cd = '0' |
| | | * where t.status_cd = '0' |
| | | * and not exists( |
| | | * select 1 from pay_fee pf where t.room_id = pf.payer_obj_id and pf.status_cd = '0' and pf.state = '2008001' |
| | | * ) |
| | | * |
| | | * limit 10 |
| | | */ |
| | | |
| | | /** |
| | | * 查询费用分项表 |
| | | * |
| | | * @param communityId 小区ID |
| | | * @return |
| | | * @serviceCode /reportFeeMonthStatistics/queryNoFeeRooms |
| | | * @path /app/reportFeeMonthStatistics/queryNoFeeRooms |
| | | */ |
| | | @RequestMapping(value = "/queryNoFeeRooms", method = RequestMethod.GET) |
| | | public ResponseEntity<String> queryNoFeeRooms( |
| | | @RequestParam(value = "communityId") String communityId, |
| | | @RequestParam(value = "page") int page, |
| | | @RequestParam(value = "row") int row |
| | | ) { |
| | | RoomDto roomDto = new RoomDto(); |
| | | roomDto.setCommunityId(communityId); |
| | | roomDto.setPage(page); |
| | | roomDto.setRow(row); |
| | | return getReportFeeMonthStatisticsBMOImpl.queryNoFeeRooms(roomDto); |
| | | } |
| | | |
| | | } |