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

要显示太多修改。

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

@@ -9,10 +9,10 @@ metadata: @@ -9,10 +9,10 @@ metadata:
9 post: / 9 post: /
10 - method: updateDictionary 10 - method: updateDictionary
11 route: 11 route:
12 - put: /{Id} 12 + put: /{dictionaryId}
13 - method: getDictionary 13 - method: getDictionary
14 route: 14 route:
15 - get: /{Id} 15 + get: /{dictionaryId}
16 - method: listDictionary 16 - method: listDictionary
17 route: 17 route:
18 get: / 18 get: /
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: noticePersonal
  5 + path: /notice-personal
  6 + endpoints:
  7 + - method: getNoticePersonalList
  8 + route:
  9 + post: /
  10 + - method: agreeJoinCreationProject
  11 + route:
  12 + post: /agree-join-creation-project
  13 + - method: informExpectedDividends
  14 + route:
  15 + post: /inform-expected-dividends
  16 + - method: refuseJoinCreationProject
  17 + route:
  18 + post: /refuse-join-creation-project
  19 + - method: informJoinCreationContract
  20 + route:
  21 + post: /inform-join-creation-contract
  22 +
  23 + - method: creditAccountEstimate
  24 + route:
  25 + post: /credit-account/dividends-estimate
  26 + - method: creditAccountPayment
  27 + route:
  28 + post: /notice-personal/credit-account/payment
1 version: v1 1 version: v1
2 kind: Attribute 2 kind: Attribute
3 metadata: 3 metadata:
4 - - name: noticePersonalId 4 + name: noticePersonalId
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: orgId
  5 + description: 组织id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: userBaseId
  5 + description: 账户id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: orgId
  5 + description: 组织id
  6 + type:
  7 + primitive: int64
@@ -20,12 +20,10 @@ metadata: @@ -20,12 +20,10 @@ metadata:
20 description: 备注信息 20 description: 备注信息
21 type: 21 type:
22 primitive: string 22 primitive: string
23 - - name: canDelete  
24 - description: 是否可以删除【1:不可以】【2:可以】 23 + - name: isShow
  24 + description: 是否可见【1:不可以】【2:可以】
25 type: 25 type:
26 primitive: int 26 primitive: int
27 - - name: canEdit  
28 - description: 是否可以编辑【1:不可以】【2:可以】  
29 - name: dictItems 27 - name: dictItems
30 description: 字典值列表 28 description: 字典值列表
31 type: 29 type:
@@ -24,9 +24,11 @@ metadata: @@ -24,9 +24,11 @@ metadata:
24 required: true 24 required: true
25 - ref: noticePersonalId 25 - ref: noticePersonalId
26 required: true 26 required: true
27 - - ref: organizationId 27 + - ref: orgId
28 required: true 28 required: true
29 - ref: sysCode 29 - ref: sysCode
30 required: true 30 required: true
31 - ref: userId 31 - ref: userId
32 required: true 32 required: true
  33 + - ref: userBaseId
  34 + required: true
1 version: v1 1 version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 - name: noticSetting 4 + name: noticeSetting
5 description: 编排消息通知内容 5 description: 编排消息通知内容
6 attributes: 6 attributes:
7 - ref: companyId 7 - ref: companyId
@@ -16,7 +16,7 @@ metadata: @@ -16,7 +16,7 @@ metadata:
16 required: true 16 required: true
17 - ref: noticeSettingId 17 - ref: noticeSettingId
18 required: true 18 required: true
19 - - ref: organizationId 19 + - ref: orgId
20 required: true 20 required: true
21 - ref: sysCode 21 - ref: sysCode
22 required: true 22 required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: noticeSettingModule
  5 + description: 编排消息模块列表
  6 + attributes:
  7 + - ref: module
  8 + required: true
  9 + - name: moduleAction
  10 + description: 模块环节
  11 + type:
  12 + array: string
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: noticeSettingParam
  5 + description: 编排消息需要的变量
  6 + attributes:
  7 + - name: paramCode
  8 + description: 变量的代码标识
  9 + type:
  10 + primitive: string
  11 + - name: paramName
  12 + description: 变量名称描述
  13 + - ref: moduleAction
  14 + required: true
  15 + - ref: module
  16 + required: true
@@ -5,8 +5,10 @@ metadata: @@ -5,8 +5,10 @@ metadata:
5 type: query 5 type: query
6 description: 返回数据字典设置 6 description: 返回数据字典设置
7 payload: 7 payload:
8 - - ref: dictCode  
9 - required: true 8 + - name: dictCode
  9 + description: 字典编码
  10 + type:
  11 + primitive: string
10 result: 12 result:
11 - name: dictionary 13 - name: dictionary
12 type: 14 type:
@@ -5,8 +5,10 @@ metadata: @@ -5,8 +5,10 @@ metadata:
5 type: command 5 type: command
6 description: 移除数据字典设置 6 description: 移除数据字典设置
7 payload: 7 payload:
8 - - ref: dictionaryId  
9 - required: true 8 + - name: dictionaryId
  9 + description: 字典编号 主键
  10 + type:
  11 + primitive: int
