|
@@ -328,7 +328,7 @@ public class OrderDomainService : IOrderDomainService, IScopeDependency
|
|
|
valid.Validation = dto.Content.Contains("意见") || dto.Content.Contains("建议") || dto.Content.Contains("信息") || dto.Content.Contains("咨询");
|
|
|
if (dto.Content.Length < 25)
|
|
|
{
|
|
|
- valid.Validation = false;
|
|
|
+ valid.Validation = true;
|
|
|
valid.Result = "保存失败,受理内容字数不足!";
|
|
|
}
|
|
|
break;
|
|
@@ -338,7 +338,7 @@ public class OrderDomainService : IOrderDomainService, IScopeDependency
|
|
|
valid.Validation = dto.Content.Contains("投诉") || dto.Content.Contains("举报") || dto.Content.Contains("信息") || dto.Content.Contains("咨询");
|
|
|
if (dto.Content.Length < 5)
|
|
|
{
|
|
|
- valid.Validation = false;
|
|
|
+ valid.Validation = true;
|
|
|
valid.Result = "保存失败,受理内容字数不足!";
|
|
|
}
|
|
|
break;
|
|
@@ -349,7 +349,7 @@ public class OrderDomainService : IOrderDomainService, IScopeDependency
|
|
|
valid.Validation = dto.Content.Contains("投诉") || dto.Content.Contains("举报") || dto.Content.Contains("信息") || dto.Content.Contains("咨询");
|
|
|
if (dto.Content.Length < 25)
|
|
|
{
|
|
|
- valid.Validation = false;
|
|
|
+ valid.Validation = true;
|
|
|
valid.Result = "保存失败,受理内容字数不足!";
|
|
|
}
|
|
|
break;
|
|
@@ -359,7 +359,7 @@ public class OrderDomainService : IOrderDomainService, IScopeDependency
|
|
|
valid.Validation = dto.Content.Contains("投诉") || dto.Content.Contains("举报") || dto.Content.Contains("意见") || dto.Content.Contains("建议");
|
|
|
if (dto.Content.Length < 5)
|
|
|
{
|
|
|
- valid.Validation = false;
|
|
|
+ valid.Validation = true;
|
|
|
valid.Result = "保存失败,受理内容字数不足!";
|
|
|
}
|
|
|
break;
|
|
@@ -367,14 +367,14 @@ public class OrderDomainService : IOrderDomainService, IScopeDependency
|
|
|
case "25":
|
|
|
if (dto.Content.Length < 25)
|
|
|
{
|
|
|
- valid.Validation = false;
|
|
|
+ valid.Validation = true;
|
|
|
valid.Result = "保存失败,受理内容字数不足!";
|
|
|
}
|
|
|
break;
|
|
|
default:
|
|
|
if (dto.Content.Length < 5)
|
|
|
{
|
|
|
- valid.Validation = false;
|
|
|
+ valid.Validation = true;
|
|
|
valid.Result = "保存失败,受理内容字数不足!";
|
|
|
}
|
|
|
break;
|