<?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">

<!-- UIWS 이식(2FA): 로그인 2차 검증 이력 (tb_uiws_login_verify). -->
<mapper namespace="com.zioinfo.esn.uiws.auth.LoginVerifyMapper">

    <insert id="insert" useGeneratedKeys="true" keyProperty="verifyId" keyColumn="verify_id"
            parameterType="com.zioinfo.esn.uiws.auth.UiwsLoginVerify">
        INSERT INTO tb_uiws_login_verify
            (user_id, verify_method, verify_code, expire_at, verified_yn, created_by, created_at)
        VALUES
            (#{userId}, #{verifyMethod}, #{verifyCode}, #{expireAt}, #{verifiedYn}, #{createdBy}, #{createdAt})
    </insert>

</mapper>
