作者 yangfu
正在显示 100 个修改的文件 包含 581 行增加64 行删除

要显示太多修改。

为保证性能只显示 100 of 100+ 个文件。

  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: cooperationGoodsStatistics
  5 + path: /cooperation-goods-statistics
  6 + endpoints:
  7 + - method: searchCooperationGoodsStatistics
  8 + route:
  9 + post: /statistics
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: cooperationModeStatistics
  5 + path: /cooperation-mode-statistics
  6 + endpoints:
  7 + - method: searchCooperationModeStatistics
  8 + route:
  9 + post: /statistics
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: cooperationPersonStatistics
  5 + path: /cooperation-person-statistics
  6 + endpoints:
  7 + - method: searchCooperationPersonStatistics
  8 + route:
  9 + post: /statistics
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: currentMonthDividendsStatistics
  5 + path: /current-month-dividends-statistics
  6 + endpoints:
  7 + - method: searchCurrentMonthDividendsStatistics
  8 + route:
  9 + post: /statistics
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: projectOverviewStatistics
  5 + path: /project-overview-statistics
  6 + endpoints:
  7 + - method: searchProjectOverviewStatistics
  8 + route:
  9 + post: /statistics
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: dividendsExpense
  5 + description: 分红支出
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: dividendsExpenseByTypes
  5 + description: 具体分红类型支出
  6 + type:
  7 + array: dividendsExpenseByType
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: dividendsExpenseByType
  5 + description: 具体分红类型支出
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: dividendsTypeName
  5 + description: 分红类型名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: orderAmount
  5 + description: 具体成交类型的订单金额
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: orderTypeName
  5 + description: 成交订单类型名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: orderAmount
  5 + description: 成交订单金额
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: orderAmountByTypes
  5 + description: 具体订单类型的金额明细
  6 + type:
  7 + array: orderAmountByType
1 version: v1 1 version: v1
2 kind: Attribute 2 kind: Attribute
3 metadata: 3 metadata:
4 - name: organizationId 4 + name: orgId
5 description: 组织机构ID 5 description: 组织机构ID
6 type: 6 type:
7 primitive: int64 7 primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: orgName
  5 + description: 组织名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: code
  5 + description: 返回码
  6 + type:
  7 + primitive: int32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: msg
  5 + description: 返回信息
  6 + type:
  7 + primitive: int32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: goodAmount
  5 + description: 共创产品总金额统计
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: goodName
  5 + description: 共创产品名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: goodRatio
  5 + description: 共创产品在TOP5中的占比统计
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: rank
  5 + description: 共创产品TOP5排名
  6 + type:
  7 + primitive: int32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationPeople
  5 + description: 共创人数统计
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: dividendsEstimate
  5 + description: 分红预算统计
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: orderAmount
  5 + description: 订单金额统计
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationTime
  5 + description: 共创时间
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationTypes
  5 + description: 合伙类型,即共创模式
  6 + type:
  7 + array: cooperationMode
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: dividendsDetails
  5 + description: 分红明细
  6 + type:
  7 + schema: dividendsDetails
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: orderDetails
  5 + description: 订单明细
  6 + type:
  7 + schema: orderDetails
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: userName
  5 + description: 共创人员姓名
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: creditAccount
  5 + description: 本月账期结算统计
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: dividendsEstimate
  5 + description: 本月分红预算统计
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: orderAmount
  5 + description: 本月订单金额统计
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: contractSum
  5 + description: 共创合约总数统计
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationUserCount
  5 + description: 共创用户数统计
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: projectSum
  5 + description: 共创项目总数统计
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: projectOverview
  5 + description: 项目概览
  6 + type:
  7 + schema: projectOverview
1 version: v1 1 version: v1
2 kind: Attribute 2 kind: Attribute
3 metadata: 3 metadata:
4 - name: organization 4 + name: org
5 description: 用户所属组织机构 5 description: 用户所属组织机构
6 type: 6 type:
7 - schema: organization 7 + schema: org
1 version: v1 1 version: v1
2 kind: Attribute 2 kind: Attribute
3 metadata: 3 metadata:
4 - name: organizations 4 + name: orgs
5 description: 关联的组织机构 5 description: 关联的组织机构
6 type: 6 type:
7 - array: organization 7 + array: org
@@ -16,10 +16,10 @@ metadata: @@ -16,10 +16,10 @@ metadata:
16 required: true 16 required: true
17 - ref: cooperationMode 17 - ref: cooperationMode
18 required: true 18 required: true
19 - - ref: organization  
20 - description: 数据关联组织机构 19 + - ref: org
  20 + description: 数据所属组织机构
