mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 20:49:00 +08:00
Merge https://git.pig4cloud.com/837152891/pigx into leng_dev
This commit is contained in:
commit
6677bd937c
5 files changed
+5
-5
No files matched your search
+1
-1
@@ -114,7 +114,7 @@ public class GiteeLoginHandler extends AbstractLoginHandler {
|
||||
if (CollUtil.isNotEmpty(userList)) {
|
||||
SysUser condition = new SysUser();
|
||||
condition.setGiteeLogin(identify);
|
||||
sysUserService.update(condition, Wrappers.<SysUser>lambdaUpdate().set(SysUser::getGiteeLogin, null));
|
||||
sysUserService.update(null, Wrappers.<SysUser>lambdaUpdate(condition).set(SysUser::getGiteeLogin, null));
|
||||
log.info("码云账号 {} 更换账号绑定", identify);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -103,7 +103,7 @@ public class MiniAppLoginHandler extends AbstractLoginHandler {
|
||||
if (CollUtil.isNotEmpty(userList)) {
|
||||
SysUser condition = new SysUser();
|
||||
condition.setMiniOpenid(identify);
|
||||
sysUserService.update(condition, Wrappers.<SysUser>lambdaUpdate().set(SysUser::getMiniOpenid, null));
|
||||
sysUserService.update(null, Wrappers.<SysUser>lambdaUpdate(condition).set(SysUser::getMiniOpenid, null));
|
||||
log.info("小程序账号 {} 更换账号绑定", identify);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -122,7 +122,7 @@ public class OscChinaLoginHandler extends AbstractLoginHandler {
|
||||
if (CollUtil.isNotEmpty(userList)) {
|
||||
SysUser condition = new SysUser();
|
||||
condition.setOscId(identify);
|
||||
sysUserService.update(condition, Wrappers.<SysUser>lambdaUpdate().set(SysUser::getOscId, null));
|
||||
sysUserService.update(null, Wrappers.<SysUser>lambdaUpdate(condition).set(SysUser::getOscId, null));
|
||||
log.info("开源中国账号 {} 更换账号绑定", identify);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -109,7 +109,7 @@ public class TencentLoginHandler extends AbstractLoginHandler {
|
||||
if (CollUtil.isNotEmpty(userList)) {
|
||||
SysUser condition = new SysUser();
|
||||
condition.setQqOpenid(identify);
|
||||
sysUserService.update(condition, Wrappers.<SysUser>lambdaUpdate().set(SysUser::getQqOpenid, null));
|
||||
sysUserService.update(null, Wrappers.<SysUser>lambdaUpdate(condition).set(SysUser::getQqOpenid, null));
|
||||
log.info("QQ账号 {} 更换账号绑定", identify);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -101,7 +101,7 @@ public class WeChatLoginHandler extends AbstractLoginHandler {
|
||||
if (CollUtil.isNotEmpty(userList)) {
|
||||
SysUser condition = new SysUser();
|
||||
condition.setWxOpenid(identify);
|
||||
sysUserService.update(condition, Wrappers.<SysUser>lambdaUpdate().set(SysUser::getWxOpenid, null));
|
||||
sysUserService.update(null, Wrappers.<SysUser>lambdaUpdate(condition).set(SysUser::getWxOpenid, null));
|
||||
log.info("微信账号 {} 更换账号绑定", identify);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user