Commit b33b811d by yinyong

采购明细--供应商value值

parent fcbc2c35
......@@ -58,6 +58,9 @@ public class PurchaseDetailDTO {
@JSONField(name = "SupplierName")
private String deliverName;
@JSONField(name = "SupplierValue")
private Integer deliverValue;
/**
*
* This field was generated by MyBatis Generator.
......
......@@ -64,6 +64,15 @@ public class DcBasePurchaseDetails {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.deliver_value
*
* @mbg.generated
*/
private Integer deliverValue;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.buyer_name
*
* @mbg.generated
......@@ -365,7 +374,7 @@ public class DcBasePurchaseDetails {
*
* @mbg.generated
*/
private Boolean isallot;
private Integer isallot;
/**
* This method was generated by MyBatis Generator.
......@@ -385,6 +394,7 @@ public class DcBasePurchaseDetails {
sb.append(", purchaseCategoryName=").append(purchaseCategoryName);
sb.append(", deliverId=").append(deliverId);
sb.append(", deliverName=").append(deliverName);
sb.append(", deliverValue=").append(deliverValue);
sb.append(", buyerName=").append(buyerName);
sb.append(", warehouseFromCode=").append(warehouseFromCode);
sb.append(", warehouseFromName=").append(warehouseFromName);
......@@ -447,6 +457,7 @@ public class DcBasePurchaseDetails {
&& (this.getPurchaseCategoryName() == null ? other.getPurchaseCategoryName() == null : this.getPurchaseCategoryName().equals(other.getPurchaseCategoryName()))
&& (this.getDeliverId() == null ? other.getDeliverId() == null : this.getDeliverId().equals(other.getDeliverId()))
&& (this.getDeliverName() == null ? other.getDeliverName() == null : this.getDeliverName().equals(other.getDeliverName()))
&& (this.getDeliverValue() == null ? other.getDeliverValue() == null : this.getDeliverValue().equals(other.getDeliverValue()))
&& (this.getBuyerName() == null ? other.getBuyerName() == null : this.getBuyerName().equals(other.getBuyerName()))
&& (this.getWarehouseFromCode() == null ? other.getWarehouseFromCode() == null : this.getWarehouseFromCode().equals(other.getWarehouseFromCode()))
&& (this.getWarehouseFromName() == null ? other.getWarehouseFromName() == null : this.getWarehouseFromName().equals(other.getWarehouseFromName()))
......@@ -499,6 +510,7 @@ public class DcBasePurchaseDetails {
result = prime * result + ((getPurchaseCategoryName() == null) ? 0 : getPurchaseCategoryName().hashCode());
result = prime * result + ((getDeliverId() == null) ? 0 : getDeliverId().hashCode());
result = prime * result + ((getDeliverName() == null) ? 0 : getDeliverName().hashCode());
result = prime * result + ((getDeliverValue() == null) ? 0 : getDeliverValue().hashCode());
result = prime * result + ((getBuyerName() == null) ? 0 : getBuyerName().hashCode());
result = prime * result + ((getWarehouseFromCode() == null) ? 0 : getWarehouseFromCode().hashCode());
result = prime * result + ((getWarehouseFromName() == null) ? 0 : getWarehouseFromName().hashCode());
......
......@@ -761,6 +761,66 @@ public class DcBasePurchaseDetailsExample {
return (Criteria) this;
}
public Criteria andDeliverValueIsNull() {
addCriterion("deliver_value is null");
return (Criteria) this;
}
public Criteria andDeliverValueIsNotNull() {
addCriterion("deliver_value is not null");
return (Criteria) this;
}
public Criteria andDeliverValueEqualTo(Integer value) {
addCriterion("deliver_value =", value, "deliverValue");
return (Criteria) this;
}
public Criteria andDeliverValueNotEqualTo(Integer value) {
addCriterion("deliver_value <>", value, "deliverValue");
return (Criteria) this;
}
public Criteria andDeliverValueGreaterThan(Integer value) {
addCriterion("deliver_value >", value, "deliverValue");
return (Criteria) this;
}
public Criteria andDeliverValueGreaterThanOrEqualTo(Integer value) {
addCriterion("deliver_value >=", value, "deliverValue");
return (Criteria) this;
}
public Criteria andDeliverValueLessThan(Integer value) {
addCriterion("deliver_value <", value, "deliverValue");
return (Criteria) this;
}
public Criteria andDeliverValueLessThanOrEqualTo(Integer value) {
addCriterion("deliver_value <=", value, "deliverValue");
return (Criteria) this;
}
public Criteria andDeliverValueIn(List<Integer> values) {
addCriterion("deliver_value in", values, "deliverValue");
return (Criteria) this;
}
public Criteria andDeliverValueNotIn(List<Integer> values) {
addCriterion("deliver_value not in", values, "deliverValue");
return (Criteria) this;
}
public Criteria andDeliverValueBetween(Integer value1, Integer value2) {
addCriterion("deliver_value between", value1, value2, "deliverValue");
return (Criteria) this;
}
public Criteria andDeliverValueNotBetween(Integer value1, Integer value2) {
addCriterion("deliver_value not between", value1, value2, "deliverValue");
return (Criteria) this;
}
public Criteria andBuyerNameIsNull() {
addCriterion("buyer_name is null");
return (Criteria) this;
......@@ -2801,52 +2861,52 @@ public class DcBasePurchaseDetailsExample {
return (Criteria) this;
}
public Criteria andIspushEqualTo(Boolean value) {
public Criteria andIspushEqualTo(Integer value) {
addCriterion("ispush =", value, "ispush");
return (Criteria) this;
}
public Criteria andIspushNotEqualTo(Boolean value) {
public Criteria andIspushNotEqualTo(Integer value) {
addCriterion("ispush <>", value, "ispush");
return (Criteria) this;
}
public Criteria andIspushGreaterThan(Boolean value) {
public Criteria andIspushGreaterThan(Integer value) {
addCriterion("ispush >", value, "ispush");
return (Criteria) this;
}
public Criteria andIspushGreaterThanOrEqualTo(Boolean value) {
public Criteria andIspushGreaterThanOrEqualTo(Integer value) {
addCriterion("ispush >=", value, "ispush");
return (Criteria) this;
}
public Criteria andIspushLessThan(Boolean value) {
public Criteria andIspushLessThan(Integer value) {
addCriterion("ispush <", value, "ispush");
return (Criteria) this;
}
public Criteria andIspushLessThanOrEqualTo(Boolean value) {
public Criteria andIspushLessThanOrEqualTo(Integer value) {
addCriterion("ispush <=", value, "ispush");
return (Criteria) this;
}
public Criteria andIspushIn(List<Boolean> values) {
public Criteria andIspushIn(List<Integer> values) {
addCriterion("ispush in", values, "ispush");
return (Criteria) this;
}
public Criteria andIspushNotIn(List<Boolean> values) {
public Criteria andIspushNotIn(List<Integer> values) {
addCriterion("ispush not in", values, "ispush");
return (Criteria) this;
}
public Criteria andIspushBetween(Boolean value1, Boolean value2) {
public Criteria andIspushBetween(Integer value1, Integer value2) {
addCriterion("ispush between", value1, value2, "ispush");
return (Criteria) this;
}
public Criteria andIspushNotBetween(Boolean value1, Boolean value2) {
public Criteria andIspushNotBetween(Integer value1, Integer value2) {
addCriterion("ispush not between", value1, value2, "ispush");
return (Criteria) this;
}
......@@ -2861,52 +2921,52 @@ public class DcBasePurchaseDetailsExample {
return (Criteria) this;
}
public Criteria andIsallotEqualTo(Boolean value) {
public Criteria andIsallotEqualTo(Integer value) {
addCriterion("isallot =", value, "isallot");
return (Criteria) this;
}
public Criteria andIsallotNotEqualTo(Boolean value) {
public Criteria andIsallotNotEqualTo(Integer value) {
addCriterion("isallot <>", value, "isallot");
return (Criteria) this;
}
public Criteria andIsallotGreaterThan(Boolean value) {
public Criteria andIsallotGreaterThan(Integer value) {
addCriterion("isallot >", value, "isallot");
return (Criteria) this;
}
public Criteria andIsallotGreaterThanOrEqualTo(Boolean value) {
public Criteria andIsallotGreaterThanOrEqualTo(Integer value) {
addCriterion("isallot >=", value, "isallot");
return (Criteria) this;
}
public Criteria andIsallotLessThan(Boolean value) {
public Criteria andIsallotLessThan(Integer value) {
addCriterion("isallot <", value, "isallot");
return (Criteria) this;
}
public Criteria andIsallotLessThanOrEqualTo(Boolean value) {
public Criteria andIsallotLessThanOrEqualTo(Integer value) {
addCriterion("isallot <=", value, "isallot");
return (Criteria) this;
}
public Criteria andIsallotIn(List<Boolean> values) {
public Criteria andIsallotIn(List<Integer> values) {
addCriterion("isallot in", values, "isallot");
return (Criteria) this;
}
public Criteria andIsallotNotIn(List<Boolean> values) {
public Criteria andIsallotNotIn(List<Integer> values) {
addCriterion("isallot not in", values, "isallot");
return (Criteria) this;
}
public Criteria andIsallotBetween(Boolean value1, Boolean value2) {
public Criteria andIsallotBetween(Integer value1, Integer value2) {
addCriterion("isallot between", value1, value2, "isallot");
return (Criteria) this;
}
public Criteria andIsallotNotBetween(Boolean value1, Boolean value2) {
public Criteria andIsallotNotBetween(Integer value1, Integer value2) {
addCriterion("isallot not between", value1, value2, "isallot");
return (Criteria) this;
}
......
......@@ -12,6 +12,7 @@
<result column="purchase_category_name" jdbcType="VARCHAR" property="purchaseCategoryName" />
<result column="deliver_id" jdbcType="INTEGER" property="deliverId" />
<result column="deliver_name" jdbcType="VARCHAR" property="deliverName" />
<result column="deliver_value" jdbcType="INTEGER" property="deliverValue" />
<result column="buyer_name" jdbcType="VARCHAR" property="buyerName" />
<result column="warehouse_from_code" jdbcType="VARCHAR" property="warehouseFromCode" />
<result column="warehouse_from_name" jdbcType="VARCHAR" property="warehouseFromName" />
......@@ -45,7 +46,7 @@
<result column="logistics_company_name" jdbcType="VARCHAR" property="logisticsCompanyName" />
<result column="company_id" jdbcType="INTEGER" property="companyId" />
<result column="ispush" jdbcType="INTEGER" property="ispush" />
<result column="isallot" jdbcType="BIT" property="isallot" />
<result column="isallot" jdbcType="TINYINT" property="isallot" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
......@@ -118,8 +119,8 @@
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
id, purchase_id, status, purchase_category_name, deliver_id, deliver_name, buyer_name,
warehouse_from_code, warehouse_from_name, warehouse_into_code, warehouse_into_name,
id, purchase_id, status, purchase_category_name, deliver_id, deliver_name, deliver_value,
buyer_name, warehouse_from_code, warehouse_from_name, warehouse_into_code, warehouse_into_name,
bailun_sku, quantity_purchase, unit_price, amount_paid, currency_code, currency_name,
quantity_return, quantity_inbound, quantity_deliver, quantity_not_deliver, quantity_arrival,
quantity_not_arrival, quantity_inspect, quantity_qualified_inspect, quantity_unqualified_inspect,
......@@ -188,33 +189,35 @@
-->
insert into dc_base_purchase_details (id, purchase_id, status,
purchase_category_name, deliver_id, deliver_name,
buyer_name, warehouse_from_code, warehouse_from_name,
warehouse_into_code, warehouse_into_name, bailun_sku,
quantity_purchase, unit_price, amount_paid,
currency_code, currency_name, quantity_return,
quantity_inbound, quantity_deliver, quantity_not_deliver,
quantity_arrival, quantity_not_arrival, quantity_inspect,
quantity_qualified_inspect, quantity_unqualified_inspect,
quantity_wait_transfer, quantity_exchange,
quantity_lose_inbound, create_time, update_time,
gmt_create, gmt_modified, quantity_not_inbound,
alibaba_order_id, logistics_order_id, logistics_company_name,
deliver_value, buyer_name, warehouse_from_code,
warehouse_from_name, warehouse_into_code, warehouse_into_name,
bailun_sku, quantity_purchase, unit_price,
amount_paid, currency_code, currency_name,
quantity_return, quantity_inbound, quantity_deliver,
quantity_not_deliver, quantity_arrival, quantity_not_arrival,
quantity_inspect, quantity_qualified_inspect,
quantity_unqualified_inspect, quantity_wait_transfer,
quantity_exchange, quantity_lose_inbound,
create_time, update_time, gmt_create,
gmt_modified, quantity_not_inbound, alibaba_order_id,
logistics_order_id, logistics_company_name,
company_id, ispush, isallot
)
values (#{id,jdbcType=INTEGER}, #{purchaseId,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT},
#{purchaseCategoryName,jdbcType=VARCHAR}, #{deliverId,jdbcType=INTEGER}, #{deliverName,jdbcType=VARCHAR},
#{buyerName,jdbcType=VARCHAR}, #{warehouseFromCode,jdbcType=VARCHAR}, #{warehouseFromName,jdbcType=VARCHAR},
#{warehouseIntoCode,jdbcType=VARCHAR}, #{warehouseIntoName,jdbcType=VARCHAR}, #{bailunSku,jdbcType=VARCHAR},
#{quantityPurchase,jdbcType=INTEGER}, #{unitPrice,jdbcType=DECIMAL}, #{amountPaid,jdbcType=DECIMAL},
#{currencyCode,jdbcType=VARCHAR}, #{currencyName,jdbcType=VARCHAR}, #{quantityReturn,jdbcType=INTEGER},
#{quantityInbound,jdbcType=INTEGER}, #{quantityDeliver,jdbcType=INTEGER}, #{quantityNotDeliver,jdbcType=INTEGER},
#{quantityArrival,jdbcType=INTEGER}, #{quantityNotArrival,jdbcType=INTEGER}, #{quantityInspect,jdbcType=INTEGER},
#{quantityQualifiedInspect,jdbcType=INTEGER}, #{quantityUnqualifiedInspect,jdbcType=INTEGER},
#{quantityWaitTransfer,jdbcType=INTEGER}, #{quantityExchange,jdbcType=INTEGER},
#{quantityLoseInbound,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
#{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP}, #{quantityNotInbound,jdbcType=INTEGER},
#{alibabaOrderId,jdbcType=VARCHAR}, #{logisticsOrderId,jdbcType=VARCHAR}, #{logisticsCompanyName,jdbcType=VARCHAR},
#{companyId,jdbcType=INTEGER}, #{ispush,jdbcType=INTEGER}, #{isallot,jdbcType=BIT}
#{deliverValue,jdbcType=INTEGER}, #{buyerName,jdbcType=VARCHAR}, #{warehouseFromCode,jdbcType=VARCHAR},
#{warehouseFromName,jdbcType=VARCHAR}, #{warehouseIntoCode,jdbcType=VARCHAR}, #{warehouseIntoName,jdbcType=VARCHAR},
#{bailunSku,jdbcType=VARCHAR}, #{quantityPurchase,jdbcType=INTEGER}, #{unitPrice,jdbcType=DECIMAL},
#{amountPaid,jdbcType=DECIMAL}, #{currencyCode,jdbcType=VARCHAR}, #{currencyName,jdbcType=VARCHAR},
#{quantityReturn,jdbcType=INTEGER}, #{quantityInbound,jdbcType=INTEGER}, #{quantityDeliver,jdbcType=INTEGER},
#{quantityNotDeliver,jdbcType=INTEGER}, #{quantityArrival,jdbcType=INTEGER}, #{quantityNotArrival,jdbcType=INTEGER},
#{quantityInspect,jdbcType=INTEGER}, #{quantityQualifiedInspect,jdbcType=INTEGER},
#{quantityUnqualifiedInspect,jdbcType=INTEGER}, #{quantityWaitTransfer,jdbcType=INTEGER},
#{quantityExchange,jdbcType=INTEGER}, #{quantityLoseInbound,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{gmtCreate,jdbcType=TIMESTAMP},
#{gmtModified,jdbcType=TIMESTAMP}, #{quantityNotInbound,jdbcType=INTEGER}, #{alibabaOrderId,jdbcType=VARCHAR},
#{logisticsOrderId,jdbcType=VARCHAR}, #{logisticsCompanyName,jdbcType=VARCHAR},
#{companyId,jdbcType=INTEGER}, #{ispush,jdbcType=INTEGER}, #{isallot,jdbcType=TINYINT}
)
</insert>
<insert id="insertSelective" parameterType="com.bailuntec.domain.entity.DcBasePurchaseDetails">
......@@ -242,6 +245,9 @@
<if test="deliverName != null">
deliver_name,
</if>
<if test="deliverValue != null">
deliver_value,
</if>
<if test="buyerName != null">
buyer_name,
</if>
......@@ -364,6 +370,9 @@
<if test="deliverName != null">
#{deliverName,jdbcType=VARCHAR},
</if>
<if test="deliverValue != null">
#{deliverValue,jdbcType=INTEGER},
</if>
<if test="buyerName != null">
#{buyerName,jdbcType=VARCHAR},
</if>
......@@ -464,7 +473,7 @@
#{ispush,jdbcType=INTEGER},
</if>
<if test="isallot != null">
#{isallot,jdbcType=BIT},
#{isallot,jdbcType=TINYINT},
</if>
</trim>
</insert>
......@@ -503,6 +512,9 @@
<if test="record.deliverName != null">
deliver_name = #{record.deliverName,jdbcType=VARCHAR},
</if>
<if test="record.deliverValue != null">
deliver_value = #{record.deliverValue,jdbcType=INTEGER},
</if>
<if test="record.buyerName != null">
buyer_name = #{record.buyerName,jdbcType=VARCHAR},
</if>
......@@ -603,7 +615,7 @@
ispush = #{record.ispush,jdbcType=INTEGER},
</if>
<if test="record.isallot != null">
isallot = #{record.isallot,jdbcType=BIT},
isallot = #{record.isallot,jdbcType=TINYINT},
</if>
</set>
<if test="_parameter != null">
......@@ -622,6 +634,7 @@
purchase_category_name = #{record.purchaseCategoryName,jdbcType=VARCHAR},
deliver_id = #{record.deliverId,jdbcType=INTEGER},
deliver_name = #{record.deliverName,jdbcType=VARCHAR},
deliver_value = #{record.deliverValue,jdbcType=INTEGER},
buyer_name = #{record.buyerName,jdbcType=VARCHAR},
warehouse_from_code = #{record.warehouseFromCode,jdbcType=VARCHAR},
warehouse_from_name = #{record.warehouseFromName,jdbcType=VARCHAR},
......@@ -655,7 +668,7 @@
logistics_company_name = #{record.logisticsCompanyName,jdbcType=VARCHAR},
company_id = #{record.companyId,jdbcType=INTEGER},
ispush = #{record.ispush,jdbcType=INTEGER},
isallot = #{record.isallot,jdbcType=BIT}
isallot = #{record.isallot,jdbcType=TINYINT}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
......@@ -682,6 +695,9 @@
<if test="deliverName != null">
deliver_name = #{deliverName,jdbcType=VARCHAR},
</if>
<if test="deliverValue != null">
deliver_value = #{deliverValue,jdbcType=INTEGER},
</if>
<if test="buyerName != null">
buyer_name = #{buyerName,jdbcType=VARCHAR},
</if>
......@@ -782,7 +798,7 @@
ispush = #{ispush,jdbcType=INTEGER},
</if>
<if test="isallot != null">
isallot = #{isallot,jdbcType=BIT},
isallot = #{isallot,jdbcType=TINYINT},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
......@@ -798,6 +814,7 @@
purchase_category_name = #{purchaseCategoryName,jdbcType=VARCHAR},
deliver_id = #{deliverId,jdbcType=INTEGER},
deliver_name = #{deliverName,jdbcType=VARCHAR},
deliver_value = #{deliverValue,jdbcType=INTEGER},
buyer_name = #{buyerName,jdbcType=VARCHAR},
warehouse_from_code = #{warehouseFromCode,jdbcType=VARCHAR},
warehouse_from_name = #{warehouseFromName,jdbcType=VARCHAR},
......@@ -831,7 +848,7 @@
logistics_company_name = #{logisticsCompanyName,jdbcType=VARCHAR},
company_id = #{companyId,jdbcType=INTEGER},
ispush = #{ispush,jdbcType=INTEGER},
isallot = #{isallot,jdbcType=BIT}
isallot = #{isallot,jdbcType=TINYINT}
where id = #{id,jdbcType=INTEGER}
</update>
<insert id="upsertSelective" parameterType="com.bailuntec.domain.entity.DcBasePurchaseDetails">
......@@ -860,6 +877,9 @@
<if test="deliverName != null">
deliver_name,
</if>
<if test="deliverValue != null">
deliver_value,
</if>
<if test="buyerName != null">
buyer_name,
</if>
......@@ -983,6 +1003,9 @@
<if test="deliverName != null">
#{deliverName,jdbcType=VARCHAR},
</if>
<if test="deliverValue != null">
#{deliverValue,jdbcType=INTEGER},
</if>
<if test="buyerName != null">
#{buyerName,jdbcType=VARCHAR},
</if>
......@@ -1083,7 +1106,7 @@
#{ispush,jdbcType=INTEGER},
</if>
<if test="isallot != null">
#{isallot,jdbcType=BIT},
#{isallot,jdbcType=TINYINT},
</if>
</trim>
on duplicate key update
......@@ -1106,6 +1129,9 @@
<if test="deliverName != null">
deliver_name = #{deliverName,jdbcType=VARCHAR},
</if>
<if test="deliverValue != null">
deliver_value = #{deliverValue,jdbcType=INTEGER},
</if>
<if test="buyerName != null">
buyer_name = #{buyerName,jdbcType=VARCHAR},
</if>
......@@ -1206,7 +1232,7 @@
ispush = #{ispush,jdbcType=INTEGER},
</if>
<if test="isallot != null">
isallot = #{isallot,jdbcType=BIT},
isallot = #{isallot,jdbcType=TINYINT},
</if>
</trim>
</insert>
......@@ -1217,8 +1243,8 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
insert into dc_base_purchase_details
(id, purchase_id, status, purchase_category_name, deliver_id, deliver_name, buyer_name,
warehouse_from_code, warehouse_from_name, warehouse_into_code, warehouse_into_name,
(id, purchase_id, status, purchase_category_name, deliver_id, deliver_name, deliver_value,
buyer_name, warehouse_from_code, warehouse_from_name, warehouse_into_code, warehouse_into_name,
bailun_sku, quantity_purchase, unit_price, amount_paid, currency_code, currency_name,
quantity_return, quantity_inbound, quantity_deliver, quantity_not_deliver, quantity_arrival,
quantity_not_arrival, quantity_inspect, quantity_qualified_inspect, quantity_unqualified_inspect,
......@@ -1228,18 +1254,19 @@
values
(#{id,jdbcType=INTEGER}, #{purchaseId,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT},
#{purchaseCategoryName,jdbcType=VARCHAR}, #{deliverId,jdbcType=INTEGER}, #{deliverName,jdbcType=VARCHAR},
#{buyerName,jdbcType=VARCHAR}, #{warehouseFromCode,jdbcType=VARCHAR}, #{warehouseFromName,jdbcType=VARCHAR},
#{warehouseIntoCode,jdbcType=VARCHAR}, #{warehouseIntoName,jdbcType=VARCHAR}, #{bailunSku,jdbcType=VARCHAR},
#{quantityPurchase,jdbcType=INTEGER}, #{unitPrice,jdbcType=DECIMAL}, #{amountPaid,jdbcType=DECIMAL},
#{currencyCode,jdbcType=VARCHAR}, #{currencyName,jdbcType=VARCHAR}, #{quantityReturn,jdbcType=INTEGER},
#{quantityInbound,jdbcType=INTEGER}, #{quantityDeliver,jdbcType=INTEGER}, #{quantityNotDeliver,jdbcType=INTEGER},
#{quantityArrival,jdbcType=INTEGER}, #{quantityNotArrival,jdbcType=INTEGER}, #{quantityInspect,jdbcType=INTEGER},
#{quantityQualifiedInspect,jdbcType=INTEGER}, #{quantityUnqualifiedInspect,jdbcType=INTEGER},
#{quantityWaitTransfer,jdbcType=INTEGER}, #{quantityExchange,jdbcType=INTEGER},
#{quantityLoseInbound,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
#{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP}, #{quantityNotInbound,jdbcType=INTEGER},
#{alibabaOrderId,jdbcType=VARCHAR}, #{logisticsOrderId,jdbcType=VARCHAR}, #{logisticsCompanyName,jdbcType=VARCHAR},
#{companyId,jdbcType=INTEGER}, #{ispush,jdbcType=INTEGER}, #{isallot,jdbcType=BIT}
#{deliverValue,jdbcType=INTEGER}, #{buyerName,jdbcType=VARCHAR}, #{warehouseFromCode,jdbcType=VARCHAR},
#{warehouseFromName,jdbcType=VARCHAR}, #{warehouseIntoCode,jdbcType=VARCHAR}, #{warehouseIntoName,jdbcType=VARCHAR},
#{bailunSku,jdbcType=VARCHAR}, #{quantityPurchase,jdbcType=INTEGER}, #{unitPrice,jdbcType=DECIMAL},
#{amountPaid,jdbcType=DECIMAL}, #{currencyCode,jdbcType=VARCHAR}, #{currencyName,jdbcType=VARCHAR},
#{quantityReturn,jdbcType=INTEGER}, #{quantityInbound,jdbcType=INTEGER}, #{quantityDeliver,jdbcType=INTEGER},
#{quantityNotDeliver,jdbcType=INTEGER}, #{quantityArrival,jdbcType=INTEGER}, #{quantityNotArrival,jdbcType=INTEGER},
#{quantityInspect,jdbcType=INTEGER}, #{quantityQualifiedInspect,jdbcType=INTEGER},
#{quantityUnqualifiedInspect,jdbcType=INTEGER}, #{quantityWaitTransfer,jdbcType=INTEGER},
#{quantityExchange,jdbcType=INTEGER}, #{quantityLoseInbound,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{gmtCreate,jdbcType=TIMESTAMP},
#{gmtModified,jdbcType=TIMESTAMP}, #{quantityNotInbound,jdbcType=INTEGER}, #{alibabaOrderId,jdbcType=VARCHAR},
#{logisticsOrderId,jdbcType=VARCHAR}, #{logisticsCompanyName,jdbcType=VARCHAR},
#{companyId,jdbcType=INTEGER}, #{ispush,jdbcType=INTEGER}, #{isallot,jdbcType=TINYINT}
)
on duplicate key update
id = #{id,jdbcType=INTEGER},
......@@ -1248,6 +1275,7 @@
purchase_category_name = #{purchaseCategoryName,jdbcType=VARCHAR},
deliver_id = #{deliverId,jdbcType=INTEGER},
deliver_name = #{deliverName,jdbcType=VARCHAR},
deliver_value = #{deliverValue,jdbcType=INTEGER},
buyer_name = #{buyerName,jdbcType=VARCHAR},
warehouse_from_code = #{warehouseFromCode,jdbcType=VARCHAR},
warehouse_from_name = #{warehouseFromName,jdbcType=VARCHAR},
......@@ -1281,7 +1309,7 @@
logistics_company_name = #{logisticsCompanyName,jdbcType=VARCHAR},
company_id = #{companyId,jdbcType=INTEGER},
ispush = #{ispush,jdbcType=INTEGER},
isallot = #{isallot,jdbcType=BIT}
isallot = #{isallot,jdbcType=TINYINT}
</insert>
<select id="selectOneByExample" parameterType="com.bailuntec.domain.example.DcBasePurchaseDetailsExample" resultMap="BaseResultMap">
<!--
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment