From 5730601f103ea285d129bf3d89acd649e86c114a Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期三, 08 十二月 2021 10:17:44 +0800
Subject: [PATCH] separate vue files

---
 pamapi/src/main/java/com/pollex/pam/repository/LoginRecordRepository.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pamapi/src/main/java/com/pollex/pam/repository/LoginRecordRepository.java b/pamapi/src/main/java/com/pollex/pam/repository/LoginRecordRepository.java
index 525ee85..6d8f3ab 100644
--- a/pamapi/src/main/java/com/pollex/pam/repository/LoginRecordRepository.java
+++ b/pamapi/src/main/java/com/pollex/pam/repository/LoginRecordRepository.java
@@ -9,5 +9,5 @@
 
 @Repository
 public interface LoginRecordRepository extends JpaRepository<LoginRecord, Long> {
-    Optional<LoginRecord> findTopByAccountAndResultOrderByLoginDate(String account, LoginResult loginResult);
+    Optional<LoginRecord> findTopByAccountAndResultOrderByLoginDateDesc(String account, LoginResult loginResult);
 }

--
Gitblit v1.8.0