package com.ld.igds.inout.dto;
|
|
import org.springframework.jdbc.core.RowMapper;
|
|
import java.sql.ResultSet;
|
import java.sql.SQLException;
|
|
|
public class ReportInoutShipRowMapper1 implements RowMapper<ReportInoutShipData> {
|
@Override
|
public ReportInoutShipData mapRow(ResultSet rs, int rowNum) throws SQLException {
|
ReportInoutShipData d = new ReportInoutShipData();
|
d.setId(rs.getString("ID_"));
|
d.setPlateNum(rs.getString("PLATE_NUM_"));
|
d.setCustomerId(rs.getString("CUSTOMER_ID_"));
|
d.setCustomerName(rs.getString("CUSTOMER_NAME_"));
|
d.setFoodVariety(rs.getString("FOOD_VARIETY_"));
|
d.setDepotId(rs.getString("DEPOT_ID_"));
|
d.setType(rs.getString("TYPE_"));
|
d.setProgress(rs.getString("PROGRESS_"));
|
d.setFullWeight(rs.getDouble("FULL_WEIGHT_"));
|
d.setEmptyWeight(rs.getDouble("EMPTY_WEIGHT_"));
|
d.setNetWeight(rs.getDouble("NET_WEIGHT_"));
|
d.setDeSum(rs.getDouble("DE_SUM_"));
|
d.setSettleWeight(rs.getDouble("SETTLE_WEIGHT_"));
|
d.setCompleteTime(rs.getTimestamp("COMPLETE_TIME_"));
|
return d;
|
}
|
}
|