作者 陈志颖

feat:添加企业账期结算排名接口

  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: rank
  5 + description: 排名
  6 + type:
  7 + primitive: int32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: rankAmount
  5 + description: 排名金额
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: creditAccountDistribution
  5 + description: 账期结算分布(柱状图)
  6 + attributes:
  7 + - ref: series
  8 + required: true
  9 + - ref: xAxis
  10 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: creditAccountRanking
  5 + description: 账期结算单排名
  6 + attributes:
  7 + - ref: rank
  8 + required: true
  9 + - ref: rankAmount
  10 + required: true
  11 + - ref: userName
  12 + required: true
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: creditAccountRanking
  5 + type: query
  6 + description: 账期结算单排名
  7 + payload:
  8 + - ref: companyId
  9 + required: true
  10 + - ref: orgId
  11 + required: true
  12 + - ref: userId
  13 + required: true
  14 + - name: period
  15 + description: 统计周期
  16 + type:
  17 + primitive: string
  18 + result:
  19 + - name: creditAccountRanking
  20 + type:
  21 + schema: creditAccountRanking
  22 + required: true
@@ -3,7 +3,7 @@ kind: Method @@ -3,7 +3,7 @@ kind: Method
3 metadata: 3 metadata:
4 name: payCreditAccount 4 name: payCreditAccount
5 type: command 5 type: command
6 - description: 支付账期结算 6 + description: 支付账期结算(支付分红)
7 payload: 7 payload:
8 - ref: actuallyPaidAmount 8 - ref: actuallyPaidAmount
9 required: true 9 required: true
@@ -17,6 +17,9 @@ metadata: @@ -17,6 +17,9 @@ metadata:
17 required: true 17 required: true
18 - ref: userId 18 - ref: userId
19 required: true 19 required: true
  20 + - ref: paymentStatus
  21 + description: 账期结算支付状态,1待支付,2已支付,APP端结算记录返回已结算的账期结算单
  22 + required: true
20 - name: period 23 - name: period
21 description: 结算周期,按年“2021”或者按月结算”2021-07“ 24 description: 结算周期,按年“2021”或者按月结算”2021-07“
22 type: 25 type: