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