21 required: true 21 required: true
22 - - ref: companyId 22 + - ref: company
23 required: true 23 required: true
24 - ref: updatedAt 24 - ref: updatedAt
25 required: true 25 required: true
@@ -24,10 +24,10 @@ metadata: @@ -24,10 +24,10 @@ metadata:
24 required: true 24 required: true
25 - ref: cooperationProjectNumber 25 - ref: cooperationProjectNumber
26 required: true 26 required: true
27 - - ref: organization  
28 - description: 数据关联组织机构 27 + - ref: org
  28 + description: 数据所属组织机构
29 required: true 29 required: true
30 - - ref: companyId 30 + - ref: company
31 required: true 31 required: true
32 - ref: createdAt 32 - ref: createdAt
33 required: true 33 required: true
@@ -25,10 +25,10 @@ metadata: @@ -25,10 +25,10 @@ metadata:
25 - ref: status 25 - ref: status
26 description: 合约状态,1启用,2禁用 26 description: 合约状态,1启用,2禁用
27 required: true 27 required: true
28 - - ref: organization  
29 - description: 数据关联组织机构 28 + - ref: org
  29 + description: 数据所属组织机构
30 required: true 30 required: true
31 - - ref: companyId 31 + - ref: company
32 required: true 32 required: true
33 - ref: operator 33 - ref: operator
34 required: true 34 required: true
@@ -14,7 +14,7 @@ metadata: @@ -14,7 +14,7 @@ metadata:
14 required: true 14 required: true
15 - ref: undertakers 15 - ref: undertakers
16 required: true 16 required: true
17 - - ref: companyId 17 + - ref: company
18 required: true 18 required: true
19 - ref: operator 19 - ref: operator
20 required: true 20 required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: cooperationGoodsStatistics
  5 + description: 共创产品统计
  6 + attributes:
  7 + - ref: goodAmount
  8 + required: true
  9 + - ref: goodName
  10 + required: true
  11 + - ref: goodRatio
  12 + required: true
  13 + - ref: rank
  14 + required: true
@@ -15,10 +15,10 @@ metadata: @@ -15,10 +15,10 @@ metadata:
15 - ref: status 15 - ref: status
16 description: 共创模式状态,1启用,2禁用 16 description: 共创模式状态,1启用,2禁用
17 required: true 17 required: true
18 - - ref: organization  
19 - description: 数据关联组织机构 18 + - ref: org
  19 + description: 数据所属组织机构
20 required: true 20 required: true
21 - - ref: companyId 21 + - ref: company
22 required: true 22 required: true
23 - ref: remarks 23 - ref: remarks
24 required: true 24 required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: cooperationModeStatistics
  5 + description: 共创模式统计
  6 + attributes:
  7 + - ref: cooperationPeople
  8 + required: true
  9 + - ref: dividendsEstimate
  10 + required: true
  11 + - ref: orderAmount
  12 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: cooperationPersonStatistics
  5 + description: 共创人员信息统计
  6 + attributes:
  7 + - ref: cooperationTime
  8 + required: true
  9 + - ref: cooperationTypes
  10 + required: true
  11 + - ref: dividendsDetails
  12 + required: true
  13 + - ref: orderDetails
  14 + required: true
  15 + - ref: userName
  16 + required: true
@@ -21,10 +21,10 @@ metadata: @@ -21,10 +21,10 @@ metadata:
21 required: true 21 required: true
22 - ref: cooperationProjectUndertakerType 22 - ref: cooperationProjectUndertakerType
23 required: true 23 required: true
24 - - ref: organization  
25 - description: 数据关联组织机构 24 + - ref: org
  25 + description: 数据所属组织机构
26 required: true 26 required: true
27 - - ref: companyId 27 + - ref: company
28 required: true 28 required: true
29 - ref: operator 29 - ref: operator
30 required: true 30 required: true
@@ -29,10 +29,10 @@ metadata: @@ -29,10 +29,10 @@ metadata:
29 - ref: paymentDocumentAttachment 29 - ref: paymentDocumentAttachment
30 description: 支付凭证附件 30 description: 支付凭证附件
31 required: true 31 required: true
32 - - ref: organization  
33 - description: 数据关联组织机构 32 + - ref: org
  33 + description: 数据所属组织机构
34 required: true 34 required: true
35 - - ref: companyId 35 + - ref: company
36 required: true 36 required: true
37 - ref: operator 37 - ref: operator
38 required: true 38 required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: currentMonthDividendsStatistics
  5 + description: 本月分红统计
  6 + attributes:
  7 + - ref: creditAccount
  8 + required: true
  9 + - ref: dividendsEstimate
  10 + required: true
  11 + - ref: orderAmount
  12 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: dividendsDetails
  5 + description: 分红明细
  6 + attributes:
  7 + - ref: dividendsExpense
  8 + required: true
  9 + - ref: dividendsExpenseByTypes
  10 + required: true
@@ -25,10 +25,10 @@ metadata: @@ -25,10 +25,10 @@ metadata:
25 required: true 25 required: true
26 - ref: dividendsUser 26 - ref: dividendsUser
27 required: true 27 required: true
28 - - ref: organization  
29 - description: 数据关联组织机构 28 + - ref: org
  29 + description: 数据所属组织机构
30 required: true 30 required: true
31 - - ref: companyId 31 + - ref: company
32 required: true 32 required: true
33 - ref: operator 33 - ref: operator
34 required: true 34 required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: dividendsExpenseByType
  5 + description: 具体分红类型支出
  6 + attributes:
  7 + - ref: dividendsExpenseByType
  8 + required: true
  9 + - ref: dividendsTypeName
  10 + required: true
@@ -21,10 +21,10 @@ metadata: @@ -21,10 +21,10 @@ metadata:
21 required: true 21 required: true
22 - ref: dividendsIncentivesStageStart 22 - ref: dividendsIncentivesStageStart
23 required: true 23 required: true
24 - - ref: organization  
25 - description: 数据关联组织机构 24 + - ref: org
  25 + description: 数据所属组织机构
26 required: true 26 required: true
27 - - ref: companyId 27 + - ref: company
28 required: true 28 required: true
29 - ref: updatedAt 29 - ref: updatedAt
30 required: true 30 required: true
@@ -25,10 +25,10 @@ metadata: @@ -25,10 +25,10 @@ metadata:
25 - ref: customerName 25 - ref: customerName
26 description: 客户姓名 26 description: 客户姓名
27 required: true 27 required: true
28 - - ref: organization  
29 - description: 数据关联组织机构 28 + - ref: org
  29 + description: 数据所属组织机构
30 required: true 30 required: true
31 - - ref: companyId 31 + - ref: company
32 required: true 32 required: true
33 - ref: createdAt 33 - ref: createdAt
34 required: true 34 required: true
@@ -32,10 +32,10 @@ metadata: @@ -32,10 +32,10 @@ metadata:
32 required: true 32 required: true
33 - ref: dividendTime 33 - ref: dividendTime
34 required: true 34 required: true
35 - - ref: organization  
36 - description: 数据关联组织机构 35 + - ref: org
  36 + description: 数据所属组织机构
37 required: true 37 required: true
38 - - ref: companyId 38 + - ref: company
39 required: true 39 required: true
40 - ref: createdAt 40 - ref: createdAt
41 required: true 41 required: true
@@ -23,10 +23,10 @@ metadata: @@ -23,10 +23,10 @@ metadata:
23 required: true 23 required: true
24 - ref: salesmanPercentage 24 - ref: salesmanPercentage
25 required: true 25 required: true
26 - - ref: organization  
27 - description: 数据关联组织机构 26 + - ref: org
  27 + description: 数据所属组织机构
