id, status, create_time, gift_id, item_id, admin_id, type, days, content, seq
insert into week_star_item_reward (id, status, create_time,
gift_id, item_id, admin_id,
type, days, content,
seq)
values (#{id,jdbcType=BIGINT}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{giftId,jdbcType=INTEGER}, #{itemId,jdbcType=INTEGER}, #{adminId,jdbcType=INTEGER},
#{type,jdbcType=INTEGER}, #{days,jdbcType=INTEGER}, #{content,jdbcType=VARCHAR},
#{seq,jdbcType=INTEGER})
insert into week_star_item_reward
id,
status,
create_time,
gift_id,
item_id,
admin_id,
type,
days,
content,
seq,
#{id,jdbcType=BIGINT},
#{status,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{giftId,jdbcType=INTEGER},
#{itemId,jdbcType=INTEGER},
#{adminId,jdbcType=INTEGER},
#{type,jdbcType=INTEGER},
#{days,jdbcType=INTEGER},
#{content,jdbcType=VARCHAR},
#{seq,jdbcType=INTEGER},
update week_star_item_reward
status = #{status,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
gift_id = #{giftId,jdbcType=INTEGER},
item_id = #{itemId,jdbcType=INTEGER},
admin_id = #{adminId,jdbcType=INTEGER},
type = #{type,jdbcType=INTEGER},
days = #{days,jdbcType=INTEGER},
content = #{content,jdbcType=VARCHAR},
seq = #{seq,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update week_star_item_reward
set status = #{status,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
gift_id = #{giftId,jdbcType=INTEGER},
item_id = #{itemId,jdbcType=INTEGER},
admin_id = #{adminId,jdbcType=INTEGER},
type = #{type,jdbcType=INTEGER},
days = #{days,jdbcType=INTEGER},
content = #{content,jdbcType=VARCHAR},
seq = #{seq,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
delete from week_star_item_reward
where id = #{id,jdbcType=BIGINT}