10 result: 12 result:
11 - name: dictionary 13 - name: dictionary
12 type: 14 type:
@@ -3,12 +3,24 @@ kind: Method @@ -3,12 +3,24 @@ kind: Method
3 metadata: 3 metadata:
4 name: agreeJoinCreationProject 4 name: agreeJoinCreationProject
5 type: command 5 type: command
6 - description: 消息:共创申请审核通过 6 + description: 设置消息:共创申请审核通过
7 payload: 7 payload:
8 - name: userId 8 - name: userId
9 description: 接收方用户id 9 description: 接收方用户id
10 type: 10 type:
11 primitive: int64 11 primitive: int64
  12 + - name: userBaseId
  13 + description: 接收方用户id
  14 + type:
  15 + primitive: int64
  16 + - name: orgId
  17 + description: 接收方用户组织id
  18 + type:
  19 + primitive: int64
  20 + - name: companyId
  21 + description: 接收方用户企业id
  22 + type:
  23 + primitive: int64
12 - name: creationProjectId 24 - name: creationProjectId
13 description: 共创项目id 25 description: 共创项目id
14 type: 26 type:
@@ -22,5 +34,7 @@ metadata: @@ -22,5 +34,7 @@ metadata:
22 type: 34 type:
23 primitive: string 35 primitive: string
24 result: 36 result:
25 - - ref: noticePersonalId  
26 - required: true 37 + - name: noticePersonal
  38 + description: 个人消息
  39 + type:
  40 + schema: noticePersonal
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: creditAccountEstimate
  5 + type: command
  6 + description: 设置消息:共创申请审核通过
  7 + payload:
  8 + - name: userId
  9 + description: 接收方用户id
  10 + type:
  11 + primitive: int64
  12 + - name: userBaseId
  13 + description: 接收方用户id
  14 + type:
  15 + primitive: int64
  16 + - name: orgId
  17 + description: 接收方用户组织id
  18 + type:
  19 + primitive: int64
  20 + - name: companyId
  21 + description: 接收方用户企业id
  22 + type:
  23 + primitive: int64
  24 + - name: creditAccountOrderNum
  25 + description: 结算单号
  26 + type:
  27 + primitive: string
  28 + - name: settlementAmount
  29 + description: 结算金额
  30 + type:
  31 + primitive: string
  32 + - name: creditAccountId
  33 + description: 结算单id
  34 + type:
  35 + primitive: int64
  36 + - name: dividendsEstimateId
  37 + description: 预算单id
  38 + type:
  39 + primitive: int64
  40 + - name: dividendsEstimateOrderNumber
  41 + description: 预算单号
  42 + type:
  43 + primitive: string
  44 + result:
  45 + - name: noticePersonal
  46 + description: 个人消息
  47 + type:
  48 + schema: noticePersonal
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: creditAccountPayment
  5 + type: command
  6 + description: 设置消息:共创申请审核通过
  7 + payload:
  8 + - name: userId
  9 + description: 接收方用户id
  10 + type:
  11 + primitive: int64
  12 + - name: userBaseId
  13 + description: 接收方用户id
  14 + type:
  15 + primitive: int64
  16 + - name: orgId
  17 + description: 接收方用户组织id
  18 + type:
  19 + primitive: int64
  20 + - name: companyId
  21 + description: 接收方用户企业id
  22 + type:
  23 + primitive: int64
  24 + - name: creditAccountOrderNum
  25 + description: 结算单号
  26 + type:
  27 + primitive: string
  28 + - name: settlementAmount
  29 + description: 结算金额
  30 + type:
  31 + primitive: string
  32 + - name: creditAccountId
  33 + description: 结算单id
  34 + type:
  35 + primitive: int64
  36 + - name: actuallyPaidAmount
  37 + description: 实际结算金额
  38 + type:
  39 + primitive: string
  40 + result:
  41 + - name: noticePersonal
  42 + description: 个人消息
  43 + type:
  44 + schema: noticePersonal
@@ -20,7 +20,7 @@ metadata: @@ -20,7 +20,7 @@ metadata:
20 - name: isRead 20 - name: isRead
21 description: 是否是已读 21 description: 是否是已读
22 type: 22 type:
23 - primitive: int 23 + primitive: int64
24 result: 24 result:
25 - name: noticePersonal 25 - name: noticePersonal
26 type: 26 type:
@@ -3,10 +3,22 @@ kind: Method @@ -3,10 +3,22 @@ kind: Method
3 metadata: 3 metadata:
4 name: informExpectedDividends 4 name: informExpectedDividends
5 type: command 5 type: command
6 - description: 消息:分红预算消息 6 + description: 设置消息:分红预算消息
7 payload: 7 payload:
8 - name: userId 8 - name: userId
9 - description: 用户id 9 + description: 接收方用户id
  10 + type:
  11 + primitive: int64
  12 + - name: userBaseId
  13 + description: 接收方用户id
  14 + type:
  15 + primitive: int64
  16 + - name: orgId
  17 + description: 接收方用户组织id
  18 + type:
  19 + primitive: int64
  20 + - name: companyId
  21 + description: 接收方用户企业id
10 type: 22 type:
11 primitive: int64 23 primitive: int64
12 - name: creationProjectId 24 - name: creationProjectId
@@ -34,5 +46,7 @@ metadata: @@ -34,5 +46,7 @@ metadata:
34 type: 46 type:
35 primitive: string 47 primitive: string
36 result: 48 result:
37 - - ref: noticePersonalId  
38 - required: true 49 + - name: noticePersonal
  50 + description: 个人消息
  51 + type:
  52 + schema: noticePersonal
