select id, phone_id, state, name, time from phone_access
insert into phone_access
id,phone_id,state,name,time,#{id},#{phoneId},#{state},#{name},#{time},
update phone_access
phone_id = #{phoneId},state = #{state},name = #{name},time = #{time},
where id = #{id}
delete from phone_access where id = #{id}
delete from phone_access where id in
#{id}