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
  • backend
  • src
  • main
  • java
  • com
  • example
  • erp
  • module
  • usr
  • dto
08 May, 2026
5 commits
  • 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): 添加 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 »
  • 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): 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 »