and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, order_no, back_status, create_time, initiate, accept, reason, result
reason_attachment_url
delete from t_order_back
where id = #{id,jdbcType=INTEGER}
delete from t_order_back
insert into t_order_back (id, order_no, back_status,
create_time, initiate, accept,
reason, result, reason_attachment_url
)
values (#{id,jdbcType=INTEGER}, #{orderNo,jdbcType=VARCHAR}, #{backStatus,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{initiate,jdbcType=VARCHAR}, #{accept,jdbcType=VARCHAR},
#{reason,jdbcType=VARCHAR}, #{result,jdbcType=VARCHAR}, #{reasonAttachmentUrl,jdbcType=LONGVARCHAR}
)
insert into t_order_back
id,
order_no,
back_status,
create_time,
initiate,
accept,
reason,
result,
reason_attachment_url,
#{id,jdbcType=INTEGER},
#{orderNo,jdbcType=VARCHAR},
#{backStatus,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{initiate,jdbcType=VARCHAR},
#{accept,jdbcType=VARCHAR},
#{reason,jdbcType=VARCHAR},
#{result,jdbcType=VARCHAR},
#{reasonAttachmentUrl,jdbcType=LONGVARCHAR},
update t_order_back
id = #{record.id,jdbcType=INTEGER},
order_no = #{record.orderNo,jdbcType=VARCHAR},
back_status = #{record.backStatus,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
initiate = #{record.initiate,jdbcType=VARCHAR},
accept = #{record.accept,jdbcType=VARCHAR},
reason = #{record.reason,jdbcType=VARCHAR},
result = #{record.result,jdbcType=VARCHAR},
reason_attachment_url = #{record.reasonAttachmentUrl,jdbcType=LONGVARCHAR},
update t_order_back
set id = #{record.id,jdbcType=INTEGER},
order_no = #{record.orderNo,jdbcType=VARCHAR},
back_status = #{record.backStatus,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
initiate = #{record.initiate,jdbcType=VARCHAR},
accept = #{record.accept,jdbcType=VARCHAR},
reason = #{record.reason,jdbcType=VARCHAR},
result = #{record.result,jdbcType=VARCHAR},
reason_attachment_url = #{record.reasonAttachmentUrl,jdbcType=LONGVARCHAR}
update t_order_back
set id = #{record.id,jdbcType=INTEGER},
order_no = #{record.orderNo,jdbcType=VARCHAR},
back_status = #{record.backStatus,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
initiate = #{record.initiate,jdbcType=VARCHAR},
accept = #{record.accept,jdbcType=VARCHAR},
reason = #{record.reason,jdbcType=VARCHAR},
result = #{record.result,jdbcType=VARCHAR}
update t_order_back
order_no = #{orderNo,jdbcType=VARCHAR},
back_status = #{backStatus,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
initiate = #{initiate,jdbcType=VARCHAR},
accept = #{accept,jdbcType=VARCHAR},
reason = #{reason,jdbcType=VARCHAR},
result = #{result,jdbcType=VARCHAR},
reason_attachment_url = #{reasonAttachmentUrl,jdbcType=LONGVARCHAR},
where id = #{id,jdbcType=INTEGER}
update t_order_back
set order_no = #{orderNo,jdbcType=VARCHAR},
back_status = #{backStatus,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
initiate = #{initiate,jdbcType=VARCHAR},
accept = #{accept,jdbcType=VARCHAR},
reason = #{reason,jdbcType=VARCHAR},
result = #{result,jdbcType=VARCHAR},
reason_attachment_url = #{reasonAttachmentUrl,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
update t_order_back
set order_no = #{orderNo,jdbcType=VARCHAR},
back_status = #{backStatus,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
initiate = #{initiate,jdbcType=VARCHAR},
accept = #{accept,jdbcType=VARCHAR},
reason = #{reason,jdbcType=VARCHAR},
result = #{result,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
update t_order_back set back_status=1 where back_status=0 and order_no= #{orderNo,jdbcType=VARCHAR}