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, create_time, order_no, bonus_subject, grant_status, grant_target, grant_by, grant_time,
grant_type, task_id
delete from t_order_bonus
where id = #{id,jdbcType=VARCHAR}
delete from t_order_bonus
insert into t_order_bonus (id, create_time, order_no,
bonus_subject, grant_status, grant_target,
grant_by, grant_time, grant_type, task_id
)
values (#{id,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{orderNo,jdbcType=VARCHAR},
#{bonusSubject,jdbcType=INTEGER}, #{grantStatus,jdbcType=INTEGER}, #{grantTarget,jdbcType=VARCHAR},
#{grantBy,jdbcType=VARCHAR}, #{grantTime,jdbcType=DATE}, #{grantType,jdbcType=INTEGER}, #{taskId,jdbcType=INTEGER}
)
insert into t_order_bonus
id,
create_time,
order_no,
bonus_subject,
grant_status,
grant_target,
grant_by,
grant_time,
grant_type,
task_id,
#{id,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{orderNo,jdbcType=VARCHAR},
#{bonusSubject,jdbcType=INTEGER},
#{grantStatus,jdbcType=INTEGER},
#{grantTarget,jdbcType=VARCHAR},
#{grantBy,jdbcType=VARCHAR},
#{grantTime,jdbcType=DATE},
#{grantType,jdbcType=INTEGER},
#{taskId,jdbcType=INTEGER},
update t_order_bonus
id = #{record.id,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
order_no = #{record.orderNo,jdbcType=VARCHAR},
bonus_subject = #{record.bonusSubject,jdbcType=INTEGER},
grant_status = #{record.grantStatus,jdbcType=INTEGER},
grant_target = #{record.grantTarget,jdbcType=VARCHAR},
grant_by = #{record.grantBy,jdbcType=VARCHAR},
grant_time = #{record.grantTime,jdbcType=DATE},
grant_type = #{record.grantType,jdbcType=INTEGER},
task_id = #{record.taskId,jdbcType=INTEGER},
update t_order_bonus
set id = #{record.id,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
order_no = #{record.orderNo,jdbcType=VARCHAR},
bonus_subject = #{record.bonusSubject,jdbcType=INTEGER},
grant_status = #{record.grantStatus,jdbcType=INTEGER},
grant_target = #{record.grantTarget,jdbcType=VARCHAR},
grant_by = #{record.grantBy,jdbcType=VARCHAR},
grant_time = #{record.grantTime,jdbcType=DATE},
grant_type = #{record.grantType,jdbcType=INTEGER},
task_id = #{record.taskId,jdbcType=INTEGER}
update t_order_bonus
create_time = #{createTime,jdbcType=TIMESTAMP},
order_no = #{orderNo,jdbcType=VARCHAR},
bonus_subject = #{bonusSubject,jdbcType=INTEGER},
grant_status = #{grantStatus,jdbcType=INTEGER},
grant_target = #{grantTarget,jdbcType=VARCHAR},
grant_by = #{grantBy,jdbcType=VARCHAR},
grant_time = #{grantTime,jdbcType=DATE},
grant_type = #{grantType,jdbcType=INTEGER},
task_id = #{taskId,jdbcType=INTEGER},
where id = #{id,jdbcType=VARCHAR}
update t_order_bonus
set create_time = #{createTime,jdbcType=TIMESTAMP},
order_no = #{orderNo,jdbcType=VARCHAR},
bonus_subject = #{bonusSubject,jdbcType=INTEGER},
grant_status = #{grantStatus,jdbcType=INTEGER},
grant_target = #{grantTarget,jdbcType=VARCHAR},
grant_by = #{grantBy,jdbcType=VARCHAR},
grant_time = #{grantTime,jdbcType=DATE},
grant_type = #{grantType,jdbcType=INTEGER},
task_id = #{taskId,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}