作者 陈志颖

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

Resolve "project-init-order"

Closes #3

查看合并请求 !2
version: v1
kind: Attribute
metadata:
name: remark
name: remarks
description: 商品备注信息
type:
primitive: string
... ...
... ... @@ -2,6 +2,6 @@ version: v1
kind: Attribute
metadata:
name: partnerCategoryInfos
description: 区域信息
description: 区域信息值对象
type:
array: partnerCategory
... ...
... ... @@ -16,7 +16,7 @@ metadata:
required: true
- ref: goodsTotalPrice
required: true
- ref: remark
- ref: remarks
required: true
- ref: orderNo
required: true
... ...
... ... @@ -36,5 +36,5 @@ metadata:
required: true
- ref: regionInfo
required: true
- ref: remark
- ref: remarks
required: true
... ...
version: v1
kind: Schema
metadata:
name: orderLog
description: 订单操作日志
attributes:
- ref: description
required: true
- ref: goodsId
required: true
- ref: operatingTime
required: true
- ref: operation
required: true
- ref: operator
required: true
- ref: orderLogId
required: true
- ref: source
required: true
- ref: orderNo
required: true
... ...
... ... @@ -4,14 +4,14 @@ metadata:
name: partner
description: 合伙人实体
attributes:
- ref: partnerId
required: true
- ref: cooperateTime
required: true
- ref: partnerCategory
required: true
- ref: partnerCategoryInfos
required: true
- ref: partnerId
required: true
- ref: partnerInfo
required: true
- ref: salesman
... ...
version: v1
kind: Method
metadata:
name: cancel
type: command
description: 取消订单服务
payload:
- ref: orderNo
description: 订单编号
required: true
- ref: companyId
description: 公司id
required: true
- ref: operator
description: 操作人
required: true
result:
- name: order
type:
schema: order
... ...
version: v1
kind: Method
metadata:
name: darwDividends
type: command
description: 订单分红服务
payload:
- ref: partnerId
description: 参与分红的合伙人
required: true
- ref: orderNo
description: 进行分红的订单编号
required: true
result:
- name: order
type:
schema: order
... ...
version: v1
kind: Method
metadata:
name: receiving
type: command
description: 订单收货服务
payload:
- ref: orderNo
description: 订单号
required: true
- ref: operator
description: 操作人
required: true
- ref: companyId
description: 公司id
required: true
result:
- name: order
type:
schema: order
... ...
version: v1
kind: Method
metadata:
name: return
type: command
description: 订单退货服务
payload:
- ref: orderNo
description: 订单号
required: true
- ref: operator
description: 操作人
required: true
- ref: companyId
description: 公司id
required: true
result:
- name: order
type:
schema: order
... ...
version: v1
kind: Method
metadata:
name: delivery
name: shipping
type: command
description: 订单发货领域服务
description: 订单发货服务
payload:
- ref: deliveryCode
required: true
- ref: companyId
required: true
- ref: orderId
description: 发货单号
required: true
- ref: orderNo
description: 订单编号
required: true
- ref: orderNum
required: true
- ref: orderStatus
required: true
- ref: orderType
description: 订单数量
required: true
result:
- ref: orderId
required: true
- ref: orderNo
required: true
- ref: orderNum
required: true
- ref: orderStatus
required: true
- ref: orderTotalPrice
required: true
- ref: orderType
required: true
- name: order
type:
schema: order
... ...
version: v1
kind: Method
metadata:
name: createPartner
type: command
description: 创建合伙人增删改查
result:
- name: partner
type:
schema: partner
... ...
version: v1
kind: Method
metadata:
name: getPartner
type: query
description: 返回合伙人增删改查
payload:
- ref: partnerId
required: true
result:
- name: partner
type:
schema: partner
... ...
version: v1
kind: Method
metadata:
name: listPartner
type: query
description: 返回合伙人增删改查列表
payload:
- ref: offset
required: true
- ref: limit
required: true
result:
- ref: count
required: true
- name: partner
type:
schema: partner
... ...
version: v1
kind: Method
metadata:
name: removePartner
type: command
description: 移除合伙人增删改查
payload:
- ref: partnerId
required: true
result:
- name: partner
type:
schema: partner
... ...
version: v1
kind: Method
metadata:
name: updatePartner
type: command
description: 更新合伙人增删改查
payload:
- ref: partnerId
required: true
result:
- name: partner
type:
schema: partner
... ...