| | |
| | | return Double.parseDouble(infos.get(0).get("curReceivableFee").toString()); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询欠费追回 |
| | | * @param info |
| | |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public int getFeeRoomCount(Map info) { |
| | | logger.debug("查询 收费户数 入参 info : {}", JSONObject.toJSONString(info)); |
| | | |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getFeeRoomCount", info); |
| | | |
| | | if (infos == null || infos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Integer.parseInt(infos.get(0).get("feeRoomCount").toString()); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> getFloorFeeSummary(Map info) { |
| | | logger.debug("查询 楼栋收费率 入参 info : {}", JSONObject.toJSONString(info)); |
| | | |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getFloorFeeSummary", info); |
| | | |
| | | |
| | | return infos; |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> getConfigFeeSummary(Map info) { |
| | | logger.debug("查询 费用项收费率 入参 info : {}", JSONObject.toJSONString(info)); |
| | | |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getConfigFeeSummary", info); |
| | | |
| | | |
| | | return infos; |
| | | } |
| | | |
| | | @Override |
| | | public int getObjFeeSummaryCount(Map info) { |
| | | logger.debug("查询 收费户数 入参 info : {}", JSONObject.toJSONString(info)); |
| | | |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getObjFeeSummaryCount", info); |
| | | |
| | | if (infos == null || infos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Integer.parseInt(infos.get(0).get("total").toString()); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> getObjFeeSummary(Map info) { |
| | | logger.debug("查询 费用项收费率 入参 info : {}", JSONObject.toJSONString(info)); |
| | | |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getObjFeeSummary", info); |
| | | |
| | | |
| | | return infos; |
| | | } |
| | | |
| | | |
| | | } |