@@ -3,12 +3,24 @@ kind: Method @@ -3,12 +3,24 @@ kind: Method
3 metadata: 3 metadata:
4 name: informJoinCreationContract 4 name: informJoinCreationContract
5 type: command 5 type: command
6 - description: 消息:共创确认 6 + description: 设置消息:共创确认
7 payload: 7 payload:
8 - name: userId 8 - name: userId
9 description: 接收方用户id 9 description: 接收方用户id
10 type: 10 type:
11 primitive: int64 11 primitive: int64
  12 + - name: userBaseId
  13 + description: 接收方用户id
  14 + type:
  15 + primitive: int64
  16 + - name: orgId
  17 + description: 接收方用户组织id
  18 + type:
  19 + primitive: int64
  20 + - name: companyId
  21 + description: 接收方用户企业id
  22 + type:
  23 + primitive: int64
12 - name: creationProjectId 24 - name: creationProjectId
13 description: 共创项目id 25 description: 共创项目id
14 type: 26 type:
@@ -30,5 +42,7 @@ metadata: @@ -30,5 +42,7 @@ metadata:
30 type: 42 type:
31 primitive: string 43 primitive: string
32 result: 44 result:
33 - - ref: noticePersonalId  
34 - required: true 45 + - name: noticePersonal
  46 + description: 个人消息
  47 + type:
  48 + schema: noticePersonal
@@ -3,12 +3,24 @@ kind: Method @@ -3,12 +3,24 @@ kind: Method
3 metadata: 3 metadata:
4 name: refuseJoinCreationProject 4 name: refuseJoinCreationProject
5 type: command 5 type: command
6 - description: 消息:共创申请审核拒绝 6 + description: 设置消息:共创申请审核拒绝
7 payload: 7 payload:
8 - name: userId 8 - name: userId
9 description: 接收方用户id 9 description: 接收方用户id
10 type: 10 type:
11 primitive: int64 11 primitive: int64
  12 + - name: userBaseId
  13 + description: 接收方用户id
  14 + type:
  15 + primitive: int64
  16 + - name: orgId
  17 + description: 接收方用户组织id
  18 + type:
  19 + primitive: int64
  20 + - name: companyId
  21 + description: 接收方用户企业id
  22 + type:
  23 + primitive: int64
12 - name: creationProjectId 24 - name: creationProjectId
13 description: 共创项目id 25 description: 共创项目id
14 type: 26 type:
@@ -22,5 +34,7 @@ metadata: @@ -22,5 +34,7 @@ metadata:
22 type: 34 type:
23 primitive: string 35 primitive: string
24 result: 36 result:
25 - - ref: noticePersonalId  
26 - required: true 37 + - name: noticePersonal
  38 + description: 个人消息
  39 + type:
  40 + schema: noticePersonal
@@ -5,9 +5,9 @@ metadata: @@ -5,9 +5,9 @@ metadata:
5 type: command 5 type: command
6 description: 更新编排消息通知内容 6 description: 更新编排消息通知内容
7 payload: 7 payload:
8 - - name: dictionary 8 + - name: noticeSetting
9 type: 9 type:
10 - schema: dictionary 10 + schema: noticeSetting
11 required: true 11 required: true
12 result: 12 result:
13 - name: noticeSetting 13 - name: noticeSetting
@@ -22,6 +22,9 @@ metadata: @@ -22,6 +22,9 @@ metadata:
22 - method: searchCooperationProject 22 - method: searchCooperationProject
23 route: 23 route:
24 post: /search 24 post: /search
  25 + - method: checkUndertaker
  26 + route:
  27 + post: /check
25 - method: listCooperationProject 28 - method: listCooperationProject
26 route: 29 route:
27 get: / 30 get: /
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: rank
  5 + description: 排名
  6 + type:
  7 + primitive: int32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: rankAmount
  5 + description: 排名金额
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationProject
  5 + description: 共创项目
  6 + type:
  7 + schema: cooperationProject
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: data
  5 + description: 柱状图数据二维数组
  6 + type:
  7 + array: any
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: dimension
  5 + description: 结算分布坐标值
  6 + type:
  7 + array: any
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: series
  5 + description: 结算分布坐标值
  6 + type:
  7 + array: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: xAxis
  5 + description: 结算分布X轴标签
  6 + type:
  7 + array: string
@@ -4,4 +4,4 @@ metadata: @@ -4,4 +4,4 @@ metadata:
4 name: annualDividendsExpense 4 name: annualDividendsExpense
5 description: 分红支出-年度分红支出 5 description: 分红支出-年度分红支出
6 type: 6 type:
7 - primitive: float64 7 + schema: annualDividendsExpense
1 version: v1 1 version: v1
2 kind: Attribute 2 kind: Attribute
3 metadata: 3 metadata:
4 - name: dividendsExpenseDetails 4 + name: dividendsExpenseDetail
5 description: 企业分红支出明细 5 description: 企业分红支出明细
6 type: 6 type:
7 - schema: dividendsExpenseDetails 7 + schema: dividendsExpenseDetail
@@ -4,4 +4,4 @@ metadata: @@ -4,4 +4,4 @@ metadata:
4 name: quarterDividendsExpense 4 name: quarterDividendsExpense
5 description: 分红支出-季度分红支出 5 description: 分红支出-季度分红支出
6 type: 6 type:
7 - primitive: float64 7 + schema: quarterDividendsExpense
@@ -4,4 +4,4 @@ metadata: @@ -4,4 +4,4 @@ metadata:
4 name: totalDividendsExpense 4 name: totalDividendsExpense
5 description: 合约分红-全部分红支出 5 description: 合约分红-全部分红支出
6 type: 6 type:
7 - primitive: float64 7 + schema: totalDividendsExpense
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: totalExpense
  5 + description: 总支出
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: code
  5 + description: 菜单编码
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: annualDividendsExpense
  5 + description: 企业年度分红总支出
  6 + attributes:
  7 + - ref: totalExpense
  8 + required: true
  9 + - ref: dividendsExpenseDetail
  10 + required: true
@@ -22,7 +22,8 @@ metadata: @@ -22,7 +22,8 @@ metadata:
22 required: true 22 required: true
23 - ref: cooperationApplyTime 23 - ref: cooperationApplyTime
24 required: true 24 required: true
25 - - ref: cooperationProjectNumber 25 + - ref: cooperationProject
  26 + description: 共创项目编号
26 required: true 27 required: true
27 - ref: org 28 - ref: org
28 description: 数据所属组织机构 29 description: 数据所属组织机构
@@ -11,6 +11,7 @@ metadata: @@ -11,6 +11,7 @@ metadata:
11 - ref: cooperationContractName 11 - ref: cooperationContractName
12 required: true 12 required: true
13 - ref: cooperationContractNumber 13 - ref: cooperationContractNumber
  14 + description: 共创合约编号
14 required: true 15 required: true
15 - ref: cooperationContractReferrer 16 - ref: cooperationContractReferrer
16 required: true 17 required: true
@@ -21,6 +22,7 @@ metadata: @@ -21,6 +22,7 @@ metadata:
21 - ref: cooperationContractSponsor 22 - ref: cooperationContractSponsor
22 required: true 23 required: true
23 - ref: cooperationMode 24 - ref: cooperationMode
  25 + description: 共创模式或者合伙模式
24 required: true 26 required: true
25 - ref: status 27 - ref: status
26 description: 合约状态,1启用,2禁用 28 description: 合约状态,1启用,2禁用
@@ -7,7 +7,7 @@ metadata: @@ -7,7 +7,7 @@ metadata:
7 - ref: cooperationModeId 7 - ref: cooperationModeId
8 required: true 8 required: true
9 - ref: cooperationModeNumber 9 - ref: cooperationModeNumber
10 - description: 模式编码,唯一确定 10 + description: 共创模式编码,唯一确定
11 required: true 11 required: true
12 - ref: cooperationModeName 12 - ref: cooperationModeName
13 description: 模式名称,唯一确定 13 description: 模式名称,唯一确定
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: creditAccountDistribution
  5 + description: 账期结算分布(柱状图)
  6 + attributes:
  7 + - ref: series
  8 + required: true
  9 + - ref: xAxis
  10 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: creditAccountRanking
  5 + description: 账期结算单排名
  6 + attributes:
  7 + - ref: rank
  8 + required: true
  9 + - ref: rankAmount
  10 + required: true
  11 + - ref: userName
  12 + required: true
1 version: v1 1 version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 - name: dividendsExpenseDetails 4 + name: dividendsExpenseDetail
5 description: 企业分红支出明细 5 description: 企业分红支出明细
6 attributes: 6 attributes:
7 - ref: toBeAccounted 7 - ref: toBeAccounted
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: dividendsExpenseStatistics
  5 + description: 企业分红支出统计
  6 + attributes:
  7 + - ref: annualDividendsExpense
  8 + required: true
  9 + - ref: quarterDividendsExpense
  10 + required: true
  11 + - ref: totalDividendsExpense
  12 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: quarterDividendsExpense
  5 + description: 企业季度分红支出
  6 + attributes:
  7 + - ref: totalExpense
  8 + required: true
  9 + - ref: dividendsExpenseDetail
  10 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: totalDividendsExpense
  5 + description: 企业分红总支出
  6 + attributes:
  7 + - ref: totalExpense
  8 + required: true
  9 + - ref: dividendsExpenseDetail
  10 + required: true
@@ -17,6 +17,8 @@ metadata: @@ -17,6 +17,8 @@ metadata:
17 primitive: string 17 primitive: string
18 - ref: companyId 18 - ref: companyId
19 required: true 19 required: true
  20 + - ref: orgId
  21 + required: true
20 - ref: userId 22 - ref: userId
21 required: true 23 required: true
22 result: 24 result:
@@ -13,6 +13,8 @@ metadata: @@ -13,6 +13,8 @@ metadata:
13 primitive: string 13 primitive: string
14 - ref: companyId 14 - ref: companyId
15 required: true 15 required: true
  16 + - ref: orgId
  17 + required: true
16 - ref: userId 18 - ref: userId
17 required: true 19 required: true
18 result: 20 result:
@@ -16,6 +16,8 @@ metadata: @@ -16,6 +16,8 @@ metadata:
16 required: true 16 required: true
17 - ref: companyId 17 - ref: companyId
18 required: true 18 required: true
  19 + - ref: orgId
  20 + required: true
19 - ref: userId 21 - ref: userId
20 required: true 22 required: true
21 result: 23 result:
@@ -13,6 +13,8 @@ metadata: @@ -13,6 +13,8 @@ metadata:
13 primitive: string 13 primitive: string
14 - ref: companyId 14 - ref: companyId
15 required: true 15 required: true
  16 + - ref: orgId
  17 + required: true
16 - ref: userId 18 - ref: userId
17 required: true 19 required: true
18 result: 20 result:
@@ -17,6 +17,8 @@ metadata: @@ -17,6 +17,8 @@ metadata:
17 primitive: string 17 primitive: string
18 - ref: companyId 18 - ref: companyId
19 required: true 19 required: true
  20 + - ref: orgId
  21 + required: true
