| | |
| | | |
| | | /** |
| | | * 查询优惠费用 |
| | | * |
| | | * @param info |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 查询滞纳金 |
| | | * |
| | | * @param info |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 查询预存账户 |
| | | * |
| | | * @param info |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 查询扣款 |
| | | * |
| | | * @param info |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 押金 退还 |
| | | * |
| | | * @param info |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 查询欠费对象 |
| | | * |
| | | * @param info |
| | | * @return |
| | | */ |
| | |
| | | return infos; |
| | | } |
| | | |
| | | @Override |
| | | public long getReceivedRoomCount(Map info) { |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getReceivedRoomCount", info); |
| | | |
| | | if (infos == null || infos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Long.parseLong(infos.get(0).get("count").toString()); |
| | | } |
| | | |
| | | @Override |
| | | public double getReceivedRoomAmount(Map info) { |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getReceivedRoomAmount", info); |
| | | |
| | | if (infos == null || infos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Double.parseDouble(infos.get(0).get("amount").toString()); |
| | | } |
| | | |
| | | @Override |
| | | public long getHisOweReceivedRoomCount(Map info) { |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getHisOweReceivedRoomCount", info); |
| | | |
| | | if (infos == null || infos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Long.parseLong(infos.get(0).get("count").toString()); |
| | | } |
| | | |
| | | @Override |
| | | public double getHisOweReceivedRoomAmount(Map info) { |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getHisOweReceivedRoomAmount", info); |
| | | |
| | | if (infos == null || infos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Double.parseDouble(infos.get(0).get("amount").toString()); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> getObjReceivedFee(Map info) { |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getObjReceivedFee", info); |
| | | |
| | | |
| | | return infos; |
| | | |
| | | } |
| | | |
| | | @Override |
| | | public long getMonthReceivedDetailCount(Map info) { |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getMonthReceivedDetailCount", info); |
| | | |
| | | if (infos == null || infos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Long.parseLong(infos.get(0).get("count").toString()); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> getMonthReceivedDetailInfo(Map info) { |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getMonthReceivedDetailInfo", info); |
| | | return infos; |
| | | } |
| | | |
| | | @Override |
| | | public long getMonthOweDetailCount(Map info) { |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getMonthOweDetailCount", info); |
| | | |
| | | if (infos == null || infos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Long.parseLong(infos.get(0).get("count").toString()); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> getMonthOweDetailInfo(Map info) { |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getMonthOweDetailInfo", info); |
| | | return infos; |
| | | } |
| | | |
| | | @Override |
| | | public double getMonthOweDetailAmount(Map info) { |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getMonthOweDetailAmount", info); |
| | | |
| | | if (infos == null || infos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Double.parseDouble(infos.get(0).get("amount").toString()); |
| | | } |
| | | |
| | | @Override |
| | | public double getMonthReceivedDetailAmount(Map info) { |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getMonthReceivedDetailAmount", info); |
| | | |
| | | if (infos == null || infos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Double.parseDouble(infos.get(0).get("amount").toString()); |
| | | } |
| | | } |