From 00c77529c56acdec78e8fd9db36a801eece09ac5 Mon Sep 17 00:00:00 2001 From: pigeon Date: Sun, 7 Jun 2026 15:37:38 +0800 Subject: [PATCH] =?UTF-8?q?docs(plan):=20=E6=A0=87=E8=AE=B0=20Task=203=20(?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=AE=BF=E9=97=AE=E5=B1=82)=20=E5=B7=B2?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - UserSocialMapper/Service/Impl 创建完成 (commit c147e56) - 标注 5 处实际执行的偏差(#prefix#、@EnableRedisCache、@Transactional、baseMapper、tenantId) --- .../2026-06-07-multi-login-social-login-plan.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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/