20 - ref: userId 22 - ref: userId
21 required: true 23 required: true
22 - name: matchWord 24 - name: matchWord
@@ -29,3 +31,5 @@ metadata: @@ -29,3 +31,5 @@ metadata:
29 type: 31 type:
30 array: contractUndertakerFeedback 32 array: contractUndertakerFeedback
31 required: true 33 required: true
  34 + - ref: count
  35 + required: true
@@ -17,6 +17,8 @@ metadata: @@ -17,6 +17,8 @@ metadata:
17 primitive: string 17 primitive: string
18 - ref: companyId 18 - ref: companyId
19 required: true 19 required: true
  20 + - ref: orgId
  21 + required: true
20 - ref: userId 22 - ref: userId
21 required: true 23 required: true
22 result: 24 result:
@@ -3,7 +3,7 @@ kind: Method @@ -3,7 +3,7 @@ kind: Method
3 metadata: 3 metadata:
4 name: agreeCooperationApplication 4 name: agreeCooperationApplication
5 type: command 5 type: command
6 - description: 同意共创申请 6 + description: 审核-同意共创申请
7 payload: 7 payload:
8 - ref: cooperationApplicationId 8 - ref: cooperationApplicationId
9 required: true 9 required: true
@@ -11,6 +11,12 @@ metadata: @@ -11,6 +11,12 @@ metadata:
11 required: true 11 required: true
12 - ref: companyId 12 - ref: companyId
13 required: true 13 required: true
  14 + - ref: orgId
  15 + description: 组织机构id
  16 + required: true
  17 + - ref: code
  18 + description: 菜单编码,APP端必须
  19 + required: true
14 - ref: userId 20 - ref: userId
15 required: true 21 required: true
16 result: 22 result:
@@ -19,6 +19,8 @@ metadata: @@ -19,6 +19,8 @@ metadata:
19 required: true 19 required: true
20 - ref: companyId 20 - ref: companyId
21 required: true 21 required: true
  22 + - ref: orgId
  23 + required: true
22 - ref: userId 24 - ref: userId
23 required: true 25 required: true
24 result: 26 result:
@@ -19,6 +19,8 @@ metadata: @@ -19,6 +19,8 @@ metadata:
19 required: true 19 required: true
20 - ref: companyId 20 - ref: companyId
21 required: true 21 required: true
  22 + - ref: orgId
  23 + required: true
22 - ref: userId 24 - ref: userId
23 required: true 25 required: true
24 result: 26 result:
@@ -9,6 +9,8 @@ metadata: @@ -9,6 +9,8 @@ metadata:
9 required: true 9 required: true
10 - ref: companyId 10 - ref: companyId
11 required: true 11 required: true
  12 + - ref: orgId
  13 + required: true
12 - ref: userId 14 - ref: userId
13 required: true 15 required: true
14 result: 16 result:
@@ -11,6 +11,8 @@ metadata: @@ -11,6 +11,8 @@ metadata:
11 required: true 11 required: true
12 - ref: companyId 12 - ref: companyId
13 required: true 13 required: true
  14 + - ref: orgId
  15 + required: true
14 - ref: userId 16 - ref: userId
15 required: true 17 required: true
16 result: 18 result:
@@ -3,7 +3,7 @@ kind: Method @@ -3,7 +3,7 @@ kind: Method
3 metadata: 3 metadata:
4 name: rejectCooperationApplication 4 name: rejectCooperationApplication
5 type: command 5 type: command
6 - description: 拒绝共创申请 6 + description: 审核-拒绝共创申请
7 payload: 7 payload:
8 - ref: cooperationApplicationId 8 - ref: cooperationApplicationId
9 required: true 9 required: true
@@ -11,6 +11,12 @@ metadata: @@ -11,6 +11,12 @@ metadata:
11 required: true 11 required: true
12 - ref: companyId 12 - ref: companyId
13 required: true 13 required: true
  14 + - ref: orgId
  15 + description: 组织机构id
  16 + required: true
  17 + - ref: code
  18 + description: 菜单模块编码,APP端必须
  19 + required: true
14 - ref: userId 20 - ref: userId
15 required: true 21 required: true
16 result: 22 result:
@@ -9,6 +9,8 @@ metadata: @@ -9,6 +9,8 @@ metadata:
9 required: true 9 required: true
10 - ref: companyId 10 - ref: companyId
11 required: true 11 required: true
  12 + - ref: orgId
  13 + required: true
12 - ref: userId 14 - ref: userId
13 required: true 15 required: true
14 result: 16 result:
@@ -20,6 +20,8 @@ metadata: @@ -20,6 +20,8 @@ metadata:
20 required: false 20 required: false
21 - ref: companyId 21 - ref: companyId
22 required: true 22 required: true
  23 + - ref: orgId
  24 + required: true
23 - ref: userId 25 - ref: userId
24 required: true 26 required: true
25 result: 27 result:
@@ -27,3 +29,5 @@ metadata: @@ -27,3 +29,5 @@ metadata:
27 type: 29 type:
28 array: cooperationApplication 30 array: cooperationApplication
29 required: true 31 required: true
  32 + - ref: count
  33 + required: true
@@ -19,6 +19,8 @@ metadata: @@ -19,6 +19,8 @@ metadata:
19 required: true 19 required: true
20 - ref: companyId 20 - ref: companyId
21 required: true 21 required: true
  22 + - ref: orgId
  23 + required: true
