作者 陈志颖

合并分支 '3-project-init-order' 到 'dev'

Resolve "project-init-order"

Closes #3

查看合并请求 !2
1 version: v1 1 version: v1
2 kind: Attribute 2 kind: Attribute
3 metadata: 3 metadata:
4 - name: remark 4 + name: remarks
5 description: 商品备注信息 5 description: 商品备注信息
6 type: 6 type:
7 primitive: string 7 primitive: string
@@ -2,6 +2,6 @@ version: v1 @@ -2,6 +2,6 @@ version: v1
2 kind: Attribute 2 kind: Attribute
3 metadata: 3 metadata:
4 name: partnerCategoryInfos 4 name: partnerCategoryInfos
5 - description: 区域信息 5 + description: 区域信息值对象
6 type: 6 type:
7 array: partnerCategory 7 array: partnerCategory
@@ -16,7 +16,7 @@ metadata: @@ -16,7 +16,7 @@ metadata:
16 required: true 16 required: true
17 - ref: goodsTotalPrice 17 - ref: goodsTotalPrice
18 required: true 18 required: true
19 - - ref: remark 19 + - ref: remarks
20 required: true 20 required: true
21 - ref: orderNo 21 - ref: orderNo
22 required: true 22 required: true
@@ -36,5 +36,5 @@ metadata: @@ -36,5 +36,5 @@ metadata:
36 required: true 36 required: true
37 - ref: regionInfo 37 - ref: regionInfo
38 required: true 38 required: true
39 - - ref: remark 39 + - ref: remarks
40 required: true 40 required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: orderLog
  5 + description: 订单操作日志
  6 + attributes:
  7 + - ref: description
  8 + required: true
  9 + - ref: goodsId
  10 + required: true
  11 + - ref: operatingTime
  12 + required: true
  13 + - ref: operation
  14 + required: true
  15 + - ref: operator
  16 + required: true
  17 + - ref: orderLogId
  18 + required: true
  19 + - ref: source
  20 + required: true
  21 + - ref: orderNo
  22 + required: true
@@ -4,14 +4,14 @@ metadata: @@ -4,14 +4,14 @@ metadata:
4 name: partner 4 name: partner
5 description: 合伙人实体 5 description: 合伙人实体
6 attributes: 6 attributes:
  7 + - ref: partnerId
  8 + required: true
7 - ref: cooperateTime 9 - ref: cooperateTime
8 required: true 10 required: true
9 - ref: partnerCategory 11 - ref: partnerCategory
10 required: true 12 required: true
11 - ref: partnerCategoryInfos 13 - ref: partnerCategoryInfos
12 required: true 14 required: true
13 - - ref: partnerId  
14 - required: true  
15 - ref: partnerInfo 15 - ref: partnerInfo
16 required: true 16 required: true
17 - ref: salesman 17 - ref: salesman
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: cancel
  5 + type: command
  6 + description: 取消订单服务
  7 + payload:
  8 + - ref: orderNo
  9 + description: 订单编号
  10 + required: true
  11 + - ref: companyId
  12 + description: 公司id
  13 + required: true
  14 + - ref: operator
  15 + description: 操作人
  16 + required: true
  17 + result:
  18 + - name: order
  19 + type:
  20 + schema: order
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: darwDividends
  5 + type: command
  6 + description: 订单分红服务
  7 + payload:
  8 + - ref: partnerId
  9 + description: 参与分红的合伙人
  10 + required: true
  11 + - ref: orderNo
  12 + description: 进行分红的订单编号
  13 + required: true
  14 + result:
  15 + - name: order
  16 + type:
  17 + schema: order
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: receiving
  5 + type: command
  6 + description: 订单收货服务
  7 + payload:
  8 + - ref: orderNo
  9 + description: 订单号
  10 + required: true
  11 + - ref: operator
  12 + description: 操作人
  13 + required: true
  14 + - ref: companyId
  15 + description: 公司id
  16 + required: true
  17 + result:
  18 + - name: order
  19 + type:
  20 + schema: order
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: return
  5 + type: command
  6 + description: 订单退货服务
  7 + payload:
  8 + - ref: orderNo
  9 + description: 订单号
  10 + required: true
  11 + - ref: operator
  12 + description: 操作人
  13 + required: true
  14 + - ref: companyId
  15 + description: 公司id
  16 + required: true
  17 + result:
  18 + - name: order
  19 + type:
  20 + schema: order
1 version: v1 1 version: v1
2 kind: Method 2 kind: Method
3 metadata: 3 metadata:
4 - name: delivery 4 + name: shipping
5 type: command 5 type: command
6 - description: 订单发货领域服务 6 + description: 订单发货服务
7 payload: 7 payload:
8 - ref: deliveryCode 8 - ref: deliveryCode
9 - required: true  
10 - - ref: companyId  
11 - required: true  
12 - - ref: orderId 9 + description: 发货单号
13 required: true 10 required: true
14 - ref: orderNo 11 - ref: orderNo
  12 + description: 订单编号
15 required: true 13 required: true
16 - ref: orderNum 14 - ref: orderNum
17 - required: true  
18 - - ref: orderStatus  
19 - required: true  
20 - - ref: orderType 15 + description: 订单数量
21 required: true 16 required: true
22 result: 17 result:
23 - - ref: orderId  
24 - required: true  
25 - - ref: orderNo  
26 - required: true  
27 - - ref: orderNum  
28 - required: true  
29 - - ref: orderStatus  
30 - required: true  
31 - - ref: orderTotalPrice  
32 - required: true  
33 - - ref: orderType  
34 - required: true  
35 - name: order 18 - name: order
36 type: 19 type:
37 schema: order 20 schema: order
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: createPartner
  5 + type: command
  6 + description: 创建合伙人增删改查
  7 + result:
  8 + - name: partner
  9 + type:
  10 + schema: partner
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: getPartner
  5 + type: query
  6 + description: 返回合伙人增删改查
  7 + payload:
  8 + - ref: partnerId
  9 + required: true
  10 + result:
  11 + - name: partner
  12 + type:
  13 + schema: partner
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: listPartner
  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: partner
  16 + type:
  17 + schema: partner
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: removePartner
  5 + type: command
  6 + description: 移除合伙人增删改查
  7 + payload:
  8 + - ref: partnerId
  9 + required: true
  10 + result:
  11 + - name: partner
  12 + type:
  13 + schema: partner
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: updatePartner
  5 + type: command
  6 + description: 更新合伙人增删改查
  7 + payload:
  8 + - ref: partnerId
  9 + required: true
  10 + result:
  11 + - name: partner
  12 + type:
  13 + schema: partner