package kr.xit.batch.ens.rowmapper;


import java.sql.ResultSet;
import java.sql.SQLException;
import kr.xit.core.biz.model.LoggingDTO;
import org.springframework.jdbc.core.RowMapper;

/**
 * <pre>
 * description :
 *
 * packageName : kr.xit.batch.ens.rowmapper
 * fileName    : LoggingRowMapper
 * author      : limju
 * date        : 2023-05-16
 * ======================================================================
 * 변경일         변경자        변경 내용
 * ----------------------------------------------------------------------
 * 2023-05-16    limju       최초 생성
 *
 * </pre>
 */
public class LoggingRowMapper implements RowMapper<LoggingDTO> {
    @Override
    public LoggingDTO mapRow(ResultSet rs, int rowNum) throws SQLException {
        LoggingDTO dto = new LoggingDTO();
        dto.setRequestId(rs.getString("requestId"));
        return dto;
    }
}
