|
@@ -314,7 +314,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
settingPrice *= cycleUnit;
|
|
|
}
|
|
|
|
|
|
- if (dto.Price <= settingPrice && dto.FeeTotal <= availableAmount && dto.FeeTotal <= setting.Quantity)
|
|
|
+ if (dto.Price <= settingPrice && dto.FeeTotal <= availableAmount && dto.Quantity <= setting.Quantity)
|
|
|
{
|
|
|
isAuto = true;
|
|
|
}
|
|
@@ -470,7 +470,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
settingPrice *= cycleUnit;
|
|
|
}
|
|
|
|
|
|
- if (dto.Price <= settingPrice && dto.FeeTotal <= availableAmount && dto.FeeTotal <= setting.Quantity)
|
|
|
+ if (dto.Price <= settingPrice && dto.FeeTotal <= availableAmount && dto.Quantity <= setting.Quantity)
|
|
|
{
|
|
|
isAuto = true;
|
|
|
}
|