Administrator
2023-08-03 bdc340b2594dccd1349c5a848b3a285d2c489133
ard-work/src/main/java/com/ruoyi/app/position/controller/ArdAppPositionController.java
@@ -164,14 +164,22 @@
                params.put("bearing", ardAppPosition.getBearing());
                sysUser.setParams(params);
            }
            if(sysUser.getAppOnlineState().equals("1"))
            if(StringUtils.isNotNull(sysUser.getAppOnlineState()))
            {
                onLineList.add(sysUser);
                if(sysUser.getAppOnlineState().equals("1"))
                {
                    onLineList.add(sysUser);
                }
                else
                {
                    offLineList.add(sysUser);
                }
            }
            else
            {
                offLineList.add(sysUser);
            }
        }
        Map<String,Object> onlineMap=new HashMap<>();
        onlineMap.put("children",onLineList);