From 3b9d6bf8b2fbccbf7c91e9c8e7ae120221b962a2 Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期二, 22 八月 2023 14:26:46 +0800
Subject: [PATCH] 获取封控圈内所有在线app用户改app单兵端
---
ard-work/src/main/java/com/ruoyi/app/position/service/impl/ArdAppPositionServiceImpl.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ard-work/src/main/java/com/ruoyi/app/position/service/impl/ArdAppPositionServiceImpl.java b/ard-work/src/main/java/com/ruoyi/app/position/service/impl/ArdAppPositionServiceImpl.java
index 04f65db..bd751a8 100644
--- a/ard-work/src/main/java/com/ruoyi/app/position/service/impl/ArdAppPositionServiceImpl.java
+++ b/ard-work/src/main/java/com/ruoyi/app/position/service/impl/ArdAppPositionServiceImpl.java
@@ -145,11 +145,11 @@
SysUser user = new SysUser();
user.setDeptId(deptId);
- user.setAppUserType("1");
List<SysUser> appUserList = iSysUserService.selectAllAppUserList(user);
- //杩囨护鍦ㄧ嚎
+ //杩囨护鍦ㄧ嚎鍜屽崟鍏电
List<SysUser> onLineList = appUserList.stream()
.filter(sysUser -> (sysUser.getAppOnlineState().equals("1")))
+ .filter(sysUser -> (sysUser.getAppUserType().equals("1")))
.collect(Collectors.toList());
//杩囨护鑼冨洿
for (SysUser sysUser : onLineList) {
@@ -189,11 +189,11 @@
SysUser user = new SysUser();
user.setDeptId(deptId);
- user.setAppUserType("1");
List<SysUser> appUserList = iSysUserService.selectAllAppUserList(user);
//杩囨护鍦ㄧ嚎
List<SysUser> onLineList = appUserList.stream()
.filter(sysUser -> (sysUser.getAppOnlineState().equals("1")))
+ .filter(sysUser -> (sysUser.getAppUserType().equals("1")))
.collect(Collectors.toList());
//杩囨护鑼冨洿
for (SysUser sysUser : onLineList) {
--
Gitblit v1.9.3