CZT
2023-09-06 71c4fa1e27f75ae4b765c95c67a3069c84dc72ba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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;
    }
}