sino-bc-cli 1.8.26 → 1.8.27
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.
- package/README.md +6 -0
- package/dist/SKILL.md +10 -10
- package/dist/affordance/project-analysis.md +18 -0
- package/dist/affordance/user.md +8 -2
- package/dist/api-doc/oapi/project-analysis.md +86 -0
- package/dist/api-doc/oapi/user.md +19 -2
- package/dist/generated/api-catalog.json +779 -4
- package/dist/index.js +1 -1
- package/dist/skills/custom/biz-line-strategy-generate/SKILL.md +36 -17
- package/dist/skills/custom/biz-line-strategy-generate/references/api-flow.md +44 -22
- package/dist/skills/custom/biz-line-strategy-generate/references/four-strategies.md +18 -74
- package/dist/skills/custom/biz-line-strategy-generate/references/metrics.md +20 -32
- package/dist/skills/custom/biz-line-strategy-generate/references/output-excel.md +12 -7
- package/dist/skills/custom/biz-line-strategy-generate/references/runtime.md +41 -4
- package/dist/skills/custom/biz-line-strategy-generate/references/spec.md +176 -6
- package/dist/skills/custom/biz-line-strategy-generate/scripts/build_report.py +17 -6
- package/dist/skills/custom/biz-line-strategy-generate/scripts/cli_json.py +36 -17
- package/dist/skills/custom/biz-line-strategy-generate/scripts/fetch_data.py +44 -17
- package/dist/skills/custom/biz-line-strategy-generate/scripts/run_workflow.py +134 -37
- package/dist/skills/custom/biz-line-strategy-generate/scripts/strategy_output.py +277 -0
- package/dist/skills/custom/biz-line-strategy-generate/scripts/summarize.py +84 -146
- package/dist/skills/custom/biz-line-strategy-generate/scripts/test_database_output.py +401 -0
- package/dist/skills/custom/biz-line-strategy-generate/scripts/test_strategy_rules.py +18 -8
- package/dist/skills/custom/biz-line-strategy-generate/scripts/test_workflow.py +138 -8
- package/dist/skills/oapi/sino-bc-project-analysis/SKILL.md +13 -1
- package/dist/skills/oapi/sino-bc-project-analysis/references/analysis-workflow.md +4 -0
- package/dist/skills/oapi/sino-bc-project-analysis/references/filters-and-metrics.md +2 -2
- package/dist/skills/oapi/sino-bc-user/SKILL.md +6 -4
- package/package.json +1 -1
|
@@ -5560,6 +5560,684 @@
|
|
|
5560
5560
|
"sso"
|
|
5561
5561
|
]
|
|
5562
5562
|
},
|
|
5563
|
+
{
|
|
5564
|
+
"name": "atw-project-page",
|
|
5565
|
+
"displayName": "查询工时系统项目列表(分页)",
|
|
5566
|
+
"description": "分页查询工时系统项目列表,对应 t_atw_project 单表数据。",
|
|
5567
|
+
"group": "项目分析",
|
|
5568
|
+
"method": "POST",
|
|
5569
|
+
"path": "/sino-opti-hive/atw/query/pageProjects",
|
|
5570
|
+
"timeout": 180000,
|
|
5571
|
+
"tag": "项目分析",
|
|
5572
|
+
"domain": "project-analysis",
|
|
5573
|
+
"shortcut": "+atw-projects",
|
|
5574
|
+
"risk": "read",
|
|
5575
|
+
"summary": "查询工时系统项目列表(分页)",
|
|
5576
|
+
"docFile": "project-analysis.md",
|
|
5577
|
+
"requestSchema": {
|
|
5578
|
+
"type": "object",
|
|
5579
|
+
"properties": {
|
|
5580
|
+
"pageNum": {
|
|
5581
|
+
"type": "integer",
|
|
5582
|
+
"format": "int32",
|
|
5583
|
+
"title": "页码",
|
|
5584
|
+
"description": "页码,从1开始;省略默认1,显式null或小于1时报错",
|
|
5585
|
+
"minimum": 1,
|
|
5586
|
+
"default": 1
|
|
5587
|
+
},
|
|
5588
|
+
"pageSize": {
|
|
5589
|
+
"type": "integer",
|
|
5590
|
+
"format": "int32",
|
|
5591
|
+
"title": "每页条数",
|
|
5592
|
+
"description": "每页条数,省略默认10,显式null或小于1时报错",
|
|
5593
|
+
"minimum": 1,
|
|
5594
|
+
"default": 10
|
|
5595
|
+
},
|
|
5596
|
+
"atwProjectIdList": {
|
|
5597
|
+
"type": "array",
|
|
5598
|
+
"items": {
|
|
5599
|
+
"type": "integer",
|
|
5600
|
+
"format": "int64"
|
|
5601
|
+
},
|
|
5602
|
+
"title": "工时系统项目ID列表",
|
|
5603
|
+
"description": "工时系统项目ID列表,IN 查询;不传或空列表不筛选"
|
|
5604
|
+
},
|
|
5605
|
+
"atwCreateTimeStart": {
|
|
5606
|
+
"type": "string",
|
|
5607
|
+
"title": "工时系统项目创建时间区间开始(含)",
|
|
5608
|
+
"description": "工时系统项目创建时间区间开始(含),可单独传入,格式 yyyy-MM-dd HH:mm:ss",
|
|
5609
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
5610
|
+
"example": "2026-09-22 10:00:00"
|
|
5611
|
+
},
|
|
5612
|
+
"atwCreateTimeEnd": {
|
|
5613
|
+
"type": "string",
|
|
5614
|
+
"title": "工时系统项目创建时间区间结束(含)",
|
|
5615
|
+
"description": "工时系统项目创建时间区间结束(含),可单独传入,格式 yyyy-MM-dd HH:mm:ss",
|
|
5616
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
5617
|
+
"example": "2026-09-22 10:00:00"
|
|
5618
|
+
},
|
|
5619
|
+
"projectIdList": {
|
|
5620
|
+
"type": "array",
|
|
5621
|
+
"items": {
|
|
5622
|
+
"type": "integer",
|
|
5623
|
+
"format": "int64"
|
|
5624
|
+
},
|
|
5625
|
+
"title": "项目ID列表",
|
|
5626
|
+
"description": "项目ID列表,IN 查询;不传或空列表不筛选"
|
|
5627
|
+
},
|
|
5628
|
+
"name": {
|
|
5629
|
+
"type": "string",
|
|
5630
|
+
"title": "工时系统项目名称",
|
|
5631
|
+
"description": "工时系统项目名称;包含匹配,空白不筛选"
|
|
5632
|
+
},
|
|
5633
|
+
"kindCode": {
|
|
5634
|
+
"type": "string",
|
|
5635
|
+
"title": "服务产品编码",
|
|
5636
|
+
"description": "服务产品编码,来自工时系统字典;已知示例:1=广告优化运营(代投)、85=广告诊断顾问、-888=售前咨询,非固定枚举;精确匹配,不传不筛选"
|
|
5637
|
+
}
|
|
5638
|
+
}
|
|
5639
|
+
},
|
|
5640
|
+
"responseSchema": {
|
|
5641
|
+
"type": "object",
|
|
5642
|
+
"properties": {
|
|
5643
|
+
"total": {
|
|
5644
|
+
"type": "integer",
|
|
5645
|
+
"format": "int64",
|
|
5646
|
+
"description": "符合筛选条件的总条数;越界空页仍返回真实总数"
|
|
5647
|
+
},
|
|
5648
|
+
"result": {
|
|
5649
|
+
"type": "array",
|
|
5650
|
+
"description": "当前页数据",
|
|
5651
|
+
"items": {
|
|
5652
|
+
"type": "object",
|
|
5653
|
+
"properties": {
|
|
5654
|
+
"atwProjectId": {
|
|
5655
|
+
"type": "integer",
|
|
5656
|
+
"format": "int64",
|
|
5657
|
+
"title": "工时系统项目ID",
|
|
5658
|
+
"description": "工时系统项目ID"
|
|
5659
|
+
},
|
|
5660
|
+
"atwCreateTime": {
|
|
5661
|
+
"type": "string",
|
|
5662
|
+
"title": "工时系统项目创建时间",
|
|
5663
|
+
"description": "工时系统项目创建时间,格式 yyyy-MM-dd HH:mm:ss",
|
|
5664
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
5665
|
+
"example": "2026-09-22 10:00:00"
|
|
5666
|
+
},
|
|
5667
|
+
"projectId": {
|
|
5668
|
+
"type": "integer",
|
|
5669
|
+
"format": "int64",
|
|
5670
|
+
"title": "项目ID",
|
|
5671
|
+
"description": "项目ID"
|
|
5672
|
+
},
|
|
5673
|
+
"name": {
|
|
5674
|
+
"type": "string",
|
|
5675
|
+
"title": "工时系统项目名称",
|
|
5676
|
+
"description": "工时系统项目名称"
|
|
5677
|
+
},
|
|
5678
|
+
"kindCode": {
|
|
5679
|
+
"type": "string",
|
|
5680
|
+
"title": "服务产品编码",
|
|
5681
|
+
"description": "服务产品编码,来自工时系统字典;已知示例:1=广告优化运营(代投)、85=广告诊断顾问、-888=售前咨询,非固定枚举"
|
|
5682
|
+
},
|
|
5683
|
+
"kindName": {
|
|
5684
|
+
"type": "string",
|
|
5685
|
+
"title": "服务产品名称",
|
|
5686
|
+
"description": "服务产品名称,来自工时系统字典"
|
|
5687
|
+
}
|
|
5688
|
+
}
|
|
5689
|
+
}
|
|
5690
|
+
},
|
|
5691
|
+
"page": {
|
|
5692
|
+
"type": "integer",
|
|
5693
|
+
"format": "int32",
|
|
5694
|
+
"description": "当前页码"
|
|
5695
|
+
},
|
|
5696
|
+
"size": {
|
|
5697
|
+
"type": "integer",
|
|
5698
|
+
"format": "int32",
|
|
5699
|
+
"description": "请求的每页条数"
|
|
5700
|
+
}
|
|
5701
|
+
}
|
|
5702
|
+
},
|
|
5703
|
+
"pagination": {
|
|
5704
|
+
"pageField": "pageNum",
|
|
5705
|
+
"sizeField": "pageSize",
|
|
5706
|
+
"itemsField": "result",
|
|
5707
|
+
"totalField": "total"
|
|
5708
|
+
},
|
|
5709
|
+
"tenant": false,
|
|
5710
|
+
"roleScope": [
|
|
5711
|
+
"sso"
|
|
5712
|
+
]
|
|
5713
|
+
},
|
|
5714
|
+
{
|
|
5715
|
+
"name": "atw-task-page",
|
|
5716
|
+
"displayName": "查询工时系统项目任务列表(分页)",
|
|
5717
|
+
"description": "分页查询工时系统项目任务列表,对应 t_atw_task 单表数据。",
|
|
5718
|
+
"group": "项目分析",
|
|
5719
|
+
"method": "POST",
|
|
5720
|
+
"path": "/sino-opti-hive/atw/query/pageTasks",
|
|
5721
|
+
"timeout": 180000,
|
|
5722
|
+
"tag": "项目分析",
|
|
5723
|
+
"domain": "project-analysis",
|
|
5724
|
+
"shortcut": "+atw-tasks",
|
|
5725
|
+
"risk": "read",
|
|
5726
|
+
"summary": "查询工时系统项目任务列表(分页)",
|
|
5727
|
+
"docFile": "project-analysis.md",
|
|
5728
|
+
"requestSchema": {
|
|
5729
|
+
"type": "object",
|
|
5730
|
+
"properties": {
|
|
5731
|
+
"pageNum": {
|
|
5732
|
+
"type": "integer",
|
|
5733
|
+
"format": "int32",
|
|
5734
|
+
"title": "页码",
|
|
5735
|
+
"description": "页码,从1开始;省略默认1,显式null或小于1时报错",
|
|
5736
|
+
"minimum": 1,
|
|
5737
|
+
"default": 1
|
|
5738
|
+
},
|
|
5739
|
+
"pageSize": {
|
|
5740
|
+
"type": "integer",
|
|
5741
|
+
"format": "int32",
|
|
5742
|
+
"title": "每页条数",
|
|
5743
|
+
"description": "每页条数,省略默认10,显式null或小于1时报错",
|
|
5744
|
+
"minimum": 1,
|
|
5745
|
+
"default": 10
|
|
5746
|
+
},
|
|
5747
|
+
"atwTaskIdList": {
|
|
5748
|
+
"type": "array",
|
|
5749
|
+
"items": {
|
|
5750
|
+
"type": "integer",
|
|
5751
|
+
"format": "int64"
|
|
5752
|
+
},
|
|
5753
|
+
"title": "工时系统任务ID列表",
|
|
5754
|
+
"description": "工时系统任务ID列表,IN 查询;不传或空列表不筛选"
|
|
5755
|
+
},
|
|
5756
|
+
"atwProjectIdList": {
|
|
5757
|
+
"type": "array",
|
|
5758
|
+
"items": {
|
|
5759
|
+
"type": "integer",
|
|
5760
|
+
"format": "int64"
|
|
5761
|
+
},
|
|
5762
|
+
"title": "工时系统项目ID列表",
|
|
5763
|
+
"description": "工时系统项目ID列表,IN 查询;不传或空列表不筛选"
|
|
5764
|
+
},
|
|
5765
|
+
"projectIdList": {
|
|
5766
|
+
"type": "array",
|
|
5767
|
+
"items": {
|
|
5768
|
+
"type": "integer",
|
|
5769
|
+
"format": "int64"
|
|
5770
|
+
},
|
|
5771
|
+
"title": "项目ID列表",
|
|
5772
|
+
"description": "项目ID列表,IN 查询;不传或空列表不筛选"
|
|
5773
|
+
},
|
|
5774
|
+
"name": {
|
|
5775
|
+
"type": "string",
|
|
5776
|
+
"title": "工时系统任务名称",
|
|
5777
|
+
"description": "工时系统任务名称;包含匹配,空白不筛选"
|
|
5778
|
+
}
|
|
5779
|
+
}
|
|
5780
|
+
},
|
|
5781
|
+
"responseSchema": {
|
|
5782
|
+
"type": "object",
|
|
5783
|
+
"properties": {
|
|
5784
|
+
"total": {
|
|
5785
|
+
"type": "integer",
|
|
5786
|
+
"format": "int64",
|
|
5787
|
+
"description": "符合筛选条件的总条数;越界空页仍返回真实总数"
|
|
5788
|
+
},
|
|
5789
|
+
"result": {
|
|
5790
|
+
"type": "array",
|
|
5791
|
+
"description": "当前页数据",
|
|
5792
|
+
"items": {
|
|
5793
|
+
"type": "object",
|
|
5794
|
+
"properties": {
|
|
5795
|
+
"atwTaskId": {
|
|
5796
|
+
"type": "integer",
|
|
5797
|
+
"format": "int64",
|
|
5798
|
+
"title": "工时系统任务ID",
|
|
5799
|
+
"description": "工时系统任务ID"
|
|
5800
|
+
},
|
|
5801
|
+
"atwProjectId": {
|
|
5802
|
+
"type": "integer",
|
|
5803
|
+
"format": "int64",
|
|
5804
|
+
"title": "工时系统项目ID",
|
|
5805
|
+
"description": "工时系统项目ID"
|
|
5806
|
+
},
|
|
5807
|
+
"projectId": {
|
|
5808
|
+
"type": "integer",
|
|
5809
|
+
"format": "int64",
|
|
5810
|
+
"title": "项目ID",
|
|
5811
|
+
"description": "项目ID"
|
|
5812
|
+
},
|
|
5813
|
+
"name": {
|
|
5814
|
+
"type": "string",
|
|
5815
|
+
"title": "工时系统任务名称",
|
|
5816
|
+
"description": "工时系统任务名称"
|
|
5817
|
+
},
|
|
5818
|
+
"level": {
|
|
5819
|
+
"type": "integer",
|
|
5820
|
+
"format": "int32",
|
|
5821
|
+
"title": "工时系统任务层级",
|
|
5822
|
+
"description": "工时系统任务层级,1=根节点,大于1为子任务层级"
|
|
5823
|
+
},
|
|
5824
|
+
"parentAtwTaskId": {
|
|
5825
|
+
"type": "integer",
|
|
5826
|
+
"format": "int64",
|
|
5827
|
+
"title": "工时系统父任务ID",
|
|
5828
|
+
"description": "工时系统父任务ID;根节点以工时系统同步值为准"
|
|
5829
|
+
}
|
|
5830
|
+
}
|
|
5831
|
+
}
|
|
5832
|
+
},
|
|
5833
|
+
"page": {
|
|
5834
|
+
"type": "integer",
|
|
5835
|
+
"format": "int32",
|
|
5836
|
+
"description": "当前页码"
|
|
5837
|
+
},
|
|
5838
|
+
"size": {
|
|
5839
|
+
"type": "integer",
|
|
5840
|
+
"format": "int32",
|
|
5841
|
+
"description": "请求的每页条数"
|
|
5842
|
+
}
|
|
5843
|
+
}
|
|
5844
|
+
},
|
|
5845
|
+
"pagination": {
|
|
5846
|
+
"pageField": "pageNum",
|
|
5847
|
+
"sizeField": "pageSize",
|
|
5848
|
+
"itemsField": "result",
|
|
5849
|
+
"totalField": "total"
|
|
5850
|
+
},
|
|
5851
|
+
"tenant": false,
|
|
5852
|
+
"roleScope": [
|
|
5853
|
+
"sso"
|
|
5854
|
+
]
|
|
5855
|
+
},
|
|
5856
|
+
{
|
|
5857
|
+
"name": "atw-timesheet-page",
|
|
5858
|
+
"displayName": "查询工时系统工时明细(分页)",
|
|
5859
|
+
"description": "分页查询工时系统工时明细,对应 t_atw_timesheet 单表数据。",
|
|
5860
|
+
"group": "项目分析",
|
|
5861
|
+
"method": "POST",
|
|
5862
|
+
"path": "/sino-opti-hive/atw/query/pageTimesheets",
|
|
5863
|
+
"timeout": 180000,
|
|
5864
|
+
"tag": "项目分析",
|
|
5865
|
+
"domain": "project-analysis",
|
|
5866
|
+
"shortcut": "+atw-timesheets",
|
|
5867
|
+
"risk": "read",
|
|
5868
|
+
"summary": "查询工时系统工时明细(分页)",
|
|
5869
|
+
"docFile": "project-analysis.md",
|
|
5870
|
+
"requestSchema": {
|
|
5871
|
+
"type": "object",
|
|
5872
|
+
"properties": {
|
|
5873
|
+
"pageNum": {
|
|
5874
|
+
"type": "integer",
|
|
5875
|
+
"format": "int32",
|
|
5876
|
+
"title": "页码",
|
|
5877
|
+
"description": "页码,从1开始;省略默认1,显式null或小于1时报错",
|
|
5878
|
+
"minimum": 1,
|
|
5879
|
+
"default": 1
|
|
5880
|
+
},
|
|
5881
|
+
"pageSize": {
|
|
5882
|
+
"type": "integer",
|
|
5883
|
+
"format": "int32",
|
|
5884
|
+
"title": "每页条数",
|
|
5885
|
+
"description": "每页条数,省略默认10,显式null或小于1时报错",
|
|
5886
|
+
"minimum": 1,
|
|
5887
|
+
"default": 10
|
|
5888
|
+
},
|
|
5889
|
+
"atwTimesheetIdList": {
|
|
5890
|
+
"type": "array",
|
|
5891
|
+
"items": {
|
|
5892
|
+
"type": "integer",
|
|
5893
|
+
"format": "int64"
|
|
5894
|
+
},
|
|
5895
|
+
"title": "工时ID列表",
|
|
5896
|
+
"description": "工时ID列表,IN 查询;不传或空列表不筛选"
|
|
5897
|
+
},
|
|
5898
|
+
"atwProjectIdList": {
|
|
5899
|
+
"type": "array",
|
|
5900
|
+
"items": {
|
|
5901
|
+
"type": "integer",
|
|
5902
|
+
"format": "int64"
|
|
5903
|
+
},
|
|
5904
|
+
"title": "工时系统项目ID列表",
|
|
5905
|
+
"description": "工时系统项目ID列表,IN 查询;不传或空列表不筛选"
|
|
5906
|
+
},
|
|
5907
|
+
"atwProjectName": {
|
|
5908
|
+
"type": "string",
|
|
5909
|
+
"title": "工时系统项目名称",
|
|
5910
|
+
"description": "工时系统项目名称;包含匹配,空白不筛选"
|
|
5911
|
+
},
|
|
5912
|
+
"atwTaskIdList": {
|
|
5913
|
+
"type": "array",
|
|
5914
|
+
"items": {
|
|
5915
|
+
"type": "integer",
|
|
5916
|
+
"format": "int64"
|
|
5917
|
+
},
|
|
5918
|
+
"title": "工时系统任务ID列表",
|
|
5919
|
+
"description": "工时系统任务ID列表,IN 查询;不传或空列表不筛选"
|
|
5920
|
+
},
|
|
5921
|
+
"atwTaskName": {
|
|
5922
|
+
"type": "string",
|
|
5923
|
+
"title": "工时系统任务名称",
|
|
5924
|
+
"description": "工时系统任务名称;包含匹配,空白不筛选"
|
|
5925
|
+
},
|
|
5926
|
+
"atwParentTaskIdList": {
|
|
5927
|
+
"type": "array",
|
|
5928
|
+
"items": {
|
|
5929
|
+
"type": "integer",
|
|
5930
|
+
"format": "int64"
|
|
5931
|
+
},
|
|
5932
|
+
"title": "工时系统父任务ID列表",
|
|
5933
|
+
"description": "工时系统父任务ID列表,IN 查询;不传或空列表不筛选"
|
|
5934
|
+
},
|
|
5935
|
+
"atwParentTaskName": {
|
|
5936
|
+
"type": "string",
|
|
5937
|
+
"title": "工时系统父任务名称",
|
|
5938
|
+
"description": "工时系统父任务名称;包含匹配,空白不筛选"
|
|
5939
|
+
},
|
|
5940
|
+
"projectIdList": {
|
|
5941
|
+
"type": "array",
|
|
5942
|
+
"items": {
|
|
5943
|
+
"type": "integer",
|
|
5944
|
+
"format": "int64"
|
|
5945
|
+
},
|
|
5946
|
+
"title": "项目ID列表",
|
|
5947
|
+
"description": "项目ID列表,IN 查询;不传或空列表不筛选"
|
|
5948
|
+
},
|
|
5949
|
+
"kindCode": {
|
|
5950
|
+
"type": "string",
|
|
5951
|
+
"title": "服务产品编码",
|
|
5952
|
+
"description": "服务产品编码,来自工时系统字典;已知示例:1=广告优化运营(代投)、85=广告诊断顾问、-888=售前咨询,非固定枚举;精确匹配,不传不筛选"
|
|
5953
|
+
},
|
|
5954
|
+
"kindName": {
|
|
5955
|
+
"type": "string",
|
|
5956
|
+
"title": "服务产品名称",
|
|
5957
|
+
"description": "服务产品名称,来自工时系统字典;包含匹配,空白不筛选"
|
|
5958
|
+
},
|
|
5959
|
+
"userIdList": {
|
|
5960
|
+
"type": "array",
|
|
5961
|
+
"items": {
|
|
5962
|
+
"type": "integer",
|
|
5963
|
+
"format": "int32"
|
|
5964
|
+
},
|
|
5965
|
+
"title": "用户ID列表",
|
|
5966
|
+
"description": "用户ID列表,IN 查询;不传或空列表不筛选"
|
|
5967
|
+
},
|
|
5968
|
+
"channelName": {
|
|
5969
|
+
"type": "string",
|
|
5970
|
+
"title": "媒体渠道名称",
|
|
5971
|
+
"description": "媒体渠道名称,映射表中 channel 列;例如 Facebook、Google,来自工时系统渠道字典;精确匹配,不传不筛选"
|
|
5972
|
+
},
|
|
5973
|
+
"roleType": {
|
|
5974
|
+
"type": "string",
|
|
5975
|
+
"title": "角色名称",
|
|
5976
|
+
"description": "角色名称,已有映射:PM、主优化师、其他优化师、优化组长、其他成员;传名称,不传角色数字ID;精确匹配,不传不筛选"
|
|
5977
|
+
},
|
|
5978
|
+
"entryDate": {
|
|
5979
|
+
"type": "string",
|
|
5980
|
+
"title": "工时填写归属日",
|
|
5981
|
+
"description": "工时填写归属日,格式 yyyy-MM-dd;精确匹配,不传不筛选",
|
|
5982
|
+
"format": "date",
|
|
5983
|
+
"example": "2026-09-22"
|
|
5984
|
+
},
|
|
5985
|
+
"year": {
|
|
5986
|
+
"type": "integer",
|
|
5987
|
+
"format": "int32",
|
|
5988
|
+
"title": "工时填写归属年",
|
|
5989
|
+
"description": "工时填写归属年,格式 yyyy,例如 2026;精确匹配,不传不筛选",
|
|
5990
|
+
"example": 2026
|
|
5991
|
+
},
|
|
5992
|
+
"month": {
|
|
5993
|
+
"type": "integer",
|
|
5994
|
+
"format": "int32",
|
|
5995
|
+
"title": "工时填写归属月",
|
|
5996
|
+
"description": "工时填写归属月,格式 yyyyMM,例如 202609;精确匹配,不传不筛选",
|
|
5997
|
+
"example": 202609
|
|
5998
|
+
},
|
|
5999
|
+
"week": {
|
|
6000
|
+
"type": "integer",
|
|
6001
|
+
"format": "int32",
|
|
6002
|
+
"title": "工时填写归属周",
|
|
6003
|
+
"description": "工时填写归属周,格式 YYYYww(ISO周所属年份+两位周数,01–53),例如 202639=2026年第39周;周一开始,跨年时周所属年份可能与日历年份不同;精确匹配,不传不筛选",
|
|
6004
|
+
"example": 202639
|
|
6005
|
+
},
|
|
6006
|
+
"hour": {
|
|
6007
|
+
"type": "number",
|
|
6008
|
+
"title": "填写工时",
|
|
6009
|
+
"description": "填写工时,单位小时,支持小数;精确匹配,不传不筛选"
|
|
6010
|
+
},
|
|
6011
|
+
"timeCode": {
|
|
6012
|
+
"type": "string",
|
|
6013
|
+
"title": "工时类型编码",
|
|
6014
|
+
"description": "工时类型编码,来自工时系统字典;不是 time_code_type(REGULAR_TIME/LEAVE_TIME/OVER_TIME);精确匹配,不传不筛选"
|
|
6015
|
+
},
|
|
6016
|
+
"timeCodeName": {
|
|
6017
|
+
"type": "string",
|
|
6018
|
+
"title": "工时类型名称",
|
|
6019
|
+
"description": "工时类型名称,来自工时系统字典,与 timeCode 对应;包含匹配,空白不筛选"
|
|
6020
|
+
},
|
|
6021
|
+
"activity": {
|
|
6022
|
+
"type": "string",
|
|
6023
|
+
"title": "审批状态:UNCOMMITTED=已保存",
|
|
6024
|
+
"description": "审批状态:UNCOMMITTED=已保存,APPROVING=待审批,REJECTED=未通过,APPROVED=已批准;精确匹配,不传不筛选",
|
|
6025
|
+
"enum": [
|
|
6026
|
+
"UNCOMMITTED",
|
|
6027
|
+
"APPROVING",
|
|
6028
|
+
"REJECTED",
|
|
6029
|
+
"APPROVED"
|
|
6030
|
+
]
|
|
6031
|
+
},
|
|
6032
|
+
"submitDateStart": {
|
|
6033
|
+
"type": "string",
|
|
6034
|
+
"title": "工时提交时间区间开始(含)",
|
|
6035
|
+
"description": "工时提交时间区间开始(含),可单独传入,格式 yyyy-MM-dd HH:mm:ss",
|
|
6036
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
6037
|
+
"example": "2026-09-22 10:00:00"
|
|
6038
|
+
},
|
|
6039
|
+
"submitDateEnd": {
|
|
6040
|
+
"type": "string",
|
|
6041
|
+
"title": "工时提交时间区间结束(含)",
|
|
6042
|
+
"description": "工时提交时间区间结束(含),可单独传入,格式 yyyy-MM-dd HH:mm:ss",
|
|
6043
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
6044
|
+
"example": "2026-09-22 10:00:00"
|
|
6045
|
+
},
|
|
6046
|
+
"approvedDateStart": {
|
|
6047
|
+
"type": "string",
|
|
6048
|
+
"title": "工时审批时间区间开始(含)",
|
|
6049
|
+
"description": "工时审批时间区间开始(含),可单独传入,格式 yyyy-MM-dd HH:mm:ss",
|
|
6050
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
6051
|
+
"example": "2026-09-22 10:00:00"
|
|
6052
|
+
},
|
|
6053
|
+
"approvedDateEnd": {
|
|
6054
|
+
"type": "string",
|
|
6055
|
+
"title": "工时审批时间区间结束(含)",
|
|
6056
|
+
"description": "工时审批时间区间结束(含),可单独传入,格式 yyyy-MM-dd HH:mm:ss",
|
|
6057
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
6058
|
+
"example": "2026-09-22 10:00:00"
|
|
6059
|
+
}
|
|
6060
|
+
}
|
|
6061
|
+
},
|
|
6062
|
+
"responseSchema": {
|
|
6063
|
+
"type": "object",
|
|
6064
|
+
"properties": {
|
|
6065
|
+
"total": {
|
|
6066
|
+
"type": "integer",
|
|
6067
|
+
"format": "int64",
|
|
6068
|
+
"description": "符合筛选条件的总条数;越界空页仍返回真实总数"
|
|
6069
|
+
},
|
|
6070
|
+
"result": {
|
|
6071
|
+
"type": "array",
|
|
6072
|
+
"description": "当前页数据",
|
|
6073
|
+
"items": {
|
|
6074
|
+
"type": "object",
|
|
6075
|
+
"properties": {
|
|
6076
|
+
"atwTimesheetId": {
|
|
6077
|
+
"type": "integer",
|
|
6078
|
+
"format": "int64",
|
|
6079
|
+
"title": "工时ID",
|
|
6080
|
+
"description": "工时ID"
|
|
6081
|
+
},
|
|
6082
|
+
"atwProjectId": {
|
|
6083
|
+
"type": "integer",
|
|
6084
|
+
"format": "int64",
|
|
6085
|
+
"title": "工时系统项目ID",
|
|
6086
|
+
"description": "工时系统项目ID"
|
|
6087
|
+
},
|
|
6088
|
+
"atwProjectName": {
|
|
6089
|
+
"type": "string",
|
|
6090
|
+
"title": "工时系统项目名称",
|
|
6091
|
+
"description": "工时系统项目名称"
|
|
6092
|
+
},
|
|
6093
|
+
"atwTaskId": {
|
|
6094
|
+
"type": "integer",
|
|
6095
|
+
"format": "int64",
|
|
6096
|
+
"title": "工时系统任务ID",
|
|
6097
|
+
"description": "工时系统任务ID"
|
|
6098
|
+
},
|
|
6099
|
+
"atwTaskName": {
|
|
6100
|
+
"type": "string",
|
|
6101
|
+
"title": "工时系统任务名称",
|
|
6102
|
+
"description": "工时系统任务名称"
|
|
6103
|
+
},
|
|
6104
|
+
"atwParentTaskId": {
|
|
6105
|
+
"type": "integer",
|
|
6106
|
+
"format": "int64",
|
|
6107
|
+
"title": "工时系统父任务ID",
|
|
6108
|
+
"description": "工时系统父任务ID"
|
|
6109
|
+
},
|
|
6110
|
+
"atwParentTaskName": {
|
|
6111
|
+
"type": "string",
|
|
6112
|
+
"title": "工时系统父任务名称",
|
|
6113
|
+
"description": "工时系统父任务名称"
|
|
6114
|
+
},
|
|
6115
|
+
"projectId": {
|
|
6116
|
+
"type": "integer",
|
|
6117
|
+
"format": "int64",
|
|
6118
|
+
"title": "项目ID",
|
|
6119
|
+
"description": "项目ID"
|
|
6120
|
+
},
|
|
6121
|
+
"kindCode": {
|
|
6122
|
+
"type": "string",
|
|
6123
|
+
"title": "服务产品编码",
|
|
6124
|
+
"description": "服务产品编码,来自工时系统字典;已知示例:1=广告优化运营(代投)、85=广告诊断顾问、-888=售前咨询,非固定枚举"
|
|
6125
|
+
},
|
|
6126
|
+
"kindName": {
|
|
6127
|
+
"type": "string",
|
|
6128
|
+
"title": "服务产品名称",
|
|
6129
|
+
"description": "服务产品名称,来自工时系统字典"
|
|
6130
|
+
},
|
|
6131
|
+
"userId": {
|
|
6132
|
+
"type": "integer",
|
|
6133
|
+
"format": "int32",
|
|
6134
|
+
"title": "用户ID",
|
|
6135
|
+
"description": "用户ID"
|
|
6136
|
+
},
|
|
6137
|
+
"channelName": {
|
|
6138
|
+
"type": "string",
|
|
6139
|
+
"title": "媒体渠道名称",
|
|
6140
|
+
"description": "媒体渠道名称,映射表中 channel 列;例如 Facebook、Google,来自工时系统渠道字典"
|
|
6141
|
+
},
|
|
6142
|
+
"roleType": {
|
|
6143
|
+
"type": "string",
|
|
6144
|
+
"title": "角色名称",
|
|
6145
|
+
"description": "角色名称,已有映射:PM、主优化师、其他优化师、优化组长、其他成员;传名称,不传角色数字ID"
|
|
6146
|
+
},
|
|
6147
|
+
"entryDate": {
|
|
6148
|
+
"type": "string",
|
|
6149
|
+
"title": "工时填写归属日",
|
|
6150
|
+
"description": "工时填写归属日,格式 yyyy-MM-dd",
|
|
6151
|
+
"format": "date",
|
|
6152
|
+
"example": "2026-09-22"
|
|
6153
|
+
},
|
|
6154
|
+
"year": {
|
|
6155
|
+
"type": "integer",
|
|
6156
|
+
"format": "int32",
|
|
6157
|
+
"title": "工时填写归属年",
|
|
6158
|
+
"description": "工时填写归属年,格式 yyyy,例如 2026",
|
|
6159
|
+
"example": 2026
|
|
6160
|
+
},
|
|
6161
|
+
"month": {
|
|
6162
|
+
"type": "integer",
|
|
6163
|
+
"format": "int32",
|
|
6164
|
+
"title": "工时填写归属月",
|
|
6165
|
+
"description": "工时填写归属月,格式 yyyyMM,例如 202609",
|
|
6166
|
+
"example": 202609
|
|
6167
|
+
},
|
|
6168
|
+
"week": {
|
|
6169
|
+
"type": "integer",
|
|
6170
|
+
"format": "int32",
|
|
6171
|
+
"title": "工时填写归属周",
|
|
6172
|
+
"description": "工时填写归属周,格式 YYYYww(ISO周所属年份+两位周数,01–53),例如 202639=2026年第39周;周一开始,跨年时周所属年份可能与日历年份不同",
|
|
6173
|
+
"example": 202639
|
|
6174
|
+
},
|
|
6175
|
+
"hour": {
|
|
6176
|
+
"type": "number",
|
|
6177
|
+
"title": "填写工时",
|
|
6178
|
+
"description": "填写工时,单位小时,支持小数"
|
|
6179
|
+
},
|
|
6180
|
+
"timeCode": {
|
|
6181
|
+
"type": "string",
|
|
6182
|
+
"title": "工时类型编码",
|
|
6183
|
+
"description": "工时类型编码,来自工时系统字典;不是 time_code_type(REGULAR_TIME/LEAVE_TIME/OVER_TIME)"
|
|
6184
|
+
},
|
|
6185
|
+
"timeCodeName": {
|
|
6186
|
+
"type": "string",
|
|
6187
|
+
"title": "工时类型名称",
|
|
6188
|
+
"description": "工时类型名称,来自工时系统字典,与 timeCode 对应"
|
|
6189
|
+
},
|
|
6190
|
+
"activity": {
|
|
6191
|
+
"type": "string",
|
|
6192
|
+
"title": "审批状态:UNCOMMITTED=已保存",
|
|
6193
|
+
"description": "审批状态:UNCOMMITTED=已保存,APPROVING=待审批,REJECTED=未通过,APPROVED=已批准",
|
|
6194
|
+
"enum": [
|
|
6195
|
+
"UNCOMMITTED",
|
|
6196
|
+
"APPROVING",
|
|
6197
|
+
"REJECTED",
|
|
6198
|
+
"APPROVED"
|
|
6199
|
+
]
|
|
6200
|
+
},
|
|
6201
|
+
"submitDate": {
|
|
6202
|
+
"type": "string",
|
|
6203
|
+
"title": "工时提交时间",
|
|
6204
|
+
"description": "工时提交时间,格式 yyyy-MM-dd HH:mm:ss",
|
|
6205
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
6206
|
+
"example": "2026-09-22 10:00:00"
|
|
6207
|
+
},
|
|
6208
|
+
"approvedDate": {
|
|
6209
|
+
"type": "string",
|
|
6210
|
+
"title": "工时审批时间",
|
|
6211
|
+
"description": "工时审批时间,格式 yyyy-MM-dd HH:mm:ss",
|
|
6212
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
6213
|
+
"example": "2026-09-22 10:00:00"
|
|
6214
|
+
}
|
|
6215
|
+
}
|
|
6216
|
+
}
|
|
6217
|
+
},
|
|
6218
|
+
"page": {
|
|
6219
|
+
"type": "integer",
|
|
6220
|
+
"format": "int32",
|
|
6221
|
+
"description": "当前页码"
|
|
6222
|
+
},
|
|
6223
|
+
"size": {
|
|
6224
|
+
"type": "integer",
|
|
6225
|
+
"format": "int32",
|
|
6226
|
+
"description": "请求的每页条数"
|
|
6227
|
+
}
|
|
6228
|
+
}
|
|
6229
|
+
},
|
|
6230
|
+
"pagination": {
|
|
6231
|
+
"pageField": "pageNum",
|
|
6232
|
+
"sizeField": "pageSize",
|
|
6233
|
+
"itemsField": "result",
|
|
6234
|
+
"totalField": "total"
|
|
6235
|
+
},
|
|
6236
|
+
"tenant": false,
|
|
6237
|
+
"roleScope": [
|
|
6238
|
+
"sso"
|
|
6239
|
+
]
|
|
6240
|
+
},
|
|
5563
6241
|
{
|
|
5564
6242
|
"name": "biz-line-ai-strategy-save",
|
|
5565
6243
|
"displayName": "保存业务线AI策略",
|
|
@@ -26949,7 +27627,7 @@
|
|
|
26949
27627
|
},
|
|
26950
27628
|
{
|
|
26951
27629
|
"name": "sso-user-info",
|
|
26952
|
-
"displayName": "查询SSO用户信息",
|
|
27630
|
+
"displayName": "查询SSO用户信息(用户ID)",
|
|
26953
27631
|
"description": "按用户ID查询SSO用户信息。返回用户ID、用户名称、账户登陆名。查不到返回 result 为 null。",
|
|
26954
27632
|
"group": "用户信息",
|
|
26955
27633
|
"method": "POST",
|
|
@@ -26959,7 +27637,7 @@
|
|
|
26959
27637
|
"domain": "user",
|
|
26960
27638
|
"shortcut": "+sso-info",
|
|
26961
27639
|
"risk": "read",
|
|
26962
|
-
"summary": "查询SSO用户信息",
|
|
27640
|
+
"summary": "查询SSO用户信息(用户ID)",
|
|
26963
27641
|
"docFile": "user.md",
|
|
26964
27642
|
"requestSchema": {
|
|
26965
27643
|
"type": "object",
|
|
@@ -27006,7 +27684,7 @@
|
|
|
27006
27684
|
},
|
|
27007
27685
|
{
|
|
27008
27686
|
"name": "sso-user-info-batch",
|
|
27009
|
-
"displayName": "批量查询SSO用户信息",
|
|
27687
|
+
"displayName": "批量查询SSO用户信息(用户ID)",
|
|
27010
27688
|
"description": "按用户ID集合批量查询SSO用户信息。返回用户ID、用户名称、账户登陆名。入参去重后查询,只返回命中项。",
|
|
27011
27689
|
"group": "用户信息",
|
|
27012
27690
|
"method": "POST",
|
|
@@ -27016,7 +27694,7 @@
|
|
|
27016
27694
|
"domain": "user",
|
|
27017
27695
|
"shortcut": "+sso-info-batch",
|
|
27018
27696
|
"risk": "read",
|
|
27019
|
-
"summary": "批量查询SSO用户信息",
|
|
27697
|
+
"summary": "批量查询SSO用户信息(用户ID)",
|
|
27020
27698
|
"docFile": "user.md",
|
|
27021
27699
|
"requestSchema": {
|
|
27022
27700
|
"type": "object",
|
|
@@ -27066,6 +27744,103 @@
|
|
|
27066
27744
|
"system"
|
|
27067
27745
|
]
|
|
27068
27746
|
},
|
|
27747
|
+
{
|
|
27748
|
+
"name": "sso-user-list",
|
|
27749
|
+
"displayName": "查询SSO用户列表(支持名称模糊)",
|
|
27750
|
+
"description": "查询 SSO 用户列表,userIdList和userName至少传一个。",
|
|
27751
|
+
"group": "用户信息",
|
|
27752
|
+
"method": "POST",
|
|
27753
|
+
"path": "/bc-business-pu/user/querySsoUserList",
|
|
27754
|
+
"timeout": 180000,
|
|
27755
|
+
"tag": "用户信息",
|
|
27756
|
+
"domain": "user",
|
|
27757
|
+
"shortcut": "+sso-list",
|
|
27758
|
+
"risk": "read",
|
|
27759
|
+
"summary": "查询SSO用户列表(支持名称模糊)",
|
|
27760
|
+
"docFile": "user.md",
|
|
27761
|
+
"requestSchema": {
|
|
27762
|
+
"type": "object",
|
|
27763
|
+
"properties": {
|
|
27764
|
+
"userIdList": {
|
|
27765
|
+
"type": "array",
|
|
27766
|
+
"items": {
|
|
27767
|
+
"type": "integer",
|
|
27768
|
+
"format": "int32"
|
|
27769
|
+
},
|
|
27770
|
+
"description": "SSO 用户 ID 列表"
|
|
27771
|
+
},
|
|
27772
|
+
"userName": {
|
|
27773
|
+
"type": "string",
|
|
27774
|
+
"description": "名称模糊查询关键字"
|
|
27775
|
+
}
|
|
27776
|
+
},
|
|
27777
|
+
"anyOf": [
|
|
27778
|
+
{
|
|
27779
|
+
"required": [
|
|
27780
|
+
"userIdList"
|
|
27781
|
+
],
|
|
27782
|
+
"properties": {
|
|
27783
|
+
"userIdList": {
|
|
27784
|
+
"type": "array",
|
|
27785
|
+
"minItems": 1,
|
|
27786
|
+
"items": {
|
|
27787
|
+
"type": "string"
|
|
27788
|
+
}
|
|
27789
|
+
}
|
|
27790
|
+
},
|
|
27791
|
+
"type": "object"
|
|
27792
|
+
},
|
|
27793
|
+
{
|
|
27794
|
+
"required": [
|
|
27795
|
+
"userName"
|
|
27796
|
+
],
|
|
27797
|
+
"properties": {
|
|
27798
|
+
"userName": {
|
|
27799
|
+
"type": "string",
|
|
27800
|
+
"pattern": "\\S"
|
|
27801
|
+
}
|
|
27802
|
+
},
|
|
27803
|
+
"type": "object"
|
|
27804
|
+
}
|
|
27805
|
+
]
|
|
27806
|
+
},
|
|
27807
|
+
"responseSchema": {
|
|
27808
|
+
"type": "array",
|
|
27809
|
+
"description": "用户列表,无分页包装",
|
|
27810
|
+
"items": {
|
|
27811
|
+
"type": "object",
|
|
27812
|
+
"properties": {
|
|
27813
|
+
"userId": {
|
|
27814
|
+
"type": "integer",
|
|
27815
|
+
"description": "用户 ID",
|
|
27816
|
+
"format": "int32"
|
|
27817
|
+
},
|
|
27818
|
+
"employeeNumber": {
|
|
27819
|
+
"type": "string",
|
|
27820
|
+
"description": "员工编号"
|
|
27821
|
+
},
|
|
27822
|
+
"loginName": {
|
|
27823
|
+
"type": "string",
|
|
27824
|
+
"description": "英文名称"
|
|
27825
|
+
},
|
|
27826
|
+
"userDisplayName": {
|
|
27827
|
+
"type": "string",
|
|
27828
|
+
"description": "用户姓名"
|
|
27829
|
+
},
|
|
27830
|
+
"email": {
|
|
27831
|
+
"type": "string",
|
|
27832
|
+
"description": "邮箱"
|
|
27833
|
+
}
|
|
27834
|
+
}
|
|
27835
|
+
}
|
|
27836
|
+
},
|
|
27837
|
+
"tenant": false,
|
|
27838
|
+
"roleScope": [
|
|
27839
|
+
"sso",
|
|
27840
|
+
"passport",
|
|
27841
|
+
"system"
|
|
27842
|
+
]
|
|
27843
|
+
},
|
|
27069
27844
|
{
|
|
27070
27845
|
"name": "media-channels",
|
|
27071
27846
|
"displayName": "查询投放渠道列表",
|