sino-bc-cli 1.8.35-beta.0 → 1.8.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,23 @@
1
+ # project-member-aggregation 命令何时用
2
+
3
+ 字段口径在 `src/api-doc/`,这里只写 WHEN / 别用 / 示例。
4
+
5
+ 执行前 MUST 读取 [sino-bc-shared](../skills/sino-bc-shared/SKILL.md) 轻量入口,再按命中条件读取其 references;当前上下文已读且仍适用时可复用。可用 `sino-bc-cli /skill` 查询真实路径。
6
+
7
+ ## +list
8
+
9
+ - **WHEN**:项目成员周消耗聚合分页列表
10
+ - **别用**:已有更贴切的 Shortcut 时不要用本命令凑合。
11
+ - **示例**:`sino-bc-cli project-member-aggregation +list --data '{...}'`
12
+
13
+ ## +month-list
14
+
15
+ - **WHEN**:项目成员月消耗聚合分页列表
16
+ - **别用**:已有更贴切的 Shortcut 时不要用本命令凑合。
17
+ - **示例**:`sino-bc-cli project-member-aggregation +month-list --data '{...}'`
18
+
19
+ ## api
20
+
21
+ - **WHEN**:需要原始 JSON 字段,或没有合适的便捷 Shortcut 时按 name 调用。
22
+ - **别用**:已有 Shortcut 的高频查询仍应走 `+xxx`。
23
+ - **示例**:`sino-bc-cli project-member-aggregation api <name> --data '{...}'`
@@ -0,0 +1,54 @@
1
+ # 项目消耗数据
2
+
3
+ 对应命令:`project-member-aggregation +<shortcut>` 与 `project-member-aggregation api <name>`。
4
+
5
+ 执行前 MUST 读取 [sino-bc-shared](../../skills/sino-bc-shared/SKILL.md) 轻量入口,再按命中条件读取其 references;当前上下文已读且仍适用时可复用。可用 `sino-bc-cli /skill` 查询真实路径。
6
+
7
+ ## 1. 项目成员周消耗聚合分页列表
8
+
9
+ `POST /sino-opti-hive/project-member-aggregation/week/list`
10
+
11
+ 主体上下文:`tenant=false`。
12
+
13
+ 角色范围:`sso/system`。
14
+
15
+ 风险:`read`。
16
+
17
+ 项目成员周消耗聚合原始记录分页查询。
18
+
19
+ **输入参数(--data)**
20
+
21
+ | 字段 | 类型 | 位置 | 必填 | 说明 |
22
+ | --- | --- | --- | --- | --- |
23
+ | `pageNum` | integer | body | 否 | 页码,默认1 |
24
+ | `pageSize` | integer | body | 否 | 每页条数,默认10 |
25
+ | `corporationId` | integer | body | 否 | 签约主体ID |
26
+ | `projectId` | integer | body | 否 | 项目ID |
27
+ | `month` | integer | body | 否 | 月份 yyyyMM |
28
+ | `week` | integer | body | 否 | 第X周 yyyyW |
29
+ | `weekStart` | string | body | 否 | 周开始时间 |
30
+ | `weekEnd` | string | body | 否 | 周结束时间 |
31
+ | `userId` | integer | body | 否 | 优化师用户ID |
32
+
33
+ ## 2. 项目成员月消耗聚合分页列表
34
+
35
+ `POST /sino-opti-hive/project-member-aggregation/month/list`
36
+
37
+ 主体上下文:`tenant=false`。
38
+
39
+ 角色范围:`sso/system`。
40
+
41
+ 风险:`read`。
42
+
43
+ 项目成员月消耗聚合原始记录分页查询
44
+
45
+ **输入参数(--data)**
46
+
47
+ | 字段 | 类型 | 位置 | 必填 | 说明 |
48
+ | --- | --- | --- | --- | --- |
49
+ | `pageNum` | integer | body | 否 | 页码,默认1 |
50
+ | `pageSize` | integer | body | 否 | 每页条数,默认10 |
51
+ | `corporationId` | integer | body | 否 | 签约主体ID |
52
+ | `projectId` | integer | body | 否 | 项目ID |
53
+ | `month` | integer | body | 否 | 月份 yyyyMM |
54
+ | `userId` | integer | body | 否 | 优化师用户ID |