|
@@ -759,7 +759,7 @@ namespace DataSharing.Application.Receivers
|
|
|
data.AreaCode = dto.Order.AreaCode;
|
|
|
if (!string.IsNullOrEmpty(dto.Order.ProvinceNo))
|
|
|
data.CaseSerial = dto.Order.ProvinceNo;
|
|
|
- }
|
|
|
+ }
|
|
|
else
|
|
|
data.AreaCode = _channelConfigurationManager.GetConfigurationCityCode().AreaCode;
|
|
|
|
|
@@ -1898,7 +1898,7 @@ namespace DataSharing.Application.Receivers
|
|
|
{
|
|
|
CaseSerial = caseSerial,
|
|
|
CliengGuid = cliengGuid,
|
|
|
- AreaCode = areaCode,
|
|
|
+ AreaCode = areaCode.Length > 6 ? areaCode.Substring(0, 6) : areaCode,
|
|
|
MaterialType = materialType switch
|
|
|
{
|
|
|
EMaterialType.Acceptance => "10",
|