@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Version>3.3.0</Version>
<Version>3.3.1</Version>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>EasyAbp Team</Authors>
@ -22,7 +22,10 @@ namespace EasyAbp.EShop.Orders.Orders.Dtos
public override IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
{
base.Validate(validationContext);
foreach (var result in base.Validate(validationContext))
yield return result;
}
if (OrderLines.Count == 0)
@ -15,7 +15,10 @@ namespace EasyAbp.EShop.Payments.Payments.Dtos
if (OrderIds.Count == 0)
@ -25,7 +25,10 @@ namespace EasyAbp.EShop.Payments.Refunds.Dtos
if (RefundItems.IsNullOrEmpty())
@ -55,7 +55,10 @@ namespace EasyAbp.EShop.Products.Products.Dtos
if (PaymentExpireIn.HasValue && PaymentExpireIn.Value < TimeSpan.Zero)
@ -50,7 +50,10 @@ namespace EasyAbp.EShop.Products.Products.Dtos
@ -23,7 +23,10 @@ namespace EasyAbp.EShop.Plugins.Baskets.BasketItems.Dtos
if (Quantity <= 0)
@ -12,7 +12,10 @@ namespace EasyAbp.EShop.Plugins.Baskets.BasketItems.Dtos