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

  <!--
    메일 발송용 계정 조회 (SMTP 자격증명 포함)
    Node.js mailAccountFileService.getAccountById(accountId) 대응
  -->
  <select id="getMailAccount" parameterType="map" resultType="map">
    SELECT *
    FROM MAIL_ACCOUNT_FILE
    WHERE ID = #{account_id}
    <include refid="common.companyCodeFilter"/>
  </select>

</mapper>
