| | |
| | | and t.end_time < #{endTime} |
| | | and t.community_id= #{communityId} |
| | | group by pfc.fee_name ,pfc.config_id |
| | | order by oweCount |
| | | </select> |
| | | |
| | | <select id="queryOwePaymentCount" parameterType="Map" resultType="Map"> |
| | | select t.fee_name feeName,count(t.obj_id) objCount |
| | | from report_fee_month_statistics t |
| | | where t.community_id = '7020181217000001' |
| | | group by t.config_id,t.fee_name |
| | | order by objCount desc |
| | | </select> |
| | | |
| | | </mapper> |
| | |
| | | */ |
| | | @RequestMapping(value = "/queryPrePaymentCount", method = RequestMethod.POST) |
| | | List<ReportFeeMonthStatisticsDto> queryPrePaymentCount(@RequestBody ReportFeeMonthStatisticsDto reportFeeMonthStatisticsDto); |
| | | /** |
| | | * 查询预付费户数 |
| | | * |
| | | * @param reportFeeMonthStatisticsDto |
| | | * @return |
| | | */ |
| | | @RequestMapping(value = "/queryOwePaymentCount", method = RequestMethod.POST) |
| | | List<ReportFeeMonthStatisticsDto> queryOwePaymentCount(@RequestBody ReportFeeMonthStatisticsDto reportFeeMonthStatisticsDto); |
| | | |
| | | |
| | | } |
| | |
| | | reportFeeMonthStatisticsDto.setEndTime(DateUtil.getFormatTimeString(calendar.getTime(), DateUtil.DATE_FORMATE_STRING_A)); |
| | | return getReportFeeMonthStatisticsBMOImpl.queryPrePayment(reportFeeMonthStatisticsDto); |
| | | } |
| | | /** |
| | | * 查询费用分项表 |
| | | * |
| | | * @param communityId 小区ID |
| | | * @return |
| | | * @serviceCode /reportFeeMonthStatistics/queryOwePaymentCount |
| | | * @path /app/reportFeeMonthStatistics/queryOwePaymentCount |
| | | */ |
| | | @RequestMapping(value = "/queryOwePaymentCount", method = RequestMethod.GET) |
| | | public ResponseEntity<String> queryOwePaymentCount(@RequestParam(value = "communityId") String communityId) { |
| | | ReportFeeMonthStatisticsDto reportFeeMonthStatisticsDto = new ReportFeeMonthStatisticsDto(); |
| | | reportFeeMonthStatisticsDto.setCommunityId(communityId); |
| | | return getReportFeeMonthStatisticsBMOImpl.queryOwePaymentCount(reportFeeMonthStatisticsDto); |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | ResponseEntity<String> queryPrePaymentCount(ReportFeeMonthStatisticsDto reportFeeMonthStatisticsDto); |
| | | ResponseEntity<String> queryPrePayment(ReportFeeMonthStatisticsDto reportFeeMonthStatisticsDto); |
| | | ResponseEntity<String> queryOwePaymentCount(ReportFeeMonthStatisticsDto reportFeeMonthStatisticsDto); |
| | | |
| | | } |
| | |
| | | } |
| | | |
| | | @Override |
| | | public ResponseEntity<String> queryOwePaymentCount(ReportFeeMonthStatisticsDto reportFeeMonthStatisticsDto) { |
| | | |
| | | List<ReportFeeMonthStatisticsDto> reportFeeMonthStatisticsDtos = null; |
| | | |
| | | reportFeeMonthStatisticsDtos = reportFeeMonthStatisticsInnerServiceSMOImpl.queryOwePaymentCount(reportFeeMonthStatisticsDto); |
| | | |
| | | ResultVo resultVo = new ResultVo(reportFeeMonthStatisticsDtos); |
| | | |
| | | ResponseEntity<String> responseEntity = new ResponseEntity<String>(resultVo.toString(), HttpStatus.OK); |
| | | |
| | | return responseEntity; |
| | | } |
| | | |
| | | @Override |
| | | public ResponseEntity<String> queryPrePayment(ReportFeeMonthStatisticsDto reportFeeMonthStatisticsDto) { |
| | | |
| | | int count = reportFeeMonthStatisticsInnerServiceSMOImpl.queryPrePaymentNewCount(reportFeeMonthStatisticsDto); |
| | |
| | | * @throws DAOException DAO异常 |
| | | */ |
| | | List<Map> queryPrePaymentCount(Map info) throws DAOException; |
| | | /** |
| | | * 查询预交费 |
| | | * 根据bId 查询费用月统计信息 |
| | | * |
| | | * @param info bId 信息 |
| | | * @return 费用月统计信息 |
| | | * @throws DAOException DAO异常 |
| | | */ |
| | | List<Map> queryOwePaymentCount(Map info) throws DAOException; |
| | | |
| | | |
| | | } |
| | |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public List<Map> queryOwePaymentCount(Map info) throws DAOException { |
| | | logger.debug("查询费用月统计信息 入参 info : {}", info); |
| | | |
| | | List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryOwePaymentCount", info); |
| | | |
| | | return businessReportFeeMonthStatisticsInfos; |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | |
| | | return reportFeeMonthStatisticss; |
| | | } |
| | | |
| | | @Override |
| | | public List<ReportFeeMonthStatisticsDto> queryOwePaymentCount(@RequestBody ReportFeeMonthStatisticsDto reportFeeMonthStatisticsDto) { |
| | | //校验是否传了 分页信息 |
| | | |
| | | |
| | | List<ReportFeeMonthStatisticsDto> reportFeeMonthStatisticss = BeanConvertUtil.covertBeanList(reportFeeMonthStatisticsServiceDaoImpl.queryOwePaymentCount(BeanConvertUtil.beanCovertMap(reportFeeMonthStatisticsDto)), ReportFeeMonthStatisticsDto.class); |
| | | |
| | | return reportFeeMonthStatisticss; |
| | | } |
| | | |
| | | |
| | | public IReportFeeMonthStatisticsServiceDao getReportFeeMonthStatisticsServiceDaoImpl() { |
| | | return reportFeeMonthStatisticsServiceDaoImpl; |