Commit 96b6288d by liuyang

修复设备驾驶舱状态逻辑

parent 0d379a0c
...@@ -386,7 +386,7 @@ public class ServiceHPBI003 extends ServiceBase { ...@@ -386,7 +386,7 @@ public class ServiceHPBI003 extends ServiceBase {
if (params.containsKey("date")){ if (params.containsKey("date")){
params.put("date", DateUtils.formatShort(params.get("date"))); params.put("date", DateUtils.formatShort(params.get("date")));
} }
params.put("logValues", Arrays.asList("1", "2", '3',"4")); params.put("logValues", Arrays.asList("1", "2", "3","4"));
List<Map> result = new ArrayList<>(); List<Map> result = new ArrayList<>();
List<Map> listMap = DaoBase.getInstance().query("HPBI003.queryBySbYes", params, 0,100); List<Map> listMap = DaoBase.getInstance().query("HPBI003.queryBySbYes", params, 0,100);
List listMap2 = listMap.stream().map(map -> map.get("date")).sorted().distinct().collect(Collectors.toList()); List listMap2 = listMap.stream().map(map -> map.get("date")).sorted().distinct().collect(Collectors.toList());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment