# 注册功能 # 1.根据用户名查询用户 select * from tab_user where username=#{username} # 2.插入注册用户信息 insert into tab_user(username, password, name, birthday, sex, telephone, email, status, code) values (#{username}, #{password}, #{name}, #{birthday}, #{sex}, #{teleph…