|
@@ -390,7 +390,7 @@ namespace DataSharing.Application.Receivers
|
|
|
if (pushdto.TrCallRecordDto is not null)
|
|
|
{
|
|
|
var dataCall = _mapper.Map<SubmitCaseRecordInfo>(pushdto.TrCallRecordDto);
|
|
|
- dataCall.AreaCode = dto.AreaCode;
|
|
|
+ dataCall.AreaCode = dto.AreaCode.Length > 6 ? dto.AreaCode.Substring(0, 6) : dto.AreaCode;
|
|
|
dataCall.CaseSerial = dto.ProvinceNo;
|
|
|
|
|
|
//处理通话记录时间
|
|
@@ -612,7 +612,7 @@ namespace DataSharing.Application.Receivers
|
|
|
if (dto.TrCallRecordDto is not null)
|
|
|
{
|
|
|
var dataCall = _mapper.Map<SubmitCaseRecordInfo>(dto.TrCallRecordDto);
|
|
|
- dataCall.AreaCode = dto.Order.AreaCode;
|
|
|
+ dataCall.AreaCode = dto.Order.AreaCode.Length > 6 ? dto.Order.AreaCode.Substring(0, 6) : dto.Order.AreaCode;
|
|
|
dataCall.CaseSerial = dto.Order.ProvinceNo;
|
|
|
|
|
|
//处理通话记录时间
|
|
@@ -694,7 +694,6 @@ namespace DataSharing.Application.Receivers
|
|
|
[CapSubscribe(Hotline.Share.Mq.EventNames.HotlineCallBye)]
|
|
|
public async Task SubmitCaseRecordAsync(PublishCallRecrodDto dto, CancellationToken cancellationToken)
|
|
|
{
|
|
|
-
|
|
|
//验证是否需要推送未接数据
|
|
|
if (dto != null && dto.TrCallRecordDto != null && dto.TrCallRecordDto.OnState == EOnState.NoOn && dto.Order == null)
|
|
|
{
|