feat(mapper): 添加获取用户项目 ID 列表的方法

- 在 StatisticsMapper 接口中新增 getProjectIdListForUser 方法
- 在 StatisticsMapper.xml 中添加对应的 SQL 查询语句
- 该方法用于获取用户在指定时间之前的项目 ID 列表
This commit is contained in:
2025-09-17 15:11:03 +08:00
parent a5e882e693
commit 2a8bdaec28
2 changed files with 6 additions and 0 deletions

View File

@@ -93,6 +93,7 @@ public interface StatisticsMapper {
int addStatisticsRecord(StatisticsRecordAddReq req);
List<Long> getBrokerIdListForUser(Long memberId, Date startTime, Date endTime);
List<Long> getProjectIdListForUser(Long memberId, Date startTime, Date endTime);
Long getUserRecentEnterType(Long memberId, Date endTime);