Commit 3bb0e89dead4bbf2da90ba7d14c81890840b1f3f
1 parent
a6c3a929
停车场统计
Showing
1 changed file
with
4 additions
and
4 deletions
src/main/java/com/zteits/irain/portal/web/parkinglotcloudplatform/datastatistic/ParkLotStatisticController.java
| @@ -114,9 +114,9 @@ public class ParkLotStatisticController { | @@ -114,9 +114,9 @@ public class ParkLotStatisticController { | ||
| 114 | logger.info("根据登录人权限获取停车场列表"); | 114 | logger.info("根据登录人权限获取停车场列表"); |
| 115 | List<String> plNos = Lists.newArrayList(); | 115 | List<String> plNos = Lists.newArrayList(); |
| 116 | //2.调用接口查询当前登录人管辖的停车场名称 | 116 | //2.调用接口查询当前登录人管辖的停车场名称 |
| 117 | - plNos.add("A320211000"); | ||
| 118 | - plNos.add("B1504020C7"); | ||
| 119 | - /*UserInfo userInfo = sessionCommUtil.getUserInfo(); | 117 | + /*plNos.add("A320211000"); |
| 118 | + plNos.add("B1504020C7");*/ | ||
| 119 | + UserInfo userInfo = sessionCommUtil.getUserInfo(); | ||
| 120 | if(userInfo!=null){ | 120 | if(userInfo!=null){ |
| 121 | TdCompanyParkQueryRequest tdCompanyParkQueryRequest = new TdCompanyParkQueryRequest(); | 121 | TdCompanyParkQueryRequest tdCompanyParkQueryRequest = new TdCompanyParkQueryRequest(); |
| 122 | tdCompanyParkQueryRequest.setCustIdList(userInfo.getOrgIds()); | 122 | tdCompanyParkQueryRequest.setCustIdList(userInfo.getOrgIds()); |
| @@ -126,7 +126,7 @@ public class ParkLotStatisticController { | @@ -126,7 +126,7 @@ public class ParkLotStatisticController { | ||
| 126 | plNos = ResultUtils.getBizResultData(bizResult); | 126 | plNos = ResultUtils.getBizResultData(bizResult); |
| 127 | }else{ | 127 | }else{ |
| 128 | throw new BizException(ErrorType.AUTH_TOKEN_NOT_EXISTS); | 128 | throw new BizException(ErrorType.AUTH_TOKEN_NOT_EXISTS); |
| 129 | - }*/ | 129 | + } |
| 130 | return plNos; | 130 | return plNos; |
| 131 | } | 131 | } |
| 132 | } | 132 | } |