# PiLotRcpRowMapper.java

    package com.mycim.server.wip.dao.mapper;

    import com.mycim.framework.jdbc.mapper.RowMapper;
    import com.mycim.valueobject.ems.pilot.PiLotRcpMaping;

    import java.sql.ResultSet;
    import java.sql.SQLException;

    /**
     * @author Qiansheng.Wang
     * @since 2020-01-07
     */
    public class PiLotRcpRowMapper implements RowMapper<PiLotRcpMaping> {

        @Override
        public PiLotRcpMaping mapRow(ResultSet rs, int rowNum) throws SQLException {
            PiLotRcpMaping piLotRcpMaping = new PiLotRcpMaping();
            piLotRcpMaping.setRcpGrpRrn(rs.getLong("rcp_grp_rrn"));
            piLotRcpMaping.setRcpGrpId(rs.getString("rcp_grp_id"));
            piLotRcpMaping.setRcpId(rs.getString("recipe_id"));
            piLotRcpMaping.setRcpRrn(rs.getLong("recipe_rrn"));
            return piLotRcpMaping;
        }

    }