注册---token

hehai
mzh820631607 4 years ago
parent 178d6f39c3
commit ab00ca858e
  1. 4
      src/main/resources/mapper/tms/UserInfoDao.xml

@ -6,10 +6,10 @@
<insert id="add" useGeneratedKeys="true" keyProperty="userId" keyColumn="userId"> <insert id="add" useGeneratedKeys="true" keyProperty="userId" keyColumn="userId">
insert into hr_user_info( insert into hr_user_info(
userName, uniqueIdentificationAccount, provinceId, userName, uniqueIdentificationAccount, provinceId,
cityId, schoolId, phone,account,password,roleId,creationTimetoken) cityId, schoolId, phone,account,password,roleId,creationTime,token)
values( values(
#{userName}, #{uniqueIdentificationAccount}, #{provinceId}, #{userName}, #{uniqueIdentificationAccount}, #{provinceId},
#{cityId}, #{schoolId},#{phone}, #{account},#{password},#{roleId},now(),token) #{cityId}, #{schoolId},#{phone}, #{account},#{password},#{roleId},now(),#{token})
</insert> </insert>
<update id="userInfupdateUserInfoById" parameterType="com.msdw.tms.entity.UserInfoEntity"> <update id="userInfupdateUserInfoById" parameterType="com.msdw.tms.entity.UserInfoEntity">

Loading…
Cancel
Save