22 - ref: userId 24 - ref: userId
23 required: true 25 required: true
24 result: 26 result:
@@ -42,6 +42,8 @@ metadata: @@ -42,6 +42,8 @@ metadata:
42 array: relevant 42 array: relevant
43 - ref: companyId 43 - ref: companyId
44 required: true 44 required: true
  45 + - ref: orgId
  46 + required: true
45 - ref: userId 47 - ref: userId
46 required: true 48 required: true
47 result: 49 result:
@@ -13,6 +13,8 @@ metadata: @@ -13,6 +13,8 @@ metadata:
13 primitive: string 13 primitive: string
14 - ref: companyId 14 - ref: companyId
15 required: true 15 required: true
  16 + - ref: orgId
  17 + required: true
16 - ref: userId 18 - ref: userId
17 required: true 19 required: true
18 result: 20 result:
@@ -11,6 +11,8 @@ metadata: @@ -11,6 +11,8 @@ metadata:
11 required: true 11 required: true
12 - ref: companyId 12 - ref: companyId
13 required: true 13 required: true
  14 + - ref: orgId
  15 + required: true
14 - ref: userId 16 - ref: userId
15 required: true 17 required: true
16 result: 18 result:
@@ -9,6 +9,8 @@ metadata: @@ -9,6 +9,8 @@ metadata:
9 required: true 9 required: true
10 - ref: companyId 10 - ref: companyId
11 required: true 11 required: true
  12 + - ref: orgId
  13 + required: true
12 - ref: userId 14 - ref: userId
13 required: true 15 required: true
14 result: 16 result:
@@ -17,6 +17,8 @@ metadata: @@ -17,6 +17,8 @@ metadata:
17 primitive: string 17 primitive: string
18 - ref: companyId 18 - ref: companyId
19 required: true 19 required: true
  20 + - ref: orgId
  21 + required: true
20 - ref: userId 22 - ref: userId
21 required: true 23 required: true
22 result: 24 result:
@@ -14,6 +14,8 @@ metadata: @@ -14,6 +14,8 @@ metadata:
14 required: false 14 required: false
15 - ref: companyId 15 - ref: companyId
16 required: true 16 required: true
  17 + - ref: orgId
  18 + required: true
17 - ref: userId 19 - ref: userId
18 required: true 20 required: true
19 result: 21 result:
@@ -21,3 +23,5 @@ metadata: @@ -21,3 +23,5 @@ metadata:
21 description: 根据承接人返回的共创项目合约 23 description: 根据承接人返回的共创项目合约
22 type: 24 type:
23 array: cooperationContractByUndertaker 25 array: cooperationContractByUndertaker
  26 + - ref: count
  27 + required: true
@@ -25,6 +25,8 @@ metadata: @@ -25,6 +25,8 @@ metadata:
25 primitive: string 25 primitive: string
26 - ref: companyId 26 - ref: companyId
27 required: true 27 required: true
  28 + - ref: orgId
  29 + required: true
28 - ref: userId 30 - ref: userId
29 required: true 31 required: true
30 result: 32 result:
@@ -17,6 +17,8 @@ metadata: @@ -17,6 +17,8 @@ metadata:
17 required: true 17 required: true
18 - ref: companyId 18 - ref: companyId
19 required: true 19 required: true
  20 + - ref: orgId
  21 + required: true
20 - ref: userId 22 - ref: userId
21 required: true 23 required: true
22 result: 24 result:
@@ -9,6 +9,8 @@ metadata: @@ -9,6 +9,8 @@ metadata:
9 required: true 9 required: true
10 - ref: companyId 10 - ref: companyId
11 required: true 11 required: true
  12 + - ref: orgId
  13 + required: true
12 - ref: userId 14 - ref: userId
13 required: true 15 required: true
14 result: 16 result:
@@ -11,6 +11,8 @@ metadata: @@ -11,6 +11,8 @@ metadata:
11 required: true 11 required: true
12 - ref: companyId 12 - ref: companyId
13 required: true 13 required: true
  14 + - ref: orgId
  15 + required: true
14 - ref: userId 16 - ref: userId
15 required: true 17 required: true
16 result: 18 result:
@@ -9,6 +9,8 @@ metadata: @@ -9,6 +9,8 @@ metadata:
9 required: true 9 required: true
10 - ref: companyId 10 - ref: companyId
11 required: true 11 required: true
  12 + - ref: orgId
  13 + required: true
12 - ref: userId 14 - ref: userId
13 required: true 15 required: true
14 result: 16 result:
@@ -15,6 +15,8 @@ metadata: @@ -15,6 +15,8 @@ metadata:
15 required: false 15 required: false
16 - ref: companyId 16 - ref: companyId
17 required: true 17 required: true
  18 + - ref: orgId
  19 + required: true
18 - ref: userId 20 - ref: userId
19 required: true 21 required: true
20 result: 22 result:
@@ -22,3 +24,5 @@ metadata: @@ -22,3 +24,5 @@ metadata:
22 type: 24 type:
23 array: cooperationContractChangeLog 25 array: cooperationContractChangeLog
24 required: true 26 required: true
  27 + - ref: count
  28 + required: true
@@ -17,6 +17,8 @@ metadata: @@ -17,6 +17,8 @@ metadata:
17 required: true 17 required: true
18 - ref: companyId 18 - ref: companyId
19 required: true 19 required: true
  20 + - ref: orgId
  21 + required: true
