id,username,name,
phone,pass,role,
status
delete from aska_accounts
where id = #{id,jdbcType=INTEGER}
insert into aska_accounts
( id,username,name
,phone,pass,role
,status)
values (#{id,jdbcType=INTEGER},#{username,jdbcType=CHAR},#{name,jdbcType=CHAR}
,#{phone,jdbcType=CHAR},#{pass,jdbcType=CHAR},#{role,jdbcType=VARCHAR}
,#{status,jdbcType=CHAR})
insert into aska_accounts
id,username,name,phone,pass,role,status,#{id,jdbcType=INTEGER},#{username,jdbcType=CHAR},#{name,jdbcType=CHAR},#{phone,jdbcType=CHAR},#{pass,jdbcType=CHAR},#{role,jdbcType=VARCHAR},#{status,jdbcType=CHAR},
update aska_accounts
username = #{username,jdbcType=CHAR},
name = #{name,jdbcType=CHAR},
phone = #{phone,jdbcType=CHAR},
pass = #{pass,jdbcType=CHAR},
role = #{role,jdbcType=VARCHAR},
status = #{status,jdbcType=CHAR},
where id = #{id,jdbcType=INTEGER}
update aska_accounts
set
username = #{username,jdbcType=CHAR},
name = #{name,jdbcType=CHAR},
phone = #{phone,jdbcType=CHAR},
pass = #{pass,jdbcType=CHAR},
role = #{role,jdbcType=VARCHAR},
status = #{status,jdbcType=CHAR}
where id = #{id,jdbcType=INTEGER}