Logo

GitLab

Sign in

朱子纯 / test3

  • Back to Dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 1
  • Labels
  • Wiki
  • Snippets
  • Commits 42
  • Compare
  • Branches 4
  • Tags 0
  • test3
08 May, 2026
40 commits
  • feat(usr): add tabsSlice for tab navigation state
    ebe451fd
    zichun authored
    2026-05-08 14:41:36 +0800  
    Browse Dir »
  • chore(usr): add prototype shell design tokens
    e7e5dcee
    zichun authored
    2026-05-08 14:39:46 +0800  
    Browse Dir »
  • docs(usr): 前端重写设计文档
    6976b820
    zichun authored
    2026-05-08 14:05:48 +0800  
    Browse Code »
  • Merge branch 'chore/seed-test-data'
    d0648b5e
    zichun authored
    2026-05-08 13:38:48 +0800  
    Browse Code »
  • chore: update seed data — unified password 666666, align with docs column format
    b775836e
    zichun authored
    2026-05-08 13:29:33 +0800  
    Browse Code »
  • chore: move seed data into Flyway V3 migration for auto-apply on startup
    f3af6823
    zichun authored
    2026-05-08 13:24:53 +0800  
    Browse Code »
  • Merge branch 'chore/seed-test-data'
    239b3daa
    zichun authored
    2026-05-08 13:18:00 +0800  
    Browse Code »
  • chore: add test data seed script with 2 brands, 7 users, 7 permission groups
    acd45b27
    zichun authored
    2026-05-08 13:15:20 +0800  
    Browse Code »
  • Merge branch 'module-module_usr'
    910a5ba7
    zichun authored
    2026-05-08 13:08:18 +0800  
    Browse Code »
  • docs(module_usr): record MR !1 link in module report
    07c91f41
    zichun authored
    2026-05-08 12:45:30 +0800  
    Browse Code »
  • chore(module_usr): record MR !1 in docs/08
    bb10ed07
    zichun authored
    2026-05-08 12:45:22 +0800  
    Browse Code »
  • docs(module_usr): add specs and plans for REQ-USR-002 and REQ-USR-003
    8f292bcf
    zichun authored
    2026-05-08 12:43:45 +0800  
    Browse Code »
  • docs(module_usr): add module completion report + cross-module log
    7de7347d
    zichun authored
    2026-05-08 12:42:04 +0800  
    Browse Code »
  • chore(module_usr): add local test-gate evidence
    22037937
    zichun authored
    2026-05-08 12:40:42 +0800  
    Browse Code »
  • chore(usr): 修复前端 lint 配置(eslint 未安装,改为 tsc --noEmit)
    11a7950d
    zichun authored
    2026-05-08 12:39:46 +0800  
    Browse Code »
  • chore(usr): 配置 checkstyle.xml 并修复 5 处 lint 违规 ...
    c0ade4a0
    - 添加 backend/checkstyle.xml(Spring Boot 友好规则集,替换过严的 sun_checks.xml)
    - pom.xml 配置 maven-checkstyle-plugin 使用自定义规则
    - 修复: Application.java 未使用 import
    - 修复: AuthController / UserController 通配符 import 改为精确 import
    - 修复: GlobalExceptionHandler 两处未使用 import
    zichun authored
    2026-05-08 12:37:22 +0800  
    Browse Code »
  • docs(usr): REQ-USR-002 review round 2 approve + docs/08 勾选
    0d71a3c6
    zichun authored
    2026-05-08 12:33:13 +0800  
    Browse Code »
  • fix(usr): 修复 review round 1 must-fix REQ-USR-002 ...
    81a263b9
    M2: UserUpdateReqDTO 添加 @NotBlank/@Pattern/@NotNull 字段校验
    M3: UserFormDrawer InitialData 补 permGroupIds 字段并初始化
    M4: 列表查询加 bCanEditDoc 返回字段,编辑抽屉传真实值而非 false
    M1: 补充 updateUser_selfAdminKeepType_doesNotThrow 测试
    zichun authored
    2026-05-08 12:29:43 +0800  
    Browse Code »
  • feat(usr): 前端编辑用户功能(API+抽屉+列表操作列)REQ-USR-002 ...
    704d75a4
    - usr.ts 追加 UserUpdateReq/Resp + updateUser()
    - UserFormDrawer 支持 userId/initialData 编辑模式
    - UserListPage 追加操作列 + editingUser 状态
    - 测试覆盖编辑抽屉开启与 updateUser 调用
    zichun authored
    2026-05-08 12:18:42 +0800  
    Browse Code »
  • feat(usr): PUT /api/usr/users/{userId} REQ-USR-002 ...
    8f600c60
    REQ-USR-002
    zichun authored
    2026-05-08 12:10:17 +0800  
    Browse Code »
  • feat(usr): UserService.updateUser 三重校验 + 权限组 replace REQ-USR-002 ...
    e765fc29
    REQ-USR-002
    zichun authored
    2026-05-08 12:08:28 +0800  
    Browse Code »
  • feat(usr): 添加 UserUpdateReqDTO / UserUpdateRespVO / 错误码 REQ-USR-002 ...
    15d5257b
    REQ-USR-002
    zichun authored
    2026-05-08 12:06:23 +0800  
    Browse Code »
  • docs(usr): REQ-USR-003 review round 4 approve + docs/08 勾选 ...
    3392d129
    REQ-USR-003
    zichun authored
    2026-05-08 11:56:18 +0800  
    Browse Code »
  • fix(usr): 修复 review round 3 must-fix REQ-USR-003 ...
    1e55d1fd
    - docs/04 § 3.2 分页约定 pageNum → page,与 docs/05 及实现保持一致
    
    REQ-USR-003
    zichun authored
    2026-05-08 11:52:47 +0800  
    Browse Code »
  • fix(usr): 修复 review round 2 must-fix REQ-USR-003 ...
    87425859
    - docs/05: 全局分页约定 pageNum → page,与实现保持一致
    
    REQ-USR-003
    zichun authored
    2026-05-08 11:49:43 +0800  
    Browse Code »
  • fix(usr): 修复 review round 1 must-fix REQ-USR-003
    7921432e
    zichun authored
    2026-05-08 11:44:26 +0800  
    Browse Code »
  • feat(usr): 用户列表搜索表单 + 分页表格 REQ-USR-003
    85eeceb5
    zichun authored
    2026-05-08 11:38:22 +0800  
    Browse Code »
  • feat(usr): selectUserList XML + getUserList service + GET /api/usr/users REQ-USR-003
    93a18967
    zichun authored
    2026-05-08 11:35:45 +0800  
    Browse Code »
  • feat(usr): 添加 PageVO / UserListQueryDTO / UserListItemVO REQ-USR-003
    32dcaa25
    zichun authored
    2026-05-08 11:29:52 +0800  
    Browse Code »
  • chore(usr): review approve + docs/08 勾选 REQ-USR-001
    cc1cdb94
    zichun authored
    2026-05-08 11:19:51 +0800  
    Browse Code »
  • fix(usr): 修复 review round 2 must-fix REQ-USR-001 ...
    952b5985
    - EMPLOYEE_NOT_FOUND 值恢复为规格文档规定的 40001
    zichun authored
    2026-05-08 11:15:14 +0800  
    Browse Code »
  • fix(usr): 修复 review round 1 must-fix REQ-USR-001 ...
    33c5f888
    - getPermissionGroups 增加 brandId 多租户过滤
    - EMPLOYEE_NOT_FOUND = 40401 常量替换魔法数字 40001
    - 权限组绑定改为批量 insert(Collection) 消除 N+1
    zichun authored
    2026-05-08 11:09:51 +0800  
    Browse Code »
  • feat(usr): 前端 UserListPage + UserFormDrawer + usr.ts + PermButton REQ-USR-001
    3090964b
    zichun authored
    2026-05-08 11:02:13 +0800  
    Browse Code »
  • feat(usr): 增加用户后端实现 REQ-USR-001 ...
    ff5af471
    - UserPrincipal record + JwtAuthenticationFilter 注入用户上下文
    - SecurityConfig 补充 authenticationEntryPoint 返回 401
    - UserService/UserServiceImpl: 创建用户、获取员工列表、获取权限组
    - UserController: POST /users、GET /users/staffs、GET /users/permission-groups
    - UserServiceTest (6 cases) + UserControllerTest (5 cases) 全部通过
    zichun authored
    2026-05-08 10:58:31 +0800  
    Browse Code »
  • fix(usr): review round 2 approve + Flyway V2 migration path REQ-USR-004 ...
    38d8cfcc
    - Copy V2 migration to backend/src/main/resources/db/migration/ for Flyway classpath
    - Update review report to round 2 approve
    - Mark REQ-USR-004 done in docs/08
    zichun authored
    2026-05-08 10:33:26 +0800  
    Browse Code »
  • fix(usr): review round-1 修复 — 多租户唯一索引 + LambdaUpdateWrapper + refresh 锁定检查 REQ-USR-004 ...
    2c78bc87
    1. V2 migration: uk_usr_user_username 改为 (sUsername, sBrandsId) 复合唯一
    2. AuthServiceImpl: UpdateWrapper 换 LambdaUpdateWrapper(一致性)
    3. AuthServiceImpl.refresh(): 追加 tLockUntil 检查,防绕过锁定
    4. AuthServiceTest: 新增 refresh_lockedUser_throws40103
    5. pom.xml: Lombok 1.18.36 适配 Java 25,surefire ByteBuddy 实验模式
    6. .mvn/jvm.config + scripts/test.sh: Java 21 编译兼容性修复
    zichun authored
    2026-05-08 10:27:47 +0800  
    Browse Code »
  • fix(build): 添加 ByteBuddy 实验模式适配 Java 25 REQ-USR-004
    0e97c779
    zichun authored
    2026-05-08 10:11:41 +0800  
    Browse Code »
  • feat(usr): 前端登录页 + Redux auth 切片 + 测试 REQ-USR-004 ...
    5397d9c9
    Tasks 8-10: authSlice setCredentials/clearCredentials, LoginPage 品牌选择 + 登录表单,
    4/4 Vitest 测试通过(authSlice.test.ts + LoginPage.test.tsx)
    zichun authored
    2026-05-08 10:07:35 +0800  
    Browse Code »
  • feat(usr): SecurityConfig + JwtFilter + AuthController REQ-USR-004 ...
    ae7e90e0
    - SecurityConfig: STATELESS, permitAll /api/auth/**, JWT filter
    - JwtAuthenticationFilter: Bearer token → SecurityContext
    - AuthController: POST /login, POST /refresh, GET /brands
    - BrandVO: @JsonProperty to fix Jackson serialization of sNo/sName
    - AuthControllerTest: 4/4 PASS; all 22 backend tests GREEN
    zichun authored
    2026-05-08 09:57:55 +0800  
    Browse Code »
  • feat(usr): AuthService login/refresh/getBrands + BizException + BeanConfig REQ-USR-004 ...
    79a8340d
    - LoginReqDTO/RefreshTokenReqDTO/LoginVO/BrandVO DTO/VO
    - AuthService interface: login/refresh/getBrands
    - AuthServiceImpl: multi-tenant brand query, BCrypt, disabled/lock check,
      fail count (5x → lock 30min), success reset; refresh token validate + re-issue;
      getBrands ORDER BY sName
    - UpdateWrapper (string columns) avoids LambdaWrapper unit test issue
    - BeanConfig: @Bean BCryptPasswordEncoder
    - AuthServiceTest: 10/10 PASS (7 login + 3 refresh/brands)
    zichun authored
    2026-05-08 09:54:34 +0800  
    Browse Code »