This commit is contained in:
2026-06-05 08:51:12 +08:00
parent 133a2bd223
commit a3edf3275d
3 changed files with 19 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ public class SysUserClientServiceImpl implements ISysUserClientService {
}
@Override
public int updateAliveStatus(String clientName, String deviceName, int isAlive) {
public synchronized int updateAliveStatus(String clientName, String deviceName, int isAlive) {
int i = userClientMapper.updateAliveStatus(clientName, deviceName, isAlive);
if (i > 0) {
return i;