|
@@ -83,7 +83,7 @@ namespace CallCenter.Users
|
|
|
var tel = _telCacheManager.GetTel(work.TelNo);
|
|
|
work.OffDuty();
|
|
|
await _workRepository.UpdateAsync(work, cancellationToken);
|
|
|
- //await _deviceManager.UpdateStaffNoAsync(work.TelNo, string.Empty, tel.LineId, cancellationToken);
|
|
|
+ await _deviceManager.UpdateStaffNoAsync(work.TelNo, string.Empty, tel.LineId, cancellationToken);
|
|
|
_cacheWork.Remove(work.GetKey(KeyMode.UserId));
|
|
|
_cacheWork.Remove(work.GetKey(KeyMode.TelNo));
|
|
|
|