From 5e10fe06e80c7d146cbb5eb8f7b3e1e447a80b88 Mon Sep 17 00:00:00 2001 From: haoyahui <2032914783@qq.com> Date: 星期五, 17 十一月 2023 17:07:53 +0800 Subject: [PATCH] 部门物品:物品分发,物品报废静态。调拨管理联调,price由元改为分,仓库管理库管员 --- consum-model-pojo/src/main/java/com/consum/model/po/LWhFormTransfer_mapper.java | 68 +++++++++++++++++++++++++++++++++- 1 files changed, 66 insertions(+), 2 deletions(-) diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/LWhFormTransfer_mapper.java b/consum-model-pojo/src/main/java/com/consum/model/po/LWhFormTransfer_mapper.java index 90ac848..1fe00e4 100644 --- a/consum-model-pojo/src/main/java/com/consum/model/po/LWhFormTransfer_mapper.java +++ b/consum-model-pojo/src/main/java/com/consum/model/po/LWhFormTransfer_mapper.java @@ -27,11 +27,15 @@ public static final String Id = "id"; // 鏅�氬睘鎬� public static final String InWarehouseFormId = "in_warehouse_form_id"; + public static final String InWarehouseFlowId = "in_warehouse_flow_id"; + public static final String OutWarehouseFlowId = "out_warehouse_flow_id"; public static final String OutWarehouseFormId = "out_warehouse_form_id"; public static final String BusinessType = "business_type"; public static final String BusinessFormCode = "business_form_code"; + public static final String InWarehouseType = "in_warehouse_type"; public static final String InWarehouseId = "in_warehouse_id"; public static final String InWarehouseName = "in_warehouse_name"; + public static final String OutWarehouseType = "out_warehouse_type"; public static final String OutWarehouseId = "out_warehouse_id"; public static final String OutWarehouseName = "out_warehouse_name"; public static final String InAgencyId = "in_agency_id"; @@ -68,6 +72,12 @@ if (lWhFormTransfer.isset_inWarehouseFormId) { this.setInWarehouseFormId(lWhFormTransfer.getInWarehouseFormId()); } + if (lWhFormTransfer.isset_inWarehouseFlowId) { + this.setInWarehouseFlowId(lWhFormTransfer.getInWarehouseFlowId()); + } + if (lWhFormTransfer.isset_outWarehouseFlowId) { + this.setOutWarehouseFlowId(lWhFormTransfer.getOutWarehouseFlowId()); + } if (lWhFormTransfer.isset_outWarehouseFormId) { this.setOutWarehouseFormId(lWhFormTransfer.getOutWarehouseFormId()); } @@ -77,11 +87,17 @@ if (lWhFormTransfer.isset_businessFormCode) { this.setBusinessFormCode(lWhFormTransfer.getBusinessFormCode()); } + if (lWhFormTransfer.isset_inWarehouseType) { + this.setInWarehouseType(lWhFormTransfer.getInWarehouseType()); + } if (lWhFormTransfer.isset_inWarehouseId) { this.setInWarehouseId(lWhFormTransfer.getInWarehouseId()); } if (lWhFormTransfer.isset_inWarehouseName) { this.setInWarehouseName(lWhFormTransfer.getInWarehouseName()); + } + if (lWhFormTransfer.isset_outWarehouseType) { + this.setOutWarehouseType(lWhFormTransfer.getOutWarehouseType()); } if (lWhFormTransfer.isset_outWarehouseId) { this.setOutWarehouseId(lWhFormTransfer.getOutWarehouseId()); @@ -187,11 +203,15 @@ InsertBuilder ib = new InsertBuilder(this.getTableName_()); ib.set(Id, this.getId()); ib.set(InWarehouseFormId, this.getInWarehouseFormId(), this.isset_inWarehouseFormId); + ib.set(InWarehouseFlowId, this.getInWarehouseFlowId(), this.isset_inWarehouseFlowId); + ib.set(OutWarehouseFlowId, this.getOutWarehouseFlowId(), this.isset_outWarehouseFlowId); ib.set(OutWarehouseFormId, this.getOutWarehouseFormId(), this.isset_outWarehouseFormId); ib.set(BusinessType, this.getBusinessType(), this.isset_businessType); ib.set(BusinessFormCode, this.getBusinessFormCode(), this.isset_businessFormCode); + ib.set(InWarehouseType, this.getInWarehouseType(), this.isset_inWarehouseType); ib.set(InWarehouseId, this.getInWarehouseId(), this.isset_inWarehouseId); ib.set(InWarehouseName, this.getInWarehouseName(), this.isset_inWarehouseName); + ib.set(OutWarehouseType, this.getOutWarehouseType(), this.isset_outWarehouseType); ib.set(OutWarehouseId, this.getOutWarehouseId(), this.isset_outWarehouseId); ib.set(OutWarehouseName, this.getOutWarehouseName(), this.isset_outWarehouseName); ib.set(InAgencyId, this.getInAgencyId(), this.isset_inAgencyId); @@ -222,11 +242,15 @@ public SqlAndParameters<Map<String, Object>> getUpdateSql_() { UpdateBuilder ub = new UpdateBuilder(this.getTableName_()); ub.set(InWarehouseFormId, this.getInWarehouseFormId(), this.isset_inWarehouseFormId); + ub.set(InWarehouseFlowId, this.getInWarehouseFlowId(), this.isset_inWarehouseFlowId); + ub.set(OutWarehouseFlowId, this.getOutWarehouseFlowId(), this.isset_outWarehouseFlowId); ub.set(OutWarehouseFormId, this.getOutWarehouseFormId(), this.isset_outWarehouseFormId); ub.set(BusinessType, this.getBusinessType(), this.isset_businessType); ub.set(BusinessFormCode, this.getBusinessFormCode(), this.isset_businessFormCode); + ub.set(InWarehouseType, this.getInWarehouseType(), this.isset_inWarehouseType); ub.set(InWarehouseId, this.getInWarehouseId(), this.isset_inWarehouseId); ub.set(InWarehouseName, this.getInWarehouseName(), this.isset_inWarehouseName); + ub.set(OutWarehouseType, this.getOutWarehouseType(), this.isset_outWarehouseType); ub.set(OutWarehouseId, this.getOutWarehouseId(), this.isset_outWarehouseId); ub.set(OutWarehouseName, this.getOutWarehouseName(), this.isset_outWarehouseName); ub.set(InAgencyId, this.getInAgencyId(), this.isset_inAgencyId); @@ -258,11 +282,15 @@ public SqlAndParameters<Map<String, Object>> getUpdateSql_(String where, Map<String, Object> parameters) { UpdateBuilder ub = new UpdateBuilder(this.getTableName_()); ub.set(InWarehouseFormId, this.getInWarehouseFormId(), this.isset_inWarehouseFormId); + ub.set(InWarehouseFlowId, this.getInWarehouseFlowId(), this.isset_inWarehouseFlowId); + ub.set(OutWarehouseFlowId, this.getOutWarehouseFlowId(), this.isset_outWarehouseFlowId); ub.set(OutWarehouseFormId, this.getOutWarehouseFormId(), this.isset_outWarehouseFormId); ub.set(BusinessType, this.getBusinessType(), this.isset_businessType); ub.set(BusinessFormCode, this.getBusinessFormCode(), this.isset_businessFormCode); + ub.set(InWarehouseType, this.getInWarehouseType(), this.isset_inWarehouseType); ub.set(InWarehouseId, this.getInWarehouseId(), this.isset_inWarehouseId); ub.set(InWarehouseName, this.getInWarehouseName(), this.isset_inWarehouseName); + ub.set(OutWarehouseType, this.getOutWarehouseType(), this.isset_outWarehouseType); ub.set(OutWarehouseId, this.getOutWarehouseId(), this.isset_outWarehouseId); ub.set(OutWarehouseName, this.getOutWarehouseName(), this.isset_outWarehouseName); ub.set(InAgencyId, this.getInAgencyId(), this.isset_inAgencyId); @@ -293,11 +321,15 @@ public SqlAndParameters<Object[]> getUpdateSql_(String where, Object[] parameters) { UpdateBuilder ub = new UpdateBuilder(this.getTableName_()); ub.set(InWarehouseFormId, this.getInWarehouseFormId(), this.isset_inWarehouseFormId); + ub.set(InWarehouseFlowId, this.getInWarehouseFlowId(), this.isset_inWarehouseFlowId); + ub.set(OutWarehouseFlowId, this.getOutWarehouseFlowId(), this.isset_outWarehouseFlowId); ub.set(OutWarehouseFormId, this.getOutWarehouseFormId(), this.isset_outWarehouseFormId); ub.set(BusinessType, this.getBusinessType(), this.isset_businessType); ub.set(BusinessFormCode, this.getBusinessFormCode(), this.isset_businessFormCode); + ub.set(InWarehouseType, this.getInWarehouseType(), this.isset_inWarehouseType); ub.set(InWarehouseId, this.getInWarehouseId(), this.isset_inWarehouseId); ub.set(InWarehouseName, this.getInWarehouseName(), this.isset_inWarehouseName); + ub.set(OutWarehouseType, this.getOutWarehouseType(), this.isset_outWarehouseType); ub.set(OutWarehouseId, this.getOutWarehouseId(), this.isset_outWarehouseId); ub.set(OutWarehouseName, this.getOutWarehouseName(), this.isset_outWarehouseName); ub.set(InAgencyId, this.getInAgencyId(), this.isset_inAgencyId); @@ -365,7 +397,7 @@ */ @Override public SqlAndParameters<Map<String, Object>> getSelectSql_(String where, Map<String, Object> parameters) { - return new SqlAndParameters<>("select id, in_warehouse_form_id, out_warehouse_form_id, business_type, 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, in_operator_id, in_operator_name, in_time, out_operator_id, out_operator_name, output_time, beiz1, beiz2, beiz3, procure_doc from " + this.getTableName_() + " " + where, parameters); + return new SqlAndParameters<>("select id, in_warehouse_form_id, in_warehouse_flow_id, out_warehouse_flow_id, out_warehouse_form_id, business_type, business_form_code, in_warehouse_type, in_warehouse_id, in_warehouse_name, out_warehouse_type, 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, in_operator_id, in_operator_name, in_time, out_operator_id, out_operator_name, output_time, beiz1, beiz2, beiz3, procure_doc from " + this.getTableName_() + " " + where, parameters); } /** @@ -373,7 +405,7 @@ */ @Override public SqlAndParameters<Object[]> getSelectSql_(String where, Object[] parameters) { - return new SqlAndParameters<>("select id, in_warehouse_form_id, out_warehouse_form_id, business_type, 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, in_operator_id, in_operator_name, in_time, out_operator_id, out_operator_name, output_time, beiz1, beiz2, beiz3, procure_doc from " + this.getTableName_() + " " + where, parameters); + return new SqlAndParameters<>("select id, in_warehouse_form_id, in_warehouse_flow_id, out_warehouse_flow_id, out_warehouse_form_id, business_type, business_form_code, in_warehouse_type, in_warehouse_id, in_warehouse_name, out_warehouse_type, 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, in_operator_id, in_operator_name, in_time, out_operator_id, out_operator_name, output_time, beiz1, beiz2, beiz3, procure_doc from " + this.getTableName_() + " " + where, parameters); } /** @@ -418,6 +450,22 @@ l_wh_form_transfer.setInWarehouseFormId(rs.getLong(columnIndex)); } } + columnIndex = resultSetUtils.findColumn(rs, LWhFormTransfer_mapper.InWarehouseFlowId); + if (columnIndex > 0) { + if (rs.getBigDecimal(columnIndex) == null) { + l_wh_form_transfer.setInWarehouseFlowId(null); + } else { + l_wh_form_transfer.setInWarehouseFlowId(rs.getLong(columnIndex)); + } + } + columnIndex = resultSetUtils.findColumn(rs, LWhFormTransfer_mapper.OutWarehouseFlowId); + if (columnIndex > 0) { + if (rs.getBigDecimal(columnIndex) == null) { + l_wh_form_transfer.setOutWarehouseFlowId(null); + } else { + l_wh_form_transfer.setOutWarehouseFlowId(rs.getLong(columnIndex)); + } + } columnIndex = resultSetUtils.findColumn(rs, LWhFormTransfer_mapper.OutWarehouseFormId); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { @@ -438,6 +486,14 @@ if (columnIndex > 0) { l_wh_form_transfer.setBusinessFormCode(rs.getString(columnIndex)); } + columnIndex = resultSetUtils.findColumn(rs, LWhFormTransfer_mapper.InWarehouseType); + if (columnIndex > 0) { + if (rs.getBigDecimal(columnIndex) == null) { + l_wh_form_transfer.setInWarehouseType(null); + } else { + l_wh_form_transfer.setInWarehouseType(rs.getInt(columnIndex)); + } + } columnIndex = resultSetUtils.findColumn(rs, LWhFormTransfer_mapper.InWarehouseId); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { @@ -450,6 +506,14 @@ if (columnIndex > 0) { l_wh_form_transfer.setInWarehouseName(rs.getString(columnIndex)); } + columnIndex = resultSetUtils.findColumn(rs, LWhFormTransfer_mapper.OutWarehouseType); + if (columnIndex > 0) { + if (rs.getBigDecimal(columnIndex) == null) { + l_wh_form_transfer.setOutWarehouseType(null); + } else { + l_wh_form_transfer.setOutWarehouseType(rs.getInt(columnIndex)); + } + } columnIndex = resultSetUtils.findColumn(rs, LWhFormTransfer_mapper.OutWarehouseId); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { -- Gitblit v1.9.1