20 - ref: userId 22 - ref: userId
21 required: true 23 required: true
22 result: 24 result:
@@ -27,3 +27,4 @@ metadata: @@ -27,3 +27,4 @@ metadata:
27 type: 27 type:
28 schema: cooperationGoodsStatistics 28 schema: cooperationGoodsStatistics
29 required: true 29 required: true
  30 +
@@ -13,6 +13,8 @@ metadata: @@ -13,6 +13,8 @@ metadata:
13 required: true 13 required: true
14 - ref: companyId 14 - ref: companyId
15 required: true 15 required: true
  16 + - ref: orgId
  17 + required: true
16 - ref: userId 18 - ref: userId
17 required: true 19 required: true
18 result: 20 result:
@@ -9,6 +9,8 @@ metadata: @@ -9,6 +9,8 @@ metadata:
9 required: true 9 required: true
10 - ref: companyId 10 - ref: companyId
11 required: true 11 required: true
  12 + - ref: orgId
  13 + required: true
12 - ref: userId 14 - ref: userId
13 required: true 15 required: true
14 result: 16 result:
@@ -11,6 +11,8 @@ metadata: @@ -11,6 +11,8 @@ metadata:
11 required: true 11 required: true
12 - ref: companyId 12 - ref: companyId
13 required: true 13 required: true
  14 + - ref: orgId
  15 + required: true
14 - ref: userId 16 - ref: userId
15 required: true 17 required: true
16 result: 18 result:
@@ -9,6 +9,8 @@ metadata: @@ -9,6 +9,8 @@ metadata:
9 required: true 9 required: true
10 - ref: companyId 10 - ref: companyId
11 required: true 11 required: true
  12 + - ref: orgId
  13 + required: true
12 - ref: userId 14 - ref: userId
13 required: true 15 required: true
14 result: 16 result:
@@ -17,6 +17,8 @@ metadata: @@ -17,6 +17,8 @@ metadata:
17 primitive: string 17 primitive: string
18 - ref: companyId 18 - ref: companyId
19 required: true 19 required: true
  20 + - ref: orgId
  21 + required: true
20 - ref: userId 22 - ref: userId
21 required: true 23 required: true
22 result: 24 result:
@@ -24,3 +26,5 @@ metadata: @@ -24,3 +26,5 @@ metadata:
24 type: 26 type:
25 array: cooperationMode 27 array: cooperationMode
26 required: true 28 required: true
  29 + - ref: count
  30 + required: true
@@ -13,6 +13,8 @@ metadata: @@ -13,6 +13,8 @@ metadata:
13 required: true 13 required: true
14 - ref: companyId 14 - ref: companyId
15 required: true 15 required: true
  16 + - ref: orgId
  17 + required: true
16 - ref: userId 18 - ref: userId
17 required: true 19 required: true
18 result: 20 result:
@@ -18,3 +18,4 @@ metadata: @@ -18,3 +18,4 @@ metadata:
18 type: 18 type:
19 schema: cooperationModeStatistics 19 schema: cooperationModeStatistics
20 required: true 20 required: true
  21 +
@@ -18,3 +18,4 @@ metadata: @@ -18,3 +18,4 @@ metadata:
18 type: 18 type:
19 schema: cooperationPersonStatistics 19 schema: cooperationPersonStatistics
20 required: true 20 required: true
  21 +
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: checkUndertaker
  5 + type: query
  6 + description: 判断当前勾选的承接对象是否存在用户
  7 + payload:
  8 + - ref: cooperationProjectUndertakerType
  9 + required: true
  10 + - ref: cooperationProjectId
  11 + required: true
  12 + result:
  13 + - name: cooperationProject
  14 + type:
  15 + schema: cooperationProject
  16 + required: true
@@ -24,6 +24,8 @@ metadata: @@ -24,6 +24,8 @@ metadata:
24 required: false 24 required: false
25 - ref: companyId 25 - ref: companyId
26 required: true 26 required: true
  27 + - ref: orgId
  28 + required: true
27 - ref: userId 29 - ref: userId
28 required: true 30 required: true
29 result: 31 result:
@@ -9,6 +9,8 @@ metadata: @@ -9,6 +9,8 @@ metadata:
9 required: true 9 required: true
10 - ref: companyId 10 - ref: companyId
11 required: true 11 required: true
  12 + - ref: orgId
  13 + required: true
12 - ref: userId 14 - ref: userId
13 required: true 15 required: true
14 result: 16 result:
@@ -11,6 +11,8 @@ metadata: @@ -11,6 +11,8 @@ metadata:
11 required: true 11 required: true
12 - ref: companyId 12 - ref: companyId
13 required: true 13 required: true
  14 + - ref: orgId
  15 + required: true
14 - ref: userId 16 - ref: userId
15 required: true 17 required: true
16 result: 18 result:
@@ -17,6 +17,8 @@ metadata: @@ -17,6 +17,8 @@ metadata:
17 required: true 17 required: true
18 - ref: companyId 18 - ref: companyId
19 required: true 19 required: true
  20 + - ref: orgId
  21 + required: true
20 - ref: userId 22 - ref: userId
21 required: true 23 required: true
22 result: 24 result:
@@ -9,6 +9,8 @@ metadata: @@ -9,6 +9,8 @@ metadata:
9 required: true 9 required: true
10 - ref: companyId 10 - ref: companyId
11 required: true 11 required: true
  12 + - ref: orgId
  13 + required: true
