Commit 243b40c4 by yinyong

采购推送状态修改

parent 2e531000
...@@ -356,7 +356,7 @@ public class DcBasePurchaseDetails { ...@@ -356,7 +356,7 @@ public class DcBasePurchaseDetails {
* *
* @mbg.generated * @mbg.generated
*/ */
private Boolean ispush; private Integer ispush;
/** /**
* *
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<result column="logistics_order_id" jdbcType="VARCHAR" property="logisticsOrderId" /> <result column="logistics_order_id" jdbcType="VARCHAR" property="logisticsOrderId" />
<result column="logistics_company_name" jdbcType="VARCHAR" property="logisticsCompanyName" /> <result column="logistics_company_name" jdbcType="VARCHAR" property="logisticsCompanyName" />
<result column="company_id" jdbcType="INTEGER" property="companyId" /> <result column="company_id" jdbcType="INTEGER" property="companyId" />
<result column="ispush" jdbcType="BIT" property="ispush" /> <result column="ispush" jdbcType="INTEGER" property="ispush" />
<result column="isallot" jdbcType="BIT" property="isallot" /> <result column="isallot" jdbcType="BIT" property="isallot" />
</resultMap> </resultMap>
<sql id="Example_Where_Clause"> <sql id="Example_Where_Clause">
...@@ -199,7 +199,8 @@ ...@@ -199,7 +199,8 @@
quantity_lose_inbound, create_time, update_time, quantity_lose_inbound, create_time, update_time,
gmt_create, gmt_modified, quantity_not_inbound, gmt_create, gmt_modified, quantity_not_inbound,
alibaba_order_id, logistics_order_id, logistics_company_name, alibaba_order_id, logistics_order_id, logistics_company_name,
company_id, ispush, isallot) company_id, ispush, isallot
)
values (#{id,jdbcType=INTEGER}, #{purchaseId,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT}, values (#{id,jdbcType=INTEGER}, #{purchaseId,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT},
#{purchaseCategoryName,jdbcType=VARCHAR}, #{deliverId,jdbcType=INTEGER}, #{deliverName,jdbcType=VARCHAR}, #{purchaseCategoryName,jdbcType=VARCHAR}, #{deliverId,jdbcType=INTEGER}, #{deliverName,jdbcType=VARCHAR},
#{buyerName,jdbcType=VARCHAR}, #{warehouseFromCode,jdbcType=VARCHAR}, #{warehouseFromName,jdbcType=VARCHAR}, #{buyerName,jdbcType=VARCHAR}, #{warehouseFromCode,jdbcType=VARCHAR}, #{warehouseFromName,jdbcType=VARCHAR},
...@@ -213,7 +214,8 @@ ...@@ -213,7 +214,8 @@
#{quantityLoseInbound,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{quantityLoseInbound,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
#{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP}, #{quantityNotInbound,jdbcType=INTEGER}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP}, #{quantityNotInbound,jdbcType=INTEGER},
#{alibabaOrderId,jdbcType=VARCHAR}, #{logisticsOrderId,jdbcType=VARCHAR}, #{logisticsCompanyName,jdbcType=VARCHAR}, #{alibabaOrderId,jdbcType=VARCHAR}, #{logisticsOrderId,jdbcType=VARCHAR}, #{logisticsCompanyName,jdbcType=VARCHAR},
#{companyId,jdbcType=INTEGER}, #{ispush,jdbcType=BIT}, #{isallot,jdbcType=BIT}) #{companyId,jdbcType=INTEGER}, #{ispush,jdbcType=INTEGER}, #{isallot,jdbcType=BIT}
)
</insert> </insert>
<insert id="insertSelective" parameterType="com.bailuntec.domain.entity.DcBasePurchaseDetails"> <insert id="insertSelective" parameterType="com.bailuntec.domain.entity.DcBasePurchaseDetails">
<!-- <!--
...@@ -459,7 +461,7 @@ ...@@ -459,7 +461,7 @@
#{companyId,jdbcType=INTEGER}, #{companyId,jdbcType=INTEGER},
</if> </if>
<if test="ispush != null"> <if test="ispush != null">
#{ispush,jdbcType=BIT}, #{ispush,jdbcType=INTEGER},
</if> </if>
<if test="isallot != null"> <if test="isallot != null">
#{isallot,jdbcType=BIT}, #{isallot,jdbcType=BIT},
...@@ -598,7 +600,7 @@ ...@@ -598,7 +600,7 @@
company_id = #{record.companyId,jdbcType=INTEGER}, company_id = #{record.companyId,jdbcType=INTEGER},
</if> </if>
<if test="record.ispush != null"> <if test="record.ispush != null">
ispush = #{record.ispush,jdbcType=BIT}, ispush = #{record.ispush,jdbcType=INTEGER},
</if> </if>
<if test="record.isallot != null"> <if test="record.isallot != null">
isallot = #{record.isallot,jdbcType=BIT}, isallot = #{record.isallot,jdbcType=BIT},
...@@ -652,7 +654,7 @@ ...@@ -652,7 +654,7 @@
logistics_order_id = #{record.logisticsOrderId,jdbcType=VARCHAR}, logistics_order_id = #{record.logisticsOrderId,jdbcType=VARCHAR},
logistics_company_name = #{record.logisticsCompanyName,jdbcType=VARCHAR}, logistics_company_name = #{record.logisticsCompanyName,jdbcType=VARCHAR},
company_id = #{record.companyId,jdbcType=INTEGER}, company_id = #{record.companyId,jdbcType=INTEGER},
ispush = #{record.ispush,jdbcType=BIT}, ispush = #{record.ispush,jdbcType=INTEGER},
isallot = #{record.isallot,jdbcType=BIT} isallot = #{record.isallot,jdbcType=BIT}
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" /> <include refid="Update_By_Example_Where_Clause" />
...@@ -777,7 +779,7 @@ ...@@ -777,7 +779,7 @@
company_id = #{companyId,jdbcType=INTEGER}, company_id = #{companyId,jdbcType=INTEGER},
</if> </if>
<if test="ispush != null"> <if test="ispush != null">
ispush = #{ispush,jdbcType=BIT}, ispush = #{ispush,jdbcType=INTEGER},
</if> </if>
<if test="isallot != null"> <if test="isallot != null">
isallot = #{isallot,jdbcType=BIT}, isallot = #{isallot,jdbcType=BIT},
...@@ -828,7 +830,7 @@ ...@@ -828,7 +830,7 @@
logistics_order_id = #{logisticsOrderId,jdbcType=VARCHAR}, logistics_order_id = #{logisticsOrderId,jdbcType=VARCHAR},
logistics_company_name = #{logisticsCompanyName,jdbcType=VARCHAR}, logistics_company_name = #{logisticsCompanyName,jdbcType=VARCHAR},
company_id = #{companyId,jdbcType=INTEGER}, company_id = #{companyId,jdbcType=INTEGER},
ispush = #{ispush,jdbcType=BIT}, ispush = #{ispush,jdbcType=INTEGER},
isallot = #{isallot,jdbcType=BIT} isallot = #{isallot,jdbcType=BIT}
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</update> </update>
...@@ -1078,7 +1080,7 @@ ...@@ -1078,7 +1080,7 @@
#{companyId,jdbcType=INTEGER}, #{companyId,jdbcType=INTEGER},
</if> </if>
<if test="ispush != null"> <if test="ispush != null">
#{ispush,jdbcType=BIT}, #{ispush,jdbcType=INTEGER},
</if> </if>
<if test="isallot != null"> <if test="isallot != null">
#{isallot,jdbcType=BIT}, #{isallot,jdbcType=BIT},
...@@ -1201,7 +1203,7 @@ ...@@ -1201,7 +1203,7 @@
company_id = #{companyId,jdbcType=INTEGER}, company_id = #{companyId,jdbcType=INTEGER},
</if> </if>
<if test="ispush != null"> <if test="ispush != null">
ispush = #{ispush,jdbcType=BIT}, ispush = #{ispush,jdbcType=INTEGER},
</if> </if>
<if test="isallot != null"> <if test="isallot != null">
isallot = #{isallot,jdbcType=BIT}, isallot = #{isallot,jdbcType=BIT},
...@@ -1237,7 +1239,8 @@ ...@@ -1237,7 +1239,8 @@
#{quantityLoseInbound,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{quantityLoseInbound,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
#{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP}, #{quantityNotInbound,jdbcType=INTEGER}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP}, #{quantityNotInbound,jdbcType=INTEGER},
#{alibabaOrderId,jdbcType=VARCHAR}, #{logisticsOrderId,jdbcType=VARCHAR}, #{logisticsCompanyName,jdbcType=VARCHAR}, #{alibabaOrderId,jdbcType=VARCHAR}, #{logisticsOrderId,jdbcType=VARCHAR}, #{logisticsCompanyName,jdbcType=VARCHAR},
#{companyId,jdbcType=INTEGER}, #{ispush,jdbcType=BIT}, #{isallot,jdbcType=BIT}) #{companyId,jdbcType=INTEGER}, #{ispush,jdbcType=INTEGER}, #{isallot,jdbcType=BIT}
)
on duplicate key update on duplicate key update
id = #{id,jdbcType=INTEGER}, id = #{id,jdbcType=INTEGER},
purchase_id = #{purchaseId,jdbcType=VARCHAR}, purchase_id = #{purchaseId,jdbcType=VARCHAR},
...@@ -1277,7 +1280,7 @@ ...@@ -1277,7 +1280,7 @@
logistics_order_id = #{logisticsOrderId,jdbcType=VARCHAR}, logistics_order_id = #{logisticsOrderId,jdbcType=VARCHAR},
logistics_company_name = #{logisticsCompanyName,jdbcType=VARCHAR}, logistics_company_name = #{logisticsCompanyName,jdbcType=VARCHAR},
company_id = #{companyId,jdbcType=INTEGER}, company_id = #{companyId,jdbcType=INTEGER},
ispush = #{ispush,jdbcType=BIT}, ispush = #{ispush,jdbcType=INTEGER},
isallot = #{isallot,jdbcType=BIT} isallot = #{isallot,jdbcType=BIT}
</insert> </insert>
<select id="selectOneByExample" parameterType="com.bailuntec.domain.example.DcBasePurchaseDetailsExample" resultMap="BaseResultMap"> <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