From b34b160a7332f94015fc047455b718e303920dc8 Mon Sep 17 00:00:00 2001 From: lilibo <1471506043@qq.com> Date: 星期三, 22 一月 2025 10:58:23 +0800 Subject: [PATCH] 漏洞修改 升级tomcat版本 --- consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow_mapper.java | 40 ++++++++++++++++++++++++++++------------ 1 files changed, 28 insertions(+), 12 deletions(-) diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow_mapper.java b/consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow_mapper.java index 6b28d09..d56e971 100644 --- a/consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow_mapper.java +++ b/consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow_mapper.java @@ -28,9 +28,10 @@ // 涓婚敭 public static final String Id = "id"; // 鏅�氬睘鎬� + public static final String WarehouseType = "warehouse_type"; public static final String WarehouseId = "warehouse_id"; public static final String WarehouseName = "warehouse_name"; - public static final String LastRecord = "last_record"; + public static final String ThisType = "this_type"; public static final String BusinessType = "business_type"; public static final String BusinessFormId = "business_form_id"; public static final String OperatorId = "operator_id"; @@ -49,14 +50,17 @@ this.setId(lWarehouseFlow.getId()); } //鏅�氬睘鎬� + if (lWarehouseFlow.isset_warehouseType) { + this.setWarehouseType(lWarehouseFlow.getWarehouseType()); + } if (lWarehouseFlow.isset_warehouseId) { this.setWarehouseId(lWarehouseFlow.getWarehouseId()); } if (lWarehouseFlow.isset_warehouseName) { this.setWarehouseName(lWarehouseFlow.getWarehouseName()); } - if (lWarehouseFlow.isset_lastRecord) { - this.setLastRecord(lWarehouseFlow.getLastRecord()); + if (lWarehouseFlow.isset_thisType) { + this.setThisType(lWarehouseFlow.getThisType()); } if (lWarehouseFlow.isset_businessType) { this.setBusinessType(lWarehouseFlow.getBusinessType()); @@ -116,9 +120,10 @@ public SqlAndParameters<Map<String, Object>> getInsertSql_() { InsertBuilder ib = new InsertBuilder(this.getTableName_()); ib.set(Id, this.getId()); + ib.set(WarehouseType, this.getWarehouseType(), this.isset_warehouseType); ib.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId); ib.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName); - ib.set(LastRecord, this.getLastRecord(), this.isset_lastRecord); + ib.set(ThisType, this.getThisType(), this.isset_thisType); ib.set(BusinessType, this.getBusinessType(), this.isset_businessType); ib.set(BusinessFormId, this.getBusinessFormId(), this.isset_businessFormId); ib.set(OperatorId, this.getOperatorId(), this.isset_operatorId); @@ -133,9 +138,10 @@ @Override public SqlAndParameters<Map<String, Object>> getUpdateSql_() { UpdateBuilder ub = new UpdateBuilder(this.getTableName_()); + ub.set(WarehouseType, this.getWarehouseType(), this.isset_warehouseType); ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId); ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName); - ub.set(LastRecord, this.getLastRecord(), this.isset_lastRecord); + ub.set(ThisType, this.getThisType(), this.isset_thisType); ub.set(BusinessType, this.getBusinessType(), this.isset_businessType); ub.set(BusinessFormId, this.getBusinessFormId(), this.isset_businessFormId); ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId); @@ -151,9 +157,10 @@ @Override public SqlAndParameters<Map<String, Object>> getUpdateSql_(String where, Map<String, Object> parameters) { UpdateBuilder ub = new UpdateBuilder(this.getTableName_()); + ub.set(WarehouseType, this.getWarehouseType(), this.isset_warehouseType); ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId); ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName); - ub.set(LastRecord, this.getLastRecord(), this.isset_lastRecord); + ub.set(ThisType, this.getThisType(), this.isset_thisType); ub.set(BusinessType, this.getBusinessType(), this.isset_businessType); ub.set(BusinessFormId, this.getBusinessFormId(), this.isset_businessFormId); ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId); @@ -168,9 +175,10 @@ @Override public SqlAndParameters<Object[]> getUpdateSql_(String where, Object[] parameters) { UpdateBuilder ub = new UpdateBuilder(this.getTableName_()); + ub.set(WarehouseType, this.getWarehouseType(), this.isset_warehouseType); ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId); ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName); - ub.set(LastRecord, this.getLastRecord(), this.isset_lastRecord); + ub.set(ThisType, this.getThisType(), this.isset_thisType); ub.set(BusinessType, this.getBusinessType(), this.isset_businessType); ub.set(BusinessFormId, this.getBusinessFormId(), this.isset_businessFormId); ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId); @@ -223,7 +231,7 @@ */ @Override public SqlAndParameters<Map<String, Object>> getSelectSql_(String where, Map<String, Object> parameters) { - return new SqlAndParameters<>("select id, warehouse_id, warehouse_name, last_record, business_type, business_form_id, operator_id, operator_name, deal_time from " + this.getTableName_() + " " + where, parameters); + return new SqlAndParameters<>("select id, warehouse_type, warehouse_id, warehouse_name, this_type, business_type, business_form_id, operator_id, operator_name, deal_time from " + this.getTableName_() + " " + where, parameters); } /** @@ -231,7 +239,7 @@ */ @Override public SqlAndParameters<Object[]> getSelectSql_(String where, Object[] parameters) { - return new SqlAndParameters<>("select id, warehouse_id, warehouse_name, last_record, business_type, business_form_id, operator_id, operator_name, deal_time from " + this.getTableName_() + " " + where, parameters); + return new SqlAndParameters<>("select id, warehouse_type, warehouse_id, warehouse_name, this_type, business_type, business_form_id, operator_id, operator_name, deal_time from " + this.getTableName_() + " " + where, parameters); } /** @@ -268,6 +276,14 @@ l_warehouse_flow.setId(rs.getLong(columnIndex)); } //鏅�氬睘鎬� + columnIndex = resultSetUtils.findColumn(rs, LWarehouseFlow_mapper.WarehouseType); + if (columnIndex > 0) { + if (rs.getBigDecimal(columnIndex) == null) { + l_warehouse_flow.setWarehouseType(null); + } else { + l_warehouse_flow.setWarehouseType(rs.getInt(columnIndex)); + } + } columnIndex = resultSetUtils.findColumn(rs, LWarehouseFlow_mapper.WarehouseId); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { @@ -280,12 +296,12 @@ if (columnIndex > 0) { l_warehouse_flow.setWarehouseName(rs.getString(columnIndex)); } - columnIndex = resultSetUtils.findColumn(rs, LWarehouseFlow_mapper.LastRecord); + columnIndex = resultSetUtils.findColumn(rs, LWarehouseFlow_mapper.ThisType); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { - l_warehouse_flow.setLastRecord(null); + l_warehouse_flow.setThisType(null); } else { - l_warehouse_flow.setLastRecord(rs.getInt(columnIndex)); + l_warehouse_flow.setThisType(rs.getInt(columnIndex)); } } columnIndex = resultSetUtils.findColumn(rs, LWarehouseFlow_mapper.BusinessType); -- Gitblit v1.9.1