WangHan
2024-04-29 2bd9ddd56697e202a443d04139f854afa2559e95
consum-model-pojo/src/main/java/com/consum/model/po/LWhFormProcure_mapper.java
@@ -29,6 +29,7 @@
    public static final String Id = "id";
    // 普通属性
    public static final String BusinessFormCode = "business_form_code";
    public static final String WarehouseId = "warehouse_id";
    public static final String WarehouseName = "warehouse_name";
    public static final String BuyerId = "buyer_id";
    public static final String BuyerName = "buyer_name";
@@ -41,7 +42,6 @@
    public static final String IncomeId = "income_id";
    public static final String IncomeName = "income_name";
    public static final String IncomeTime = "income_time";
    public static final String WarehouseId = "warehouse_id";
    public static final String Beiz = "beiz";
    public static final String LWarehouseFlowId = "l_warehouse_flow_id";
@@ -59,6 +59,9 @@
        //普通属性
        if (lWhFormProcure.isset_businessFormCode) {
            this.setBusinessFormCode(lWhFormProcure.getBusinessFormCode());
        }
        if (lWhFormProcure.isset_warehouseId) {
            this.setWarehouseId(lWhFormProcure.getWarehouseId());
        }
        if (lWhFormProcure.isset_warehouseName) {
            this.setWarehouseName(lWhFormProcure.getWarehouseName());
@@ -95,9 +98,6 @@
        }
        if (lWhFormProcure.isset_incomeTime) {
            this.setIncomeTime(lWhFormProcure.getIncomeTime());
        }
        if (lWhFormProcure.isset_warehouseId) {
            this.setWarehouseId(lWhFormProcure.getWarehouseId());
        }
        if (lWhFormProcure.isset_beiz) {
            this.setBeiz(lWhFormProcure.getBeiz());
@@ -149,6 +149,7 @@
        InsertBuilder ib = new InsertBuilder(this.getTableName_());
        ib.set(Id, this.getId());
        ib.set(BusinessFormCode, this.getBusinessFormCode(), this.isset_businessFormCode);
        ib.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
        ib.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName);
        ib.set(BuyerId, this.getBuyerId(), this.isset_buyerId);
        ib.set(BuyerName, this.getBuyerName(), this.isset_buyerName);
@@ -161,7 +162,6 @@
        ib.set(IncomeId, this.getIncomeId(), this.isset_incomeId);
        ib.set(IncomeName, this.getIncomeName(), this.isset_incomeName);
        ib.set(IncomeTime, this.getIncomeTime(), this.isset_incomeTime);
        ib.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
        ib.set(Beiz, this.getBeiz(), this.isset_beiz);
        ib.set(LWarehouseFlowId, this.getLWarehouseFlowId(), this.isset_lWarehouseFlowId);
        return ib.genMapSql();
@@ -174,6 +174,7 @@
    public SqlAndParameters<Map<String, Object>> getUpdateSql_() {
        UpdateBuilder ub = new UpdateBuilder(this.getTableName_());
        ub.set(BusinessFormCode, this.getBusinessFormCode(), this.isset_businessFormCode);
        ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
        ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName);
        ub.set(BuyerId, this.getBuyerId(), this.isset_buyerId);
        ub.set(BuyerName, this.getBuyerName(), this.isset_buyerName);
@@ -186,7 +187,6 @@
        ub.set(IncomeId, this.getIncomeId(), this.isset_incomeId);
        ub.set(IncomeName, this.getIncomeName(), this.isset_incomeName);
        ub.set(IncomeTime, this.getIncomeTime(), this.isset_incomeTime);
        ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
        ub.set(Beiz, this.getBeiz(), this.isset_beiz);
        ub.set(LWarehouseFlowId, this.getLWarehouseFlowId(), this.isset_lWarehouseFlowId);
        ub.where(this.getPkName_(), this.getPkValue_());
@@ -200,6 +200,7 @@
    public SqlAndParameters<Map<String, Object>> getUpdateSql_(String where, Map<String, Object> parameters) {
        UpdateBuilder ub = new UpdateBuilder(this.getTableName_());
        ub.set(BusinessFormCode, this.getBusinessFormCode(), this.isset_businessFormCode);
        ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
        ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName);
        ub.set(BuyerId, this.getBuyerId(), this.isset_buyerId);
        ub.set(BuyerName, this.getBuyerName(), this.isset_buyerName);
