admin 2 년 전
부모
커밋
cc5b0c9e04
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/CallCenter/Users/UserDomainService.cs

+ 2 - 2
src/CallCenter/Users/UserDomainService.cs

@@ -64,7 +64,7 @@ namespace CallCenter.Users
             await _workRepository.AddAsync(work, cancellationToken);
 
             //更新work缓存
-            //_userCacheManager.AddWorksCache(work);
+            _userCacheManager.AddWorksCache(work);
             //_userCacheManager.RemoveCallCache(work.Id);
             if (!string.IsNullOrEmpty(user.StaffNo))
                 await _deviceManager.UpdateStaffNoAsync(tel.No, user.StaffNo, tel.LineId, cancellationToken);
@@ -97,7 +97,7 @@ namespace CallCenter.Users
             _cacheWork.Remove(work.GetKey(KeyMode.TelNo));
 
             //更新work缓存
-            //_userCacheManager.RemoveWorksCache(work.Id);
+            _userCacheManager.RemoveWorksCache(work.Id);
 
             foreach (var group in tel.Groups)
             {