# OcapStepOwnerRowMapper.java

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

    import com.mycim.framework.jdbc.mapper.RowMapper;
    import com.mycim.valueobject.ocap.OcapStepOwner;

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

    /**
     * @author songpy
     * @version 6.0.0
     * @date 2021/6/10
     **/
    public class OcapStepOwnerRowMapper implements RowMapper<OcapStepOwner> {
        @Override
        public OcapStepOwner mapRow(ResultSet rs, int rowNum) throws SQLException {
            OcapStepOwner stepOwner = new OcapStepOwner();
            stepOwner.setStepOwnerRrn(rs.getLong("STEP_OWNER_RRN"));
            stepOwner.setStepOwnerId(rs.getString("STEP_OWNER_ID"));
            return stepOwner;
        }

    }