관리자 로그인 이력 수정

This commit is contained in:
주수현
2025-06-23 17:22:01 +09:00
parent 6ed0592108
commit 73f3448515
9 changed files with 46 additions and 20 deletions

View File

@@ -7,13 +7,15 @@
<insert id="insert" parameterType="app.module.core.config.adapters.persistence.entity.LoggedInUser">
INSERT INTO logged_in_user
(
app_type,
id,
app_type,
login_id,
clientip,
last_logged_in_at
)
VALUES
(
nextval('logged_in_user_seq'),
#{appType},
#{id},
#{clientIP},
@@ -27,7 +29,7 @@
clientip = #{clientIP},
last_logged_in_at = #{lastLoggedInAt}
WHERE app_type = #{appType}
AND id = #{id}
AND login_id = #{id}
</update>
</mapper>