user_id_, used_count_, available_count_, available_amount_, modify_on_ delete from luck_draw_count where user_id_ = #{userId,jdbcType=BIGINT} insert into luck_draw_count (user_id_, used_count_, available_count_, available_amount_, modify_on_) values (#{userId,jdbcType=BIGINT}, #{usedCount,jdbcType=INTEGER}, #{availableCount,jdbcType=INTEGER}, #{availableAmount,jdbcType=BIGINT}, #{modifyOn,jdbcType=TIMESTAMP}) update luck_draw_count used_count_ = #{usedCount,jdbcType=INTEGER}, available_count_ = #{availableCount,jdbcType=INTEGER}, available_amount_ = #{availableAmount,jdbcType=BIGINT}, modify_on_ = #{modifyOn,jdbcType=TIMESTAMP}, where user_id_ = #{userId,jdbcType=BIGINT}