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
Create Merge Request
  • test3
  • backend
  • src
  • main
  • java
  • com
  • example
  • erp
  • common
08 May, 2026
8 commits
  • 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 »
  • feat(usr): 添加 UserUpdateReqDTO / UserUpdateRespVO / 错误码 REQ-USR-002 ...
    15d5257b
    REQ-USR-002
    zichun authored
    2026-05-08 12:06:23 +0800  
    Browse Code »
  • feat(usr): 添加 PageVO / UserListQueryDTO / UserListItemVO REQ-USR-003
    32dcaa25
    zichun authored
    2026-05-08 11:29:52 +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): 增加用户后端实现 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 »
  • feat(usr): JwtUtil generate + parse access/refresh token REQ-USR-004 ...
    7fbd1447
    - JwtProperties: @ConfigurationProperties("jwt") with secret/expiry
    - JwtUtil: generateAccessToken/generateRefreshToken/parseAccessToken/parseRefreshToken
    - parseRefreshToken validates type=refresh claim, throws 40103 if mismatch
    - JwtUtilTest: 3 tests PASS
    zichun authored
    2026-05-08 09:48:56 +0800  
    Browse Code »
  • feat(usr): common Result/BizException/AuthErrorCode/GlobalExceptionHandler REQ-USR-004 ...
    75fa00a6
    - Result<T>: ok()/fail() with code/message/data/timestamp
    - BizException: carries int code
    - AuthErrorCode: 40100/40101/40102/40103 constants
    - GlobalExceptionHandler: BizException, validation, fallback 99000
    zichun authored
    2026-05-08 09:47:15 +0800  
    Browse Code »