@ -26,8 +26,8 @@ public interface UserInfoMapper {
"</script>"})
"</script>"})
voidupdate(Useruser);
voidupdate(Useruser);
@Insert("INSERT INTO hr_user_info(userName,uniqueIdentificationAccount,documentType,IDNumber,provinceId,cityId,countries,dateBirth,educationDegree,schoolId,phone,weChatID,email,account,password,creationTime,logInNumber,sex,userAvatars,isdel,roleId)"
@Insert("INSERT INTO hr_user_info(userName,uniqueIdentificationAccount,documentType,IDNumber,provinceId,cityId,countries,dateBirth,educationDegree,schoolId,phone,weChatID,email,account,password,creationTime,logInNumber,sex,userAvatars,isdel,roleId,token)"
@ -124,11 +124,11 @@ public interface UserInfoMapper {
voidupdateStudent(Studentstudent);
voidupdateStudent(Studentstudent);
//登陆
//登陆
@Select("SELECT hui.schoolId,hui.account,hui.cityId,hui.countries,hui.creationTime,hui.dateBirth,hui.documentType,hui.educationDegree,hui.email,hui.iDNumber,hui.logInNumber,hui.phone,hui.provinceId,hui.sex,hui.uniqueIdentificationAccount,hui.userAvatars,hui.userId,hui.userName,hui.weChatID from hr_user_info hui where hui.isdel=0 and hui.userId = #{userId} ")
@Select("SELECT hui.token,hui.schoolId,hui.account,hui.cityId,hui.countries,hui.creationTime,hui.dateBirth,hui.documentType,hui.educationDegree,hui.email,hui.iDNumber,hui.logInNumber,hui.phone,hui.provinceId,hui.sex,hui.uniqueIdentificationAccount,hui.userAvatars,hui.userId,hui.userName,hui.weChatID from hr_user_info hui where hui.isdel=0 and hui.userId = #{userId} ")
UserInfologins(UserInfouserInfo);
UserInfologins(UserInfouserInfo);
//登陆
//登陆
@Select("SELECT userId,userName,roleId from hr_user_info where isdel=0 and account = #{account} and password = #{password}")
@Select("SELECT token,userId,userName,roleId from hr_user_info where isdel=0 and account = #{account} and password = #{password}")
UserInfoadminLogins(UserInfouserInfo);
UserInfoadminLogins(UserInfouserInfo);
//登陆账号密码
//登陆账号密码
@ -171,7 +171,7 @@ public interface UserInfoMapper {