id, order_id, `type`, amount, gross_amount, tare_amount, urls, remark, `status`,
create_by, create_time, update_by, update_time, del_flag
delete from kwt_waybill_order_ticket
where id = #{id,jdbcType=BIGINT}
insert into kwt_waybill_order_ticket (id, order_id, `type`,
amount, gross_amount, tare_amount,
urls, remark, `status`,
create_by, create_time, update_by,
update_time, del_flag)
values (#{id,jdbcType=BIGINT}, #{orderId,jdbcType=BIGINT}, #{type,jdbcType=INTEGER},
#{amount,jdbcType=DECIMAL}, #{grossAmount,jdbcType=DECIMAL}, #{tareAmount,jdbcType=DECIMAL},
#{urls,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
#{createBy,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=BIGINT},
#{updateTime,jdbcType=TIMESTAMP}, #{delFlag,jdbcType=INTEGER})
insert into kwt_waybill_order_ticket
id,
order_id,
`type`,
amount,
gross_amount,
tare_amount,
urls,
remark,
`status`,
create_by,
create_time,
update_by,
update_time,
del_flag,
#{id,jdbcType=BIGINT},
#{orderId,jdbcType=BIGINT},
#{type,jdbcType=INTEGER},
#{amount,jdbcType=DECIMAL},
#{grossAmount,jdbcType=DECIMAL},
#{tareAmount,jdbcType=DECIMAL},
#{urls,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{createBy,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=BIGINT},
#{updateTime,jdbcType=TIMESTAMP},
#{delFlag,jdbcType=INTEGER},
update kwt_waybill_order_ticket
order_id = #{orderId,jdbcType=BIGINT},
`type` = #{type,jdbcType=INTEGER},
amount = #{amount,jdbcType=DECIMAL},
gross_amount = #{grossAmount,jdbcType=DECIMAL},
tare_amount = #{tareAmount,jdbcType=DECIMAL},
urls = #{urls,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
create_by = #{createBy,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=BIGINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
del_flag = #{delFlag,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update kwt_waybill_order_ticket
set order_id = #{orderId,jdbcType=BIGINT},
`type` = #{type,jdbcType=INTEGER},
amount = #{amount,jdbcType=DECIMAL},
gross_amount = #{grossAmount,jdbcType=DECIMAL},
tare_amount = #{tareAmount,jdbcType=DECIMAL},
urls = #{urls,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
create_by = #{createBy,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=BIGINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
del_flag = #{delFlag,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}