Skip to content

Commit 90d1aaa

Browse files
authored
Merge pull request #100 from SynergyX-AI-Pattern/feat/#93_backtest_ranking
[REFACTOR] 관리자 계정 백테스팅 랭킹 반영 제외 #93
2 parents 82f5326 + 4dce833 commit 90d1aaa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/synergyx/trading/repository/BacktestRankingRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public interface BacktestRankingRepository extends JpaRepository<Backtest, Long>
3030
)
3131
FROM Backtest b
3232
WHERE b.executedAt BETWEEN :startOfMonth AND :endOfMonth
33-
AND b.user.username <> '탈퇴회원'
33+
AND b.user.username NOT IN ('탈퇴회원', 'admin')
3434
AND b.maxReturn = (
3535
SELECT MAX(b2.maxReturn)
3636
FROM Backtest b2

0 commit comments

Comments
 (0)