作者 陈志颖

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

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