Merge branch 'master' of http://gitlab.fjmaimaimai.com/allied-creation/document
正在显示
139 个修改的文件
包含
686 行增加
和
52 行删除
@@ -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 |
@@ -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: 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 |
@@ -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: / |
@@ -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: 模式名称,唯一确定 |
@@ -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: |
@@ -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: |
allied-creation-cooperation/services/cooperationApplication/methods/agreeCooperationApplication.yaml
@@ -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: |
@@ -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: |
@@ -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 |
@@ -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 | 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: |
@@ -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 | 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 |
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 |
@@ -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 |
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 |
@@ -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: |
@@ -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 |
@@ -11,12 +11,14 @@ metadata: | @@ -11,12 +11,14 @@ 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 | - - ref: count | ||
18 | - required: true | ||
19 | - name: dividendsEstimates | 19 | - name: dividendsEstimates |
20 | type: | 20 | type: |
21 | array: dividendsEstimate | 21 | array: dividendsEstimate |
22 | required: true | 22 | required: true |
23 | + - ref: count | ||
24 | + 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: |
@@ -18,3 +20,5 @@ metadata: | @@ -18,3 +20,5 @@ metadata: | ||
18 | type: | 20 | type: |
19 | schema: dividendsIncentives | 21 | schema: dividendsIncentives |
20 | required: true | 22 | required: true |
23 | + - ref: count | ||
24 | + 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: |
@@ -18,3 +20,5 @@ metadata: | @@ -18,3 +20,5 @@ metadata: | ||
18 | type: | 20 | type: |
19 | schema: moneyIncentives | 21 | schema: moneyIncentives |
20 | required: true | 22 | required: true |
23 | + - ref: count | ||
24 | + 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: |
@@ -18,3 +20,5 @@ metadata: | @@ -18,3 +20,5 @@ metadata: | ||
18 | type: | 20 | type: |
19 | schema: dividendsEstimate | 21 | schema: dividendsEstimate |
20 | required: true | 22 | required: true |
23 | + - ref: count | ||
24 | + required: true |
@@ -13,6 +13,8 @@ metadata: | @@ -13,6 +13,8 @@ metadata: | ||
13 | required: false | 13 | required: false |
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: |
@@ -20,3 +22,5 @@ metadata: | @@ -20,3 +22,5 @@ metadata: | ||
20 | type: | 22 | type: |
21 | schema: dividendsIncentives | 23 | schema: dividendsIncentives |
22 | required: true | 24 | required: true |
25 | + - ref: count | ||
26 | + required: true |
@@ -13,6 +13,8 @@ metadata: | @@ -13,6 +13,8 @@ metadata: | ||
13 | required: false | 13 | required: false |
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: |
@@ -20,3 +22,5 @@ metadata: | @@ -20,3 +22,5 @@ metadata: | ||
20 | type: | 22 | type: |
21 | array: moneyIncentives | 23 | array: moneyIncentives |
22 | required: true | 24 | required: true |
25 | + - ref: count | ||
26 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: searchDividendsExpenseStatistics | ||
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 | + result: | ||
15 | + - name: dividendsExpenseStatistics | ||
16 | + type: | ||
17 | + schema: dividendsExpenseStatistics | ||
18 | + required: true |
@@ -11,12 +11,14 @@ metadata: | @@ -11,12 +11,14 @@ 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 | - - ref: count | ||
18 | - required: true | ||
19 | - name: dividendsIncentivesRules | 19 | - name: dividendsIncentivesRules |
20 | type: | 20 | type: |
21 | array: dividendsIncentivesRule | 21 | array: dividendsIncentivesRule |
22 | required: true | 22 | required: true |
23 | + - ref: count | ||
24 | + required: true |
@@ -31,6 +31,8 @@ metadata: | @@ -31,6 +31,8 @@ metadata: | ||
31 | array: orderGoods | 31 | array: orderGoods |
32 | - ref: companyId | 32 | - ref: companyId |
33 | required: true | 33 | required: true |
34 | + - ref: orgId | ||
35 | + required: true | ||
34 | - ref: userId | 36 | - ref: userId |
35 | required: true | 37 | required: true |
36 | result: | 38 | result: |
@@ -11,12 +11,14 @@ metadata: | @@ -11,12 +11,14 @@ 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 | - - ref: count | ||
18 | - required: true | ||
19 | - name: dividendsOrders | 19 | - name: dividendsOrders |
20 | type: | 20 | type: |
21 | array: dividendsOrder | 21 | array: dividendsOrder |
22 | required: true | 22 | required: true |
23 | + - ref: count | ||
24 | + required: true |
@@ -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: dividendsOrder | 25 | array: dividendsOrder |
24 | required: true | 26 | required: true |
27 | + - ref: count | ||
28 | + required: true |
@@ -27,6 +27,8 @@ metadata: | @@ -27,6 +27,8 @@ metadata: | ||
27 | primitive: string | 27 | primitive: string |
28 | - ref: companyId | 28 | - ref: companyId |
29 | required: true | 29 | required: true |
30 | + - ref: orgId | ||
31 | + required: true | ||
30 | - ref: userId | 32 | - ref: userId |
31 | required: true | 33 | required: true |
32 | result: | 34 | result: |
@@ -25,6 +25,8 @@ metadata: | @@ -25,6 +25,8 @@ metadata: | ||
25 | array: orderGoods | 25 | array: orderGoods |
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: |
@@ -15,6 +15,8 @@ metadata: | @@ -15,6 +15,8 @@ metadata: | ||
15 | primitive: string | 15 | primitive: string |
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: |
@@ -11,12 +11,14 @@ metadata: | @@ -11,12 +11,14 @@ 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 | - - ref: count | ||
18 | - required: true | ||
19 | - name: dividendsReturnedOrders | 19 | - name: dividendsReturnedOrders |
20 | type: | 20 | type: |
21 | array: dividendsReturnedOrder | 21 | array: dividendsReturnedOrder |
22 | required: true | 22 | required: true |
23 | + - ref: count | ||
24 | + required: true |
@@ -17,6 +17,8 @@ metadata: | @@ -17,6 +17,8 @@ metadata: | ||
17 | required: false | 17 | required: false |
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: dividendsReturnedOrder | 27 | array: dividendsReturnedOrder |
26 | required: true | 28 | required: true |
29 | + - ref: count | ||
30 | + required: true |
@@ -25,6 +25,8 @@ metadata: | @@ -25,6 +25,8 @@ metadata: | ||
25 | array: orderGoods | 25 | array: orderGoods |
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: |
@@ -11,12 +11,14 @@ metadata: | @@ -11,12 +11,14 @@ 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 | - - ref: count | ||
18 | - required: true | ||
19 | - name: moneyIncentivesRules | 19 | - name: moneyIncentivesRules |
20 | type: | 20 | type: |
21 | array: moneyIncentivesRule | 21 | array: moneyIncentivesRule |
22 | required: true | 22 | required: true |
23 | + - ref: count | ||
24 | + required: true |
-
请 注册 或 登录 后发表评论