yuanrf 6 일 전
부모
커밋
2294282300
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      OASystem/OASystem.Infrastructure/Repositories/Groups/DecreasePaymentsRepository.cs

+ 2 - 2
OASystem/OASystem.Infrastructure/Repositories/Groups/DecreasePaymentsRepository.cs

@@ -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;
                                         }