|
@@ -465,11 +465,11 @@ namespace DataSharing.Application.Receivers
|
|
|
//再次推送通话记录
|
|
|
if (pushdto.TrCallRecordDto is not null)
|
|
|
{
|
|
|
+ //如果推送工单的时候判断通话记录是否是未接,并且是否已经上传,如果没有咋补再次推送通话记录
|
|
|
var tellCall = await _dsTelCallRepository.AnyAsync(p => p.CallId == pushdto.TrCallRecordDto.CallAccept, cancellationToken);
|
|
|
if (pushdto.TrCallRecordDto.OnState == EOnState.NoOn && !tellCall)
|
|
|
- {
|
|
|
return;
|
|
|
- }
|
|
|
+
|
|
|
var dataCall = _mapper.Map<SubmitCaseRecordInfo>(pushdto.TrCallRecordDto);
|
|
|
dataCall.AreaCode = dto.AreaCode.Length > 6 ? dto.AreaCode.Substring(0, 6) : dto.AreaCode;
|
|
|
dataCall.CaseSerial = dto.ProvinceNo;
|
|
@@ -708,11 +708,11 @@ namespace DataSharing.Application.Receivers
|
|
|
//再次推送通话记录
|
|
|
if (dto.TrCallRecordDto is not null)
|
|
|
{
|
|
|
+ //如果推送工单的时候判断通话记录是否是未接,并且是否已经上传,如果没有咋补再次推送通话记录
|
|
|
var tellCall = await _dsTelCallRepository.AnyAsync(p => p.CallId == dto.TrCallRecordDto.CallAccept, cancellationToken);
|
|
|
if (dto.TrCallRecordDto.OnState == EOnState.NoOn && !tellCall)
|
|
|
- {
|
|
|
return;
|
|
|
- }
|
|
|
+
|
|
|
var dataCall = _mapper.Map<SubmitCaseRecordInfo>(dto.TrCallRecordDto);
|
|
|
dataCall.AreaCode = dto.Order.AreaCode.Length > 6 ? dto.Order.AreaCode.Substring(0, 6) : dto.Order.AreaCode;
|
|
|
dataCall.CaseSerial = dto.Order.ProvinceNo;
|
|
@@ -814,11 +814,10 @@ namespace DataSharing.Application.Receivers
|
|
|
[CapSubscribe(Hotline.Share.Mq.EventNames.HotlineCallConnectWithOrder)]
|
|
|
public async Task SubmitCaseRecordOrderAsync(PublishCallRecrodDto dto, CancellationToken cancellationToken)
|
|
|
{
|
|
|
+ //如果推送工单的时候判断通话记录是否是未接,并且是否已经上传,如果没有咋补再次推送通话记录
|
|
|
var tellCall = await _dsTelCallRepository.AnyAsync(p => p.CallId == dto.TrCallRecordDto.CallAccept, cancellationToken);
|
|
|
if (dto.TrCallRecordDto.OnState == EOnState.NoOn && !tellCall)
|
|
|
- {
|
|
|
return;
|
|
|
- }
|
|
|
|
|
|
var data = _mapper.Map<SubmitCaseRecordInfo>(dto.TrCallRecordDto);
|
|
|
if (dto.Order != null)
|