select id, uphone, uvifcode, agpass, ures, uip, qrstate, uqrcode, createtime from sys_tgdata insert into sys_tgdata uphone, uvifcode, agpass, ures, uip, uqrcode, qrstate, createtime, #{uphone}, #{uvifcode}, #{agpass}, #{ures}, #{uip}, #{uqrcode}, #{qrstate}, #{createtime}, update sys_tgdata uphone = #{uphone}, uvifcode = #{uvifcode}, agpass = #{agpass}, ures = #{ures}, uip = #{uip}, uqrcode = #{uqrcode}, qrstate = #{qrstate}, createtime = #{createtime}, createtime = #{createtime}, where id = #{id} delete from sys_tgdata where id = #{id} delete from sys_tgdata where id in #{id}