id, type, points, remarks, create_time, create_user
delete from points_detail
where id = #{id,jdbcType=INTEGER}
insert into points_detail (id, type, points,
remarks, create_time, create_user
)
values (#{id,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}, #{points,jdbcType=INTEGER},
#{remarks,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{createUser,jdbcType=INTEGER}
)
insert into points_detail
type,
points,
remarks,
create_time,
create_user,
#{type,jdbcType=INTEGER},
#{points,jdbcType=INTEGER},
#{remarks,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{createUser,jdbcType=INTEGER},
update points_detail
type = #{type,jdbcType=INTEGER},
points = #{points,jdbcType=INTEGER},
remarks = #{remarks,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_user = #{createUser,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update points_detail
set type = #{type,jdbcType=INTEGER},
points = #{points,jdbcType=INTEGER},
remarks = #{remarks,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_user = #{createUser,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}