|
@@ -129,7 +129,7 @@ public class TelDomainService : ITelDomainService, IScopeDependency
|
|
|
|
|
|
|
|
|
telRest.ApplyStatus = ETelRestApplyStatus.Resting;
|
|
|
- telRest.StartTime = DateTime.Now;
|
|
|
+
|
|
|
await _telRestRepository.UpdateAsync(telRest, cancellationToken);
|
|
|
|
|
|
if (_options.Value.CallCenterType!= "WeiErXin")
|
|
@@ -142,6 +142,10 @@ public class TelDomainService : ITelDomainService, IScopeDependency
|
|
|
}
|
|
|
#endregion
|
|
|
}
|
|
|
+ else
|
|
|
+ {
|
|
|
+ telRest.StartTime = DateTime.Now;
|
|
|
+ }
|
|
|
|
|
|
//通知前端休息通过
|
|
|
await _realtimeService.RestApplyPassAsync(telRest.UserId, cancellationToken);
|