Accounting: shared timesheet query and project-summary reports for CLI and MCP
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 42/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- csharp
- 领域
- api, backend-api-design, cli
调研方向
Trace the QueryTimesheets, GetProjectsSummary, tp query, tp summary, and tp report entry points, then read WeekCoverageService and WeekCheckResult for the intended service/result pattern. Compare their current filtering, grouping, totals, envelopes, and empId handling. Done means shared TimesheetQuery and ProjectSummaryReport behavior with executable parity, including the documented 0.4.0 contract change.
由索引模型根据 Issue 内容生成。
描述
Why
QueryTimesheets / tp query and GetProjectsSummary / tp summary each build TimesheetSummaryFilter and their totals independently.
tp queryparses and trims its filters and groups/totals in the command;QueryTimesheetspasses strings and arrays straight through.tp summarywraps rows in{startDate, endDate, projects, totalHours, billableHours}; MCP returns raw rows. MCP acceptsempId;tp summaryalways uses the current user.tp reportrepeats the summary totals.
Migrate
- A
TimesheetQueryrequest/report used bytp queryandQueryTimesheets(filter parsing and validation, grouping, totals). - A
ProjectSummaryReportused bytp summary,tp reportandGetProjectsSummary; add--emp-idtotp summary. - Executable parity rows.
How
WeekCoverageService + WeekCheckResult: fetch in the service, one result document, adapters render.
Contract
GetProjectsSummary gaining the envelope is a 0.4.0 change.
Part of #38.
- 主要语言
- C#
- 星标
- 3
- 派生
- 0
- 平均合并
- 6 分钟
- 30 天内合并 PR
- 1
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
SSWConsulting/TimePro.Tools 的其他 Issue
-
Priority: P3 Type: Refactor
难度 5/5 一周以上 新手友好度 38/100
SSWConsulting/TimePro.Tools#101 ·
-
Priority: P3 Type: Refactor
难度 5/5 一周以上 新手友好度 35/100
-
Priority: P2 Type: Refactor
难度 5/5 一周以上 新手友好度 35/100
-
Priority: P2 Type: Bug Type: Refactor
难度 5/5 一周以上 新手友好度 38/100
-
Priority: P2 Type: Feature
难度 4/5 3-5 天 新手友好度 55/100
查看 SSWConsulting/TimePro.Tools 的全部 Issue
相似的 Issue
-
good first issue help wanted
难度 2/5 1-3 小时 新手友好度 65/100
-
untriaged
难度 2/5 1-3 小时 新手友好度 72/100
dotnet/dotnet-api-docs#13210 ·
维护者通常 1 天内回复
-
aspnet-core/svc doc-enhancement mvc/subsvc Pri2
难度 2/5 1-3 小时 新手友好度 72/100
dotnet/AspNetCore.Docs#38016 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
HicServices/RDMP#2398 ·
-
area-drawing platform/android t/bug
难度 2/5 1-3 小时 新手友好度 70/100
dotnet/maui#39676 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复