Merge branch 'master' of http://gitlab.fjmaimaimai.com/allied-creation/document
正在显示
100 个修改的文件
包含
1275 行增加
和
19 行删除
allied-creation-cooperation/.DS_Store
已删除
100644 → 0
不能预览此文件类型
1 | +version: v1 | ||
2 | +kind: HttpApi | ||
3 | +metadata: | ||
4 | + service: contractUndertakerFeedback | ||
5 | + path: /contract-undertaker-feedbacks | ||
6 | + endpoints: | ||
7 | + - method: createContractUndertakerFeedback | ||
8 | + route: | ||
9 | + post: / | ||
10 | + - method: updateContractUndertakerFeedback | ||
11 | + route: | ||
12 | + put: /{contractUndertakerFeedbackId} | ||
13 | + - method: getContractUndertakerFeedback | ||
14 | + route: | ||
15 | + get: /{contractUndertakerFeedbackId} | ||
16 | + - method: removeContractUndertakerFeedback | ||
17 | + route: | ||
18 | + delete: /{contractUndertakerFeedbackId} | ||
19 | + - method: searchContractUndertakerFeedback | ||
20 | + route: | ||
21 | + post: /search | ||
22 | + - method: listContractUndertakerFeedback | ||
23 | + route: | ||
24 | + get: / | ||
25 | + params: | ||
26 | + - name: offset | ||
27 | + - name: limit |
@@ -25,6 +25,9 @@ metadata: | @@ -25,6 +25,9 @@ metadata: | ||
25 | - method: removeCooperationApplication | 25 | - method: removeCooperationApplication |
26 | route: | 26 | route: |
27 | delete: /{cooperationApplicationId} | 27 | delete: /{cooperationApplicationId} |
28 | + - method: searchCooperationApplication | ||
29 | + route: | ||
30 | + post: /search | ||
28 | - method: listCooperationApplication | 31 | - method: listCooperationApplication |
29 | route: | 32 | route: |
30 | get: / | 33 | get: / |
1 | +version: v1 | ||
2 | +kind: HttpApi | ||
3 | +metadata: | ||
4 | + service: cooperationContractChangeLog | ||
5 | + path: /cooperation-contract-change-logs | ||
6 | + endpoints: | ||
7 | + - method: createCooperationContractChangeLog | ||
8 | + route: | ||
9 | + post: / | ||
10 | + - method: updateCooperationContractChangeLog | ||
11 | + route: | ||
12 | + put: /{cooperationContractChangeLogId} | ||
13 | + - method: getCooperationContractChangeLog | ||
14 | + route: | ||
15 | + get: /{cooperationContractChangeLogId} | ||
16 | + - method: removeCooperationContractChangeLog | ||
17 | + route: | ||
18 | + delete: /{cooperationContractChangeLogId} | ||
19 | + - method: listCooperationContractChangeLog | ||
20 | + route: | ||
21 | + get: / | ||
22 | + params: | ||
23 | + - name: offset | ||
24 | + - name: limit | ||
25 | + - method: searchCooperationContractChangeLog | ||
26 | + route: | ||
27 | + post: /search |
1 | +version: v1 | ||
2 | +kind: HttpApi | ||
3 | +metadata: | ||
4 | + service: cooperationContract | ||
5 | + path: /cooperation-contracts | ||
6 | + endpoints: | ||
7 | + - method: createCooperationContract | ||
8 | + route: | ||
9 | + post: / | ||
10 | + - method: updateCooperationContract | ||
11 | + route: | ||
12 | + put: /{cooperationContractId} | ||
13 | + - method: getCooperationContract | ||
14 | + route: | ||
15 | + get: /{cooperationContractId} | ||
16 | + - method: removeCooperationContract | ||
17 | + route: | ||
18 | + delete: /{cooperationContractId} | ||
19 | + - method: searchCooperationContract | ||
20 | + route: | ||
21 | + post: /search | ||
22 | + - method: listCooperationContract | ||
23 | + route: | ||
24 | + get: / | ||
25 | + params: | ||
26 | + - name: offset | ||
27 | + - name: limit |
@@ -16,6 +16,9 @@ metadata: | @@ -16,6 +16,9 @@ metadata: | ||
16 | - method: removeCooperationMode | 16 | - method: removeCooperationMode |
17 | route: | 17 | route: |
18 | delete: /{cooperationModeId} | 18 | delete: /{cooperationModeId} |
19 | + - method: searchCooperationMode | ||
20 | + route: | ||
21 | + post: /search | ||
19 | - method: listCooperationMode | 22 | - method: listCooperationMode |
20 | route: | 23 | route: |
21 | get: / | 24 | get: / |
@@ -19,6 +19,9 @@ metadata: | @@ -19,6 +19,9 @@ metadata: | ||
19 | - method: removeCooperationProject | 19 | - method: removeCooperationProject |
20 | route: | 20 | route: |
21 | delete: /{cooperationProjectId} | 21 | delete: /{cooperationProjectId} |
22 | + - method: searchCooperationProject | ||
23 | + route: | ||
24 | + post: /search | ||
22 | - method: listCooperationProject | 25 | - method: listCooperationProject |
23 | route: | 26 | route: |
24 | get: / | 27 | get: / |
1 | +version: v1 | ||
2 | +kind: HttpApi | ||
3 | +metadata: | ||
4 | + service: dividendsOrder | ||
5 | + path: /dividends-orders | ||
6 | + endpoints: | ||
7 | + - method: createDividendsOrder | ||
8 | + route: | ||
9 | + post: / | ||
10 | + - method: updateDividendsOrder | ||
11 | + route: | ||
12 | + put: /{dividendsOrderId} | ||
13 | + - method: getDividendsOrder | ||
14 | + route: | ||
15 | + get: /{dividendsOrderId} | ||
16 | + - method: removeDividendsOrder | ||
17 | + route: | ||
18 | + delete: /{dividendsOrderId} | ||
19 | + - method: searchDividendsOrder | ||
20 | + route: | ||
21 | + post: /search | ||
22 | + - method: listDividendsOrder | ||
23 | + route: | ||
24 | + get: / | ||
25 | + params: | ||
26 | + - name: offset | ||
27 | + - name: limit |
不能预览此文件类型
@@ -14,6 +14,8 @@ metadata: | @@ -14,6 +14,8 @@ metadata: | ||
14 | required: true | 14 | required: true |
15 | - ref: contractUndertaker | 15 | - ref: contractUndertaker |
16 | required: true | 16 | required: true |
17 | + - ref: cooperationMode | ||
18 | + required: true | ||
17 | - ref: organization | 19 | - ref: organization |
18 | required: true | 20 | required: true |
19 | - ref: updatedAt | 21 | - ref: updatedAt |
@@ -21,4 +23,5 @@ metadata: | @@ -21,4 +23,5 @@ metadata: | ||
21 | - ref: deletedAt | 23 | - ref: deletedAt |
22 | required: true | 24 | required: true |
23 | - ref: createdAt | 25 | - ref: createdAt |
26 | + description: 反馈创建时间,同时也作为反馈时间 | ||
24 | required: true | 27 | required: true |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: cooperationContractChangeLog | ||
5 | + description: 共创合约变更日志 | ||
6 | + attributes: | ||
7 | + - ref: incentivesRule | ||
8 | + required: true | ||
9 | + - ref: incentivesRuleDetail | ||
10 | + required: true | ||
11 | + - ref: operationType | ||
12 | + required: true | ||
13 | + - ref: cooperationContractNumber | ||
14 | + required: true | ||
15 | + - ref: undertakers | ||
16 | + required: true | ||
17 | + - ref: operator | ||
18 | + required: true | ||
19 | + - ref: updatedAt | ||
20 | + required: true | ||
21 | + - ref: deletedAt | ||
22 | + required: true | ||
23 | + - ref: createdAt | ||
24 | + required: true |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: dividendsIncentivesRule | ||
5 | + description: 金额激励规则实体 | ||
6 | + attributes: | ||
7 | + - ref: referrerPercentage | ||
8 | + required: true | ||
9 | + - ref: salesmanPercentage | ||
10 | + required: true | ||
11 | + - ref: dividendsIncentivesPercentage | ||
12 | + required: true | ||
13 | + - ref: dividendsIncentivesStage | ||
14 | + required: true | ||
15 | + - ref: dividendsIncentivesStageEnd | ||
16 | + required: true | ||
17 | + - ref: dividendsIncentivesStageStart | ||
18 | + required: true |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: dividendsOrder | ||
5 | + description: 分红订单实体 | ||
6 | + attributes: | ||
7 | + - ref: dividendsOrderId | ||
8 | + required: true | ||
9 | + - ref: dividendsOrderNumber | ||
10 | + required: true | ||
11 | + - ref: dividendsOriginalOrderNum | ||
12 | + required: true | ||
13 | + - ref: dividendsOrderAmount | ||
14 | + required: true | ||
15 | + - ref: orderSalesman | ||
16 | + required: true | ||
17 | + - ref: orderTime | ||
18 | + required: true | ||
19 | + - ref: dividendTime | ||
20 | + required: true | ||
21 | + - ref: dividendStatus | ||
22 | + required: true | ||
23 | + - ref: region | ||
24 | + required: true | ||
25 | + - ref: customerName | ||
26 | + description: 客户姓名 | ||
27 | + required: true | ||
28 | + - ref: createdAt | ||
29 | + required: true | ||
30 | + - ref: deletedAt | ||
31 | + required: true | ||
32 | + - ref: updatedAt | ||
33 | + required: true | ||
34 | + - ref: operateTime | ||
35 | + required: true | ||
36 | + - ref: operator | ||
37 | + required: true |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: moneyIncentivesRule | ||
5 | + description: 金额激励规则实体 | ||
6 | + attributes: | ||
7 | + - ref: moneyIncentivesAmount | ||
8 | + required: true | ||
9 | + - ref: moneyIncentivesStage | ||
10 | + required: true | ||
11 | + - ref: moneyIncentivesStageEnd | ||
12 | + required: true | ||
13 | + - ref: moneyIncentivesStageStart | ||
14 | + required: true | ||
15 | + - ref: referrerPercentage | ||
16 | + required: true | ||
17 | + - ref: salesmanPercentage | ||
18 | + required: true |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: orderGood | ||
5 | + description: 订单产品领域实体 | ||
6 | + attributes: | ||
7 | + - ref: orderGoodId | ||
8 | + required: true | ||
9 | + - ref: orderGoodAmount | ||
10 | + required: true | ||
11 | + - ref: orderGoodName | ||
12 | + required: true | ||
13 | + - ref: orderGoodPrice | ||
14 | + required: true | ||
15 | + - ref: orderGoodQuantity | ||
16 | + required: true | ||
17 | + - ref: dividendsOrderNumber | ||
18 | + description: 关联分红订单号 | ||
19 | + required: true | ||
20 | + - ref: cooperationContractNumber | ||
21 | + description: 关联的共创合约编号 | ||
22 | + required: true | ||
23 | + - ref: orderGoodExpense | ||
24 | + description: 订单产品费用 | ||
25 | + required: true | ||
26 | + - ref: createdAt | ||
27 | + required: true | ||
28 | + - ref: deletedAt | ||
29 | + required: true | ||
30 | + - ref: updatedAt | ||
31 | + required: true |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: orderGood | ||
5 | + description: 订单产品对象 | ||
6 | + attributes: | ||
7 | + - ref: orderGoodAmount | ||
8 | + required: true | ||
9 | + - ref: orderGoodName | ||
10 | + required: true | ||
11 | + - ref: orderGoodPrice | ||
12 | + required: true | ||
13 | + - ref: orderGoodQuantity | ||
14 | + required: true | ||
15 | + - ref: dividendsOrderNumber | ||
16 | + description: 关联分红订单号 | ||
17 | + required: true | ||
18 | + - ref: cooperationContractNumber | ||
19 | + description: 关联的共创合约编号 | ||
20 | + required: true | ||
21 | + - ref: orderGoodExpense | ||
22 | + description: 订单产品费用 | ||
23 | + required: true | ||
24 | + - ref: createdAt | ||
25 | + required: true | ||
26 | + - ref: deletedAt | ||
27 | + required: true | ||
28 | + - ref: updatedAt | ||
29 | + required: true |
@@ -4,7 +4,7 @@ metadata: | @@ -4,7 +4,7 @@ metadata: | ||
4 | name: regionInfo | 4 | name: regionInfo |
5 | description: 区域信息值对象 | 5 | description: 区域信息值对象 |
6 | attributes: | 6 | attributes: |
7 | - - ref: regionId | 7 | + - ref: regionNumber |
8 | required: true | 8 | required: true |
9 | - ref: regionName | 9 | - ref: regionName |
10 | required: true | 10 | required: true |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: relevant | ||
5 | + description: 共创合约相关人 | ||
6 | + attributes: | ||
7 | + - ref: userId | ||
8 | + required: true | ||
9 | + - ref: orgnization | ||
10 | + required: true | ||
11 | + - ref: role | ||
12 | + required: true | ||
13 | + - ref: userInfo | ||
14 | + required: true | ||
15 | + - ref: userType | ||
16 | + required: true | ||
17 | + - ref: status | ||
18 | + required: true | ||
19 | + - ref: company | ||
20 | + required: true |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: undertaker | ||
5 | + description: 共创合约承接方 | ||
6 | + attributes: | ||
7 | + - ref: userId | ||
8 | + required: true | ||
9 | + - ref: orgnization | ||
10 | + required: true | ||
11 | + - ref: role | ||
12 | + required: true | ||
13 | + - ref: userInfo | ||
14 | + required: true | ||
15 | + - ref: userType | ||
16 | + required: true | ||
17 | + - ref: status | ||
18 | + required: true | ||
19 | + - ref: company | ||
20 | + required: true | ||
21 | + - name: contractAttachment | ||
22 | + description: 合同附件 | ||
23 | + type: | ||
24 | + array: attachment | ||
25 | + |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: createContractUndertakerFeedback | ||
5 | + type: command | ||
6 | + description: 创建共创合约反馈服务 | ||
7 | + payload: | ||
8 | + - ref: feedbackAttachment | ||
9 | + required: true | ||
10 | + - ref: feedbackContent | ||
11 | + required: true | ||
12 | + - ref: cooperationContractNumber | ||
13 | + required: true | ||
14 | + - name: underTakerUid | ||
15 | + description: 承接人uid | ||
16 | + type: | ||
17 | + primitive: string | ||
18 | + result: | ||
19 | + - name: contractUndertakerFeedback | ||
20 | + type: | ||
21 | + schema: contractUndertakerFeedback | ||
22 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: getContractUndertakerFeedback | ||
5 | + type: query | ||
6 | + description: 返回共创合约反馈服务 | ||
7 | + payload: | ||
8 | + - ref: contractUndertakerFeedbackId | ||
9 | + required: true | ||
10 | + - name: underTakerUid | ||
11 | + description: Attribute描述 | ||
12 | + type: | ||
13 | + primitive: string | ||
14 | + result: | ||
15 | + - name: contractUndertakerFeedback | ||
16 | + type: | ||
17 | + schema: contractUndertakerFeedback | ||
18 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listContractUndertakerFeedback | ||
5 | + type: query | ||
6 | + description: 返回共创合约反馈服务列表 | ||
7 | + payload: | ||
8 | + - ref: offset | ||
9 | + required: true | ||
10 | + - ref: limit | ||
11 | + required: true | ||
12 | + - name: underTakerUid | ||
13 | + description: Attribute描述 | ||
14 | + type: | ||
15 | + primitive: string | ||
16 | + result: | ||
17 | + - ref: count | ||
18 | + required: true | ||
19 | + - name: contractUndertakerFeedbacks | ||
20 | + type: | ||
21 | + array: contractUndertakerFeedback | ||
22 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: removeContractUndertakerFeedback | ||
5 | + type: command | ||
6 | + description: 移除共创合约反馈服务 | ||
7 | + payload: | ||
8 | + - ref: contractUndertakerFeedbackId | ||
9 | + required: true | ||
10 | + - name: underTakerUid | ||
11 | + description: Attribute描述 | ||
12 | + type: | ||
13 | + primitive: string | ||
14 | + result: | ||
15 | + - name: contractUndertakerFeedback | ||
16 | + type: | ||
17 | + schema: contractUndertakerFeedback | ||
18 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: searchContractUndertakerFeedback | ||
5 | + type: query | ||
6 | + description: 查询共创承接方反馈信息 | ||
7 | + payload: | ||
8 | + - ref: pageNumber | ||
9 | + required: true | ||
10 | + - ref: pageSize | ||
11 | + required: true | ||
12 | + - ref: cooperationContractName | ||
13 | + required: true | ||
14 | + - name: undertakerName | ||
15 | + description: 承接人姓名 | ||
16 | + type: | ||
17 | + primitive: string | ||
18 | + result: | ||
19 | + - name: contractUndertakerFeedbacks | ||
20 | + type: | ||
21 | + array: contractUndertakerFeedback | ||
22 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: updateContractUndertakerFeedback | ||
5 | + type: command | ||
6 | + description: 更新共创合约反馈服务 | ||
7 | + payload: | ||
8 | + - ref: feedbackAttachment | ||
9 | + required: true | ||
10 | + - ref: feedbackContent | ||
11 | + required: true | ||
12 | + - ref: cooperationContractNumber | ||
13 | + required: true | ||
14 | + - name: underTakerUid | ||
15 | + description: 承接人用户uid | ||
16 | + type: | ||
17 | + primitive: string | ||
18 | + result: | ||
19 | + - name: contractUndertakerFeedback | ||
20 | + type: | ||
21 | + schema: contractUndertakerFeedback | ||
22 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: searchCooperationApplication | ||
5 | + type: query | ||
6 | + description: 查询共创申请 | ||
7 | + payload: | ||
8 | + - ref: cooperationProjectName | ||
9 | + required: true | ||
10 | + - name: applicantName | ||
11 | + description: 申请人姓名 | ||
12 | + type: | ||
13 | + primitive: string | ||
14 | + - ref: pageSize | ||
15 | + required: false | ||
16 | + - ref: pageNumber | ||
17 | + required: false | ||
18 | + result: | ||
19 | + - name: cooperationApplications | ||
20 | + type: | ||
21 | + array: cooperationApplication | ||
22 | + required: true |
@@ -5,7 +5,17 @@ metadata: | @@ -5,7 +5,17 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 更新共创申请服务 | 6 | description: 更新共创申请服务 |
7 | payload: | 7 | payload: |
8 | - - ref: cooperationApplicationId | 8 | + - name: applicantUid |
9 | + description: 共创申请人uid | ||
10 | + type: | ||
11 | + primitive: string | ||
12 | + required: true | ||
13 | + - ref: cooperationApplicationDescription | ||
14 | + required: false | ||
15 | + - ref: cooperationApplicationAttachment | ||
16 | + required: false | ||
17 | + - ref: cooperationProjectNumber | ||
18 | + description: 关联的共创项目编号 | ||
9 | required: true | 19 | required: true |
10 | result: | 20 | result: |
11 | - name: cooperationApplication | 21 | - name: cooperationApplication |
allied-creation-cooperation/services/cooperationContract/methods/createCooperationContract.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: createCooperationContract | ||
5 | + type: command | ||
6 | + description: 创建共创合约服务 | ||
7 | + payload: | ||
8 | + - ref: cooperationContractDescription | ||
9 | + required: true | ||
10 | + - ref: cooperationContractNumber | ||
11 | + required: true | ||
12 | + - ref: cooperationProjectNumber | ||
13 | + required: true | ||
14 | + - ref: departmentNumber | ||
15 | + description: 共创合约发起部门编码 | ||
16 | + required: true | ||
17 | + - ref: cooperationContractUndertakerType | ||
18 | + required: true | ||
19 | + - ref: cooperationContractName | ||
20 | + required: true | ||
21 | + - ref: cooperationModeNumber | ||
22 | + required: true | ||
23 | + - name: sponsorUid | ||
24 | + description: 共创合约发起人uid | ||
25 | + type: | ||
26 | + primitive: string | ||
27 | + - name: dividendsIncentivesRules | ||
28 | + description: 业绩分红激励规则列表 | ||
29 | + type: | ||
30 | + array: dividendsIncentivesRules | ||
31 | + - name: moneyIncentivesRules | ||
32 | + description: 金额激励规则列表 | ||
33 | + type: | ||
34 | + array: moneyIncentivesRules | ||
35 | + - name: undertakers | ||
36 | + description: 承接方列表 | ||
37 | + type: | ||
38 | + array: undertaker | ||
39 | + - name: relevants | ||
40 | + description: 相关人列表 | ||
41 | + type: | ||
42 | + array: relevant | ||
43 | + result: | ||
44 | + - name: cooperationContract | ||
45 | + type: | ||
46 | + schema: cooperationContract | ||
47 | + required: true |
allied-creation-cooperation/services/cooperationContract/methods/getCooperationContract.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: getCooperationContract | ||
5 | + type: query | ||
6 | + description: 返回共创合约服务 | ||
7 | + payload: | ||
8 | + - ref: cooperationContractId | ||
9 | + required: true | ||
10 | + - name: sponsorUid | ||
11 | + description: Attribute描述 | ||
12 | + type: | ||
13 | + primitive: string | ||
14 | + result: | ||
15 | + - name: cooperationContract | ||
16 | + type: | ||
17 | + schema: cooperationContract | ||
18 | + required: true |
allied-creation-cooperation/services/cooperationContract/methods/listCooperationContract.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listCooperationContract | ||
5 | + type: query | ||
6 | + description: 返回共创合约服务列表 | ||
7 | + payload: | ||
8 | + - ref: offset | ||
9 | + required: true | ||
10 | + - ref: limit | ||
11 | + required: true | ||
12 | + result: | ||
13 | + - ref: count | ||
14 | + required: true | ||
15 | + - name: cooperationContracts | ||
16 | + type: | ||
17 | + array: cooperationContract | ||
18 | + required: true |
allied-creation-cooperation/services/cooperationContract/methods/searchCooperationContract.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: searchCooperationContract | ||
5 | + type: query | ||
6 | + description: 查询共创合约 | ||
7 | + payload: | ||
8 | + - ref: pageSize | ||
9 | + required: true | ||
10 | + - ref: pageNumber | ||
11 | + required: true | ||
12 | + - ref: cooperationContractNumber | ||
13 | + required: true | ||
14 | + - name: sponsorName | ||
15 | + description: 发起人姓名 | ||
16 | + type: | ||
17 | + primitive: string | ||
18 | + result: | ||
19 | + - name: cooperationContracts | ||
20 | + type: | ||
21 | + array: cooperationContract | ||
22 | + required: true |
allied-creation-cooperation/services/cooperationContract/methods/updateCooperationContract.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: updateCooperationContract | ||
5 | + type: command | ||
6 | + description: 更新共创合约服务 | ||
7 | + payload: | ||
8 | + - ref: cooperationContractDescription | ||
9 | + required: true | ||
10 | + - ref: cooperationContractNumber | ||
11 | + required: true | ||
12 | + - ref: cooperationProjectNumber | ||
13 | + required: true | ||
14 | + - ref: departmentNumber | ||
15 | + required: true | ||
16 | + - ref: cooperationContractUndertakerType | ||
17 | + required: true | ||
18 | + - ref: cooperationContractName | ||
19 | + required: true | ||
20 | + - ref: cooperationModeNumber | ||
21 | + required: true | ||
22 | + - name: sponsorUid | ||
23 | + description: 共创合约发起人uid | ||
24 | + type: | ||
25 | + primitive: string | ||
26 | + result: | ||
27 | + - name: cooperationContract | ||
28 | + type: | ||
29 | + schema: cooperationContract | ||
30 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: createCooperationContractChangeLog | ||
5 | + type: command | ||
6 | + description: 创建共创合约变更日志 | ||
7 | + payload: | ||
8 | + - ref: incentivesRule | ||
9 | + required: true | ||
10 | + - ref: incentivesRuleDetail | ||
11 | + required: true | ||
12 | + - ref: operationType | ||
13 | + required: true | ||
14 | + - ref: undertakers | ||
15 | + required: true | ||
16 | + - ref: cooperationContractNumber | ||
17 | + required: true | ||
18 | + result: | ||
19 | + - name: cooperationContractChangeLog | ||
20 | + type: | ||
21 | + schema: cooperationContractChangeLog | ||
22 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: getCooperationContractChangeLog | ||
5 | + type: query | ||
6 | + description: 返回共创合约变更日志 | ||
7 | + payload: | ||
8 | + - ref: cooperationContractChangeLogId | ||
9 | + required: true | ||
10 | + result: | ||
11 | + - name: cooperationContractChangeLog | ||
12 | + type: | ||
13 | + schema: cooperationContractChangeLog | ||
14 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listCooperationContractChangeLog | ||
5 | + type: query | ||
6 | + description: 返回共创合约变更日志列表 | ||
7 | + payload: | ||
8 | + - ref: offset | ||
9 | + required: true | ||
10 | + - ref: limit | ||
11 | + required: true | ||
12 | + result: | ||
13 | + - ref: count | ||
14 | + required: true | ||
15 | + - name: cooperationContractChangeLogs | ||
16 | + type: | ||
17 | + array: cooperationContractChangeLog | ||
18 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: removeCooperationContractChangeLog | ||
5 | + type: command | ||
6 | + description: 移除共创合约变更日志 | ||
7 | + payload: | ||
8 | + - ref: cooperationContractChangeLogId | ||
9 | + required: true | ||
10 | + result: | ||
11 | + - name: cooperationContractChangeLog | ||
12 | + type: | ||
13 | + schema: cooperationContractChangeLog | ||
14 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: searchCooperationContractChangeLog | ||
5 | + type: query | ||
6 | + description: 共创合约变更记录搜索 | ||
7 | + payload: | ||
8 | + - ref: operationType | ||
9 | + required: false | ||
10 | + - ref: cooperationContractNumber | ||
11 | + required: false | ||
12 | + - ref: pageSize | ||
13 | + required: false | ||
14 | + - ref: pageNumber | ||
15 | + required: false | ||
16 | + result: | ||
17 | + - name: cooperationContractChangeLogs | ||
18 | + type: | ||
19 | + array: cooperationContractChangeLog | ||
20 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: updateCooperationContractChangeLog | ||
5 | + type: command | ||
6 | + description: 更新共创合约变更日志 | ||
7 | + payload: | ||
8 | + - ref: incentivesRule | ||
9 | + required: true | ||
10 | + - ref: incentivesRuleDetail | ||
11 | + required: true | ||
12 | + - ref: operationType | ||
13 | + required: true | ||
14 | + - ref: undertakers | ||
15 | + required: true | ||
16 | + - ref: cooperationContractNumber | ||
17 | + required: true | ||
18 | + result: | ||
19 | + - name: cooperationContractChangeLog | ||
20 | + type: | ||
21 | + schema: cooperationContractChangeLog | ||
22 | + required: true |
allied-creation-cooperation/services/cooperationMode/methods/searchCooperationContract.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: searchCooperationContract | ||
5 | + type: query | ||
6 | + description: 查询共创模式 | ||
7 | + payload: | ||
8 | + - ref: pageNumber | ||
9 | + required: true | ||
10 | + - ref: pageSize | ||
11 | + required: true | ||
12 | + - ref: cooperationModeName | ||
13 | + required: true | ||
14 | + - name: organizationName | ||
15 | + description: 组织机构名称 | ||
16 | + type: | ||
17 | + primitive: string | ||
18 | + result: | ||
19 | + - name: cooperationModes | ||
20 | + type: | ||
21 | + array: cooperationMode | ||
22 | + required: true |
@@ -5,7 +5,11 @@ metadata: | @@ -5,7 +5,11 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 更新共创模式服务 | 6 | description: 更新共创模式服务 |
7 | payload: | 7 | payload: |
8 | - - ref: cooperationModeId | 8 | + - ref: cooperationModeName |
9 | + required: true | ||
10 | + - ref: cooperationModeNumber | ||
11 | + required: true | ||
12 | + - ref: remarks | ||
9 | required: true | 13 | required: true |
10 | result: | 14 | result: |
11 | - name: cooperationMode | 15 | - name: cooperationMode |
allied-creation-cooperation/services/cooperationProject/methods/searchCooperationProject.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: searchCooperationProject | ||
5 | + type: query | ||
6 | + description: 查询共创项目 | ||
7 | + payload: | ||
8 | + - ref: pageNumber | ||
9 | + required: true | ||
10 | + - ref: pageSize | ||
11 | + required: true | ||
12 | + - ref: cooperationProjectName | ||
13 | + required: true | ||
14 | + - ref: departmentName | ||
15 | + required: true | ||
16 | + result: | ||
17 | + - name: cooperationProjects | ||
18 | + type: | ||
19 | + array: cooperationProject | ||
20 | + required: true |
@@ -5,8 +5,23 @@ metadata: | @@ -5,8 +5,23 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 更新共创项目服务 | 6 | description: 更新共创项目服务 |
7 | payload: | 7 | payload: |
8 | - - ref: cooperationProjectId | 8 | + - ref: cooperationProjectName |
9 | required: true | 9 | required: true |
10 | + - ref: coopeartionProjectUndertakerType | ||
11 | + description: 承接对象,1员工,2共创用户,3公开,可以多选 | ||
12 | + required: true | ||
13 | + - name: sponsorUid | ||
14 | + description: 共创项目发起人uid | ||
15 | + type: | ||
16 | + primitive: string | ||
17 | + required: true | ||
18 | + - name: publisherUid | ||
19 | + description: 共创项目发布人uid | ||
20 | + type: | ||
21 | + primitive: string | ||
22 | + required: true | ||
23 | + - ref: cooperationProjectDescription | ||
24 | + required: false | ||
10 | result: | 25 | result: |
11 | - name: cooperationProject | 26 | - name: cooperationProject |
12 | type: | 27 | type: |
@@ -3,7 +3,7 @@ kind: Method | @@ -3,7 +3,7 @@ kind: Method | ||
3 | metadata: | 3 | metadata: |
4 | name: createDividendsIncentivesRule | 4 | name: createDividendsIncentivesRule |
5 | type: command | 5 | type: command |
6 | - description: 创建业绩分红激励规则服务 | 6 | + description: 创建业绩分红激励规则服务,聚合到共创项目合约 |
7 | payload: | 7 | payload: |
8 | - ref: cooperationContractNumber | 8 | - ref: cooperationContractNumber |
9 | required: true | 9 | required: true |
@@ -5,7 +5,19 @@ metadata: | @@ -5,7 +5,19 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 更新业绩分红激励规则服务 | 6 | description: 更新业绩分红激励规则服务 |
7 | payload: | 7 | payload: |
8 | - - ref: dividendsIncentivesRuleId | 8 | + - ref: cooperationContractNumber |
9 | + required: true | ||
10 | + - ref: dividendsIncentivesPercentage | ||
11 | + required: true | ||
12 | + - ref: dividendsIncentivesStage | ||
13 | + required: true | ||
14 | + - ref: dividendsIncentivesStageStart | ||
15 | + required: true | ||
16 | + - ref: dividendsIncentivesStageEnd | ||
17 | + requried: true | ||
18 | + - ref: referrerPercentage | ||
19 | + required: true | ||
20 | + - ref: salesmanPercentage | ||
9 | required: true | 21 | required: true |
10 | result: | 22 | result: |
11 | - name: dividendsIncentivesRule | 23 | - name: dividendsIncentivesRule |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: createDividendsOrder | ||
5 | + type: command | ||
6 | + description: 创建分红订单实体对象 | ||
7 | + payload: | ||
8 | + - ref: customerName | ||
9 | + required: true | ||
10 | + - ref: dividendsOrderAmount | ||
11 | + required: true | ||
12 | + - ref: dividendsOrderNumber | ||
13 | + required: true | ||
14 | + - ref: dividendsOriginalOrderNum | ||
15 | + required: true | ||
16 | + - ref: orderTime | ||
17 | + required: true | ||
18 | + - ref: remarks | ||
19 | + required: true | ||
20 | + - name: salesmanUid | ||
21 | + description: 订单业务员uid | ||
22 | + type: | ||
23 | + primitive: string | ||
24 | + - name: operatorUid | ||
25 | + description: 订单操作人uid | ||
26 | + type: | ||
27 | + primitive: string | ||
28 | + - name: orderGoods | ||
29 | + description: 订单产品列表 | ||
30 | + type: | ||
31 | + array: orderGoods | ||
32 | + result: | ||
33 | + - name: dividendsOrder | ||
34 | + type: | ||
35 | + schema: dividendsOrder | ||
36 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listDividendsOrders | ||
5 | + type: query | ||
6 | + description: 返回分红订单实体对象列表 | ||
7 | + payload: | ||
8 | + - ref: offset | ||
9 | + required: true | ||
10 | + - ref: limit | ||
11 | + required: true | ||
12 | + result: | ||
13 | + - ref: count | ||
14 | + required: true | ||
15 | + - name: dividendsOrders | ||
16 | + type: | ||
17 | + array: dividendsOrder | ||
18 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: searchDividendsOrder | ||
5 | + type: query | ||
6 | + description: 查询分红订单方法 | ||
7 | + payload: | ||
8 | + - ref: dividendsOrderNumber | ||
9 | + required: false | ||
10 | + - ref: customerName | ||
11 | + required: false | ||
12 | + - ref: pageSize | ||
13 | + required: false | ||
14 | + - ref: pageNumber | ||
15 | + required: false | ||
16 | + result: | ||
17 | + - name: dividendsOrders | ||
18 | + type: | ||
19 | + array: dividendsOrder | ||
20 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: updateDividendsOrder | ||
5 | + type: command | ||
6 | + description: 更新分红订单实体对象 | ||
7 | + payload: | ||
8 | + - ref: customerName | ||
9 | + required: true | ||
10 | + - ref: dividendsOrderAmount | ||
11 | + required: true | ||
12 | + - ref: dividendsOrderNumber | ||
13 | + required: true | ||
14 | + - ref: dividendsOriginalOrderNum | ||
15 | + required: true | ||
16 | + - ref: orderTime | ||
17 | + required: true | ||
18 | + - ref: remarks | ||
19 | + required: true | ||
20 | + - name: salesmanUid | ||
21 | + description: Attribute描述 | ||
22 | + type: | ||
23 | + primitive: string | ||
24 | + - name: operatorUid | ||
25 | + description: Attribute描述 | ||
26 | + type: | ||
27 | + primitive: string | ||
28 | + result: | ||
29 | + - name: dividendsOrder | ||
30 | + type: | ||
31 | + schema: dividendsOrder | ||
32 | + required: true |
@@ -3,7 +3,7 @@ kind: Method | @@ -3,7 +3,7 @@ kind: Method | ||
3 | metadata: | 3 | metadata: |
4 | name: createMoneyIncentivesRule | 4 | name: createMoneyIncentivesRule |
5 | type: command | 5 | type: command |
6 | - description: 创建项目金额激励规则服务 | 6 | + description: 创建项目金额激励规则服务,聚合到共创合约 |
7 | payload: | 7 | payload: |
8 | - ref: moneyIncentivesStageEnd | 8 | - ref: moneyIncentivesStageEnd |
9 | required: true | 9 | required: true |
@@ -15,8 +15,6 @@ metadata: | @@ -15,8 +15,6 @@ metadata: | ||
15 | required: true | 15 | required: true |
16 | - ref: cooperationContractNumber | 16 | - ref: cooperationContractNumber |
17 | required: true | 17 | required: true |
18 | - - ref: moneyIncentivesRulesId | ||
19 | - required: true | ||
20 | result: | 18 | result: |
21 | - name: moneyIncentivesRule | 19 | - name: moneyIncentivesRule |
22 | type: | 20 | type: |
1 | +version: v1 | ||
2 | +kind: HttpApi | ||
3 | +metadata: | ||
4 | + service: cooperationApplication | ||
5 | + path: /cooperation-applications | ||
6 | + endpoints: | ||
7 | + - method: createCooperationApplication | ||
8 | + route: | ||
9 | + post: / | ||
10 | + - method: updateCooperationApplication | ||
11 | + route: | ||
12 | + put: /{applicationId} | ||
13 | + - method: getCooperationApplication | ||
14 | + route: | ||
15 | + get: /{applicationId} | ||
16 | + - method: listCooperationApplication | ||
17 | + route: | ||
18 | + get: / | ||
19 | + params: | ||
20 | + - name: offset | ||
21 | + - name: limit | ||
22 | + - method: auditCooperationApplication | ||
23 | + route: | ||
24 | + put: /audit |
1 | +version: v1 | ||
2 | +kind: HttpApi | ||
3 | +metadata: | ||
4 | + service: cooperationMode | ||
5 | + path: /cooperation-modes | ||
6 | + endpoints: | ||
7 | + - method: createCooperationMode | ||
8 | + route: | ||
9 | + post: / | ||
10 | + - method: updateCooperationMode | ||
11 | + route: | ||
12 | + put: /{modeId} | ||
13 | + - method: getCooperationMode | ||
14 | + route: | ||
15 | + get: /{modeId} | ||
16 | + - method: removeCooperationMode | ||
17 | + route: | ||
18 | + delete: /{modeId} | ||
19 | + - method: listCooperationMode | ||
20 | + route: | ||
21 | + get: / | ||
22 | + params: | ||
23 | + - name: offset | ||
24 | + - name: limit |
1 | +version: v1 | ||
2 | +kind: HttpApi | ||
3 | +metadata: | ||
4 | + service: cooperationProject | ||
5 | + path: /cooperation-projects | ||
6 | + endpoints: | ||
7 | + - method: createCooperationProject | ||
8 | + route: | ||
9 | + post: / | ||
10 | + - method: updateCooperationProject | ||
11 | + route: | ||
12 | + put: /{projectId} | ||
13 | + - method: getCooperationProject | ||
14 | + route: | ||
15 | + get: /{projectId} | ||
16 | + - method: listCooperationProject | ||
17 | + route: | ||
18 | + get: / | ||
19 | + params: | ||
20 | + - name: offset | ||
21 | + - name: limit |
-
请 注册 或 登录 后发表评论