Commit fe89d11188196c3a05416bb57afffeb08db9f5ca
1 parent
211051d5
给车队大屏的接口加上非营运线路
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/bsth/server_rs/bigdata/BigscreenService.java
| @@ -4141,7 +4141,7 @@ public class BigscreenService { | @@ -4141,7 +4141,7 @@ public class BigscreenService { | ||
| 4141 | 4141 | ||
| 4142 | 4142 | ||
| 4143 | for(Map<String, Object> t : list){ | 4143 | for(Map<String, Object> t : list){ |
| 4144 | - if(yyLine.contains(t.get("lineCode").toString())){ | 4144 | +// if(yyLine.contains(t.get("lineCode").toString())){ // 20260228,车队大屏需求查询包括非营运线路的所有线路 |
| 4145 | String lineCode = t.get("lineCode").toString(); | 4145 | String lineCode = t.get("lineCode").toString(); |
| 4146 | Map<String, Object> resMap = new HashMap<String, Object>(); | 4146 | Map<String, Object> resMap = new HashMap<String, Object>(); |
| 4147 | resMap.put("date", t.get("date").toString()); | 4147 | resMap.put("date", t.get("date").toString()); |
| @@ -4302,7 +4302,7 @@ public class BigscreenService { | @@ -4302,7 +4302,7 @@ public class BigscreenService { | ||
| 4302 | resMap.put("electricity", dlbMap.get(lineCode)); //耗电 | 4302 | resMap.put("electricity", dlbMap.get(lineCode)); //耗电 |
| 4303 | resMap.put("hydrogen", qlbMap.get(lineCode)); //耗能(氢) | 4303 | resMap.put("hydrogen", qlbMap.get(lineCode)); //耗能(氢) |
| 4304 | resList.add(resMap); | 4304 | resList.add(resMap); |
| 4305 | - } | 4305 | +// } |
| 4306 | } | 4306 | } |
| 4307 | return resList; | 4307 | return resList; |
| 4308 | } | 4308 | } |