package com.consum.model.po;
|
|
import com.walker.jdbc.BaseMapper;
|
import com.walker.jdbc.ResultSetUtils;
|
import com.walker.jdbc.SqlAndParameters;
|
import com.walker.jdbc.sqlgen.DeleteBuilder;
|
import com.walker.jdbc.sqlgen.InsertBuilder;
|
import com.walker.jdbc.sqlgen.SelectBuilder;
|
import com.walker.jdbc.sqlgen.UpdateBuilder;
|
import com.walker.jdbc.util.StringUtils;
|
|
import org.springframework.jdbc.core.RowMapper;
|
|
import java.sql.ResultSet;
|
import java.sql.SQLException;
|
import java.util.Map;
|
|
/**
|
* 表名:WH_FORM_TRANSFER *
|
* @author genrator
|
*/
|
public class WhFormTransfer_mapper extends WhFormTransfer implements BaseMapper<WhFormTransfer> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
public static final RowMapper<WhFormTransfer> ROW_MAPPER = new WhFormTransferRowMapper();
|
|
// 主键
|
public static final String Id = "id";
|
// 普通属性
|
public static final String BusinessFormCode = "business_form_code";
|
public static final String InWarehouseId = "in_warehouse_id";
|
public static final String InWarehouseName = "in_warehouse_name";
|
public static final String OutWarehouseId = "out_warehouse_id";
|
public static final String OutWarehouseName = "out_warehouse_name";
|
public static final String InAgencyId = "in_agency_id";
|
public static final String InAgencyName = "in_agency_name";
|
public static final String OutAgencyId = "out_agency_id";
|
public static final String OutAgencyName = "out_agency_name";
|
public static final String OperatorId = "operator_id";
|
public static final String OperatorName = "operator_name";
|
public static final String CreateTime = "create_time";
|
public static final String States = "states";
|
public static final String OperatorId3 = "operator_id3";
|
public static final String OperatorName3 = "operator_name3";
|
public static final String IninputTime = "ininput_time";
|
public static final String OperatorId2 = "operator_id2";
|
public static final String OperatorName2 = "operator_name2";
|
public static final String OutputTime = "output_time";
|
public static final String Beiz1 = "beiz1";
|
public static final String Beiz2 = "beiz2";
|
public static final String Beiz3 = "beiz3";
|
public static final String ProcureDoc = "procure_doc";
|
|
/**
|
* 默认构造函数
|
*/
|
public WhFormTransfer_mapper(WhFormTransfer whFormTransfer) {
|
if (whFormTransfer == null) {
|
throw new IllegalArgumentException("po参数不允许为空!");
|
}
|
//主键
|
if (whFormTransfer.isset_id) {
|
this.setId(whFormTransfer.getId());
|
}
|
//普通属性
|
if (whFormTransfer.isset_businessFormCode) {
|
this.setBusinessFormCode(whFormTransfer.getBusinessFormCode());
|
}
|
if (whFormTransfer.isset_inWarehouseId) {
|
this.setInWarehouseId(whFormTransfer.getInWarehouseId());
|
}
|
if (whFormTransfer.isset_inWarehouseName) {
|
this.setInWarehouseName(whFormTransfer.getInWarehouseName());
|
}
|
if (whFormTransfer.isset_outWarehouseId) {
|
this.setOutWarehouseId(whFormTransfer.getOutWarehouseId());
|
}
|
if (whFormTransfer.isset_outWarehouseName) {
|
this.setOutWarehouseName(whFormTransfer.getOutWarehouseName());
|
}
|
if (whFormTransfer.isset_inAgencyId) {
|
this.setInAgencyId(whFormTransfer.getInAgencyId());
|
}
|
if (whFormTransfer.isset_inAgencyName) {
|
this.setInAgencyName(whFormTransfer.getInAgencyName());
|
}
|
if (whFormTransfer.isset_outAgencyId) {
|
this.setOutAgencyId(whFormTransfer.getOutAgencyId());
|
}
|
if (whFormTransfer.isset_outAgencyName) {
|
this.setOutAgencyName(whFormTransfer.getOutAgencyName());
|
}
|
if (whFormTransfer.isset_operatorId) {
|
this.setOperatorId(whFormTransfer.getOperatorId());
|
}
|
if (whFormTransfer.isset_operatorName) {
|
this.setOperatorName(whFormTransfer.getOperatorName());
|
}
|
if (whFormTransfer.isset_createTime) {
|
this.setCreateTime(whFormTransfer.getCreateTime());
|
}
|
if (whFormTransfer.isset_states) {
|
this.setStates(whFormTransfer.getStates());
|
}
|
if (whFormTransfer.isset_operatorId3) {
|
this.setOperatorId3(whFormTransfer.getOperatorId3());
|
}
|
if (whFormTransfer.isset_operatorName3) {
|
this.setOperatorName3(whFormTransfer.getOperatorName3());
|
}
|
if (whFormTransfer.isset_ininputTime) {
|
this.setIninputTime(whFormTransfer.getIninputTime());
|
}
|
if (whFormTransfer.isset_operatorId2) {
|
this.setOperatorId2(whFormTransfer.getOperatorId2());
|
}
|
if (whFormTransfer.isset_operatorName2) {
|
this.setOperatorName2(whFormTransfer.getOperatorName2());
|
}
|
if (whFormTransfer.isset_outputTime) {
|
this.setOutputTime(whFormTransfer.getOutputTime());
|
}
|
if (whFormTransfer.isset_beiz1) {
|
this.setBeiz1(whFormTransfer.getBeiz1());
|
}
|
if (whFormTransfer.isset_beiz2) {
|
this.setBeiz2(whFormTransfer.getBeiz2());
|
}
|
if (whFormTransfer.isset_beiz3) {
|
this.setBeiz3(whFormTransfer.getBeiz3());
|
}
|
if (whFormTransfer.isset_procureDoc) {
|
this.setProcureDoc(whFormTransfer.getProcureDoc());
|
}
|
// 去掉,2022-09-07
|
// this.setDatabaseName_(wh_form_transfer.getDatabaseName_());
|
}
|
|
/**
|
* 获取表名
|
*/
|
@Override
|
public String getTableName_() {
|
String tableName = "wh_form_transfer";
|
/**
|
if (StringUtils.isNotEmpty(this.getDatabaseName_())) {
|
return this.getDatabaseName_() + "." + tableName;
|
} else {
|
return tableName;
|
}
|
*/
|
return tableName;
|
}
|
|
/**
|
* 获取主键名称
|
*/
|
@Override
|
public String getPkName_() {
|
return Id;
|
}
|
|
/**
|
* 获取主键值
|
*/
|
@Override
|
public Object getPkValue_() {
|
return this.getId();
|
}
|
|
/**
|
* 获取插入语句和参数
|
*/
|
@Override
|
public SqlAndParameters<Map<String, Object>> getInsertSql_() {
|
InsertBuilder ib = new InsertBuilder(this.getTableName_());
|
ib.set(Id, this.getId());
|
ib.set(BusinessFormCode, this.getBusinessFormCode(), this.isset_businessFormCode);
|
ib.set(InWarehouseId, this.getInWarehouseId(), this.isset_inWarehouseId);
|
ib.set(InWarehouseName, this.getInWarehouseName(), this.isset_inWarehouseName);
|
ib.set(OutWarehouseId, this.getOutWarehouseId(), this.isset_outWarehouseId);
|
ib.set(OutWarehouseName, this.getOutWarehouseName(), this.isset_outWarehouseName);
|
ib.set(InAgencyId, this.getInAgencyId(), this.isset_inAgencyId);
|
ib.set(InAgencyName, this.getInAgencyName(), this.isset_inAgencyName);
|
ib.set(OutAgencyId, this.getOutAgencyId(), this.isset_outAgencyId);
|
ib.set(OutAgencyName, this.getOutAgencyName(), this.isset_outAgencyName);
|
ib.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
|
ib.set(OperatorName, this.getOperatorName(), this.isset_operatorName);
|
ib.set(CreateTime, this.getCreateTime(), this.isset_createTime);
|
ib.set(States, this.getStates(), this.isset_states);
|
ib.set(OperatorId3, this.getOperatorId3(), this.isset_operatorId3);
|
ib.set(OperatorName3, this.getOperatorName3(), this.isset_operatorName3);
|
ib.set(IninputTime, this.getIninputTime(), this.isset_ininputTime);
|
ib.set(OperatorId2, this.getOperatorId2(), this.isset_operatorId2);
|
ib.set(OperatorName2, this.getOperatorName2(), this.isset_operatorName2);
|
ib.set(OutputTime, this.getOutputTime(), this.isset_outputTime);
|
ib.set(Beiz1, this.getBeiz1(), this.isset_beiz1);
|
ib.set(Beiz2, this.getBeiz2(), this.isset_beiz2);
|
ib.set(Beiz3, this.getBeiz3(), this.isset_beiz3);
|
ib.set(ProcureDoc, this.getProcureDoc(), this.isset_procureDoc);
|
return ib.genMapSql();
|
}
|
|
/**
|
* 获取更新语句和参数
|
*/
|
@Override
|
public SqlAndParameters<Map<String, Object>> getUpdateSql_() {
|
UpdateBuilder ub = new UpdateBuilder(this.getTableName_());
|
ub.set(BusinessFormCode, this.getBusinessFormCode(), this.isset_businessFormCode);
|
ub.set(InWarehouseId, this.getInWarehouseId(), this.isset_inWarehouseId);
|
ub.set(InWarehouseName, this.getInWarehouseName(), this.isset_inWarehouseName);
|
ub.set(OutWarehouseId, this.getOutWarehouseId(), this.isset_outWarehouseId);
|
ub.set(OutWarehouseName, this.getOutWarehouseName(), this.isset_outWarehouseName);
|
ub.set(InAgencyId, this.getInAgencyId(), this.isset_inAgencyId);
|
ub.set(InAgencyName, this.getInAgencyName(), this.isset_inAgencyName);
|
ub.set(OutAgencyId, this.getOutAgencyId(), this.isset_outAgencyId);
|
ub.set(OutAgencyName, this.getOutAgencyName(), this.isset_outAgencyName);
|
ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
|
ub.set(OperatorName, this.getOperatorName(), this.isset_operatorName);
|
ub.set(CreateTime, this.getCreateTime(), this.isset_createTime);
|
ub.set(States, this.getStates(), this.isset_states);
|
ub.set(OperatorId3, this.getOperatorId3(), this.isset_operatorId3);
|
ub.set(OperatorName3, this.getOperatorName3(), this.isset_operatorName3);
|
ub.set(IninputTime, this.getIninputTime(), this.isset_ininputTime);
|
ub.set(OperatorId2, this.getOperatorId2(), this.isset_operatorId2);
|
ub.set(OperatorName2, this.getOperatorName2(), this.isset_operatorName2);
|
ub.set(OutputTime, this.getOutputTime(), this.isset_outputTime);
|
ub.set(Beiz1, this.getBeiz1(), this.isset_beiz1);
|
ub.set(Beiz2, this.getBeiz2(), this.isset_beiz2);
|
ub.set(Beiz3, this.getBeiz3(), this.isset_beiz3);
|
ub.set(ProcureDoc, this.getProcureDoc(), this.isset_procureDoc);
|
ub.where(this.getPkName_(), this.getPkValue_());
|
return ub.genMapSql();
|
}
|
|
/**
|
* 获取更新语句和参数
|
*/
|
@Override
|
public SqlAndParameters<Map<String, Object>> getUpdateSql_(String where, Map<String, Object> parameters) {
|
UpdateBuilder ub = new UpdateBuilder(this.getTableName_());
|
ub.set(BusinessFormCode, this.getBusinessFormCode(), this.isset_businessFormCode);
|
ub.set(InWarehouseId, this.getInWarehouseId(), this.isset_inWarehouseId);
|
ub.set(InWarehouseName, this.getInWarehouseName(), this.isset_inWarehouseName);
|
ub.set(OutWarehouseId, this.getOutWarehouseId(), this.isset_outWarehouseId);
|
ub.set(OutWarehouseName, this.getOutWarehouseName(), this.isset_outWarehouseName);
|
ub.set(InAgencyId, this.getInAgencyId(), this.isset_inAgencyId);
|
ub.set(InAgencyName, this.getInAgencyName(), this.isset_inAgencyName);
|
ub.set(OutAgencyId, this.getOutAgencyId(), this.isset_outAgencyId);
|
ub.set(OutAgencyName, this.getOutAgencyName(), this.isset_outAgencyName);
|
ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
|
ub.set(OperatorName, this.getOperatorName(), this.isset_operatorName);
|
ub.set(CreateTime, this.getCreateTime(), this.isset_createTime);
|
ub.set(States, this.getStates(), this.isset_states);
|
ub.set(OperatorId3, this.getOperatorId3(), this.isset_operatorId3);
|
ub.set(OperatorName3, this.getOperatorName3(), this.isset_operatorName3);
|
ub.set(IninputTime, this.getIninputTime(), this.isset_ininputTime);
|
ub.set(OperatorId2, this.getOperatorId2(), this.isset_operatorId2);
|
ub.set(OperatorName2, this.getOperatorName2(), this.isset_operatorName2);
|
ub.set(OutputTime, this.getOutputTime(), this.isset_outputTime);
|
ub.set(Beiz1, this.getBeiz1(), this.isset_beiz1);
|
ub.set(Beiz2, this.getBeiz2(), this.isset_beiz2);
|
ub.set(Beiz3, this.getBeiz3(), this.isset_beiz3);
|
ub.set(ProcureDoc, this.getProcureDoc(), this.isset_procureDoc);
|
return ub.genMapSql(where, parameters);
|
}
|
|
/**
|
* 获取更新语句和参数
|
*/
|
@Override
|
public SqlAndParameters<Object[]> getUpdateSql_(String where, Object[] parameters) {
|
UpdateBuilder ub = new UpdateBuilder(this.getTableName_());
|
ub.set(BusinessFormCode, this.getBusinessFormCode(), this.isset_businessFormCode);
|
ub.set(InWarehouseId, this.getInWarehouseId(), this.isset_inWarehouseId);
|
ub.set(InWarehouseName, this.getInWarehouseName(), this.isset_inWarehouseName);
|
ub.set(OutWarehouseId, this.getOutWarehouseId(), this.isset_outWarehouseId);
|
ub.set(OutWarehouseName, this.getOutWarehouseName(), this.isset_outWarehouseName);
|
ub.set(InAgencyId, this.getInAgencyId(), this.isset_inAgencyId);
|
ub.set(InAgencyName, this.getInAgencyName(), this.isset_inAgencyName);
|
ub.set(OutAgencyId, this.getOutAgencyId(), this.isset_outAgencyId);
|
ub.set(OutAgencyName, this.getOutAgencyName(), this.isset_outAgencyName);
|
ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
|
ub.set(OperatorName, this.getOperatorName(), this.isset_operatorName);
|
ub.set(CreateTime, this.getCreateTime(), this.isset_createTime);
|
ub.set(States, this.getStates(), this.isset_states);
|
ub.set(OperatorId3, this.getOperatorId3(), this.isset_operatorId3);
|
ub.set(OperatorName3, this.getOperatorName3(), this.isset_operatorName3);
|
ub.set(IninputTime, this.getIninputTime(), this.isset_ininputTime);
|
ub.set(OperatorId2, this.getOperatorId2(), this.isset_operatorId2);
|
ub.set(OperatorName2, this.getOperatorName2(), this.isset_operatorName2);
|
ub.set(OutputTime, this.getOutputTime(), this.isset_outputTime);
|
ub.set(Beiz1, this.getBeiz1(), this.isset_beiz1);
|
ub.set(Beiz2, this.getBeiz2(), this.isset_beiz2);
|
ub.set(Beiz3, this.getBeiz3(), this.isset_beiz3);
|
ub.set(ProcureDoc, this.getProcureDoc(), this.isset_procureDoc);
|
return ub.genArraySql(where, parameters);
|
}
|
|
/**
|
* 获取删除语句和参数
|
*/
|
@Override
|
public SqlAndParameters<Map<String, Object>> getDeleteSql_() {
|
DeleteBuilder db = new DeleteBuilder(this.getTableName_());
|
db.where(this.getPkName_(), this.getPkValue_());
|
return db.genMapSql();
|
}
|
|
/**
|
* 获取删除语句和参数
|
*/
|
@Override
|
public SqlAndParameters<Map<String, Object>> getDeleteSql_(String where, Map<String, Object> parameters) {
|
DeleteBuilder db = new DeleteBuilder(this.getTableName_());
|
return db.genMapSql(where, parameters);
|
}
|
|
/**
|
* 获取删除语句和参数
|
*/
|
@Override
|
public SqlAndParameters<Object[]> getDeleteSql_(String where, Object[] parameters) {
|
DeleteBuilder db = new DeleteBuilder(this.getTableName_());
|
return db.genArraySql(where, parameters);
|
}
|
|
/**
|
* 获取单行查询语句和参数
|
*/
|
@Override
|
public SqlAndParameters<Map<String, Object>> getSingleSql_() {
|
SelectBuilder sb = new SelectBuilder(this.getTableName_());
|
sb.where(this.getPkName_(), this.getPkValue_());
|
return sb.genMapSql();
|
}
|
|
|
/**
|
* 获取查询语句和参数
|
*/
|
@Override
|
public SqlAndParameters<Map<String, Object>> getSelectSql_(String where, Map<String, Object> parameters) {
|
return new SqlAndParameters<>("select id, business_form_code, in_warehouse_id, in_warehouse_name, out_warehouse_id, out_warehouse_name, in_agency_id, in_agency_name, out_agency_id, out_agency_name, operator_id, operator_name, create_time, states, operator_id3, operator_name3, ininput_time, operator_id2, operator_name2, output_time, beiz1, beiz2, beiz3, procure_doc from " + this.getTableName_() + " " + where, parameters);
|
}
|
|
/**
|
* 获取查询语句和参数
|
*/
|
@Override
|
public SqlAndParameters<Object[]> getSelectSql_(String where, Object[] parameters) {
|
return new SqlAndParameters<>("select id, business_form_code, in_warehouse_id, in_warehouse_name, out_warehouse_id, out_warehouse_name, in_agency_id, in_agency_name, out_agency_id, out_agency_name, operator_id, operator_name, create_time, states, operator_id3, operator_name3, ininput_time, operator_id2, operator_name2, output_time, beiz1, beiz2, beiz3, procure_doc from " + this.getTableName_() + " " + where, parameters);
|
}
|
|
/**
|
* 将resultset的一行转化为po
|
*/
|
@Override
|
public WhFormTransfer mapRow(ResultSet rs, int i) throws SQLException {
|
return ROW_MAPPER.mapRow(rs, i);
|
}
|
|
/**
|
* 克隆
|
*/
|
public WhFormTransfer toWhFormTransfer() {
|
return super.$clone();
|
}
|
}
|
|
/**
|
* wh_form_transfer RowMapper
|
*
|
* @author genrator
|
*/
|
class WhFormTransferRowMapper implements RowMapper<WhFormTransfer> {
|
|
@Override
|
public WhFormTransfer mapRow(ResultSet rs, int i) throws SQLException {
|
ResultSetUtils resultSetUtils = new ResultSetUtils();
|
WhFormTransfer wh_form_transfer = new WhFormTransfer();
|
Integer columnIndex;
|
//主键
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.Id);
|
if (columnIndex > 0) {
|
wh_form_transfer.setId(rs.getLong(columnIndex));
|
}
|
//普通属性
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.BusinessFormCode);
|
if (columnIndex > 0) {
|
wh_form_transfer.setBusinessFormCode(rs.getString(columnIndex));
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.InWarehouseId);
|
if (columnIndex > 0) {
|
if (rs.getBigDecimal(columnIndex) == null) {
|
wh_form_transfer.setInWarehouseId(null);
|
} else {
|
wh_form_transfer.setInWarehouseId(rs.getLong(columnIndex));
|
}
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.InWarehouseName);
|
if (columnIndex > 0) {
|
wh_form_transfer.setInWarehouseName(rs.getString(columnIndex));
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.OutWarehouseId);
|
if (columnIndex > 0) {
|
if (rs.getBigDecimal(columnIndex) == null) {
|
wh_form_transfer.setOutWarehouseId(null);
|
} else {
|
wh_form_transfer.setOutWarehouseId(rs.getLong(columnIndex));
|
}
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.OutWarehouseName);
|
if (columnIndex > 0) {
|
wh_form_transfer.setOutWarehouseName(rs.getString(columnIndex));
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.InAgencyId);
|
if (columnIndex > 0) {
|
if (rs.getBigDecimal(columnIndex) == null) {
|
wh_form_transfer.setInAgencyId(null);
|
} else {
|
wh_form_transfer.setInAgencyId(rs.getLong(columnIndex));
|
}
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.InAgencyName);
|
if (columnIndex > 0) {
|
wh_form_transfer.setInAgencyName(rs.getString(columnIndex));
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.OutAgencyId);
|
if (columnIndex > 0) {
|
if (rs.getBigDecimal(columnIndex) == null) {
|
wh_form_transfer.setOutAgencyId(null);
|
} else {
|
wh_form_transfer.setOutAgencyId(rs.getLong(columnIndex));
|
}
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.OutAgencyName);
|
if (columnIndex > 0) {
|
wh_form_transfer.setOutAgencyName(rs.getString(columnIndex));
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.OperatorId);
|
if (columnIndex > 0) {
|
if (rs.getBigDecimal(columnIndex) == null) {
|
wh_form_transfer.setOperatorId(null);
|
} else {
|
wh_form_transfer.setOperatorId(rs.getLong(columnIndex));
|
}
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.OperatorName);
|
if (columnIndex > 0) {
|
wh_form_transfer.setOperatorName(rs.getString(columnIndex));
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.CreateTime);
|
if (columnIndex > 0) {
|
if (rs.getBigDecimal(columnIndex) == null) {
|
wh_form_transfer.setCreateTime(null);
|
} else {
|
wh_form_transfer.setCreateTime(rs.getLong(columnIndex));
|
}
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.States);
|
if (columnIndex > 0) {
|
if (rs.getBigDecimal(columnIndex) == null) {
|
wh_form_transfer.setStates(null);
|
} else {
|
wh_form_transfer.setStates(rs.getInt(columnIndex));
|
}
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.OperatorId3);
|
if (columnIndex > 0) {
|
if (rs.getBigDecimal(columnIndex) == null) {
|
wh_form_transfer.setOperatorId3(null);
|
} else {
|
wh_form_transfer.setOperatorId3(rs.getLong(columnIndex));
|
}
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.OperatorName3);
|
if (columnIndex > 0) {
|
wh_form_transfer.setOperatorName3(rs.getString(columnIndex));
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.IninputTime);
|
if (columnIndex > 0) {
|
if (rs.getBigDecimal(columnIndex) == null) {
|
wh_form_transfer.setIninputTime(null);
|
} else {
|
wh_form_transfer.setIninputTime(rs.getLong(columnIndex));
|
}
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.OperatorId2);
|
if (columnIndex > 0) {
|
if (rs.getBigDecimal(columnIndex) == null) {
|
wh_form_transfer.setOperatorId2(null);
|
} else {
|
wh_form_transfer.setOperatorId2(rs.getLong(columnIndex));
|
}
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.OperatorName2);
|
if (columnIndex > 0) {
|
wh_form_transfer.setOperatorName2(rs.getString(columnIndex));
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.OutputTime);
|
if (columnIndex > 0) {
|
if (rs.getBigDecimal(columnIndex) == null) {
|
wh_form_transfer.setOutputTime(null);
|
} else {
|
wh_form_transfer.setOutputTime(rs.getLong(columnIndex));
|
}
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.Beiz1);
|
if (columnIndex > 0) {
|
wh_form_transfer.setBeiz1(rs.getString(columnIndex));
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.Beiz2);
|
if (columnIndex > 0) {
|
wh_form_transfer.setBeiz2(rs.getString(columnIndex));
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.Beiz3);
|
if (columnIndex > 0) {
|
wh_form_transfer.setBeiz3(rs.getString(columnIndex));
|
}
|
columnIndex = resultSetUtils.findColumn(rs, WhFormTransfer_mapper.ProcureDoc);
|
if (columnIndex > 0) {
|
wh_form_transfer.setProcureDoc(rs.getString(columnIndex));
|
}
|
return wh_form_transfer;
|
}
|
}
|