mirror of https://gitee.com/stylefeng/roses
【8.0.3】【system】新增证书设置用户id
parent
0739feb6f7
commit
f0763f10c9
|
@ -35,6 +35,9 @@ public class SysUserCertificateServiceImpl extends ServiceImpl<SysUserCertificat
|
|||
return;
|
||||
}
|
||||
|
||||
// 先设置证书的用户id
|
||||
sysUserCertificateList.forEach(sysUserCertificate -> sysUserCertificate.setUserId(userId));
|
||||
|
||||
// 先清空当前绑定的证书信息
|
||||
LambdaQueryWrapper<SysUserCertificate> deleteWrapper = new LambdaQueryWrapper<>();
|
||||
deleteWrapper.eq(SysUserCertificate::getUserId, userId);
|
||||
|
|
Loading…
Reference in New Issue