28 required: true 28 required: true
29 - - ref: companyId 29 + - ref: company
30 required: true 30 required: true
31 - ref: updatedAt 31 - ref: updatedAt
32 required: true 32 required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: orderAmountByType
  5 + description: 具体成交类型的订单明细
  6 + attributes:
  7 + - ref: orderAmount
  8 + required: true
  9 + - ref: orderTypeName
  10 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: orderDetails
  5 + description: 订单明细
  6 + attributes:
  7 + - ref: orderAmount
  8 + required: true
  9 + - ref: orderAmountByTypes
  10 + required: true
@@ -2,7 +2,7 @@ version: v1 @@ -2,7 +2,7 @@ version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 name: orderGoods 4 name: orderGoods
5 - description: 订单产品对象 5 + description: 订单产品对象DTO
6 attributes: 6 attributes:
7 - ref: orderGoodAmount 7 - ref: orderGoodAmount
8 required: true 8 required: true
@@ -21,9 +21,4 @@ metadata: @@ -21,9 +21,4 @@ metadata:
21 - ref: orderGoodExpense 21 - ref: orderGoodExpense
22 description: 订单产品费用 22 description: 订单产品费用
23 required: true 23 required: true
24 - - ref: createdAt  
25 - required: true  
26 - - ref: deletedAt  
27 - required: true  
28 - - ref: updatedAt  
29 - required: true 24 +
1 version: v1 1 version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 - name: organization 4 + name: org
5 description: 组织机构值对象 5 description: 组织机构值对象
6 attributes: 6 attributes:
7 - - ref: organizationId 7 + - ref: orgId
8 required: true 8 required: true
9 - - ref: companyId 9 + - ref: orgName
  10 + required: true
  11 + - ref: company
10 required: true 12 required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: projectOverviewStatistics
  5 + description: 项目概览统计
  6 + attributes:
  7 + - ref: contractSum
  8 + required: true
  9 + - ref: projectSum
  10 + required: true
  11 + - ref: cooperationUserCount
  12 + required: true
@@ -10,10 +10,10 @@ metadata: @@ -10,10 +10,10 @@ metadata:
10 required: true 10 required: true
11 - ref: role 11 - ref: role
12 required: true 12 required: true
13 - - ref: organizations 13 + - ref: orgs
14 description: 用户关联的组织机构 14 description: 用户关联的组织机构
15 required: true 15 required: true
16 - - ref: organization 16 + - ref: org
17 description: 用户所属的组织机构 17 description: 用户所属的组织机构
18 required: true 18 required: true
19 - ref: department 19 - ref: department
@@ -8,10 +8,10 @@ metadata: @@ -8,10 +8,10 @@ metadata:
8 required: true 8 required: true
9 - ref: userBaseId 9 - ref: userBaseId
10 required: true 10 required: true
11 - - ref: organization 11 + - ref: org
12 description: 用户所属的组织机构 12 description: 用户所属的组织机构
13 required: true 13 required: true
14 - - ref: organizations 14 + - ref: orgs
15 description: 用户关联的组织机构 15 description: 用户关联的组织机构
16 required: true 16 required: true
17 - ref: department 17 - ref: department
@@ -10,10 +10,10 @@ metadata: @@ -10,10 +10,10 @@ metadata:
10 required: true 10 required: true
11 - ref: role 11 - ref: role
12 required: true 12 required: true
13 - - ref: organizations 13 + - ref: orgs
14 description: 用户关联的组织机构 14 description: 用户关联的组织机构
15 required: true 15 required: true
16 - - ref: organization 16 + - ref: org
17 description: 用户所属的组织机构 17 description: 用户所属的组织机构
18 required: true 18 required: true
19 - ref: department 19 - ref: department
@@ -8,10 +8,10 @@ metadata: @@ -8,10 +8,10 @@ metadata:
8 required: true 8 required: true
9 - ref: userBaseId 9 - ref: userBaseId
10 required: true 10 required: true
11 - - ref: organization 11 + - ref: org
12 description: 用户所属组织机构 12 description: 用户所属组织机构
13 required: true 13 required: true
14 - - ref: organizations 14 + - ref: orgs
15 description: 用户关联的组织机构 15 description: 用户关联的组织机构
16 required: true 16 required: true
17 - ref: department 17 - ref: department
@@ -8,10 +8,10 @@ metadata: @@ -8,10 +8,10 @@ metadata:
8 required: true 8 required: true
9 - ref: userBaseId 9 - ref: userBaseId
10 required: true 10 required: true
11 - - ref: organization 11 + - ref: org
12 description: 用户所属组织机构 12 description: 用户所属组织机构
13 required: true 13 required: true
14 - - ref: organizations 14 + - ref: orgs
15 description: 用户关联的组织机构 15 description: 用户关联的组织机构
16 required: true 16 required: true
17 - ref: department 17 - ref: department
@@ -13,4 +13,5 @@ metadata: @@ -13,4 +13,5 @@ metadata:
13 - ref: userPhone 13 - ref: userPhone
14 required: true 14 required: true
15 - ref: userAccount 15 - ref: userAccount
  16 + description: 用户账号,区别于手机号,冗余字段
