|
|
@@ -5,7 +5,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
<id column="id" jdbcType="INTEGER" property="id" />
|
|
|
<result column="order_no" jdbcType="VARCHAR" property="orderNo" />
|
|
|
@@ -50,12 +50,13 @@
|
|
|
<result column="split_time" jdbcType="TIMESTAMP" property="splitTime" />
|
|
|
<result column="cname" jdbcType="VARCHAR" property="cname" />
|
|
|
<result column="receiver_name" jdbcType="VARCHAR" property="receiverName" />
|
|
|
+ <result column="declaration_batch" jdbcType="INTEGER" property="declarationBatch" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.goafanti.common.model.TOrderTask">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
<result column="attachment_url" jdbcType="LONGVARCHAR" property="attachmentUrl" />
|
|
|
</resultMap>
|
|
|
@@ -63,7 +64,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
<where>
|
|
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
|
|
@@ -97,7 +98,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
<where>
|
|
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
|
|
@@ -131,7 +132,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
id, order_no, main, super_id, commodity_id, commodity_name, commodity_quantity, commodity_mode,
|
|
|
commodity_price, task_status, task_distribution_time, task_allocator, task_receiver,
|
|
|
@@ -139,13 +140,13 @@
|
|
|
publicity_time, licence_time, certificate_number, status, form_retrieve, task_refund,
|
|
|
refund_content, retrieve_content, declare_user, declare_pwd, set_up_amount, arrival_money,
|
|
|
outsource_name, outsource_price, consultant_id, manager_id, outsource, split_super,
|
|
|
- split_status, split_id, split_aid, split_time, cname, receiver_name
|
|
|
+ split_status, split_id, split_aid, split_time, cname, receiver_name, declaration_batch
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
attachment_url
|
|
|
</sql>
|
|
|
@@ -153,7 +154,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
select
|
|
|
<if test="distinct">
|
|
|
@@ -174,7 +175,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
select
|
|
|
<if test="distinct">
|
|
|
@@ -193,7 +194,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
|
@@ -206,7 +207,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
delete from t_order_task
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
@@ -215,7 +216,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
delete from t_order_task
|
|
|
<if test="_parameter != null">
|
|
|
@@ -226,7 +227,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
insert into t_order_task (id, order_no, main,
|
|
|
super_id, commodity_id, commodity_name,
|
|
|
@@ -242,7 +243,8 @@
|
|
|
consultant_id, manager_id, outsource,
|
|
|
split_super, split_status, split_id,
|
|
|
split_aid, split_time, cname,
|
|
|
- receiver_name, attachment_url)
|
|
|
+ receiver_name, declaration_batch, attachment_url
|
|
|
+ )
|
|
|
values (#{id,jdbcType=INTEGER}, #{orderNo,jdbcType=VARCHAR}, #{main,jdbcType=INTEGER},
|
|
|
#{superId,jdbcType=VARCHAR}, #{commodityId,jdbcType=VARCHAR}, #{commodityName,jdbcType=VARCHAR},
|
|
|
#{commodityQuantity,jdbcType=INTEGER}, #{commodityMode,jdbcType=VARCHAR}, #{commodityPrice,jdbcType=DECIMAL},
|
|
|
@@ -257,14 +259,296 @@
|
|
|
#{consultantId,jdbcType=VARCHAR}, #{managerId,jdbcType=VARCHAR}, #{outsource,jdbcType=INTEGER},
|
|
|
#{splitSuper,jdbcType=INTEGER}, #{splitStatus,jdbcType=INTEGER}, #{splitId,jdbcType=INTEGER},
|
|
|
#{splitAid,jdbcType=VARCHAR}, #{splitTime,jdbcType=TIMESTAMP}, #{cname,jdbcType=VARCHAR},
|
|
|
- #{receiverName,jdbcType=VARCHAR}, #{attachmentUrl,jdbcType=LONGVARCHAR})
|
|
|
+ #{receiverName,jdbcType=VARCHAR}, #{declarationBatch,jdbcType=INTEGER}, #{attachmentUrl,jdbcType=LONGVARCHAR}
|
|
|
+ )
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" parameterType="com.goafanti.common.model.TOrderTask">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
+ -->
|
|
|
+ insert into t_order_task
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ id,
|
|
|
+ </if>
|
|
|
+ <if test="orderNo != null">
|
|
|
+ order_no,
|
|
|
+ </if>
|
|
|
+ <if test="main != null">
|
|
|
+ main,
|
|
|
+ </if>
|
|
|
+ <if test="superId != null">
|
|
|
+ super_id,
|
|
|
+ </if>
|
|
|
+ <if test="commodityId != null">
|
|
|
+ commodity_id,
|
|
|
+ </if>
|
|
|
+ <if test="commodityName != null">
|
|
|
+ commodity_name,
|
|
|
+ </if>
|
|
|
+ <if test="commodityQuantity != null">
|
|
|
+ commodity_quantity,
|
|
|
+ </if>
|
|
|
+ <if test="commodityMode != null">
|
|
|
+ commodity_mode,
|
|
|
+ </if>
|
|
|
+ <if test="commodityPrice != null">
|
|
|
+ commodity_price,
|
|
|
+ </if>
|
|
|
+ <if test="taskStatus != null">
|
|
|
+ task_status,
|
|
|
+ </if>
|
|
|
+ <if test="taskDistributionTime != null">
|
|
|
+ task_distribution_time,
|
|
|
+ </if>
|
|
|
+ <if test="taskAllocator != null">
|
|
|
+ task_allocator,
|
|
|
+ </if>
|
|
|
+ <if test="taskReceiver != null">
|
|
|
+ task_receiver,
|
|
|
+ </if>
|
|
|
+ <if test="taskComment != null">
|
|
|
+ task_comment,
|
|
|
+ </if>
|
|
|
+ <if test="taskStartTime != null">
|
|
|
+ task_start_time,
|
|
|
+ </if>
|
|
|
+ <if test="taskEndTime != null">
|
|
|
+ task_end_time,
|
|
|
+ </if>
|
|
|
+ <if test="projectStatus != null">
|
|
|
+ project_status,
|
|
|
+ </if>
|
|
|
+ <if test="acceptTime != null">
|
|
|
+ accept_time,
|
|
|
+ </if>
|
|
|
+ <if test="reviewTime != null">
|
|
|
+ review_time,
|
|
|
+ </if>
|
|
|
+ <if test="publicityTime != null">
|
|
|
+ publicity_time,
|
|
|
+ </if>
|
|
|
+ <if test="licenceTime != null">
|
|
|
+ licence_time,
|
|
|
+ </if>
|
|
|
+ <if test="certificateNumber != null">
|
|
|
+ certificate_number,
|
|
|
+ </if>
|
|
|
+ <if test="status != null">
|
|
|
+ status,
|
|
|
+ </if>
|
|
|
+ <if test="formRetrieve != null">
|
|
|
+ form_retrieve,
|
|
|
+ </if>
|
|
|
+ <if test="taskRefund != null">
|
|
|
+ task_refund,
|
|
|
+ </if>
|
|
|
+ <if test="refundContent != null">
|
|
|
+ refund_content,
|
|
|
+ </if>
|
|
|
+ <if test="retrieveContent != null">
|
|
|
+ retrieve_content,
|
|
|
+ </if>
|
|
|
+ <if test="declareUser != null">
|
|
|
+ declare_user,
|
|
|
+ </if>
|
|
|
+ <if test="declarePwd != null">
|
|
|
+ declare_pwd,
|
|
|
+ </if>
|
|
|
+ <if test="setUpAmount != null">
|
|
|
+ set_up_amount,
|
|
|
+ </if>
|
|
|
+ <if test="arrivalMoney != null">
|
|
|
+ arrival_money,
|
|
|
+ </if>
|
|
|
+ <if test="outsourceName != null">
|
|
|
+ outsource_name,
|
|
|
+ </if>
|
|
|
+ <if test="outsourcePrice != null">
|
|
|
+ outsource_price,
|
|
|
+ </if>
|
|
|
+ <if test="consultantId != null">
|
|
|
+ consultant_id,
|
|
|
+ </if>
|
|
|
+ <if test="managerId != null">
|
|
|
+ manager_id,
|
|
|
+ </if>
|
|
|
+ <if test="outsource != null">
|
|
|
+ outsource,
|
|
|
+ </if>
|
|
|
+ <if test="splitSuper != null">
|
|
|
+ split_super,
|
|
|
+ </if>
|
|
|
+ <if test="splitStatus != null">
|
|
|
+ split_status,
|
|
|
+ </if>
|
|
|
+ <if test="splitId != null">
|
|
|
+ split_id,
|
|
|
+ </if>
|
|
|
+ <if test="splitAid != null">
|
|
|
+ split_aid,
|
|
|
+ </if>
|
|
|
+ <if test="splitTime != null">
|
|
|
+ split_time,
|
|
|
+ </if>
|
|
|
+ <if test="cname != null">
|
|
|
+ cname,
|
|
|
+ </if>
|
|
|
+ <if test="receiverName != null">
|
|
|
+ receiver_name,
|
|
|
+ </if>
|
|
|
+ <if test="declarationBatch != null">
|
|
|
+ declaration_batch,
|
|
|
+ </if>
|
|
|
+ <if test="attachmentUrl != null">
|
|
|
+ attachment_url,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ #{id,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="orderNo != null">
|
|
|
+ #{orderNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="main != null">
|
|
|
+ #{main,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="superId != null">
|
|
|
+ #{superId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="commodityId != null">
|
|
|
+ #{commodityId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="commodityName != null">
|
|
|
+ #{commodityName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="commodityQuantity != null">
|
|
|
+ #{commodityQuantity,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="commodityMode != null">
|
|
|
+ #{commodityMode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="commodityPrice != null">
|
|
|
+ #{commodityPrice,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="taskStatus != null">
|
|
|
+ #{taskStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="taskDistributionTime != null">
|
|
|
+ #{taskDistributionTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="taskAllocator != null">
|
|
|
+ #{taskAllocator,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="taskReceiver != null">
|
|
|
+ #{taskReceiver,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="taskComment != null">
|
|
|
+ #{taskComment,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="taskStartTime != null">
|
|
|
+ #{taskStartTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="taskEndTime != null">
|
|
|
+ #{taskEndTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="projectStatus != null">
|
|
|
+ #{projectStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="acceptTime != null">
|
|
|
+ #{acceptTime,jdbcType=DATE},
|
|
|
+ </if>
|
|
|
+ <if test="reviewTime != null">
|
|
|
+ #{reviewTime,jdbcType=DATE},
|
|
|
+ </if>
|
|
|
+ <if test="publicityTime != null">
|
|
|
+ #{publicityTime,jdbcType=DATE},
|
|
|
+ </if>
|
|
|
+ <if test="licenceTime != null">
|
|
|
+ #{licenceTime,jdbcType=DATE},
|
|
|
+ </if>
|
|
|
+ <if test="certificateNumber != null">
|
|
|
+ #{certificateNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="status != null">
|
|
|
+ #{status,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="formRetrieve != null">
|
|
|
+ #{formRetrieve,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="taskRefund != null">
|
|
|
+ #{taskRefund,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="refundContent != null">
|
|
|
+ #{refundContent,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="retrieveContent != null">
|
|
|
+ #{retrieveContent,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="declareUser != null">
|
|
|
+ #{declareUser,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="declarePwd != null">
|
|
|
+ #{declarePwd,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="setUpAmount != null">
|
|
|
+ #{setUpAmount,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="arrivalMoney != null">
|
|
|
+ #{arrivalMoney,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="outsourceName != null">
|
|
|
+ #{outsourceName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="outsourcePrice != null">
|
|
|
+ #{outsourcePrice,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="consultantId != null">
|
|
|
+ #{consultantId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="managerId != null">
|
|
|
+ #{managerId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="outsource != null">
|
|
|
+ #{outsource,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="splitSuper != null">
|
|
|
+ #{splitSuper,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="splitStatus != null">
|
|
|
+ #{splitStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="splitId != null">
|
|
|
+ #{splitId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="splitAid != null">
|
|
|
+ #{splitAid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="splitTime != null">
|
|
|
+ #{splitTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="cname != null">
|
|
|
+ #{cname,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="receiverName != null">
|
|
|
+ #{receiverName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="declarationBatch != null">
|
|
|
+ #{declarationBatch,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="attachmentUrl != null">
|
|
|
+ #{attachmentUrl,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
</insert>
|
|
|
-
|
|
|
<select id="countByExample" parameterType="com.goafanti.common.model.TOrderTaskExample" resultType="java.lang.Long">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
select count(*) from t_order_task
|
|
|
<if test="_parameter != null">
|
|
|
@@ -275,7 +559,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
update t_order_task
|
|
|
<set>
|
|
|
@@ -408,6 +692,9 @@
|
|
|
<if test="record.receiverName != null">
|
|
|
receiver_name = #{record.receiverName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.declarationBatch != null">
|
|
|
+ declaration_batch = #{record.declarationBatch,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="record.attachmentUrl != null">
|
|
|
attachment_url = #{record.attachmentUrl,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
@@ -420,7 +707,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
update t_order_task
|
|
|
set id = #{record.id,jdbcType=INTEGER},
|
|
|
@@ -466,6 +753,7 @@
|
|
|
split_time = #{record.splitTime,jdbcType=TIMESTAMP},
|
|
|
cname = #{record.cname,jdbcType=VARCHAR},
|
|
|
receiver_name = #{record.receiverName,jdbcType=VARCHAR},
|
|
|
+ declaration_batch = #{record.declarationBatch,jdbcType=INTEGER},
|
|
|
attachment_url = #{record.attachmentUrl,jdbcType=LONGVARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -475,7 +763,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
update t_order_task
|
|
|
set id = #{record.id,jdbcType=INTEGER},
|
|
|
@@ -520,7 +808,8 @@
|
|
|
split_aid = #{record.splitAid,jdbcType=VARCHAR},
|
|
|
split_time = #{record.splitTime,jdbcType=TIMESTAMP},
|
|
|
cname = #{record.cname,jdbcType=VARCHAR},
|
|
|
- receiver_name = #{record.receiverName,jdbcType=VARCHAR}
|
|
|
+ receiver_name = #{record.receiverName,jdbcType=VARCHAR},
|
|
|
+ declaration_batch = #{record.declarationBatch,jdbcType=INTEGER}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
|
@@ -529,7 +818,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
update t_order_task
|
|
|
<set>
|
|
|
@@ -659,6 +948,9 @@
|
|
|
<if test="receiverName != null">
|
|
|
receiver_name = #{receiverName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="declarationBatch != null">
|
|
|
+ declaration_batch = #{declarationBatch,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="attachmentUrl != null">
|
|
|
attachment_url = #{attachmentUrl,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
@@ -669,7 +961,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
update t_order_task
|
|
|
set order_no = #{orderNo,jdbcType=VARCHAR},
|
|
|
@@ -714,6 +1006,7 @@
|
|
|
split_time = #{splitTime,jdbcType=TIMESTAMP},
|
|
|
cname = #{cname,jdbcType=VARCHAR},
|
|
|
receiver_name = #{receiverName,jdbcType=VARCHAR},
|
|
|
+ declaration_batch = #{declarationBatch,jdbcType=INTEGER},
|
|
|
attachment_url = #{attachmentUrl,jdbcType=LONGVARCHAR}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
@@ -721,7 +1014,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Mar 31 14:23:56 CST 2020.
|
|
|
+ This element was generated on Fri May 15 16:05:15 CST 2020.
|
|
|
-->
|
|
|
update t_order_task
|
|
|
set order_no = #{orderNo,jdbcType=VARCHAR},
|
|
|
@@ -765,14 +1058,15 @@
|
|
|
split_aid = #{splitAid,jdbcType=VARCHAR},
|
|
|
split_time = #{splitTime,jdbcType=TIMESTAMP},
|
|
|
cname = #{cname,jdbcType=VARCHAR},
|
|
|
- receiver_name = #{receiverName,jdbcType=VARCHAR}
|
|
|
+ receiver_name = #{receiverName,jdbcType=VARCHAR},
|
|
|
+ declaration_batch = #{declarationBatch,jdbcType=INTEGER}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
<!-- 记得返回id -->
|
|
|
- <!-- <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.TOrderTask" useGeneratedKeys="true">
|
|
|
- <selectKey keyProperty="id" order="AFTER" resultType="int">
|
|
|
+ <!-- &lt;insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.TOrderTask" useGeneratedKeys="true"&gt;
|
|
|
+ &lt;selectKey keyProperty="id" order="AFTER" resultType="int"&gt;
|
|
|
SELECT LAST_INSERT_ID()
|
|
|
- </selectKey> -->
|
|
|
+ &lt;/selectKey&gt; -->
|
|
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.TOrderTask" useGeneratedKeys="true">
|
|
|
insert into t_order_task
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|