| | |
| | | public static final String Beiz = "beiz"; |
| | | public static final String Beiz2 = "beiz2"; |
| | | public static final String UploadFiles = "upload_files"; |
| | | public static final String WarehouseId = "warehouse_id"; |
| | | public static final String WarehouseName = "warehouse_name"; |
| | | |
| | | /** |
| | | * 默认构造函数 |
| | |
| | | } |
| | | if (depFormScrapped.isset_uploadFiles) { |
| | | this.setUploadFiles(depFormScrapped.getUploadFiles()); |
| | | } |
| | | if (depFormScrapped.isset_warehouseId) { |
| | | this.setWarehouseId(depFormScrapped.getWarehouseId()); |
| | | } |
| | | if (depFormScrapped.isset_warehouseName) { |
| | | this.setWarehouseName(depFormScrapped.getWarehouseName()); |
| | | } |
| | | // 去掉,2022-09-07 |
| | | // this.setDatabaseName_(dep_form_scrapped.getDatabaseName_()); |
| | |
| | | ib.set(Beiz, this.getBeiz(), this.isset_beiz); |
| | | ib.set(Beiz2, this.getBeiz2(), this.isset_beiz2); |
| | | ib.set(UploadFiles, this.getUploadFiles(), this.isset_uploadFiles); |
| | | ib.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId); |
| | | ib.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName); |
| | | return ib.genMapSql(); |
| | | } |
| | | |
| | |
| | | ub.set(Beiz, this.getBeiz(), this.isset_beiz); |
| | | ub.set(Beiz2, this.getBeiz2(), this.isset_beiz2); |
| | | ub.set(UploadFiles, this.getUploadFiles(), this.isset_uploadFiles); |
| | | ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId); |
| | | ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName); |
| | | ub.where(this.getPkName_(), this.getPkValue_()); |
| | | return ub.genMapSql(); |
| | | } |
| | |
| | | ub.set(Beiz, this.getBeiz(), this.isset_beiz); |
| | | ub.set(Beiz2, this.getBeiz2(), this.isset_beiz2); |
| | | ub.set(UploadFiles, this.getUploadFiles(), this.isset_uploadFiles); |
| | | ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId); |
| | | ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName); |
| | | return ub.genMapSql(where, parameters); |
| | | } |
| | | |
| | |
| | | ub.set(Beiz, this.getBeiz(), this.isset_beiz); |
| | | ub.set(Beiz2, this.getBeiz2(), this.isset_beiz2); |
| | | ub.set(UploadFiles, this.getUploadFiles(), this.isset_uploadFiles); |
| | | ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId); |
| | | ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName); |
| | | return ub.genArraySql(where, parameters); |
| | | } |
| | | |
| | |
| | | */ |
| | | @Override |
| | | public SqlAndParameters<Map<String, Object>> getSelectSql_(String where, Map<String, Object> parameters) { |
| | | return new SqlAndParameters<>("select id, business_form_code, agency_id, agency_name, operator_id, operator_name, deal_time, department_id, department_name, reviewer_id, reviewer_name, review_date, review_states, beiz, beiz2, upload_files from " + this.getTableName_() + " " + where, parameters); |
| | | return new SqlAndParameters<>("select id, business_form_code, agency_id, agency_name, operator_id, operator_name, deal_time, department_id, department_name, reviewer_id, reviewer_name, review_date, review_states, beiz, beiz2, upload_files, warehouse_id, warehouse_name from " + this.getTableName_() + " " + where, parameters); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Override |
| | | public SqlAndParameters<Object[]> getSelectSql_(String where, Object[] parameters) { |
| | | return new SqlAndParameters<>("select id, business_form_code, agency_id, agency_name, operator_id, operator_name, deal_time, department_id, department_name, reviewer_id, reviewer_name, review_date, review_states, beiz, beiz2, upload_files from " + this.getTableName_() + " " + where, parameters); |
| | | return new SqlAndParameters<>("select id, business_form_code, agency_id, agency_name, operator_id, operator_name, deal_time, department_id, department_name, reviewer_id, reviewer_name, review_date, review_states, beiz, beiz2, upload_files, warehouse_id, warehouse_name from " + this.getTableName_() + " " + where, parameters); |
| | | } |
| | | |
| | | /** |
| | |
| | | if (columnIndex > 0) { |
| | | dep_form_scrapped.setUploadFiles(rs.getString(columnIndex)); |
| | | } |
| | | columnIndex = resultSetUtils.findColumn(rs, DepFormScrapped_mapper.WarehouseId); |
| | | if (columnIndex > 0) { |
| | | if (rs.getBigDecimal(columnIndex) == null) { |
| | | dep_form_scrapped.setWarehouseId(null); |
| | | } else { |
| | | dep_form_scrapped.setWarehouseId(rs.getLong(columnIndex)); |
| | | } |
| | | } |
| | | columnIndex = resultSetUtils.findColumn(rs, DepFormScrapped_mapper.WarehouseName); |
| | | if (columnIndex > 0) { |
| | | dep_form_scrapped.setWarehouseName(rs.getString(columnIndex)); |
| | | } |
| | | return dep_form_scrapped; |
| | | } |
| | | } |