haoyahui
2023-11-11 332c012e7336f2996c4fe5c8c110d00713c1bde2
consum-model-pojo/src/main/java/com/consum/model/po/DepFormBackGoods_mapper.java
@@ -34,6 +34,8 @@
    public static final String InitCount = "init_count";
    public static final String DepFormLendingGoodsId = "dep_form_lending_goods_id";
    public static final String EndCount = "end_count";
    public static final String DepFormLendingId = "dep_form_lending_id";
    public static final String WarehouseId = "warehouse_id";
    /**
     * 默认构造函数
@@ -64,6 +66,12 @@
        }
        if (depFormBackGoods.isset_endCount) {
            this.setEndCount(depFormBackGoods.getEndCount());
        }
        if (depFormBackGoods.isset_depFormLendingId) {
            this.setDepFormLendingId(depFormBackGoods.getDepFormLendingId());
        }
        if (depFormBackGoods.isset_warehouseId) {
            this.setWarehouseId(depFormBackGoods.getWarehouseId());
        }
        // 去掉,2022-09-07
        // this.setDatabaseName_(dep_form_back_goods.getDatabaseName_());
@@ -114,6 +122,8 @@
        ib.set(InitCount, this.getInitCount(), this.isset_initCount);
        ib.set(DepFormLendingGoodsId, this.getDepFormLendingGoodsId(), this.isset_depFormLendingGoodsId);
        ib.set(EndCount, this.getEndCount(), this.isset_endCount);
        ib.set(DepFormLendingId, this.getDepFormLendingId(), this.isset_depFormLendingId);
        ib.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
        return ib.genMapSql();
    }
@@ -129,6 +139,8 @@
        ub.set(InitCount, this.getInitCount(), this.isset_initCount);
        ub.set(DepFormLendingGoodsId, this.getDepFormLendingGoodsId(), this.isset_depFormLendingGoodsId);
        ub.set(EndCount, this.getEndCount(), this.isset_endCount);
        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();
    }
@@ -145,6 +157,8 @@
        ub.set(InitCount, this.getInitCount(), this.isset_initCount);
        ub.set(DepFormLendingGoodsId, this.getDepFormLendingGoodsId(), this.isset_depFormLendingGoodsId);
        ub.set(EndCount, this.getEndCount(), this.isset_endCount);
        ub.set(DepFormLendingId, this.getDepFormLendingId(), this.isset_depFormLendingId);
        ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
        return ub.genMapSql(where, parameters);
    }
@@ -160,6 +174,8 @@
        ub.set(InitCount, this.getInitCount(), this.isset_initCount);
        ub.set(DepFormLendingGoodsId, this.getDepFormLendingGoodsId(), this.isset_depFormLendingGoodsId);
        ub.set(EndCount, this.getEndCount(), this.isset_endCount);
        ub.set(DepFormLendingId, this.getDepFormLendingId(), this.isset_depFormLendingId);
        ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
        return ub.genArraySql(where, parameters);
    }
@@ -207,7 +223,7 @@
     */
    @Override
    public SqlAndParameters<Map<String, Object>> getSelectSql_(String where, Map<String, Object> parameters) {
        return new SqlAndParameters<>("select id, dep_form_back_id, unit, back_counts, init_count, dep_form_lending_goods_id, end_count from " + this.getTableName_() + " " + where, parameters);
        return new SqlAndParameters<>("select id, dep_form_back_id, unit, back_counts, init_count, dep_form_lending_goods_id, end_count, dep_form_lending_id, warehouse_id from " + this.getTableName_() + " " + where, parameters);
    }
    /**
@@ -215,7 +231,7 @@
     */
    @Override
    public SqlAndParameters<Object[]> getSelectSql_(String where, Object[] parameters) {
        return new SqlAndParameters<>("select id, dep_form_back_id, unit, back_counts, init_count, dep_form_lending_goods_id, end_count from " + this.getTableName_() + " " + where, parameters);
        return new SqlAndParameters<>("select id, dep_form_back_id, unit, back_counts, init_count, dep_form_lending_goods_id, end_count, dep_form_lending_id, warehouse_id from " + this.getTableName_() + " " + where, parameters);
    }
    /**
@@ -296,6 +312,22 @@
                dep_form_back_goods.setEndCount(rs.getInt(columnIndex));
            }
        }
        columnIndex = resultSetUtils.findColumn(rs, DepFormBackGoods_mapper.DepFormLendingId);
        if (columnIndex > 0) {
            if (rs.getBigDecimal(columnIndex) == null) {
                dep_form_back_goods.setDepFormLendingId(null);
            } else {
                dep_form_back_goods.setDepFormLendingId(rs.getLong(columnIndex));
            }
        }
        columnIndex = resultSetUtils.findColumn(rs, DepFormBackGoods_mapper.WarehouseId);
        if (columnIndex > 0) {
            if (rs.getBigDecimal(columnIndex) == null) {
                dep_form_back_goods.setWarehouseId(null);
            } else {
                dep_form_back_goods.setWarehouseId(rs.getLong(columnIndex));
            }
        }
        return dep_form_back_goods;
    }
}