diff --git a/superpowers/plans/2026-06-07-multi-login-social-login-plan.md b/superpowers/plans/2026-06-07-multi-login-social-login-plan.md index 6e84170..4a7fc67 100644 --- a/superpowers/plans/2026-06-07-multi-login-social-login-plan.md +++ b/superpowers/plans/2026-06-07-multi-login-social-login-plan.md @@ -232,7 +232,7 @@ git commit -m "feat(user): 调整用户实体支持第三方登录 - Create: `rui-service/rui-service-user/src/main/java/com/rui/service/user/service/IUserSocialService.java` - Create: `rui-service/rui-service-user/src/main/java/com/rui/service/user/service/impl/UserSocialServiceImpl.java` -- [ ] **Step 1: 创建 `UserSocialMapper`** +- [x] **Step 1: 创建 `UserSocialMapper`** ```java package com.rui.service.user.mapper; @@ -267,7 +267,9 @@ public interface UserSocialMapper extends BaseMapper { } ``` -- [ ] **Step 2: 创建 `IUserSocialService`** +> **实际执行说明 (2026-06-07)**:SQL 中表名改为 `#prefix#uc_user_social`(项目惯例,见 UserRoleMapper/UserDeptMapper);Mapper 加 `@EnableRedisCache` 注解(项目最近 commit 启用)。 + +- [x] **Step 2: 创建 `IUserSocialService`** ```java package com.rui.service.user.service; @@ -307,7 +309,7 @@ public interface IUserSocialService extends IService { } ``` -- [ ] **Step 3: 创建 `UserSocialServiceImpl`** +- [x] **Step 3: 创建 `UserSocialServiceImpl`** ```java package com.rui.service.user.service.impl; @@ -383,7 +385,9 @@ public class UserSocialServiceImpl extends ServiceImpl **实际执行说明 (2026-06-07)**:删除冗余的 `userSocialMapper` 字段(ServiceImpl 已提供 `baseMapper`);bind/unbind 加 `@Transactional`(写操作事务化);bindSocialAccount 增加 `AuthUtil.getTenantId()` 设置 tenantId(与 UserPostServiceImpl 一致)。 + +- [x] **Step 4: Commit** ```bash git add rui-service/rui-service-user/src/main/java/com/rui/service/user/mapper/