正在显示
29 个修改的文件
包含
351 行增加
和
13 行删除
@@ -16,6 +16,9 @@ metadata: | @@ -16,6 +16,9 @@ metadata: | ||
16 | - method: removeContractUndertakerFeedback | 16 | - method: removeContractUndertakerFeedback |
17 | route: | 17 | route: |
18 | delete: /{contractUndertakerFeedbackId} | 18 | delete: /{contractUndertakerFeedbackId} |
19 | + - method: searchContractUndertakerFeedback | ||
20 | + route: | ||
21 | + post: /search | ||
19 | - method: listContractUndertakerFeedback | 22 | - method: listContractUndertakerFeedback |
20 | route: | 23 | route: |
21 | get: / | 24 | get: / |
@@ -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 |
@@ -16,6 +16,9 @@ metadata: | @@ -16,6 +16,9 @@ metadata: | ||
16 | - method: removeCooperationContract | 16 | - method: removeCooperationContract |
17 | route: | 17 | route: |
18 | delete: /{cooperationContractId} | 18 | delete: /{cooperationContractId} |
19 | + - method: searchCooperationContract | ||
20 | + route: | ||
21 | + post: /search | ||
19 | - method: listCooperationContract | 22 | - method: listCooperationContract |
20 | route: | 23 | route: |
21 | get: / | 24 | get: / |
@@ -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: 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: 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 |
@@ -11,10 +11,8 @@ metadata: | @@ -11,10 +11,8 @@ metadata: | ||
11 | required: true | 11 | required: true |
12 | - ref: cooperationContractNumber | 12 | - ref: cooperationContractNumber |
13 | required: true | 13 | required: true |
14 | - - ref: contractUndertakerFeedbackId | ||
15 | - required: true | ||
16 | - name: underTakerUid | 14 | - name: underTakerUid |
17 | - description: Attribute描述 | 15 | + description: 承接人用户uid |
18 | type: | 16 | type: |
19 | primitive: string | 17 | primitive: string |
20 | result: | 18 | result: |
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/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 |
@@ -5,8 +5,6 @@ metadata: | @@ -5,8 +5,6 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 更新共创合约服务 | 6 | description: 更新共创合约服务 |
7 | payload: | 7 | payload: |
8 | - - ref: cooperationContractId | ||
9 | - required: true | ||
10 | - ref: cooperationContractDescription | 8 | - ref: cooperationContractDescription |
11 | required: true | 9 | required: true |
12 | - ref: cooperationContractNumber | 10 | - ref: cooperationContractNumber |
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: |
@@ -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 |
@@ -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: |
-
请 注册 或 登录 后发表评论