|
@@ -367,20 +367,15 @@ namespace DataSharing.Application.Receivers
|
|
|
await _policeService.SingForPoliceAsync(dto, cancellationToken);
|
|
|
}
|
|
|
|
|
|
- if (_sharingConfigurationManager.GetZiGongConfig().SmartCitySystem.IsSendPush == true)
|
|
|
+ if (_sharingConfigurationManager.GetZiGongConfig().SmartCitySystem.IsSendPush == true)
|
|
|
+ {
|
|
|
+ //自贡智慧城市系统
|
|
|
+ if (!string.IsNullOrEmpty(dto.OrderTagCode) && dto.OrderTagCode.IndexOf("zgdh") > -1)
|
|
|
{
|
|
|
- //自贡智慧城市系统
|
|
|
- if (!string.IsNullOrEmpty(dto.OrderTagCode) && dto.OrderTagCode.StartsWith("zgdh") == true)
|
|
|
- {
|
|
|
- //其他服务推送
|
|
|
- await _sendTaskDataService.OtherSendTask("zgdh", dto, cancellationToken);
|
|
|
- }
|
|
|
+ //其他服务推送
|
|
|
+ await _sendTaskDataService.OtherSendTask("zgdh", dto, cancellationToken);
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
- catch (Exception)
|
|
|
- {
|
|
|
-
|
|
|
}
|
|
|
#endregion
|
|
|
|
|
@@ -692,7 +687,7 @@ namespace DataSharing.Application.Receivers
|
|
|
if (_sharingConfigurationManager.GetZiGongConfig().SmartCitySystem.IsSendPush == true)
|
|
|
{
|
|
|
//自贡智慧城市系统
|
|
|
- if (!string.IsNullOrEmpty(dto.Order.OrderTagCode) && dto.Order.OrderTagCode.StartsWith("zgdh") == true)
|
|
|
+ if (!string.IsNullOrEmpty(dto.Order.OrderTagCode) && dto.Order.OrderTagCode.IndexOf("zgdh") > -1)
|
|
|
{
|
|
|
//其他服务推送
|
|
|
await _sendTaskDataService.OtherSendTask("zgdh", dto.Order, cancellationToken);
|