16 required: true 17 required: true
@@ -15,6 +15,10 @@ metadata: @@ -15,6 +15,10 @@ metadata:
15 description: 承接人uid 15 description: 承接人uid
16 type: 16 type:
17 primitive: string 17 primitive: string
  18 + - ref: companyId
  19 + required: true
  20 + - ref: userId
  21 + required: true
18 result: 22 result:
19 - name: contractUndertakerFeedback 23 - name: contractUndertakerFeedback
20 type: 24 type:
@@ -8,9 +8,13 @@ metadata: @@ -8,9 +8,13 @@ metadata:
8 - ref: feedbackId 8 - ref: feedbackId
9 required: true 9 required: true
10 - name: underTakerUid 10 - name: underTakerUid
11 - description: Attribute描述 11 + description: 承接人uid
12 type: 12 type:
13 primitive: string 13 primitive: string
  14 + - ref: companyId
  15 + required: true
  16 + - ref: userId
  17 + required: true
14 result: 18 result:
15 - name: contractUndertakerFeedback 19 - name: contractUndertakerFeedback
16 type: 20 type:
@@ -6,13 +6,18 @@ metadata: @@ -6,13 +6,18 @@ metadata:
6 description: 返回共创合约反馈服务列表 6 description: 返回共创合约反馈服务列表
7 payload: 7 payload:
8 - ref: offset 8 - ref: offset
9 - required: true 9 + required: false
10 - ref: limit 10 - ref: limit
11 - required: true 11 + required: false
12 - name: underTakerUid 12 - name: underTakerUid
13 - description: Attribute描述 13 + description: 承接人uid
14 type: 14 type:
15 primitive: string 15 primitive: string
  16 + required: true
  17 + - ref: companyId
  18 + required: true
  19 + - ref: userId
  20 + required: true
16 result: 21 result:
17 - ref: count 22 - ref: count
18 required: true 23 required: true
@@ -8,9 +8,13 @@ metadata: @@ -8,9 +8,13 @@ metadata:
8 - ref: feedbackId 8 - ref: feedbackId
9 required: true 9 required: true
10 - name: underTakerUid 10 - name: underTakerUid
11 - description: Attribute描述 11 + description: 承接人uid
12 type: 12 type:
13 primitive: string 13 primitive: string
  14 + - ref: companyId
  15 + required: true
  16 + - ref: userId
  17 + required: true
14 result: 18 result:
15 - name: contractUndertakerFeedback 19 - name: contractUndertakerFeedback
16 type: 20 type:
@@ -15,6 +15,10 @@ metadata: @@ -15,6 +15,10 @@ metadata:
15 description: 承接人姓名 15 description: 承接人姓名
16 type: 16 type:
17 primitive: string 17 primitive: string
  18 + - ref: companyId
  19 + required: true
  20 + - ref: userId
  21 + required: true
18 result: 22 result:
19 - name: contractUndertakerFeedbacks 23 - name: contractUndertakerFeedbacks
20 type: 24 type:
@@ -15,6 +15,10 @@ metadata: @@ -15,6 +15,10 @@ metadata:
15 description: 承接人用户uid 15 description: 承接人用户uid
16 type: 16 type:
17 primitive: string 17 primitive: string
  18 + - ref: companyId
  19 + required: true
  20 + - ref: userId
  21 + required: true