@@ -212,7 +213,6 @@
        ub.set(IncomeId, this.getIncomeId(), this.isset_incomeId);
        ub.set(IncomeName, this.getIncomeName(), this.isset_incomeName);
        ub.set(IncomeTime, this.getIncomeTime(), this.isset_incomeTime);
        ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
        ub.set(Beiz, this.getBeiz(), this.isset_beiz);
        ub.set(LWarehouseFlowId, this.getLWarehouseFlowId(), this.isset_lWarehouseFlowId);
        return ub.genMapSql(where, parameters);
@@ -225,6 +225,7 @@
    public SqlAndParameters<Object[]> getUpdateSql_(String where, Object[] parameters) {
        UpdateBuilder ub = new UpdateBuilder(this.getTableName_());
        ub.set(BusinessFormCode, this.getBusinessFormCode(), this.isset_businessFormCode);
        ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
        ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName);
        ub.set(BuyerId, this.getBuyerId(), this.isset_buyerId);
        ub.set(BuyerName, this.getBuyerName(), this.isset_buyerName);
@@ -237,7 +238,6 @@
        ub.set(IncomeId, this.getIncomeId(), this.isset_incomeId);
        ub.set(IncomeName, this.getIncomeName(), this.isset_incomeName);
        ub.set(IncomeTime, this.getIncomeTime(), this.isset_incomeTime);
        ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
        ub.set(Beiz, this.getBeiz(), this.isset_beiz);
        ub.set(LWarehouseFlowId, this.getLWarehouseFlowId(), this.isset_lWarehouseFlowId);
        return ub.genArraySql(where, parameters);
@@ -287,7 +287,7 @@
     */
    @Override
    public SqlAndParameters<Map<String, Object>> getSelectSql_(String where, Map<String, Object> parameters) {
        return new SqlAndParameters<>("select id, business_form_code, warehouse_name, buyer_id, buyer_name, procure_time, procure_doc, buy_type, states, agency_id, agency_name, income_id, income_name, income_time, warehouse_id, beiz, l_warehouse_flow_id from " + this.getTableName_() + " " + where, parameters);
        return new SqlAndParameters<>("select id, business_form_code, warehouse_id, warehouse_name, buyer_id, buyer_name, procure_time, procure_doc, buy_type, states, agency_id, agency_name, income_id, income_name, income_time, beiz, l_warehouse_flow_id from " + this.getTableName_() + " " + where, parameters);
    }
    /**
@@ -295,7 +295,7 @@
     */
    @Override
    public SqlAndParameters<Object[]> getSelectSql_(String where, Object[] parameters) {
        return new SqlAndParameters<>("select id, business_form_code, warehouse_name, buyer_id, buyer_name, procure_time, procure_doc, buy_type, states, agency_id, agency_name, income_id, income_name, income_time, warehouse_id, beiz, l_warehouse_flow_id from " + this.getTableName_() + " " + where, parameters);
        return new SqlAndParameters<>("select id, business_form_code, warehouse_id, warehouse_name, buyer_id, buyer_name, procure_time, procure_doc, buy_type, states, agency_id, agency_name, income_id, income_name, income_time, beiz, l_warehouse_flow_id from " + this.getTableName_() + " " + where, parameters);
    }
    /**
@@ -335,6 +335,14 @@
        columnIndex = resultSetUtils.findColumn(rs, LWhFormProcure_mapper.BusinessFormCode);
        if (columnIndex > 0) {
            l_wh_form_procure.setBusinessFormCode(rs.getString(columnIndex));
        }
        columnIndex = resultSetUtils.findColumn(rs, LWhFormProcure_mapper.WarehouseId);
        if (columnIndex > 0) {
            if (rs.getBigDecimal(columnIndex) == null) {
                l_wh_form_procure.setWarehouseId(null);
            } else {
                l_wh_form_procure.setWarehouseId(rs.getLong(columnIndex));
            }
        }
        columnIndex = resultSetUtils.findColumn(rs, LWhFormProcure_mapper.WarehouseName);
        if (columnIndex > 0) {
@@ -410,14 +418,6 @@
                l_wh_form_procure.setIncomeTime(null);
            } else {
                l_wh_form_procure.setIncomeTime(rs.getLong(columnIndex));
            }
        }
        columnIndex = resultSetUtils.findColumn(rs, LWhFormProcure_mapper.WarehouseId);
        if (columnIndex > 0) {
            if (rs.getBigDecimal(columnIndex) == null) {
                l_wh_form_procure.setWarehouseId(null);
            } else {
                l_wh_form_procure.setWarehouseId(rs.getLong(columnIndex));
            }
        }
        columnIndex = resultSetUtils.findColumn(rs, LWhFormProcure_mapper.Beiz);