Commit 0963b26c by yinyong

半成品采购明细新增删除状态

parent ef8771ff
......@@ -348,5 +348,8 @@ public class PurchaseDetailDTO {
@JSONField(name = "isallot")
private Integer isallot;
@JSONField(name = "detail_delstatus")
private Boolean detailDelstatus;
}
......@@ -368,6 +368,15 @@ public class DcSemiPurchaseInfo {
private Integer isallot;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_semi_purchase_info.detail_delstatus
*
* @mbg.generated
*/
private Integer detailDelstatus;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_semi_purchase_info
*
......@@ -419,6 +428,7 @@ public class DcSemiPurchaseInfo {
sb.append(", companyId=").append(companyId);
sb.append(", ispush=").append(ispush);
sb.append(", isallot=").append(isallot);
sb.append(", detailDelstatus=").append(detailDelstatus);
sb.append("]");
return sb.toString();
}
......@@ -480,7 +490,8 @@ public class DcSemiPurchaseInfo {
&& (this.getLogisticsCompanyName() == null ? other.getLogisticsCompanyName() == null : this.getLogisticsCompanyName().equals(other.getLogisticsCompanyName()))
&& (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId()))
&& (this.getIspush() == null ? other.getIspush() == null : this.getIspush().equals(other.getIspush()))
&& (this.getIsallot() == null ? other.getIsallot() == null : this.getIsallot().equals(other.getIsallot()));
&& (this.getIsallot() == null ? other.getIsallot() == null : this.getIsallot().equals(other.getIsallot()))
&& (this.getDetailDelstatus() == null ? other.getDetailDelstatus() == null : this.getDetailDelstatus().equals(other.getDetailDelstatus()));
}
/**
......@@ -533,6 +544,7 @@ public class DcSemiPurchaseInfo {
result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode());
result = prime * result + ((getIspush() == null) ? 0 : getIspush().hashCode());
result = prime * result + ((getIsallot() == null) ? 0 : getIsallot().hashCode());
result = prime * result + ((getDetailDelstatus() == null) ? 0 : getDetailDelstatus().hashCode());
return result;
}
}
\ No newline at end of file
......@@ -2910,6 +2910,66 @@ public class DcSemiPurchaseInfoExample {
addCriterion("isallot not between", value1, value2, "isallot");
return (Criteria) this;
}
public Criteria andDetailDelstatusIsNull() {
addCriterion("detail_delstatus is null");
return (Criteria) this;
}
public Criteria andDetailDelstatusIsNotNull() {
addCriterion("detail_delstatus is not null");
return (Criteria) this;
}
public Criteria andDetailDelstatusEqualTo(Integer value) {
addCriterion("detail_delstatus =", value, "detailDelstatus");
return (Criteria) this;
}
public Criteria andDetailDelstatusNotEqualTo(Integer value) {
addCriterion("detail_delstatus <>", value, "detailDelstatus");
return (Criteria) this;
}
public Criteria andDetailDelstatusGreaterThan(Integer value) {
addCriterion("detail_delstatus >", value, "detailDelstatus");
return (Criteria) this;
}
public Criteria andDetailDelstatusGreaterThanOrEqualTo(Integer value) {
addCriterion("detail_delstatus >=", value, "detailDelstatus");
return (Criteria) this;
}
public Criteria andDetailDelstatusLessThan(Integer value) {
addCriterion("detail_delstatus <", value, "detailDelstatus");
return (Criteria) this;
}
public Criteria andDetailDelstatusLessThanOrEqualTo(Integer value) {
addCriterion("detail_delstatus <=", value, "detailDelstatus");
return (Criteria) this;
}
public Criteria andDetailDelstatusIn(List<Integer> values) {
addCriterion("detail_delstatus in", values, "detailDelstatus");
return (Criteria) this;
}
public Criteria andDetailDelstatusNotIn(List<Integer> values) {
addCriterion("detail_delstatus not in", values, "detailDelstatus");
return (Criteria) this;
}
public Criteria andDetailDelstatusBetween(Integer value1, Integer value2) {
addCriterion("detail_delstatus between", value1, value2, "detailDelstatus");
return (Criteria) this;
}
public Criteria andDetailDelstatusNotBetween(Integer value1, Integer value2) {
addCriterion("detail_delstatus not between", value1, value2, "detailDelstatus");
return (Criteria) this;
}
}
/**
......
......@@ -46,6 +46,7 @@
<result column="company_id" jdbcType="INTEGER" property="companyId" />
<result column="ispush" jdbcType="INTEGER" property="ispush" />
<result column="isallot" jdbcType="TINYINT" property="isallot" />
<result column="detail_delstatus" jdbcType="TINYINT" property="detailDelstatus" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
......@@ -125,7 +126,7 @@
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
logistics_company_name, company_id, ispush, isallot, detail_delstatus
</sql>
<select id="selectByExample" parameterType="com.bailuntec.domain.example.DcSemiPurchaseInfoExample" resultMap="BaseResultMap">
<!--
......@@ -199,8 +200,8 @@
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
)
company_id, ispush, isallot,
detail_delstatus)
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},
......@@ -214,8 +215,8 @@
#{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}
)
#{companyId,jdbcType=INTEGER}, #{ispush,jdbcType=INTEGER}, #{isallot,jdbcType=TINYINT},
#{detailDelstatus,jdbcType=TINYINT})
</insert>
<insert id="insertSelective" parameterType="com.bailuntec.domain.entity.DcSemiPurchaseInfo">
<!--
......@@ -344,6 +345,9 @@
<if test="isallot != null">
isallot,
</if>
<if test="detailDelstatus != null">
detail_delstatus,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
......@@ -466,6 +470,9 @@
<if test="isallot != null">
#{isallot,jdbcType=TINYINT},
</if>
<if test="detailDelstatus != null">
#{detailDelstatus,jdbcType=TINYINT},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.bailuntec.domain.example.DcSemiPurchaseInfoExample" resultType="java.lang.Long">
......@@ -605,6 +612,9 @@
<if test="record.isallot != null">
isallot = #{record.isallot,jdbcType=TINYINT},
</if>
<if test="record.detailDelstatus != null">
detail_delstatus = #{record.detailDelstatus,jdbcType=TINYINT},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
......@@ -655,7 +665,8 @@
logistics_company_name = #{record.logisticsCompanyName,jdbcType=VARCHAR},
company_id = #{record.companyId,jdbcType=INTEGER},
ispush = #{record.ispush,jdbcType=INTEGER},
isallot = #{record.isallot,jdbcType=TINYINT}
isallot = #{record.isallot,jdbcType=TINYINT},
detail_delstatus = #{record.detailDelstatus,jdbcType=TINYINT}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
......@@ -784,6 +795,9 @@
<if test="isallot != null">
isallot = #{isallot,jdbcType=TINYINT},
</if>
<if test="detailDelstatus != null">
detail_delstatus = #{detailDelstatus,jdbcType=TINYINT},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
......@@ -831,7 +845,8 @@
logistics_company_name = #{logisticsCompanyName,jdbcType=VARCHAR},
company_id = #{companyId,jdbcType=INTEGER},
ispush = #{ispush,jdbcType=INTEGER},
isallot = #{isallot,jdbcType=TINYINT}
isallot = #{isallot,jdbcType=TINYINT},
detail_delstatus = #{detailDelstatus,jdbcType=TINYINT}
where id = #{id,jdbcType=INTEGER}
</update>
<insert id="upsertSelective" parameterType="com.bailuntec.domain.entity.DcSemiPurchaseInfo">
......@@ -962,6 +977,9 @@
<if test="isallot != null">
isallot,
</if>
<if test="detailDelstatus != null">
detail_delstatus,
</if>
</trim>
values
<trim prefix="(" suffix=")" suffixOverrides=",">
......@@ -1085,6 +1103,9 @@
<if test="isallot != null">
#{isallot,jdbcType=TINYINT},
</if>
<if test="detailDelstatus != null">
#{detailDelstatus,jdbcType=TINYINT},
</if>
</trim>
on duplicate key update
<trim suffixOverrides=",">
......@@ -1208,6 +1229,9 @@
<if test="isallot != null">
isallot = #{isallot,jdbcType=TINYINT},
</if>
<if test="detailDelstatus != null">
detail_delstatus = #{detailDelstatus,jdbcType=TINYINT},
</if>
</trim>
</insert>
<insert id="upsert" parameterType="com.bailuntec.domain.entity.DcSemiPurchaseInfo">
......@@ -1224,7 +1248,8 @@
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)
logistics_order_id, logistics_company_name, company_id, ispush, isallot, detail_delstatus
)
values
(#{id,jdbcType=INTEGER}, #{purchaseId,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT},
#{purchaseCategoryName,jdbcType=VARCHAR}, #{deliverId,jdbcType=INTEGER}, #{deliverName,jdbcType=VARCHAR},
......@@ -1239,8 +1264,8 @@
#{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}
)
#{companyId,jdbcType=INTEGER}, #{ispush,jdbcType=INTEGER}, #{isallot,jdbcType=TINYINT},
#{detailDelstatus,jdbcType=TINYINT})
on duplicate key update
id = #{id,jdbcType=INTEGER},
purchase_id = #{purchaseId,jdbcType=VARCHAR},
......@@ -1281,7 +1306,8 @@
logistics_company_name = #{logisticsCompanyName,jdbcType=VARCHAR},
company_id = #{companyId,jdbcType=INTEGER},
ispush = #{ispush,jdbcType=INTEGER},
isallot = #{isallot,jdbcType=TINYINT}
isallot = #{isallot,jdbcType=TINYINT},
detail_delstatus = #{detailDelstatus,jdbcType=TINYINT}
</insert>
<select id="selectOneByExample" parameterType="com.bailuntec.domain.example.DcSemiPurchaseInfoExample" 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