12 - ref: userId 14 - ref: userId
13 required: true 15 required: true
14 result: 16 result:
@@ -18,6 +18,8 @@ metadata: @@ -18,6 +18,8 @@ metadata:
18 required: false 18 required: false
19 - ref: companyId 19 - ref: companyId
20 required: true 20 required: true
  21 + - ref: orgId
  22 + required: true
21 - ref: userId 23 - ref: userId
22 required: true 24 required: true
23 result: 25 result:
@@ -25,3 +27,5 @@ metadata: @@ -25,3 +27,5 @@ metadata:
25 type: 27 type:
26 array: cooperationProject 28 array: cooperationProject
27 required: true 29 required: true
  30 + - ref: count
  31 + required: true
@@ -24,6 +24,8 @@ metadata: @@ -24,6 +24,8 @@ metadata:
24 required: false 24 required: false
25 - ref: companyId 25 - ref: companyId
26 required: true 26 required: true
  27 + - ref: orgId
  28 + required: true
27 - ref: userId 29 - ref: userId
28 required: true 30 required: true
29 result: 31 result:
@@ -7,6 +7,8 @@ metadata: @@ -7,6 +7,8 @@ metadata:
7 payload: 7 payload:
8 - ref: companyId 8 - ref: companyId
9 required: true 9 required: true
  10 + - ref: orgId
  11 + required: true
10 - ref: userId 12 - ref: userId
11 required: true 13 required: true
12 result: 14 result:
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: creditAccountRanking
  5 + type: query
  6 + description: 账期结算单排名
  7 + payload:
  8 + - ref: companyId
  9 + required: true
  10 + - ref: orgId
  11 + required: true
  12 + - ref: userId
  13 + required: true
  14 + - name: period
  15 + description: 统计周期
  16 + type:
  17 + primitive: string
  18 + result:
  19 + - name: creditAccountRanking
  20 + type:
  21 + schema: creditAccountRanking
  22 + required: true
@@ -9,6 +9,8 @@ metadata: @@ -9,6 +9,8 @@ metadata:
9 required: true 9 required: true
10 - ref: companyId 10 - ref: companyId
11 required: true 11 required: true
  12 + - ref: orgId
  13 + required: true
12 - ref: userId 14 - ref: userId
13 required: true 15 required: true
14 result: 16 result:
@@ -11,6 +11,8 @@ metadata: @@ -11,6 +11,8 @@ metadata:
11 required: true 11 required: true
12 - ref: companyId 12 - ref: companyId
13 required: true 13 required: true
  14 + - ref: orgId
  15 + required: true
14 - ref: userId 16 - ref: userId
15 required: true 17 required: true
16 result: 18 result:
@@ -3,7 +3,7 @@ kind: Method @@ -3,7 +3,7 @@ kind: Method
3 metadata: 3 metadata:
4 name: payCreditAccount 4 name: payCreditAccount
5 type: command 5 type: command
6 - description: 支付账期结算 6 + description: 支付账期结算(支付分红)
7 payload: 7 payload:
8 - ref: actuallyPaidAmount 8 - ref: actuallyPaidAmount
9 required: true 9 required: true
@@ -11,6 +11,8 @@ metadata: @@ -11,6 +11,8 @@ metadata:
11 required: true 11 required: true
12 - ref: companyId 12 - ref: companyId
13 required: true 13 required: true
  14 + - ref: orgId
  15 + required: true
14 - ref: userId 16 - ref: userId
15 required: true 17 required: true
16 result: 18 result:
@@ -9,6 +9,8 @@ metadata: @@ -9,6 +9,8 @@ metadata:
9 required: true 9 required: true
10 - ref: companyId 10 - ref: companyId
11 required: true 11 required: true
  12 + - ref: orgId
  13 + required: true
12 - ref: userId 14 - ref: userId
13 required: true 15 required: true
14 result: 16 result:
@@ -13,8 +13,13 @@ metadata: @@ -13,8 +13,13 @@ metadata:
13 primitive: string 13 primitive: string
14 - ref: companyId 14 - ref: companyId
15 required: true 15 required: true
  16 + - ref: orgId
  17 + required: true
16 - ref: userId 18 - ref: userId
17 required: true 19 required: true
  20 + - ref: paymentStatus
  21 + description: 账期结算支付状态,1待支付,2已支付,APP端结算记录返回已结算的账期结算单
  22 + required: true
18 - name: period 23 - name: period
19 description: 结算周期,按年“2021”或者按月结算”2021-07“ 24 description: 结算周期,按年“2021”或者按月结算”2021-07“
20 type: 25 type:
@@ -25,8 +30,10 @@ metadata: @@ -25,8 +30,10 @@ metadata:
25 type: 30 type:
26 array: creditAccount 31 array: creditAccount
27 required: true 32 required: true
  33 + - ref: count
  34 + required: true
28 - name: sum 35 - name: sum
29 - description: 本月结算或本年度结算 36 + description: 本月结算或本年度结算总和
30 type: 37 type:
31 primitive: float64 38 primitive: float64
32 required: true 39 required: true
@@ -9,6 +9,8 @@ metadata: @@ -9,6 +9,8 @@ metadata:
9 required: true 9 required: true
10 - ref: companyId 10 - ref: companyId
11 required: true 11 required: true
  12 + - ref: orgId
  13 + required: true
12 - ref: userId 14 - ref: userId
13 required: true 15 required: true
14 result: 16 result: