--- req_id: REQ-USR-003 date: 2026-04-30 spec_ref: docs/superpowers/specs/2026-04-30-REQ-USR-003.md --- # REQ-USR-003 用户查询 Implementation Plan > **Execution:** Parent skill `feature-tdd` executes this plan task-by-task. **Goal:** 实现 `GET /api/usr/users` 单条件分页查询:tUser LEFT JOIN tStaff,按 field × match × value 动态过滤。 **Architecture:** 新增 `UserListVO` + `UserListQuery` 内部封装类(field/match/value/page)+ `UserMapper#pageWithFilter` 自定义动态 SQL + `UserService#list` + controller `@GetMapping`。 **Tech Stack:** 沿用;MyBatis 动态 SQL `