|
|
@@ -169,6 +169,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="phonenumber != null and phonenumber != ''">phonenumber,</if>
|
|
|
<if test="sex != null and sex != ''">sex,</if>
|
|
|
<if test="password != null and password != ''">password,</if>
|
|
|
+ <if test="password2 != null and password2 != ''">password2,</if>
|
|
|
<if test="status != null and status != ''">status,</if>
|
|
|
<if test="pwdUpdateDate != null">pwd_update_date,</if>
|
|
|
<if test="location != null and location != ''">location,</if>
|
|
|
@@ -193,6 +194,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="phonenumber != null and phonenumber != ''">#{phonenumber},</if>
|
|
|
<if test="sex != null and sex != ''">#{sex},</if>
|
|
|
<if test="password != null and password != ''">#{password},</if>
|
|
|
+ <if test="password2 != null and password2 != ''">#{password2},</if>
|
|
|
<if test="status != null and status != ''">#{status},</if>
|
|
|
<if test="pwdUpdateDate != null">#{pwdUpdateDate},</if>
|
|
|
<if test="location != null and location != ''">#{location},</if>
|
|
|
@@ -220,6 +222,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="sex != null and sex != ''">sex = #{sex},</if>
|
|
|
<if test="avatar != null and avatar != ''">avatar = #{avatar},</if>
|
|
|
<if test="password != null and password != ''">password = #{password},</if>
|
|
|
+ <if test="password2 != null and password2 != ''">password2 = #{password2},</if>
|
|
|
<if test="status != null and status != ''">status = #{status},</if>
|
|
|
<if test="location != null and location != ''">location = #{location},</if>
|
|
|
<if test="examType != null and examType != ''">exam_type = #{examType},</if>
|
|
|
@@ -252,7 +255,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</update>
|
|
|
|
|
|
<update id="resetUserPwd" parameterType="SysUser">
|
|
|
- update sys_user set pwd_update_date = sysdate(), password = #{password}, update_time = sysdate() where user_id = #{userId}
|
|
|
+ update sys_user set pwd_update_date = sysdate(), password = #{password}, password2 = #{password2}, update_time = sysdate() where user_id = #{userId}
|
|
|
</update>
|
|
|
|
|
|
<delete id="deleteUserById" parameterType="Long">
|