insert into hr_user_info( userName, uniqueIdentificationAccount, provinceId, cityId, schoolId, phone,account,password,roleId,schoolAppellationId) values( #{userName}, #{uniqueIdentificationAccount}, #{provinceId}, #{cityId}, #{schoolId},#{phone}, #{account},#{password},#{roleId},#{schoolAppellationId}) update hr_user_info account = #{account}, countries = #{countries}, cityId = #{cityId}, dateBirth = #{dateBirth}, documenttype = #{documenttype}, educationDegree = #{educationDegree}, IDNumber = #{idNumber}, provinceId = #{provinceId}, sex = #{sex}, userName = #{userName}, schoolId = #{schoolId}, phone = #{phone} WHERE userId = #{userId}; INSERT INTO hr_user_info ( userName,email,phone,uniqueIdentificationAccount, schoolId, account,password, roleId,isdel,schoolAppellationId) VALUES ( #{userName},#{email},#{phone},#{uniqueIdentificationAccount}, #{schoolId}, #{account}, #{password}, 4 ,0,#{schoolAppellationId}) insert into hr_user_info( userName, uniqueIdentificationAccount, schoolId, phone,account,password,roleId, schoolAppellationId) values (#{studentVo.userName}, #{studentVo.uniqueIdentificationAccount},#{studentVo.schoolId}, #{studentVo.phone}, #{studentVo.account},#{studentVo.password},#{studentVo.roleId}, (SELECT schoolId FROM school WHERE schoolName = #{studentVo.schoolAppellationName})) insert into hr_user_info( userName, uniqueIdentificationAccount, schoolId, phone,account,password,roleId, schoolAppellationId) values (#{userName}, #{uniqueIdentificationAccount},#{schoolId}, #{phone}, #{account},#{password},#{roleId}, (SELECT schoolId FROM school WHERE schoolName = #{schoolAppellationName})) UPDATE hr_user_info SET password = #{password} WHERE userId = #{userId} UPDATE student stu, hr_user_info u SET u.disableAccount = #{disableAccount} WHERE stu.studentId = #{studentId} AND stu.userId = u.userId