18 result: 22 result:
19 - name: contractUndertakerFeedback 23 - name: contractUndertakerFeedback
20 type: 24 type:
@@ -9,6 +9,10 @@ metadata: @@ -9,6 +9,10 @@ metadata:
9 required: true 9 required: true
10 - ref: cooperationApplicationVerifyDescription 10 - ref: cooperationApplicationVerifyDescription
11 required: true 11 required: true
  12 + - ref: companyId
  13 + required: true
  14 + - ref: userId
  15 + required: true
12 result: 16 result:
13 - name: cooperationApplication 17 - name: cooperationApplication
14 type: 18 type:
@@ -17,6 +17,10 @@ metadata: @@ -17,6 +17,10 @@ metadata:
17 required: true 17 required: true
18 - ref: cooperationApplyTime 18 - ref: cooperationApplyTime
19 required: true 19 required: true
  20 + - ref: companyId
  21 + required: true
  22 + - ref: userId
  23 + required: true
20 result: 24 result:
21 - name: cooperationApplication 25 - name: cooperationApplication
22 type: 26 type:
@@ -17,6 +17,10 @@ metadata: @@ -17,6 +17,10 @@ metadata:
17 - ref: cooperationProjectNumber 17 - ref: cooperationProjectNumber
18 description: 关联的共创项目编号 18 description: 关联的共创项目编号
19 required: true 19 required: true
  20 + - ref: companyId
  21 + required: true
  22 + - ref: userId
  23 + required: true
20 result: 24 result:
21 - name: cooperationApplication 25 - name: cooperationApplication
22 type: 26 type:
@@ -7,6 +7,10 @@ metadata: @@ -7,6 +7,10 @@ metadata:
7 payload: 7 payload:
8 - ref: cooperationApplicationId 8 - ref: cooperationApplicationId
9 required: true 9 required: true
  10 + - ref: companyId
  11 + required: true
  12 + - ref: userId
  13 + required: true
10 result: 14 result:
11 - name: cooperationApplication 15 - name: cooperationApplication
12 type: 16 type:
@@ -9,6 +9,10 @@ metadata: @@ -9,6 +9,10 @@ metadata:
9 required: true 9 required: true
10 - ref: limit 10 - ref: limit
11 required: true 11 required: true
  12 + - ref: companyId
  13 + required: true
  14 + - ref: userId
  15 + required: true
12 result: 16 result:
13 - ref: count 17 - ref: count
14 required: true 18 required: true
@@ -9,6 +9,10 @@ metadata: @@ -9,6 +9,10 @@ metadata:
9 required: true 9 required: true
10 - ref: cooperationApplicationVerifyDescription 10 - ref: cooperationApplicationVerifyDescription
11 required: true 11 required: true
  12 + - ref: companyId
  13 + required: true
  14 + - ref: userId
  15 + required: true
12 result: 16 result:
13 - name: cooperationApplication 17 - name: cooperationApplication
14 type: 18 type:
@@ -7,6 +7,10 @@ metadata: @@ -7,6 +7,10 @@ metadata:
7 payload: 7 payload:
8 - ref: cooperationApplicationId 8 - ref: cooperationApplicationId
9 required: true 9 required: true
  10 + - ref: companyId
  11 + required: true
  12 + - ref: userId
  13 + required: true
10 result: 14 result:
11 - name: cooperationApplication 15 - name: cooperationApplication
12 type: 16 type:
@@ -11,10 +11,17 @@ metadata: @@ -11,10 +11,17 @@ metadata:
11 description: 申请人姓名 11 description: 申请人姓名
12 type: 12 type:
13 primitive: string 13 primitive: string
  14 + - ref: cooperationApplicationStatus
  15 + description: 共创申请审核状态,1待审核,2已同意,3已拒绝
  16 + required: false
14 - ref: pageSize 17 - ref: pageSize
15 required: false 18 required: false
16 - ref: pageNumber 19 - ref: pageNumber
17 required: false 20 required: false
  21 + - ref: companyId
  22 + required: true
  23 + - ref: userId
  24 + required: true
18 result: 25 result:
19 - name: cooperationApplications 26 - name: cooperationApplications
20 type: 27 type:
@@ -17,6 +17,10 @@ metadata: @@ -17,6 +17,10 @@ metadata:
17 - ref: cooperationProjectNumber 17 - ref: cooperationProjectNumber
18 description: 关联的共创项目编号 18 description: 关联的共创项目编号
19 required: true 19 required: true
  20 + - ref: companyId
  21 + required: true
  22 + - ref: userId
  23 + required: true
