From 958cf01649e67c79887c21f9c0ada42b552b7ee3 Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Sun, 6 Nov 2022 17:03:48 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90#4127=E3=80=91sql=E6=BC=8F=E6=B4=9E?= =?UTF-8?q?=E5=86=99=E6=B3=95=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/system/mapper/xml/SysUserMapper.xml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml index 60888930..e84b407b 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml +++ b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml @@ -157,10 +157,16 @@ - - - UPDATE sys_user SET ${fieldName} = NULL WHERE ${fieldName} = '' - + + + UPDATE sys_user + + SET email = NULL WHERE email = '' + + + SET phone = NULL WHERE phone = '' + +