select id, userId, year, type, seq, name, batchName,request, userSnapshot, details, status, obsoleted, create_time, update_time from a_wish_record insert into a_wish_record userId, year, type, seq, name, batchName, request, userSnapshot, details, status, obsoleted, create_time, update_time, #{userId}, #{year}, #{type}, #{seq}, #{name}, #{batchName}, #{request}, #{userSnapshot}, #{details}, #{status}, #{obsoleted}, #{createTime}, #{updateTime}, update a_wish_record userId = #{userId}, year = #{year}, type = #{type}, seq = #{seq}, name = #{name}, name = #{batchName}, request = #{request}, userSnapshot = #{userSnapshot}, details = #{details}, status = #{status}, obsoleted = #{obsoleted}, create_time = #{createTime}, update_time = #{updateTime}, where id = #{id} update a_wish_record wr set wr.obsoleted = true where wr.userId = #{userId} delete from a_wish_record where id = #{id} delete from a_wish_record where id = #{id} and userId = #{userId} delete from a_wish_record where id in #{id}