20 result: 24 result:
21 - name: cooperationApplication 25 - name: cooperationApplication
22 type: 26 type:
@@ -40,6 +40,10 @@ metadata: @@ -40,6 +40,10 @@ metadata:
40 description: 相关人列表 40 description: 相关人列表
41 type: 41 type:
42 array: relevant 42 array: relevant
  43 + - ref: companyId
  44 + required: true
  45 + - ref: userId
  46 + required: true
43 result: 47 result:
44 - name: cooperationContract 48 - name: cooperationContract
45 type: 49 type:
@@ -11,6 +11,10 @@ metadata: @@ -11,6 +11,10 @@ metadata:
11 description: 发起人uid 11 description: 发起人uid
12 type: 12 type:
13 primitive: string 13 primitive: string
  14 + - ref: companyId
  15 + required: true
  16 + - ref: userId
  17 + required: true
14 result: 18 result:
15 - name: cooperationContract 19 - name: cooperationContract
16 type: 20 type:
@@ -9,6 +9,10 @@ metadata: @@ -9,6 +9,10 @@ metadata:
9 required: true 9 required: true
10 - ref: limit 10 - ref: limit
11 required: true 11 required: true
  12 + - ref: companyId
  13 + required: true
  14 + - ref: userId
  15 + required: true
12 result: 16 result:
13 - ref: count 17 - ref: count
14 required: true 18 required: true
@@ -7,6 +7,10 @@ metadata: @@ -7,6 +7,10 @@ metadata:
7 payload: 7 payload:
8 - ref: cooperationContractId 8 - ref: cooperationContractId
9 required: true 9 required: true
  10 + - ref: companyId
  11 + required: true
  12 + - ref: userId
  13 + required: true
10 result: 14 result:
11 - name: cooperationContract 15 - name: cooperationContract
12 type: 16 type:
@@ -15,6 +15,10 @@ metadata: @@ -15,6 +15,10 @@ metadata:
15 description: 发起人姓名 15 description: 发起人姓名
16 type: 16 type:
17 primitive: string 17 primitive: string
  18 + - ref: companyId
  19 + required: true
  20 + - ref: userId
  21 + required: true
18 result: 22 result:
19 - name: cooperationContracts 23 - name: cooperationContracts
20 type: 24 type:
@@ -12,6 +12,10 @@ metadata: @@ -12,6 +12,10 @@ metadata:
12 type: 12 type:
13 primitive: string 13 primitive: string
14 required: false 14 required: false
  15 + - ref: companyId
  16 + required: true
  17 + - ref: userId
  18 + required: true
15 result: 19 result:
16 - name: cooperationContractByUndertaker 20 - name: cooperationContractByUndertaker
17 description: 根据承接人返回的共创项目合约 21 description: 根据承接人返回的共创项目合约
@@ -23,6 +23,10 @@ metadata: @@ -23,6 +23,10 @@ metadata:
23 description: 共创合约发起人uid 23 description: 共创合约发起人uid
24 type: 24 type:
25 primitive: string 25 primitive: string
  26 + - ref: companyId
  27 + required: true
  28 + - ref: userId
  29 + required: true
26 result: 30 result:
27 - name: cooperationContract 31 - name: cooperationContract
28 type: 32 type:
@@ -15,6 +15,10 @@ metadata: @@ -15,6 +15,10 @@ metadata:
15 required: true 15 required: true
16 - ref: cooperationContractNumber 16 - ref: cooperationContractNumber
17 required: true 17 required: true
  18 + - ref: companyId
  19 + required: true
  20 + - ref: userId
  21 + required: true
18 result: 22 result:
19 - name: cooperationContractChangeLog 23 - name: cooperationContractChangeLog
20 type: 24 type:
@@ -7,6 +7,10 @@ metadata: @@ -7,6 +7,10 @@ metadata:
7 payload: 7 payload:
8 - ref: cooperationContractChangeLogId 8 - ref: cooperationContractChangeLogId
9 required: true 9 required: true
  10 + - ref: companyId
  11 + required: true
  12 + - ref: userId
  13 + required: true
