| | |
| | | @Override |
| | | public List<Map> getBusinessFeeConfigInfo(Map info) throws DAOException { |
| | | logger.debug("查询费用配置信息 入参 info : {}", info); |
| | | List<Map> businessFeeConfigInfos = sqlSessionTemplate.selectList("feeConfigServiceDaoImpl.getBusinessFeeConfigInfo", info); |
| | | return businessFeeConfigInfos; |
| | | List<Map> infos = sqlSessionTemplate.selectList("feeConfigServiceDaoImpl.getBusinessFeeConfigInfo", info); |
| | | return infos; |
| | | } |
| | | |
| | | |
| | |
| | | @Override |
| | | public List<Map> getFeeConfigInfo(Map info) throws DAOException { |
| | | logger.debug("查询费用配置信息 入参 info : {}", info); |
| | | List<Map> businessFeeConfigInfos = sqlSessionTemplate.selectList("feeConfigServiceDaoImpl.getFeeConfigInfo", info); |
| | | return businessFeeConfigInfos; |
| | | List<Map> infos = sqlSessionTemplate.selectList("feeConfigServiceDaoImpl.getFeeConfigInfo", info); |
| | | for (Map map : infos) { |
| | | if ((map.get("fee_type_cd").toString().equals("630000003") || map.get("fee_type_cd").toString().equals("630000004")) && map.get("computingFormula").toString().equals("1001")) { |
| | | map.put("computingFormulaName" , "月停车费*月份"); |
| | | } |
| | | } |
| | | return infos; |
| | | } |
| | | |
| | | |
| | |
| | | @Override |
| | | public int queryFeeConfigsCount(Map info) { |
| | | logger.debug("查询费用配置数据 入参 info : {}", info); |
| | | List<Map> businessFeeConfigInfos = sqlSessionTemplate.selectList("feeConfigServiceDaoImpl.queryFeeConfigsCount", info); |
| | | if (businessFeeConfigInfos.size() < 1) { |
| | | List<Map> infos = sqlSessionTemplate.selectList("feeConfigServiceDaoImpl.queryFeeConfigsCount", info); |
| | | if (infos.size() < 1) { |
| | | return 0; |
| | | } |
| | | return Integer.parseInt(businessFeeConfigInfos.get(0).get("count").toString()); |
| | | return Integer.parseInt(infos.get(0).get("count").toString()); |
| | | } |
| | | |
| | | @Override |