From caf451f76ac30aa222230e0bc2d0d7cb9f420bdf Mon Sep 17 00:00:00 2001 From: 杨凯 <398860375@qq.com> Date: 星期三, 18 十月 2023 21:54:42 +0800 Subject: [PATCH] 新增部门出入库 --- consum-model-pojo/src/main/java/com/consum/model/po/WhGoods_mapper.java | 18 ++---------------- 1 files changed, 2 insertions(+), 16 deletions(-) diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/WhGoods_mapper.java b/consum-model-pojo/src/main/java/com/consum/model/po/WhGoods_mapper.java index 08d3226..4db62db 100644 --- a/consum-model-pojo/src/main/java/com/consum/model/po/WhGoods_mapper.java +++ b/consum-model-pojo/src/main/java/com/consum/model/po/WhGoods_mapper.java @@ -33,8 +33,6 @@ public static final String BaseGoodsModelsId = "base_goods_models_id"; public static final String BaseGoodsModelsName = "base_goods_models_name"; public static final String WhCount = "wh_count"; - public static final String TransferCount = "transfer_count"; - public static final String AllCount = "all_count"; public static final String FirstInputCode = "first_input_code"; public static final String FirstInputType = "first_input_type"; public static final String FirstInputHisId = "first_input_his_id"; @@ -289,7 +287,7 @@ */ @Override public SqlAndParameters<Map<String, Object>> getSelectSql_(String where, Map<String, Object> parameters) { - return new SqlAndParameters<>("select id, base_goods_template_id, goods_template_name, base_goods_models_id, base_goods_models_name, wh_count, transfer_count, all_count, first_input_code, first_input_type, first_input_his_id, warehouse_id, warehouse_name, supplier, unit, price, procure_date, back_date, states from " + this.getTableName_() + " " + where, parameters); + return new SqlAndParameters<>("select id, base_goods_template_id, goods_template_name, base_goods_models_id, base_goods_models_name, wh_count, first_input_code, first_input_type, first_input_his_id, warehouse_id, warehouse_name, supplier, unit, price, procure_date, back_date, states from " + this.getTableName_() + " " + where, parameters); } /** @@ -297,7 +295,7 @@ */ @Override public SqlAndParameters<Object[]> getSelectSql_(String where, Object[] parameters) { - return new SqlAndParameters<>("select id, base_goods_template_id, goods_template_name, base_goods_models_id, base_goods_models_name, wh_count, transfer_count, all_count, first_input_code, first_input_type, first_input_his_id, warehouse_id, warehouse_name, supplier, unit, price, procure_date, back_date, states from " + this.getTableName_() + " " + where, parameters); + return new SqlAndParameters<>("select id, base_goods_template_id, goods_template_name, base_goods_models_id, base_goods_models_name, wh_count, first_input_code, first_input_type, first_input_his_id, warehouse_id, warehouse_name, supplier, unit, price, procure_date, back_date, states from " + this.getTableName_() + " " + where, parameters); } /** @@ -364,18 +362,6 @@ wh_goods.setWhCount(null); } else { wh_goods.setWhCount(rs.getInt(columnIndex)); - } - } - columnIndex = resultSetUtils.findColumn(rs, WhGoods_mapper.TransferCount); - if (columnIndex > 0) { - if (rs.getBigDecimal(columnIndex) == null) { - } else { - } - } - columnIndex = resultSetUtils.findColumn(rs, WhGoods_mapper.AllCount); - if (columnIndex > 0) { - if (rs.getBigDecimal(columnIndex) == null) { - } else { } } columnIndex = resultSetUtils.findColumn(rs, WhGoods_mapper.FirstInputCode); -- Gitblit v1.9.1