
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ajin.ajinerp.user.member.dao.LoginDAO">
<!-- 로그인 매퍼 -->
<resultMap id="loginLog" type="LoginLogVO">
<result property="userid" column="USERID" />
<result property="usernm" column="USERNM" />
<result property="contgu" column="CONTGU" />
<result property="errxxx" column="ERRXXX" />
<result property="ipaddr" column="IPADDR" />
<result property="tmlreg" column="TMLREG" />
<result property="macadd" column="MACADD" />
<result property="sysdat" column="SYSDAT" />
<result property="systim" column="SYSTIM" />
</resultMap>
<!-- 2.로그인 로그 -->
<insert id="insertLoginLog" parameterType="LoginLogVO">
INSERT INTO USLOGXXT
(
USERID,
USERNM,
CONTGU,
ERRXXX,
IPADDR,
TMLREG,
SYSDAT,
SYSTIM)
VALUES
(#{userid},
#{usernm},
#{contgu},
#{errxxx},
#{ipaddr},
#{tmlreg},
TO_CHAR(SYSDATE, 'YYYYMMDD'), -- 현재 날짜를 YYYYMMDD 포맷으로 변환
TO_CHAR(SYSDATE, 'HH24MISS')) -- 현재 시간을 HH24MISS 포맷으로 변환
</insert>
</mapper>