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