futian.liu
2023-12-05 ceecebe477faf5a45b19f3b258f7add8f93b4583
consum-model-pojo/src/main/java/com/consum/model/po/DepFormBackModel_mapper.java
@@ -37,6 +37,7 @@
    public static final String DepFormLendingModelId = "dep_form_lending_model_id";
    public static final String DepFormLendingGoodsId = "dep_form_lending_goods_id";
    public static final String DepFormLendingId = "dep_form_lending_id";
    public static final String WarehouseId = "warehouse_id";
    /**
     * 默认构造函数
@@ -76,6 +77,9 @@
        }
        if (depFormBackModel.isset_depFormLendingId) {
            this.setDepFormLendingId(depFormBackModel.getDepFormLendingId());
        }
        if (depFormBackModel.isset_warehouseId) {
            this.setWarehouseId(depFormBackModel.getWarehouseId());
        }
        // 去掉,2022-09-07
        // this.setDatabaseName_(dep_form_back_model.getDatabaseName_());
@@ -129,6 +133,7 @@
        ib.set(DepFormLendingModelId, this.getDepFormLendingModelId(), this.isset_depFormLendingModelId);
        ib.set(DepFormLendingGoodsId, this.getDepFormLendingGoodsId(), this.isset_depFormLendingGoodsId);
        ib.set(DepFormLendingId, this.getDepFormLendingId(), this.isset_depFormLendingId);
        ib.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
        return ib.genMapSql();
    }
@@ -147,6 +152,7 @@
        ub.set(DepFormLendingModelId, this.getDepFormLendingModelId(), this.isset_depFormLendingModelId);
        ub.set(DepFormLendingGoodsId, this.getDepFormLendingGoodsId(), this.isset_depFormLendingGoodsId);
        ub.set(DepFormLendingId, this.getDepFormLendingId(), this.isset_depFormLendingId);
        ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
        ub.where(this.getPkName_(), this.getPkValue_());
        return ub.genMapSql();
    }
@@ -166,6 +172,7 @@
        ub.set(DepFormLendingModelId, this.getDepFormLendingModelId(), this.isset_depFormLendingModelId);
        ub.set(DepFormLendingGoodsId, this.getDepFormLendingGoodsId(), this.isset_depFormLendingGoodsId);
        ub.set(DepFormLendingId, this.getDepFormLendingId(), this.isset_depFormLendingId);
        ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
        return ub.genMapSql(where, parameters);
    }
@@ -184,6 +191,7 @@
        ub.set(DepFormLendingModelId, this.getDepFormLendingModelId(), this.isset_depFormLendingModelId);
        ub.set(DepFormLendingGoodsId, this.getDepFormLendingGoodsId(), this.isset_depFormLendingGoodsId);
        ub.set(DepFormLendingId, this.getDepFormLendingId(), this.isset_depFormLendingId);
        ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
        return ub.genArraySql(where, parameters);
    }
@@ -231,7 +239,7 @@
     */
    @Override
    public SqlAndParameters<Map<String, Object>> getSelectSql_(String where, Map<String, Object> parameters) {
        return new SqlAndParameters<>("select id, dep_form_back_goods_id, dep_form_back_id, wh_goods_details_id, using_goods_his_id, wh_goods_id, counts, dep_form_lending_model_id, dep_form_lending_goods_id, dep_form_lending_id from " + this.getTableName_() + " " + where, parameters);
        return new SqlAndParameters<>("select id, dep_form_back_goods_id, dep_form_back_id, wh_goods_details_id, using_goods_his_id, wh_goods_id, counts, dep_form_lending_model_id, dep_form_lending_goods_id, dep_form_lending_id, warehouse_id from " + this.getTableName_() + " " + where, parameters);
    }
    /**
@@ -239,7 +247,7 @@
     */
    @Override
    public SqlAndParameters<Object[]> getSelectSql_(String where, Object[] parameters) {
        return new SqlAndParameters<>("select id, dep_form_back_goods_id, dep_form_back_id, wh_goods_details_id, using_goods_his_id, wh_goods_id, counts, dep_form_lending_model_id, dep_form_lending_goods_id, dep_form_lending_id from " + this.getTableName_() + " " + where, parameters);
        return new SqlAndParameters<>("select id, dep_form_back_goods_id, dep_form_back_id, wh_goods_details_id, using_goods_his_id, wh_goods_id, counts, dep_form_lending_model_id, dep_form_lending_goods_id, dep_form_lending_id, warehouse_id from " + this.getTableName_() + " " + where, parameters);
    }
    /**
@@ -302,7 +310,11 @@
        }
        columnIndex = resultSetUtils.findColumn(rs, DepFormBackModel_mapper.UsingGoodsHisId);
        if (columnIndex > 0) {
            dep_form_back_model.setUsingGoodsHisId(rs.getString(columnIndex));
            if (rs.getBigDecimal(columnIndex) == null) {
                dep_form_back_model.setUsingGoodsHisId(null);
            } else {
                dep_form_back_model.setUsingGoodsHisId(rs.getLong(columnIndex));
            }
        }
        columnIndex = resultSetUtils.findColumn(rs, DepFormBackModel_mapper.WhGoodsId);
        if (columnIndex > 0) {
@@ -344,6 +356,14 @@
                dep_form_back_model.setDepFormLendingId(rs.getLong(columnIndex));
            }
        }
        columnIndex = resultSetUtils.findColumn(rs, DepFormBackModel_mapper.WarehouseId);
        if (columnIndex > 0) {
            if (rs.getBigDecimal(columnIndex) == null) {
                dep_form_back_model.setWarehouseId(null);
            } else {
                dep_form_back_model.setWarehouseId(rs.getLong(columnIndex));
            }
        }
        return dep_form_back_model;
    }
}