insert into admin_user(`id`,
`role_id`,
`account`,
`password`)
values (#{id},
#{roleId},
#{account},
#{password})
update
admin_user
set status=0
where id = #{id}
update
admin_user
set password=#{password}
where id = #{id}
update admin_user
set `role_id` =#{roleId}, `account`=#{account}, `name`=#{name}, `phone`=#{phone}
where id = #{id}
update
admin_user
set password=#{newPwd}
where id = #{id}
and status = 1