| | |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> queryCommunityMachineTypeTree(Map info) { |
| | | logger.debug("查询 queryCommunityMachineTypeTree 信息 入参 info : {}", JSONObject.toJSONString(info)); |
| | | |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportCommunityServiceDaoImpl.queryCommunityMachineTypeTree", info); |
| | | |
| | | return infos; |
| | | } |
| | | |
| | | @Override |
| | | public int queryHisOwnerCarCount(Map info) { |
| | | logger.debug("查询车辆管理数据 入参 info : {}", info); |
| | | |
| | | List<Map> businessOwnerCarInfos = sqlSessionTemplate.selectList("reportCommunityServiceDaoImpl.queryHisOwnerCarCount", info); |
| | | if (businessOwnerCarInfos.size() < 1) { |
| | | List<Map> infos = sqlSessionTemplate.selectList("reportCommunityServiceDaoImpl.queryHisOwnerCarCount", info); |
| | | if (infos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Integer.parseInt(businessOwnerCarInfos.get(0).get("count").toString()); |
| | | return Integer.parseInt(infos.get(0).get("count").toString()); |
| | | } |
| | | |
| | | @Override |