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; /** * 表名:DEP_FORM_LENDING_MODEL * * @author genrator */ public class DepFormLendingModel_mapper extends DepFormLendingModel implements BaseMapper { // 序列化版本号 private static final long serialVersionUID = 1L; public static final RowMapper ROW_MAPPER = new DepFormLendingModelRowMapper(); // 主键 public static final String Id = "id"; // 普通属性 public static final String Counts = "counts"; public static final String DepFormLendingGoodsId = "dep_form_lending_goods_id"; public static final String DepFormLendingId = "dep_form_lending_id"; public static final String WhGoodsDetailsId = "wh_goods_details_id"; public static final String UsingGoodsHisId = "using_goods_his_id"; public static final String NowUserPhone = "now_user_phone"; public static final String NowUserName = "now_user_name"; public static final String Beiz = "beiz"; public static final String WhGoodsId = "wh_goods_id"; public static final String UsingCount = "using_count"; public static final String WarehouseId = "warehouse_id"; public static final String WarehouseName = "warehouse_name"; public static final String AgencyId = "agency_id"; public static final String AgencyName = "agency_name"; public static final String DepartmentId = "department_id"; public static final String DepartmentName = "department_name"; public static final String BaseGoodsTemplateId = "base_goods_template_id"; public static final String BaseGoodsTemplateName = "base_goods_template_name"; public static final String Unit = "unit"; public static final String BaseGoodsModelsId = "base_goods_models_id"; public static final String BaseGoodsModelsName = "base_goods_models_name"; public static final String Price = "price"; public static final String ProcureDate = "procure_date"; /** * 默认构造函数 */ public DepFormLendingModel_mapper(DepFormLendingModel depFormLendingModel) { if (depFormLendingModel == null) { throw new IllegalArgumentException("po参数不允许为空!"); } //主键 if (depFormLendingModel.isset_id) { this.setId(depFormLendingModel.getId()); } //普通属性 if (depFormLendingModel.isset_counts) { this.setCounts(depFormLendingModel.getCounts()); } if (depFormLendingModel.isset_depFormLendingGoodsId) { this.setDepFormLendingGoodsId(depFormLendingModel.getDepFormLendingGoodsId()); } if (depFormLendingModel.isset_depFormLendingId) { this.setDepFormLendingId(depFormLendingModel.getDepFormLendingId()); } if (depFormLendingModel.isset_whGoodsDetailsId) { this.setWhGoodsDetailsId(depFormLendingModel.getWhGoodsDetailsId()); } if (depFormLendingModel.isset_usingGoodsHisId) { this.setUsingGoodsHisId(depFormLendingModel.getUsingGoodsHisId()); } if (depFormLendingModel.isset_nowUserPhone) { this.setNowUserPhone(depFormLendingModel.getNowUserPhone()); } if (depFormLendingModel.isset_nowUserName) { this.setNowUserName(depFormLendingModel.getNowUserName()); } if (depFormLendingModel.isset_beiz) { this.setBeiz(depFormLendingModel.getBeiz()); } if (depFormLendingModel.isset_whGoodsId) { this.setWhGoodsId(depFormLendingModel.getWhGoodsId()); } if (depFormLendingModel.isset_usingCount) { this.setUsingCount(depFormLendingModel.getUsingCount()); } if (depFormLendingModel.isset_warehouseId) { this.setWarehouseId(depFormLendingModel.getWarehouseId()); } if (depFormLendingModel.isset_warehouseName) { this.setWarehouseName(depFormLendingModel.getWarehouseName()); } if (depFormLendingModel.isset_agencyId) { this.setAgencyId(depFormLendingModel.getAgencyId()); } if (depFormLendingModel.isset_agencyName) { this.setAgencyName(depFormLendingModel.getAgencyName()); } if (depFormLendingModel.isset_departmentId) { this.setDepartmentId(depFormLendingModel.getDepartmentId()); } if (depFormLendingModel.isset_departmentName) { this.setDepartmentName(depFormLendingModel.getDepartmentName()); } if (depFormLendingModel.isset_baseGoodsTemplateId) { this.setBaseGoodsTemplateId(depFormLendingModel.getBaseGoodsTemplateId()); } if (depFormLendingModel.isset_baseGoodsTemplateName) { this.setBaseGoodsTemplateName(depFormLendingModel.getBaseGoodsTemplateName()); } if (depFormLendingModel.isset_unit) { this.setUnit(depFormLendingModel.getUnit()); } if (depFormLendingModel.isset_baseGoodsModelsId) { this.setBaseGoodsModelsId(depFormLendingModel.getBaseGoodsModelsId()); } if (depFormLendingModel.isset_baseGoodsModelsName) { this.setBaseGoodsModelsName(depFormLendingModel.getBaseGoodsModelsName()); } if (depFormLendingModel.isset_price) { this.setPrice(depFormLendingModel.getPrice()); } if (depFormLendingModel.isset_procureDate) { this.setProcureDate(depFormLendingModel.getProcureDate()); } // 去掉,2022-09-07 // this.setDatabaseName_(dep_form_lending_model.getDatabaseName_()); } /** * 获取表名 */ @Override public String getTableName_() { String tableName = "dep_form_lending_model"; /** 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> getInsertSql_() { InsertBuilder ib = new InsertBuilder(this.getTableName_()); ib.set(Id, this.getId()); ib.set(Counts, this.getCounts(), this.isset_counts); ib.set(DepFormLendingGoodsId, this.getDepFormLendingGoodsId(), this.isset_depFormLendingGoodsId); ib.set(DepFormLendingId, this.getDepFormLendingId(), this.isset_depFormLendingId); ib.set(WhGoodsDetailsId, this.getWhGoodsDetailsId(), this.isset_whGoodsDetailsId); ib.set(UsingGoodsHisId, this.getUsingGoodsHisId(), this.isset_usingGoodsHisId); ib.set(NowUserPhone, this.getNowUserPhone(), this.isset_nowUserPhone); ib.set(NowUserName, this.getNowUserName(), this.isset_nowUserName); ib.set(Beiz, this.getBeiz(), this.isset_beiz); ib.set(WhGoodsId, this.getWhGoodsId(), this.isset_whGoodsId); ib.set(UsingCount, this.getUsingCount(), this.isset_usingCount); ib.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId); ib.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName); ib.set(AgencyId, this.getAgencyId(), this.isset_agencyId); ib.set(AgencyName, this.getAgencyName(), this.isset_agencyName); ib.set(DepartmentId, this.getDepartmentId(), this.isset_departmentId); ib.set(DepartmentName, this.getDepartmentName(), this.isset_departmentName); ib.set(BaseGoodsTemplateId, this.getBaseGoodsTemplateId(), this.isset_baseGoodsTemplateId); ib.set(BaseGoodsTemplateName, this.getBaseGoodsTemplateName(), this.isset_baseGoodsTemplateName); ib.set(Unit, this.getUnit(), this.isset_unit); ib.set(BaseGoodsModelsId, this.getBaseGoodsModelsId(), this.isset_baseGoodsModelsId); ib.set(BaseGoodsModelsName, this.getBaseGoodsModelsName(), this.isset_baseGoodsModelsName); ib.set(Price, this.getPrice(), this.isset_price); ib.set(ProcureDate, this.getProcureDate(), this.isset_procureDate); return ib.genMapSql(); } /** * 获取更新语句和参数 */ @Override public SqlAndParameters> getUpdateSql_() { UpdateBuilder ub = new UpdateBuilder(this.getTableName_()); ub.set(Counts, this.getCounts(), this.isset_counts); ub.set(DepFormLendingGoodsId, this.getDepFormLendingGoodsId(), this.isset_depFormLendingGoodsId); ub.set(DepFormLendingId, this.getDepFormLendingId(), this.isset_depFormLendingId); ub.set(WhGoodsDetailsId, this.getWhGoodsDetailsId(), this.isset_whGoodsDetailsId); ub.set(UsingGoodsHisId, this.getUsingGoodsHisId(), this.isset_usingGoodsHisId); ub.set(NowUserPhone, this.getNowUserPhone(), this.isset_nowUserPhone); ub.set(NowUserName, this.getNowUserName(), this.isset_nowUserName); ub.set(Beiz, this.getBeiz(), this.isset_beiz); ub.set(WhGoodsId, this.getWhGoodsId(), this.isset_whGoodsId); ub.set(UsingCount, this.getUsingCount(), this.isset_usingCount); ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId); ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName); ub.set(AgencyId, this.getAgencyId(), this.isset_agencyId); ub.set(AgencyName, this.getAgencyName(), this.isset_agencyName); ub.set(DepartmentId, this.getDepartmentId(), this.isset_departmentId); ub.set(DepartmentName, this.getDepartmentName(), this.isset_departmentName); ub.set(BaseGoodsTemplateId, this.getBaseGoodsTemplateId(), this.isset_baseGoodsTemplateId); ub.set(BaseGoodsTemplateName, this.getBaseGoodsTemplateName(), this.isset_baseGoodsTemplateName); ub.set(Unit, this.getUnit(), this.isset_unit); ub.set(BaseGoodsModelsId, this.getBaseGoodsModelsId(), this.isset_baseGoodsModelsId); ub.set(BaseGoodsModelsName, this.getBaseGoodsModelsName(), this.isset_baseGoodsModelsName); ub.set(Price, this.getPrice(), this.isset_price); ub.set(ProcureDate, this.getProcureDate(), this.isset_procureDate); ub.where(this.getPkName_(), this.getPkValue_()); return ub.genMapSql(); } /** * 获取更新语句和参数 */ @Override public SqlAndParameters> getUpdateSql_(String where, Map parameters) { UpdateBuilder ub = new UpdateBuilder(this.getTableName_()); ub.set(Counts, this.getCounts(), this.isset_counts); ub.set(DepFormLendingGoodsId, this.getDepFormLendingGoodsId(), this.isset_depFormLendingGoodsId); ub.set(DepFormLendingId, this.getDepFormLendingId(), this.isset_depFormLendingId); ub.set(WhGoodsDetailsId, this.getWhGoodsDetailsId(), this.isset_whGoodsDetailsId); ub.set(UsingGoodsHisId, this.getUsingGoodsHisId(), this.isset_usingGoodsHisId); ub.set(NowUserPhone, this.getNowUserPhone(), this.isset_nowUserPhone); ub.set(NowUserName, this.getNowUserName(), this.isset_nowUserName); ub.set(Beiz, this.getBeiz(), this.isset_beiz); ub.set(WhGoodsId, this.getWhGoodsId(), this.isset_whGoodsId); ub.set(UsingCount, this.getUsingCount(), this.isset_usingCount); ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId); ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName); ub.set(AgencyId, this.getAgencyId(), this.isset_agencyId); ub.set(AgencyName, this.getAgencyName(), this.isset_agencyName); ub.set(DepartmentId, this.getDepartmentId(), this.isset_departmentId); ub.set(DepartmentName, this.getDepartmentName(), this.isset_departmentName); ub.set(BaseGoodsTemplateId, this.getBaseGoodsTemplateId(), this.isset_baseGoodsTemplateId); ub.set(BaseGoodsTemplateName, this.getBaseGoodsTemplateName(), this.isset_baseGoodsTemplateName); ub.set(Unit, this.getUnit(), this.isset_unit); ub.set(BaseGoodsModelsId, this.getBaseGoodsModelsId(), this.isset_baseGoodsModelsId); ub.set(BaseGoodsModelsName, this.getBaseGoodsModelsName(), this.isset_baseGoodsModelsName); ub.set(Price, this.getPrice(), this.isset_price); ub.set(ProcureDate, this.getProcureDate(), this.isset_procureDate); return ub.genMapSql(where, parameters); } /** * 获取更新语句和参数 */ @Override public SqlAndParameters getUpdateSql_(String where, Object[] parameters) { UpdateBuilder ub = new UpdateBuilder(this.getTableName_()); ub.set(Counts, this.getCounts(), this.isset_counts); ub.set(DepFormLendingGoodsId, this.getDepFormLendingGoodsId(), this.isset_depFormLendingGoodsId); ub.set(DepFormLendingId, this.getDepFormLendingId(), this.isset_depFormLendingId); ub.set(WhGoodsDetailsId, this.getWhGoodsDetailsId(), this.isset_whGoodsDetailsId); ub.set(UsingGoodsHisId, this.getUsingGoodsHisId(), this.isset_usingGoodsHisId); ub.set(NowUserPhone, this.getNowUserPhone(), this.isset_nowUserPhone); ub.set(NowUserName, this.getNowUserName(), this.isset_nowUserName); ub.set(Beiz, this.getBeiz(), this.isset_beiz); ub.set(WhGoodsId, this.getWhGoodsId(), this.isset_whGoodsId); ub.set(UsingCount, this.getUsingCount(), this.isset_usingCount); ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId); ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName); ub.set(AgencyId, this.getAgencyId(), this.isset_agencyId); ub.set(AgencyName, this.getAgencyName(), this.isset_agencyName); ub.set(DepartmentId, this.getDepartmentId(), this.isset_departmentId); ub.set(DepartmentName, this.getDepartmentName(), this.isset_departmentName); ub.set(BaseGoodsTemplateId, this.getBaseGoodsTemplateId(), this.isset_baseGoodsTemplateId); ub.set(BaseGoodsTemplateName, this.getBaseGoodsTemplateName(), this.isset_baseGoodsTemplateName); ub.set(Unit, this.getUnit(), this.isset_unit); ub.set(BaseGoodsModelsId, this.getBaseGoodsModelsId(), this.isset_baseGoodsModelsId); ub.set(BaseGoodsModelsName, this.getBaseGoodsModelsName(), this.isset_baseGoodsModelsName); ub.set(Price, this.getPrice(), this.isset_price); ub.set(ProcureDate, this.getProcureDate(), this.isset_procureDate); return ub.genArraySql(where, parameters); } /** * 获取删除语句和参数 */ @Override public SqlAndParameters> getDeleteSql_() { DeleteBuilder db = new DeleteBuilder(this.getTableName_()); db.where(this.getPkName_(), this.getPkValue_()); return db.genMapSql(); } /** * 获取删除语句和参数 */ @Override public SqlAndParameters> getDeleteSql_(String where, Map parameters) { DeleteBuilder db = new DeleteBuilder(this.getTableName_()); return db.genMapSql(where, parameters); } /** * 获取删除语句和参数 */ @Override public SqlAndParameters getDeleteSql_(String where, Object[] parameters) { DeleteBuilder db = new DeleteBuilder(this.getTableName_()); return db.genArraySql(where, parameters); } /** * 获取单行查询语句和参数 */ @Override public SqlAndParameters> getSingleSql_() { SelectBuilder sb = new SelectBuilder(this.getTableName_()); sb.where(this.getPkName_(), this.getPkValue_()); return sb.genMapSql(); } /** * 获取查询语句和参数 */ @Override public SqlAndParameters> getSelectSql_(String where, Map parameters) { return new SqlAndParameters<>("select id, counts, dep_form_lending_goods_id, dep_form_lending_id, wh_goods_details_id, using_goods_his_id, now_user_phone, now_user_name, beiz, wh_goods_id, using_count, warehouse_id, warehouse_name, agency_id, agency_name, department_id, department_name, base_goods_template_id, base_goods_template_name, unit, base_goods_models_id, base_goods_models_name, price, procure_date from " + this.getTableName_() + " " + where, parameters); } /** * 获取查询语句和参数 */ @Override public SqlAndParameters getSelectSql_(String where, Object[] parameters) { return new SqlAndParameters<>("select id, counts, dep_form_lending_goods_id, dep_form_lending_id, wh_goods_details_id, using_goods_his_id, now_user_phone, now_user_name, beiz, wh_goods_id, using_count, warehouse_id, warehouse_name, agency_id, agency_name, department_id, department_name, base_goods_template_id, base_goods_template_name, unit, base_goods_models_id, base_goods_models_name, price, procure_date from " + this.getTableName_() + " " + where, parameters); } /** * 将resultset的一行转化为po */ @Override public DepFormLendingModel mapRow(ResultSet rs, int i) throws SQLException { return ROW_MAPPER.mapRow(rs, i); } /** * 克隆 */ public DepFormLendingModel toDepFormLendingModel() { return super.$clone(); } } /** * dep_form_lending_model RowMapper * * @author genrator */ class DepFormLendingModelRowMapper implements RowMapper { @Override public DepFormLendingModel mapRow(ResultSet rs, int i) throws SQLException { ResultSetUtils resultSetUtils = new ResultSetUtils(); DepFormLendingModel dep_form_lending_model = new DepFormLendingModel(); Integer columnIndex; //主键 columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.Id); if (columnIndex > 0) { dep_form_lending_model.setId(rs.getLong(columnIndex)); } //普通属性 columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.Counts); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { dep_form_lending_model.setCounts(null); } else { dep_form_lending_model.setCounts(rs.getInt(columnIndex)); } } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.DepFormLendingGoodsId); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { dep_form_lending_model.setDepFormLendingGoodsId(null); } else { dep_form_lending_model.setDepFormLendingGoodsId(rs.getLong(columnIndex)); } } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.DepFormLendingId); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { dep_form_lending_model.setDepFormLendingId(null); } else { dep_form_lending_model.setDepFormLendingId(rs.getLong(columnIndex)); } } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.WhGoodsDetailsId); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { dep_form_lending_model.setWhGoodsDetailsId(null); } else { dep_form_lending_model.setWhGoodsDetailsId(rs.getLong(columnIndex)); } } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.UsingGoodsHisId); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { dep_form_lending_model.setUsingGoodsHisId(null); } else { dep_form_lending_model.setUsingGoodsHisId(rs.getLong(columnIndex)); } } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.NowUserPhone); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { dep_form_lending_model.setNowUserPhone(null); } else { dep_form_lending_model.setNowUserPhone(rs.getLong(columnIndex)); } } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.NowUserName); if (columnIndex > 0) { dep_form_lending_model.setNowUserName(rs.getString(columnIndex)); } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.Beiz); if (columnIndex > 0) { dep_form_lending_model.setBeiz(rs.getString(columnIndex)); } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.WhGoodsId); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { dep_form_lending_model.setWhGoodsId(null); } else { dep_form_lending_model.setWhGoodsId(rs.getLong(columnIndex)); } } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.UsingCount); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { dep_form_lending_model.setUsingCount(null); } else { dep_form_lending_model.setUsingCount(rs.getInt(columnIndex)); } } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.WarehouseId); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { dep_form_lending_model.setWarehouseId(null); } else { dep_form_lending_model.setWarehouseId(rs.getLong(columnIndex)); } } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.WarehouseName); if (columnIndex > 0) { dep_form_lending_model.setWarehouseName(rs.getString(columnIndex)); } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.AgencyId); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { dep_form_lending_model.setAgencyId(null); } else { dep_form_lending_model.setAgencyId(rs.getLong(columnIndex)); } } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.AgencyName); if (columnIndex > 0) { dep_form_lending_model.setAgencyName(rs.getString(columnIndex)); } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.DepartmentId); if (columnIndex > 0) { dep_form_lending_model.setDepartmentId(rs.getString(columnIndex)); } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.DepartmentName); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { dep_form_lending_model.setDepartmentName(null); } else { dep_form_lending_model.setDepartmentName(rs.getLong(columnIndex)); } } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.BaseGoodsTemplateId); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { dep_form_lending_model.setBaseGoodsTemplateId(null); } else { dep_form_lending_model.setBaseGoodsTemplateId(rs.getLong(columnIndex)); } } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.BaseGoodsTemplateName); if (columnIndex > 0) { dep_form_lending_model.setBaseGoodsTemplateName(rs.getString(columnIndex)); } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.Unit); if (columnIndex > 0) { dep_form_lending_model.setUnit(rs.getString(columnIndex)); } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.BaseGoodsModelsId); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { dep_form_lending_model.setBaseGoodsModelsId(null); } else { dep_form_lending_model.setBaseGoodsModelsId(rs.getLong(columnIndex)); } } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.BaseGoodsModelsName); if (columnIndex > 0) { dep_form_lending_model.setBaseGoodsModelsName(rs.getString(columnIndex)); } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.Price); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { dep_form_lending_model.setPrice(null); } else { dep_form_lending_model.setPrice(rs.getDouble(columnIndex)); } } columnIndex = resultSetUtils.findColumn(rs, DepFormLendingModel_mapper.ProcureDate); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { dep_form_lending_model.setProcureDate(null); } else { dep_form_lending_model.setProcureDate(rs.getLong(columnIndex)); } } return dep_form_lending_model; } }