Merge branch 'master' of http://gitlab.fjmaimaimai.com/allied-creation/document
正在显示
16 个修改的文件
包含
253 行增加
和
2 行删除
1 | +version: v1 | ||
2 | +kind: HttpApi | ||
3 | +metadata: | ||
4 | + service: dividendsReturnedOrder | ||
5 | + path: /dividends-returned-orders | ||
6 | + endpoints: | ||
7 | + - method: createDividendsReturnedOrder | ||
8 | + route: | ||
9 | + post: / | ||
10 | + - method: updateDividendsReturnedOrder | ||
11 | + route: | ||
12 | + put: /{dividendsReturnedOrderId} | ||
13 | + - method: getDividendsReturnedOrder | ||
14 | + route: | ||
15 | + get: /{dividendsReturnedOrderId} | ||
16 | + - method: removeDividendsReturnedOrder | ||
17 | + route: | ||
18 | + delete: /{dividendsReturnedOrderId} | ||
19 | + - method: searchDividendsReturnedOrder | ||
20 | + route: | ||
21 | + post: /search | ||
22 | + - method: importDividendsReturnedOrder | ||
23 | + route: | ||
24 | + post: /import | ||
25 | + - method: listDividendsReturnedOrder | ||
26 | + route: | ||
27 | + get: / | ||
28 | + params: | ||
29 | + - name: offset | ||
30 | + - name: limit |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: dividendsReturnedOrder | ||
5 | + description: 分红退货单实体 | ||
6 | + attributes: | ||
7 | + - ref: dividendsReturnedOrderId | ||
8 | + required: true | ||
9 | + - ref: dividendsReturnedOrderNumber | ||
10 | + description: 分红退货单号 | ||
11 | + required: true | ||
12 | + - ref: dividendsReturnedOrderRefund | ||
13 | + required: true | ||
14 | + - ref: originalOrderNum | ||
15 | + description: 源单号(原始订单号) | ||
16 | + required: true | ||
17 | + - ref: dividendsOrderNumber | ||
18 | + description: 关联分红订单号 | ||
19 | + required: true | ||
20 | + - ref: dividendsReturnedCustomerName | ||
21 | + description: 退货客户姓名 | ||
22 | + required: true | ||
23 | + - ref: dividendsReturnedDate | ||
24 | + required: true | ||
25 | + - ref: region | ||
26 | + description: 退货区域 | ||
27 | + required: true | ||
28 | + - ref: remarks | ||
29 | + description: 备注 | ||
30 | + required: true | ||
31 | + - ref: dividendStatus | ||
32 | + required: true | ||
33 | + - ref: dividendTime | ||
34 | + required: true | ||
35 | + - ref: organization | ||
36 | + required: true | ||
37 | + - ref: createdAt | ||
38 | + required: true | ||
39 | + - ref: deletedAt | ||
40 | + required: true | ||
41 | + - ref: updatedAt | ||
42 | + required: true | ||
43 | + - ref: operator | ||
44 | + required: true | ||
45 | + - ref: operateTime | ||
46 | + required: true |
@@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
2 | kind: Schema | 2 | kind: Schema |
3 | metadata: | 3 | metadata: |
4 | name: orderGood | 4 | name: orderGood |
5 | - description: 订单产品领域实体 | 5 | + description: 订单产品领域实体(包括分红订单、分红退货单) |
6 | attributes: | 6 | attributes: |
7 | - ref: orderGoodId | 7 | - ref: orderGoodId |
8 | required: true | 8 | required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: createDividendsReturnedOrder | ||
5 | + type: command | ||
6 | + description: 创建分红退货单服务 | ||
7 | + payload: | ||
8 | + - ref: dividendsReturnedOrderRefund | ||
9 | + required: true | ||
10 | + - ref: dividendsReturnedCustomerName | ||
11 | + required: true | ||
12 | + - ref: originalOrderNum | ||
13 | + required: true | ||
14 | + - ref: remarks | ||
15 | + required: true | ||
16 | + - ref: dividendsReturnedDate | ||
17 | + required: true | ||
18 | + - name: regionName | ||
19 | + description: 退货区域名称 | ||
20 | + type: | ||
21 | + primitive: string | ||
22 | + - name: orderGoods | ||
23 | + description: 订单产品列表 | ||
24 | + type: | ||
25 | + array: orderGoods | ||
26 | + result: | ||
27 | + - name: dividendsReturnedOrder | ||
28 | + type: | ||
29 | + schema: dividendsReturnedOrder | ||
30 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: importDividendsReturnedOrder | ||
5 | + type: command | ||
6 | + description: 导入分红退货单 | ||
7 | + payload: | ||
8 | + - name: file | ||
9 | + description: 导入文件 | ||
10 | + type: | ||
11 | + primitive: string | ||
12 | + - name: where | ||
13 | + description: 参数列表 | ||
14 | + type: | ||
15 | + primitive: string | ||
16 | + result: | ||
17 | + - name: dividendsReturnedOrder | ||
18 | + type: | ||
19 | + schema: dividendsReturnedOrder | ||
20 | + required: true |
allied-creation-cooperation/services/dividendsReturnedOrder/methods/listDividendsReturnedOrder.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listDividendsReturnedOrder | ||
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: dividendsReturnedOrders | ||
16 | + type: | ||
17 | + array: dividendsReturnedOrder | ||
18 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: searchDividendsReturnedOrder | ||
5 | + type: query | ||
6 | + description: 查找分红退货单 | ||
7 | + payload: | ||
8 | + - ref: dividendsReturnedCustomerName | ||
9 | + description: 退货客户姓名 | ||
10 | + required: false | ||
11 | + - ref: dividendsReturnedOrderNumber | ||
12 | + description: 分红退货单号 | ||
13 | + required: false | ||
14 | + - ref: pageSize | ||
15 | + required: false | ||
16 | + - ref: pageNumber | ||
17 | + required: false | ||
18 | + result: | ||
19 | + - name: dividendsReturnedOrders | ||
20 | + type: | ||
21 | + array: dividendsReturnedOrder | ||
22 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: updateDividendsReturnedOrder | ||
5 | + type: command | ||
6 | + description: 更新分红退货单服务 | ||
7 | + payload: | ||
8 | + - ref: dividendsReturnedOrderRefund | ||
9 | + required: true | ||
10 | + - ref: dividendsReturnedCustomerName | ||
11 | + required: true | ||
12 | + - ref: originalOrderNum | ||
13 | + required: true | ||
14 | + - ref: remarks | ||
15 | + required: true | ||
16 | + - ref: dividendsReturnedDate | ||
17 | + required: true | ||
18 | + - name: regionName | ||
19 | + description: 退货区域 | ||
20 | + type: | ||
21 | + primitive: string | ||
22 | + - name: orderGoods | ||
23 | + description: 订单产品列表 | ||
24 | + type: | ||
25 | + array: orderGoods | ||
26 | + result: | ||
27 | + - name: dividendsReturnedOrder | ||
28 | + type: | ||
29 | + schema: dividendsReturnedOrder | ||
30 | + required: true |
-
请 注册 或 登录 后发表评论