更新密码

This commit is contained in:
2025-07-18 16:52:41 +08:00
parent 18fd50f5d6
commit 2274ca7010
2 changed files with 10 additions and 3 deletions

View File

@@ -28,6 +28,7 @@
<update id="update" parameterType="com.ycwl.basic.model.pc.adminUser.req.AddOrUpdateAdminUserReqVO">
update admin_user
set `role_id` =#{roleId}, `account`=#{account}, `name`=#{name}, `phone`=#{phone}
<if test="password != null">, `password`=#{password}</if>, update_at = NOW()
where id = #{id}
</update>
<update id="updatePassword">