
--- src/main/resources/mybatis/mapper/loginPolicy/loginMode-SQL.xml
+++ src/main/resources/mybatis/mapper/loginPolicy/loginMode-SQL.xml
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 |
<select id="selectLatestLoginMode" resultType="String"> |
16 | 16 |
SELECT lgn_mode |
17 | 17 |
FROM lgn_mode_hstry |
18 |
- ORDER BY reg_dt ASC |
|
18 |
+ ORDER BY reg_dt DESC |
|
19 | 19 |
LIMIT 1 |
20 | 20 |
</select> |
21 | 21 |
|
--- src/main/resources/mybatis/mapper/loginPolicy/loginPolicy-SQL.xml
+++ src/main/resources/mybatis/mapper/loginPolicy/loginPolicy-SQL.xml
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 |
<select id="selectLatestPolicy" resultType="String"> |
16 | 16 |
SELECT allow_multiple_login |
17 | 17 |
FROM lgn_policy_hstry |
18 |
- ORDER BY reg_dt ASC |
|
18 |
+ ORDER BY reg_dt DESC |
|
19 | 19 |
LIMIT 1 |
20 | 20 |
</select> |
21 | 21 |
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?