|
|
|
@ -196,7 +196,7 @@ public static class JsonUtil
|
|
|
|
|
prop.SetValue(model, sourceVal.ToString().Replace("’", "'"));
|
|
|
|
|
prop.SetValue(model, sourceVal.ToString().Replace("、", ","));
|
|
|
|
|
prop.SetValue(model, sourceVal.ToString().Replace(" ", " "));
|
|
|
|
|
if (Regex.IsMatch(sourceVal.ToString(), @"^[a-zA-Z0-9]+$") && propName.ToUpper() == "MBLNO")
|
|
|
|
|
if (!Regex.IsMatch(sourceVal.ToString(), @"^[a-zA-Z0-9]+$") && propName.ToUpper() == "MBLNO")
|
|
|
|
|
{
|
|
|
|
|
return "提单号存在中文字符或特殊字符";
|
|
|
|
|
}
|
|
|
|
|