#update
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user