作者 yangfu
正在显示 164 个修改的文件 包含 890 行增加70 行删除
version: v1
kind: HttpApi
metadata:
service: cooperationGoodsStatistics
path: /cooperation-goods-statistics
endpoints:
- method: searchCooperationGoodsStatistics
route:
post: /statistics
... ...
version: v1
kind: HttpApi
metadata:
service: cooperationModeStatistics
path: /cooperation-mode-statistics
endpoints:
- method: searchCooperationModeStatistics
route:
post: /statistics
... ...
version: v1
kind: HttpApi
metadata:
service: cooperationPersonStatistics
path: /cooperation-person-statistics
endpoints:
- method: searchCooperationPersonStatistics
route:
post: /statistics
... ...
version: v1
kind: HttpApi
metadata:
service: currentMonthDividendsStatistics
path: /current-month-dividends-statistics
endpoints:
- method: searchCurrentMonthDividendsStatistics
route:
post: /statistics
... ...
version: v1
kind: HttpApi
metadata:
service: projectOverviewStatistics
path: /project-overview-statistics
endpoints:
- method: searchProjectOverviewStatistics
route:
post: /statistics
... ...
version: v1
kind: Attribute
metadata:
name: dividendsExpense
description: 分红支出
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: dividendsExpenseByTypes
description: 具体分红类型支出
type:
array: dividendsExpenseByType
... ...
version: v1
kind: Attribute
metadata:
name: dividendsExpenseByType
description: 具体分红类型支出
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: dividendsTypeName
description: 分红类型名称
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: orderAmount
description: 具体成交类型的订单金额
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: orderTypeName
description: 成交订单类型名称
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: orderAmount
description: 成交订单金额
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: orderAmountByTypes
description: 具体订单类型的金额明细
type:
array: orderAmountByType
... ...
version: v1
kind: Attribute
metadata:
name: organizationId
name: orgId
description: 组织机构ID
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: orgName
description: 组织名称
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: code
description: 返回码
type:
primitive: int32
... ...
version: v1
kind: Attribute
metadata:
name: msg
description: 返回信息
type:
primitive: int32
... ...
version: v1
kind: Attribute
metadata:
name: goodAmount
description: 共创产品总金额统计
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: goodName
description: 共创产品名称
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: goodRatio
description: 共创产品在TOP5中的占比统计
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: rank
description: 共创产品TOP5排名
type:
primitive: int32
... ...
version: v1
kind: Attribute
metadata:
name: cooperationPeople
description: 共创人数统计
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: dividendsEstimate
description: 分红预算统计
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: orderAmount
description: 订单金额统计
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: cooperationTime
description: 共创时间
type:
primitive: datetime
... ...
version: v1
kind: Attribute
metadata:
name: cooperationTypes
description: 合伙类型,即共创模式
type:
array: cooperationMode
... ...
version: v1
kind: Attribute
metadata:
name: dividendsDetails
description: 分红明细
type:
schema: dividendsDetails
... ...
version: v1
kind: Attribute
metadata:
name: orderDetails
description: 订单明细
type:
schema: orderDetails
... ...
version: v1
kind: Attribute
metadata:
name: userName
description: 共创人员姓名
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: creditAccount
description: 本月账期结算统计
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: dividendsEstimate
description: 本月分红预算统计
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: orderAmount
description: 本月订单金额统计
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: contractSum
description: 共创合约总数统计
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: cooperationUserCount
description: 共创用户数统计
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: projectSum
description: 共创项目总数统计
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: projectOverview
description: 项目概览
type:
schema: projectOverview
... ...
version: v1
kind: Attribute
metadata:
name: organization
name: org
description: 用户所属组织机构
type:
schema: organization
schema: org
... ...
version: v1
kind: Attribute
metadata:
name: organizations
name: orgs
description: 关联的组织机构
type:
array: organization
array: org
... ...
... ... @@ -16,10 +16,10 @@ metadata:
required: true
- ref: cooperationMode
required: true
- ref: organization
description: 数据关联组织机构
- ref: org
description: 数据所属组织机构
required: true
- ref: companyId
- ref: company
required: true
- ref: updatedAt
required: true
... ...
... ... @@ -24,10 +24,10 @@ metadata:
required: true
- ref: cooperationProjectNumber
required: true
- ref: organization
description: 数据关联组织机构
- ref: org
description: 数据所属组织机构
required: true
- ref: companyId
- ref: company
required: true
- ref: createdAt
required: true
... ...
... ... @@ -25,10 +25,10 @@ metadata:
- ref: status
description: 合约状态,1启用,2禁用
required: true
- ref: organization
description: 数据关联组织机构
- ref: org
description: 数据所属组织机构
required: true
- ref: companyId
- ref: company
required: true
- ref: operator
required: true
... ...
... ... @@ -14,7 +14,7 @@ metadata:
required: true
- ref: undertakers
required: true
- ref: companyId
- ref: company
required: true
- ref: operator
required: true
... ...
version: v1
kind: Schema
metadata:
name: cooperationGoodsStatistics
description: 共创产品统计
attributes:
- ref: goodAmount
required: true
- ref: goodName
required: true
- ref: goodRatio
required: true
- ref: rank
required: true
... ...
... ... @@ -15,10 +15,10 @@ metadata:
- ref: status
description: 共创模式状态,1启用,2禁用
required: true
- ref: organization
description: 数据关联组织机构
- ref: org
description: 数据所属组织机构
required: true
- ref: companyId
- ref: company
required: true
- ref: remarks
required: true
... ...
version: v1
kind: Schema
metadata:
name: cooperationModeStatistics
description: 共创模式统计
attributes:
- ref: cooperationPeople
required: true
- ref: dividendsEstimate
required: true
- ref: orderAmount
required: true
... ...
version: v1
kind: Schema
metadata:
name: cooperationPersonStatistics
description: 共创人员信息统计
attributes:
- ref: cooperationTime
required: true
- ref: cooperationTypes
required: true
- ref: dividendsDetails
required: true
- ref: orderDetails
required: true
- ref: userName
required: true
... ...
... ... @@ -21,10 +21,10 @@ metadata:
required: true
- ref: cooperationProjectUndertakerType
required: true
- ref: organization
description: 数据关联组织机构
- ref: org
description: 数据所属组织机构
required: true
- ref: companyId
- ref: company
required: true
- ref: operator
required: true
... ...
... ... @@ -29,10 +29,10 @@ metadata:
- ref: paymentDocumentAttachment
description: 支付凭证附件
required: true
- ref: organization
description: 数据关联组织机构
- ref: org
description: 数据所属组织机构
required: true
- ref: companyId
- ref: company
required: true
- ref: operator
required: true
... ...
version: v1
kind: Schema
metadata:
name: currentMonthDividendsStatistics
description: 本月分红统计
attributes:
- ref: creditAccount
required: true
- ref: dividendsEstimate
required: true
- ref: orderAmount
required: true
... ...
version: v1
kind: Schema
metadata:
name: dividendsDetails
description: 分红明细
attributes:
- ref: dividendsExpense
required: true
- ref: dividendsExpenseByTypes
required: true
... ...
... ... @@ -25,10 +25,10 @@ metadata:
required: true
- ref: dividendsUser
required: true
- ref: organization
description: 数据关联组织机构
- ref: org
description: 数据所属组织机构
required: true
- ref: companyId
- ref: company
required: true
- ref: operator
required: true
... ...
version: v1
kind: Schema
metadata:
name: dividendsExpenseByType
description: 具体分红类型支出
attributes:
- ref: dividendsExpenseByType
required: true
- ref: dividendsTypeName
required: true
... ...
... ... @@ -21,10 +21,10 @@ metadata:
required: true
- ref: dividendsIncentivesStageStart
required: true
- ref: organization
description: 数据关联组织机构
- ref: org
description: 数据所属组织机构
required: true
- ref: companyId
- ref: company
required: true
- ref: updatedAt
required: true
... ...
... ... @@ -25,10 +25,10 @@ metadata:
- ref: customerName
description: 客户姓名
required: true
- ref: organization
description: 数据关联组织机构
- ref: org
description: 数据所属组织机构
required: true
- ref: companyId
- ref: company
required: true
- ref: createdAt
required: true
... ...
... ... @@ -32,10 +32,10 @@ metadata:
required: true
- ref: dividendTime
required: true
- ref: organization
description: 数据关联组织机构
- ref: org
description: 数据所属组织机构
required: true
- ref: companyId
- ref: company
required: true
- ref: createdAt
required: true
... ...
... ... @@ -23,10 +23,10 @@ metadata:
required: true
- ref: salesmanPercentage
required: true
- ref: organization
description: 数据关联组织机构
- ref: org
description: 数据所属组织机构
required: true
- ref: companyId
- ref: company
required: true
- ref: updatedAt
required: true
... ...
version: v1
kind: Schema
metadata:
name: orderAmountByType
description: 具体成交类型的订单明细
attributes:
- ref: orderAmount
required: true
- ref: orderTypeName
required: true
... ...
version: v1
kind: Schema
metadata:
name: orderDetails
description: 订单明细
attributes:
- ref: orderAmount
required: true
- ref: orderAmountByTypes
required: true
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: Schema
metadata:
name: orderGoods
description: 订单产品对象
description: 订单产品对象DTO
attributes:
- ref: orderGoodAmount
required: true
... ... @@ -21,9 +21,4 @@ metadata:
- ref: orderGoodExpense
description: 订单产品费用
required: true
- ref: createdAt
required: true
- ref: deletedAt
required: true
- ref: updatedAt
required: true
... ...
version: v1
kind: Schema
metadata:
name: organization
name: org
description: 组织机构值对象
attributes:
- ref: organizationId
- ref: orgId
required: true
- ref: companyId
- ref: orgName
required: true
- ref: company
required: true
... ...
version: v1
kind: Schema
metadata:
name: projectOverviewStatistics
description: 项目概览统计
attributes:
- ref: contractSum
required: true
- ref: projectSum
required: true
- ref: cooperationUserCount
required: true
... ...
... ... @@ -10,10 +10,10 @@ metadata:
required: true
- ref: role
required: true
- ref: organizations
- ref: orgs
description: 用户关联的组织机构
required: true
- ref: organization
- ref: org
description: 用户所属的组织机构
required: true
- ref: department
... ...
... ... @@ -8,10 +8,10 @@ metadata:
required: true
- ref: userBaseId
required: true
- ref: organization
- ref: org
description: 用户所属的组织机构
required: true
- ref: organizations
- ref: orgs
description: 用户关联的组织机构
required: true
- ref: department
... ...
... ... @@ -10,10 +10,10 @@ metadata:
required: true
- ref: role
required: true
- ref: organizations
- ref: orgs
description: 用户关联的组织机构
required: true
- ref: organization
- ref: org
description: 用户所属的组织机构
required: true
- ref: department
... ...
... ... @@ -8,10 +8,10 @@ metadata:
required: true
- ref: userBaseId
required: true
- ref: organization
- ref: org
description: 用户所属组织机构
required: true
- ref: organizations
- ref: orgs
description: 用户关联的组织机构
required: true
- ref: department
... ...
... ... @@ -8,10 +8,10 @@ metadata:
required: true
- ref: userBaseId
required: true
- ref: organization
- ref: org
description: 用户所属组织机构
required: true
- ref: organizations
- ref: orgs
description: 用户关联的组织机构
required: true
- ref: department
... ...
... ... @@ -13,4 +13,5 @@ metadata:
- ref: userPhone
required: true
- ref: userAccount
description: 用户账号,区别于手机号,冗余字段
required: true
... ...
... ... @@ -15,6 +15,10 @@ metadata:
description: 承接人uid
type:
primitive: string
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: contractUndertakerFeedback
type:
... ...
... ... @@ -8,9 +8,13 @@ metadata:
- ref: feedbackId
required: true
- name: underTakerUid
description: Attribute描述
description: 承接人uid
type:
primitive: string
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: contractUndertakerFeedback
type:
... ...
... ... @@ -6,13 +6,18 @@ metadata:
description: 返回共创合约反馈服务列表
payload:
- ref: offset
required: true
required: false
- ref: limit
required: true
required: false
- name: underTakerUid
description: Attribute描述
description: 承接人uid
type:
primitive: string
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- ref: count
required: true
... ...
... ... @@ -8,9 +8,13 @@ metadata:
- ref: feedbackId
required: true
- name: underTakerUid
description: Attribute描述
description: 承接人uid
type:
primitive: string
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: contractUndertakerFeedback
type:
... ...
... ... @@ -15,6 +15,10 @@ metadata:
description: 承接人姓名
type:
primitive: string
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: contractUndertakerFeedbacks
type:
... ...
... ... @@ -15,6 +15,10 @@ metadata:
description: 承接人用户uid
type:
primitive: string
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: contractUndertakerFeedback
type:
... ...
... ... @@ -9,6 +9,10 @@ metadata:
required: true
- ref: cooperationApplicationVerifyDescription
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationApplication
type:
... ...
... ... @@ -17,6 +17,10 @@ metadata:
required: true
- ref: cooperationApplyTime
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationApplication
type:
... ...
... ... @@ -17,6 +17,10 @@ metadata:
- ref: cooperationProjectNumber
description: 关联的共创项目编号
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationApplication
type:
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: cooperationApplicationId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationApplication
type:
... ...
... ... @@ -9,6 +9,10 @@ metadata:
required: true
- ref: limit
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- ref: count
required: true
... ...
... ... @@ -9,6 +9,10 @@ metadata:
required: true
- ref: cooperationApplicationVerifyDescription
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationApplication
type:
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: cooperationApplicationId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationApplication
type:
... ...
... ... @@ -11,10 +11,17 @@ metadata:
description: 申请人姓名
type:
primitive: string
- ref: cooperationApplicationStatus
description: 共创申请审核状态,1待审核,2已同意,3已拒绝
required: false
- ref: pageSize
required: false
- ref: pageNumber
required: false
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationApplications
type:
... ...
... ... @@ -17,6 +17,10 @@ metadata:
- ref: cooperationProjectNumber
description: 关联的共创项目编号
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationApplication
type:
... ...
... ... @@ -40,6 +40,10 @@ metadata:
description: 相关人列表
type:
array: relevant
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationContract
type:
... ...
... ... @@ -11,6 +11,10 @@ metadata:
description: 发起人uid
type:
primitive: string
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationContract
type:
... ...
... ... @@ -9,6 +9,10 @@ metadata:
required: true
- ref: limit
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- ref: count
required: true
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: cooperationContractId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationContract
type:
... ...
... ... @@ -15,6 +15,10 @@ metadata:
description: 发起人姓名
type:
primitive: string
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationContracts
type:
... ...
... ... @@ -12,6 +12,10 @@ metadata:
type:
primitive: string
required: false
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationContractByUndertaker
description: 根据承接人返回的共创项目合约
... ...
... ... @@ -23,6 +23,10 @@ metadata:
description: 共创合约发起人uid
type:
primitive: string
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationContract
type:
... ...
... ... @@ -15,6 +15,10 @@ metadata:
required: true
- ref: cooperationContractNumber
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationContractChangeLog
type:
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: cooperationContractChangeLogId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationContractChangeLog
type:
... ...
... ... @@ -9,6 +9,10 @@ metadata:
required: true
- ref: limit
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- ref: count
required: true
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: cooperationContractChangeLogId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationContractChangeLog
type:
... ...
... ... @@ -13,6 +13,10 @@ metadata:
required: false
- ref: pageNumber
required: false
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationContractChangeLogs
type:
... ...
... ... @@ -15,6 +15,10 @@ metadata:
required: true
- ref: cooperationContractNumber
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationContractChangeLog
type:
... ...
version: v1
kind: Method
metadata:
name: searchCooperationGoodsStatistics
type: query
description: 返回共创产品统计数据
payload:
- name: rankingType
description: 排行榜类型,1月榜,2年榜 3总榜,默认展示年榜
type:
primitive: int32
required: false
- ref: companyId
required: true
- ref: userId
required: true
- ref: pageSize
required: false
- ref: pageNumber
required: false
result:
- name: cooperationGoodsStatistics
type:
schema: cooperationGoodsStatistics
required: true
... ...
version: v1
kind: Service
metadata:
name: cooperationGoodsStatistics
description: 共创产品数据统计
... ...
... ... @@ -11,6 +11,10 @@ metadata:
required: true
- ref: remarks
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationMode
type:
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: cooperationModeId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationMode
type:
... ...
... ... @@ -9,6 +9,10 @@ metadata:
required: true
- ref: limit
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- ref: count
required: true
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: cooperationModeId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationMode
type:
... ...
... ... @@ -15,6 +15,10 @@ metadata:
description: 组织机构名称
type:
primitive: string
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationModes
type:
... ...
... ... @@ -11,6 +11,10 @@ metadata:
required: true
- ref: remarks
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationMode
type:
... ...
version: v1
kind: Method
metadata:
name: searchCooperationModeStatistics
type: query
description: 返回共创模式数据统计
payload:
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationModeStatistics
type:
schema: cooperationModeStatistics
required: true
... ...
version: v1
kind: Service
metadata:
name: cooperationModeStatistics
description: 共创模式统计服务
... ...
version: v1
kind: Method
metadata:
name: searchCooperationPersonStatistics
type: query
description: 返回共创人员信息统计
payload:
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationPersonStatistics
type:
schema: cooperationPersonStatistics
required: true
... ...
version: v1
kind: Service
metadata:
name: cooperationPersonStatistics
description: 共创人员信息统计
... ...
... ... @@ -22,6 +22,10 @@ metadata:
required: true
- ref: cooperationProjectDescription
required: false
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationProject
type:
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: cooperationProjectId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationProject
type:
... ...
... ... @@ -9,6 +9,10 @@ metadata:
required: true
- ref: limit
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- ref: count
required: true
... ...
... ... @@ -15,6 +15,10 @@ metadata:
required: true
- ref: cooperationProjectDescription
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationProject
type:
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: cooperationProjectId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationProject
type:
... ...
... ... @@ -6,12 +6,19 @@ metadata:
description: 查询共创项目
payload:
- ref: pageNumber
required: true
required: false
- ref: pageSize
required: true
required: false
- ref: cooperationProjectName
required: true
required: false
- ref: departmentName
required: false
- ref: status
description: 共创项目状态,根据共创项目状态筛选项目数据
required: false
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationProjects
... ...
... ... @@ -22,6 +22,10 @@ metadata:
required: true
- ref: cooperationProjectDescription
required: false
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: cooperationProject
type:
... ...
... ... @@ -4,6 +4,11 @@ metadata:
name: createCreditAccount
type: command
description: 创建账期结算单服务
payload:
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: creditAccount
type:
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: creditAccountId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: creditAccount
type:
... ...
... ... @@ -9,6 +9,10 @@ metadata:
required: true
- ref: limit
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- ref: count
required: true
... ...
... ... @@ -9,6 +9,10 @@ metadata:
required: true
- ref: remarks
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: creditAccount
type:
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: creditAccountId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: creditAccount
type:
... ...
... ... @@ -11,6 +11,10 @@ metadata:
description: 参与人姓名
type:
primitive: string
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: creditAccounts
type:
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: creditAccountId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: creditAccount
type:
... ...
version: v1
kind: Method
metadata:
name: searchCurrentMonthDividendsStatistics
type: query
description: 返回共创企业本月分红统计
payload:
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: currentMonthDividendsStatistics
type:
schema: currentMonthDividendsStatistics
required: true
... ...
version: v1
kind: Service
metadata:
name: currentMonthDividendsStatistics
description: 共创企业本月分红统计
... ...
... ... @@ -4,6 +4,11 @@ metadata:
name: cancelDividendsEstimate
type: command
description: 取消分红预算
payload:
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsEstimate
type:
... ...
... ... @@ -4,6 +4,11 @@ metadata:
name: createDividendsEstimate
type: command
description: 创建分红预算服务
payload:
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsEstimate
type:
... ...
... ... @@ -11,6 +11,10 @@ metadata:
- ref: cooperationContractNumber
description: 合约编号
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsEstimate
type:
... ...
... ... @@ -16,6 +16,10 @@ metadata:
type:
primitive: string
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsEstimate
type:
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: dividendsEstimateId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsEstimate
type:
... ...
... ... @@ -9,6 +9,10 @@ metadata:
required: true
- ref: limit
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- ref: count
required: true
... ...
... ... @@ -9,6 +9,10 @@ metadata:
required: true
- ref: limit
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsIncentives
type:
... ...
... ... @@ -9,6 +9,10 @@ metadata:
required: true
- ref: limit
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: moneyIncentives
type:
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: dividendsEstimateId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsEstimate
type:
... ...
... ... @@ -9,6 +9,10 @@ metadata:
required: true
- ref: dividendsType
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsEstimate
type:
... ...
... ... @@ -11,6 +11,10 @@ metadata:
- ref: orderOrReturnedOrderNum
description: 分红订单号/退货单号
required: false
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsIncentives
type:
... ...
... ... @@ -11,6 +11,10 @@ metadata:
- ref: departmentName
description: 发起部门名称
required: false
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: moneyIncentives
type:
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: dividendsEstimateId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsEstimate
type:
... ...
... ... @@ -19,6 +19,10 @@ metadata:
required: true
- ref: salesmanPercentage
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsIncentivesRule
type:
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: dividendsIncentivesRuleId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsIncentivesRule
type:
... ...
... ... @@ -9,6 +9,10 @@ metadata:
required: true
- ref: limit
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- ref: count
required: true
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: dividendsIncentivesRuleId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsIncentivesRule
type:
... ...
... ... @@ -19,6 +19,10 @@ metadata:
required: true
- ref: salesmanPercentage
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsIncentivesRule
type:
... ...
... ... @@ -29,6 +29,10 @@ metadata:
description: 订单产品列表
type:
array: orderGoods
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsOrder
type:
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: dividendsOrderId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsOrder
type:
... ...
... ... @@ -9,6 +9,10 @@ metadata:
required: true
- ref: limit
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- ref: count
required: true
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: dividendsOrderId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsOrder
type:
... ...
... ... @@ -13,6 +13,10 @@ metadata:
required: false
- ref: pageNumber
required: false
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsOrders
type:
... ...
... ... @@ -25,6 +25,10 @@ metadata:
description: 操作人uid
type:
primitive: string
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsOrder
type:
... ...
... ... @@ -23,6 +23,10 @@ metadata:
description: 订单产品列表
type:
array: orderGoods
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsReturnedOrder
type:
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: dividendsReturnedOrderId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsReturnedOrders
type:
... ...
... ... @@ -13,6 +13,10 @@ metadata:
description: 参数列表
type:
primitive: string
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsReturnedOrder
type:
... ...
... ... @@ -9,6 +9,10 @@ metadata:
required: true
- ref: limit
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- ref: count
required: true
... ...
... ... @@ -4,6 +4,11 @@ metadata:
name: removeDividendsReturnedOrder
type: command
description: 移除分红退货单服务
payload:
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsReturnedOrder
type:
... ...
... ... @@ -15,6 +15,10 @@ metadata:
required: false
- ref: pageNumber
required: false
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsReturnedOrders
type:
... ...
... ... @@ -23,6 +23,10 @@ metadata:
description: 订单产品列表
type:
array: orderGoods
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: dividendsReturnedOrder
type:
... ...
... ... @@ -15,6 +15,10 @@ metadata:
required: true
- ref: cooperationContractNumber
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: moneyIncentivesRule
type:
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: moneyIncentivesRuleId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: moneyIncentivesRule
type:
... ...
... ... @@ -9,6 +9,10 @@ metadata:
required: true
- ref: limit
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- ref: count
required: true
... ...
... ... @@ -7,6 +7,10 @@ metadata:
payload:
- ref: moneyIncentivesRuleId
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: moneyIncentivesRule
type:
... ...
... ... @@ -15,6 +15,10 @@ metadata:
required: true
- ref: cooperationContractNumber
required: true
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: moneyIncentivesRule
type:
... ...
version: v1
kind: Method
metadata:
name: searchProjectOverviewStatistics
type: query
description: 返回共创项目概览统计
payload:
- ref: companyId
required: true
- ref: userId
required: true
result:
- name: projectOverviewStatistics
type:
schema: projectOverviewStatistics
required: true
... ...
version: v1
kind: Service
metadata:
name: projectOverviewStatistics
description: 共创项目概览统计
... ...
version: v1
kind: Schema
metadata:
name: usersBase
name: users
description: 用户基础信息
attributes:
- ref: phone
... ...
... ... @@ -32,5 +32,5 @@ metadata:
result:
- name: user
type:
schemas: userBase
schema: usersBase
required: true
... ...
... ... @@ -22,5 +22,5 @@ metadata:
result:
- name: user
type:
schema: userBase
schema: usersBase
required: true
... ...