记得上下班打卡 | git大法好,push需谨慎

Commit 2baf3fef authored by 张国柄's avatar 张国柄

fix:用户注销遗留用户数据修复;

parent 529ea43f
......@@ -318,14 +318,16 @@ public class AdamUserServiceImpl implements IAdamUserService {
/* ---------------------- 三方账号信息 */
List<AdamThirdPartInfoVo> thirdPartInfoVos = adamRdmService.getThirdPartVoListByUid(uid);
if (!CollectionUtils.isEmpty(thirdPartInfoVos)) {
adamRdmService.delThirdPartVoListByUid(uid);
thirdPartInfoVos.forEach(r -> {
// r.setState(2);
// r.setUpdatedAt(now);
adamRdmService.delUidByPlatformOpenId(r.getPlatform(), r.getOpenId());
if (null != r) {
adamRdmService.delUidByPlatformOpenId(r.getPlatform(), r.getOpenId());
}
});
// adamRdmService.setThirdPartVoListByUid(uid, thirdPartInfoVos);
adamRdmService.delThirdPartVoListByUid(uid);
}
toMqSqls.add(SqlMapping.get("adam_third_party.close"));
objsThirdPart.add(new Object[]{now, uid});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment