CZT
2023-11-27 c206acfaedc69c390fb67daa81bc686f58a212ef
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package com.ld.igds.m.dto;
 
import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;
 
public class ReportInoutCheckDataRowMapepr implements
        RowMapper<ReportInoutCheckData> {
 
    @Override
    public ReportInoutCheckData mapRow(ResultSet rs, int rowNum)
            throws SQLException {
        ReportInoutCheckData d = new ReportInoutCheckData();
 
        d.setId(rs.getString("id"));
        d.setDepotId(rs.getString("depotId"));
        d.setDeptId(rs.getString("deptId"));
        d.setUserName(rs.getString("userName"));
        d.setPlateNum(rs.getString("plateNum"));
        d.setCustomerId(rs.getString("customerId"));
        d.setCustomerName(rs.getString("customerName"));
        d.setFoodVariety(rs.getString("foodVariety"));
        d.setFoodLevel(rs.getString("foodLevel"));
        d.setFoodLocation(rs.getString("foodLocation"));
        d.setFoodYear(rs.getString("foodYear"));
        d.setCheckStatus(rs.getString("checkStatus"));
        d.setSettleWeight(rs.getDouble("settleWeight"));
        d.setCompleteTime(rs.getTimestamp("completeTime"));
        d.setRemarks(rs.getString("remarks"));
        d.setStandardId(rs.getString("standardId"));
        d.setStandardName(rs.getString("standardName"));
        d.setLowerLimit(rs.getDouble("lowerLimit"));
        d.setUpperLimit(rs.getDouble("upperLimit"));
        d.setValue(rs.getString("value"));
        d.setStandardId2(rs.getString("standardId2"));
        d.setStandardName2(rs.getString("standardName2"));
        d.setLowerLimit2(rs.getDouble("lowerLimit2"));
        d.setUpperLimit2(rs.getDouble("upperLimit2"));
        d.setValue2(rs.getString("value2"));
 
        return d;
    }
 
}