| | |
| | | } |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public void deleteReportFeeMonthStatisticsInfo(Map info) { |
| | | logger.debug("deleteReportFeeMonthStatisticsInfo 入参 info : {}", info); |
| | | |
| | | int saveFlag = sqlSessionTemplate.update("reportFeeMonthStatisticsServiceDaoImpl.deleteReportFeeMonthStatisticsInfo", info); |
| | | |
| | | if (saveFlag < 1) { |
| | | throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "修改费用月统计信息Instance数据失败:" + JSONObject.toJSONString(info)); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public double getReceivedAmountByMonth(Map info) { |
| | | List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.getReceivedAmountByMonth", info); |
| | | if (businessReportFeeMonthStatisticsInfos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Double.parseDouble(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString()); |
| | | } |
| | | |
| | | /** |
| | | * 修改费用月统计信息 |
| | | * |
| | |
| | | return businessReportFeeMonthStatisticsInfos; |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public Map queryReportFeeSummaryMajor(Map info) { |
| | | logger.debug("查询费用月统计信息 入参 info : {}", info); |
| | | |
| | | List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryReportFeeSummaryMajor", info); |
| | | |
| | | return businessReportFeeMonthStatisticsInfos.get(0); |
| | | } |
| | | |
| | | @Override |
| | | public int queryReportFloorUnitFeeSummaryCount(Map info) { |
| | | logger.debug("查询费用月统计数据 入参 info : {}", info); |
| | |
| | | List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryReportFloorUnitFeeSummary", info); |
| | | |
| | | return businessReportFeeMonthStatisticsInfos; |
| | | } |
| | | |
| | | @Override |
| | | public Map queryReportFloorUnitFeeSummaryMajor(Map info) { |
| | | logger.debug("查询费用月统计信息 入参 info : {}", info); |
| | | |
| | | List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryReportFloorUnitFeeSummaryMajor", info); |
| | | |
| | | return businessReportFeeMonthStatisticsInfos.get(0); |
| | | } |
| | | |
| | | @Override |
| | |
| | | } |
| | | |
| | | @Override |
| | | public Map queryFeeBreakdownMajor(Map info) { |
| | | logger.debug("查询费用queryFeeBreakdownMajor 入参 info : {}", info); |
| | | |
| | | List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryFeeBreakdownMajor", info); |
| | | |
| | | return businessReportFeeMonthStatisticsInfos.get(0); |
| | | } |
| | | |
| | | @Override |
| | | public int queryFeeDetailCount(Map info) { |
| | | logger.debug("查询费用月统计数据 入参 info : {}", info); |
| | | |
| | |
| | | |
| | | return businessReportFeeMonthStatisticsInfos; |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public int queryOweFeeDetailCount(Map info) { |
| | |
| | | |
| | | return businessReportFeeMonthStatisticsInfos; |
| | | } |
| | | |
| | | @Override |
| | | public Map queryOweFeeDetailMajor(Map info) { |
| | | logger.debug("查询费用queryOweFeeDetailMajor 入参 info : {}", info); |
| | | |
| | | List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryOweFeeDetailMajor", info); |
| | | |
| | | return businessReportFeeMonthStatisticsInfos.get(0); |
| | | } |
| | | |
| | | @Override |
| | | public int queryHuaningOweFeeCount(Map info) { |
| | | logger.debug("查询queryHuaningOweFeeCount数据 入参 info : {}", info); |
| | | |
| | | List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryHuaningOweFeeCount", info); |
| | | if (businessReportFeeMonthStatisticsInfos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Integer.parseInt(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString()); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> queryHuaningOweFee(Map info) { |
| | | logger.debug("查询queryHuaningOweFee 入参 info : {}", info); |
| | | |
| | | List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryHuaningOweFee", info); |
| | | |
| | | return businessReportFeeMonthStatisticsInfos; |
| | | } |
| | | |
| | | @Override |
| | | public int queryHuaningPayFeeCount(Map info) { |
| | | logger.debug("查询queryHuaningPayFeeCount数据 入参 info : {}", info); |
| | | |
| | | List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryHuaningPayFeeCount", info); |
| | | if (businessReportFeeMonthStatisticsInfos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Integer.parseInt(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString()); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> queryHuaningPayFee(Map info) { |
| | | logger.debug("查询queryHuaningPayFee 入参 info : {}", info); |
| | | |
| | | List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryHuaningPayFee", info); |
| | | |
| | | return businessReportFeeMonthStatisticsInfos; |
| | | } |
| | | |
| | | @Override |
| | | public int queryHuaningPayFeeTwoCount(Map info) { |
| | | logger.debug("查询queryHuaningPayFeeTwoCount数据 入参 info : {}", info); |
| | | |
| | | List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryHuaningPayFeeTwoCount", info); |
| | | if (businessReportFeeMonthStatisticsInfos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Integer.parseInt(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString()); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> queryHuaningPayFeeTwo(Map info) { |
| | | logger.debug("查询queryHuaningPayFeeTwo 入参 info : {}", info); |
| | | |
| | | List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryHuaningPayFeeTwo", info); |
| | | |
| | | return businessReportFeeMonthStatisticsInfos; |
| | | } |
| | | |
| | | @Override |
| | | public int queryHuaningOweFeeDetailCount(Map info) { |
| | | logger.debug("查询queryHuaningOweFeeDetailCount数据 入参 info : {}", info); |
| | | |
| | | List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryHuaningOweFeeDetailCount", info); |
| | | if (businessReportFeeMonthStatisticsInfos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Integer.parseInt(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString()); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> queryHuaningOweFeeDetail(Map info) { |
| | | logger.debug("查询queryHuaningOweFeeDetail 入参 info : {}", info); |
| | | |
| | | List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryHuaningOweFeeDetail", info); |
| | | |
| | | return businessReportFeeMonthStatisticsInfos; |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public Map queryPayFeeDetailCount(Map info) { |
| | |
| | | return businessReportFeeMonthStatisticsInfos; |
| | | } |
| | | |
| | | @Override |
| | | public int queryNoFeeRoomsCount(Map info) { |
| | | logger.debug("查询未收费房屋统计数据 入参 info : {}", info); |
| | | |
| | | List<Map> roomInfos = |
| | | sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryNoFeeRoomsCount", info); |
| | | if (roomInfos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Integer.parseInt(roomInfos.get(0).get("count").toString()); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> queryNoFeeRooms(Map info) { |
| | | logger.debug("查询未收费房屋统计信息 入参 info : {}", info); |
| | | |
| | | List<Map> roomInfos = |
| | | sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryNoFeeRooms", info); |
| | | |
| | | return roomInfos; |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> queryPayFeeDeposit(Map info) { |
| | | logger.debug("查询押金统计信息 入参 info : {}", info); |
| | | |
| | | List<Map> deposits = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryPayFeeDeposit", info); |
| | | |
| | | return deposits; |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> queryFeeDepositAmount(Map info) { |
| | | logger.debug("查询押金退费总金额信息 入参 info : {}", info); |
| | | |
| | | List<Map> deposits = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryFeeDepositAmount", info); |
| | | |
| | | return deposits; |
| | | } |
| | | |
| | | |
| | | } |