|
@@ -3,6 +3,7 @@ using DataSharing.LuZhou.LuZhou110;
|
|
|
using DataSharing.LuZhou.LZ110;
|
|
|
using DataSharing.Share.Dtos.LuZhou;
|
|
|
using Hotline.Share.Dtos.Order;
|
|
|
+using Hotline.Share.Dtos.Snapshot;
|
|
|
using Hotline.Share.Enums.Order;
|
|
|
using MapsterMapper;
|
|
|
using Microsoft.Extensions.Logging;
|
|
@@ -163,6 +164,7 @@ namespace DataSharing.Police110.HaiNengDa110
|
|
|
//工单延期申请
|
|
|
//工单办理结果
|
|
|
//工单办理状态
|
|
|
+ var checkData = await _policeSendChainDealHndRepository.AnyAsync(p => p.AlarmReceiptNumber == order.ExternalId && p.DisposalType == "2", cancellationToken);
|
|
|
#region 接受数据 工单流转信息
|
|
|
var nodeName = "派单组";
|
|
|
var nodeType = "2";
|
|
@@ -214,9 +216,10 @@ namespace DataSharing.Police110.HaiNengDa110
|
|
|
HandleBMName = order.ActualHandleOrgName,
|
|
|
HandleTime = order.FiledTime.HasValue == true ? order.FiledTime.Value.ToString("yyyy/MM/dd HH:mm:ss") : DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss"),
|
|
|
HandleOpinion = order.FileOpinion,
|
|
|
- HandleState = "办理完成",
|
|
|
+ HandleState = checkData != null ? "2" : "1",
|
|
|
PoliceCode = order.ExternalId,
|
|
|
};
|
|
|
+
|
|
|
var GDBLJGInfoObject = EncryptHandler.AES(handResultDto);
|
|
|
await InitSendData(order.Id, order.No, "1", LZ110Defaults.InteractiveHandResult, JsonConvert.SerializeObject(handResultDto), JsonConvert.SerializeObject(GDBLJGInfoObject), cancellationToken);
|
|
|
|
|
@@ -228,7 +231,7 @@ namespace DataSharing.Police110.HaiNengDa110
|
|
|
Code = order.No,
|
|
|
FlowID = order.Id,
|
|
|
PoliceCode = order.ExternalId,
|
|
|
- HandleState = "1",
|
|
|
+ HandleState = checkData != null ? "3" : "5",
|
|
|
};
|
|
|
var GDBLZTInfoObject = EncryptHandler.AES(updateStatusDto);
|
|
|
await InitSendData(order.Id, order.No, "1", LZ110Defaults.InteractiveUpdateStatus, JsonConvert.SerializeObject(updateStatusDto), JsonConvert.SerializeObject(GDBLZTInfoObject), cancellationToken);
|