From 1a00df812740751806e6d17a7b5a184fe97157d4 Mon Sep 17 00:00:00 2001 From: lohir <3399054449@qq.com> Date: 星期五, 18 十月 2024 17:14:35 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/main/resources/mapper/UserMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/UserMapper.xml b/src/main/resources/mapper/UserMapper.xml index 7ae6eba..8fc4b07 100644 --- a/src/main/resources/mapper/UserMapper.xml +++ b/src/main/resources/mapper/UserMapper.xml @@ -135,6 +135,9 @@ <set> <if test="realName != null">real_name = #{realName},</if> <if test="age != null">age = #{age},</if> + <if test="sex != null">sex = #{sex},</if> + <if test="phone != null and phone !='' ">phone = #{phone},</if> + <if test="birthDay != null ">birth_day = #{birthDay},</if> <if test="lastActiveTime != null">last_active_time = #{lastActiveTime},</if> </set> where id = #{id} -- Gitblit v1.8.0