10 result: 14 result:
11 - name: cooperationContractChangeLog 15 - name: cooperationContractChangeLog
12 type: 16 type:
@@ -9,6 +9,10 @@ metadata: @@ -9,6 +9,10 @@ metadata:
9 required: true 9 required: true
10 - ref: limit 10 - ref: limit
11 required: true 11 required: true
  12 + - ref: companyId
  13 + required: true
  14 + - ref: userId
  15 + required: true
12 result: 16 result:
13 - ref: count 17 - ref: count
14 required: true 18 required: true
@@ -7,6 +7,10 @@ metadata: @@ -7,6 +7,10 @@ metadata:
7 payload: 7 payload:
8 - ref: cooperationContractChangeLogId 8 - ref: cooperationContractChangeLogId
9 required: true 9 required: true
  10 + - ref: companyId
  11 + required: true
  12 + - ref: userId
  13 + required: true
10 result: 14 result:
11 - name: cooperationContractChangeLog 15 - name: cooperationContractChangeLog
12 type: 16 type:
@@ -13,6 +13,10 @@ metadata: @@ -13,6 +13,10 @@ metadata:
13 required: false 13 required: false
14 - ref: pageNumber 14 - ref: pageNumber
15 required: false 15 required: false
  16 + - ref: companyId
  17 + required: true
  18 + - ref: userId
  19 + required: true
16 result: 20 result:
17 - name: cooperationContractChangeLogs 21 - name: cooperationContractChangeLogs
18 type: 22 type:
@@ -15,6 +15,10 @@ metadata: @@ -15,6 +15,10 @@ metadata:
15 required: true 15 required: true
16 - ref: cooperationContractNumber 16 - ref: cooperationContractNumber
17 required: true 17 required: true
  18 + - ref: companyId
  19 + required: true
  20 + - ref: userId
  21 + required: true
18 result: 22 result:
19 - name: cooperationContractChangeLog 23 - name: cooperationContractChangeLog
20 type: 24 type:
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: searchCooperationGoodsStatistics
  5 + type: query
  6 + description: 返回共创产品统计数据
  7 + payload:
  8 + - name: rankingType
  9 + description: 排行榜类型,1月榜,2年榜 3总榜,默认展示年榜
  10 + type:
  11 + primitive: int32
  12 + required: false
  13 + - ref: companyId
  14 + required: true
  15 + - ref: userId
  16 + required: true
  17 + - ref: pageSize
  18 + required: false
  19 + - ref: pageNumber
  20 + required: false
  21 + result:
  22 + - name: cooperationGoodsStatistics
  23 + type:
  24 + schema: cooperationGoodsStatistics
  25 + required: true
  1 +version: v1
  2 +kind: Service
  3 +metadata:
  4 + name: cooperationGoodsStatistics
  5 + description: 共创产品数据统计
@@ -11,6 +11,10 @@ metadata: @@ -11,6 +11,10 @@ metadata:
11 required: true 11 required: true
12 - ref: remarks 12 - ref: remarks
13 required: true 13 required: true
  14 + - ref: companyId
  15 + required: true
  16 + - ref: userId
  17 + required: true
14 result: 18 result:
15 - name: cooperationMode 19 - name: cooperationMode
16 type: 20 type:
@@ -7,6 +7,10 @@ metadata: @@ -7,6 +7,10 @@ metadata:
7 payload: 7 payload:
8 - ref: cooperationModeId 8 - ref: cooperationModeId
9 required: true 9 required: true
  10 + - ref: companyId
  11 + required: true
  12 + - ref: userId
  13 + required: true
10 result: 14 result:
11 - name: cooperationMode 15 - name: cooperationMode
12 type: 16 type:
@@ -9,6 +9,10 @@ metadata: @@ -9,6 +9,10 @@ metadata:
9 required: true 9 required: true
10 - ref: limit 10 - ref: limit
11 required: true 11 required: true
  12 + - ref: companyId
  13 + required: true
  14 + - ref: userId
  15 + required: true
12 result: 16 result:
13 - ref: count 17 - ref: count
14 required: true 18 required: true