|
@@ -944,6 +944,8 @@ namespace DataSharing.Province
|
|
|
{
|
|
|
if (string.IsNullOrEmpty(dto.Order.AreaCode) || dto.Order.AreaCode.Contains("519"))
|
|
|
dto.Order.AreaCode = _sharingConfigurationManager.GetCityCode();
|
|
|
+ if (dto.Order.AreaCode.Length > 6)
|
|
|
+ dto.Order.AreaCode = dto.Order.AreaCode.Substring(0, 6);
|
|
|
|
|
|
var validator = new RevokeCaseInfoModelValidator();
|
|
|
var validResult = await validator.ValidateAsync(dto, cancellationToken);
|
|
@@ -996,6 +998,8 @@ namespace DataSharing.Province
|
|
|
{
|
|
|
if (string.IsNullOrEmpty(dto.Order.AreaCode) || dto.Order.AreaCode.Contains("519"))
|
|
|
dto.Order.AreaCode = _sharingConfigurationManager.GetCityCode();
|
|
|
+ if (dto.Order.AreaCode.Length > 6)
|
|
|
+ dto.Order.AreaCode = dto.Order.AreaCode.Substring(0, 6);
|
|
|
|
|
|
var validator = new RemindCaseInfoValidator();
|
|
|
var validResult = await validator.ValidateAsync(dto, cancellationToken);
|
|
@@ -1033,6 +1037,8 @@ namespace DataSharing.Province
|
|
|
{
|
|
|
if (string.IsNullOrEmpty(dto.Order.AreaCode) || dto.Order.Source == ESource.ProvinceStraight || dto.Order.AreaCode.Contains("519"))
|
|
|
dto.Order.AreaCode = _sharingConfigurationManager.GetCityCode();
|
|
|
+ if (dto.Order.AreaCode.Length > 6)
|
|
|
+ dto.Order.AreaCode = dto.Order.AreaCode.Substring(0, 6);
|
|
|
|
|
|
//推省上的交办结果
|
|
|
if (dto.Order.IsProvince && dto.Order.Source == ESource.ProvinceStraight)
|
|
@@ -1315,6 +1321,8 @@ namespace DataSharing.Province
|
|
|
sendCaseInfoData.OrderID = dto.Id;
|
|
|
sendCaseInfoData.No = dto.No;
|
|
|
sendCaseInfoData.State = "0";
|
|
|
+ if (sendCaseInfoData.AreaCode.Length > 6)
|
|
|
+ sendCaseInfoData.AreaCode = sendCaseInfoData.AreaCode.Substring(0, 6);
|
|
|
await _sendCaseInfoRepository.AddAsync(sendCaseInfoData, cancellationToken);
|
|
|
|
|
|
#region 处理请求参数
|