作者 yangfu
正在显示 57 个修改的文件 包含 136 行增加54 行删除
version: v1
kind: Attribute
metadata:
name: accounted
description: 已结算
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: paid
description: 已支付
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: toBeAccounted
description: 待结算
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: annualDividendsExpense
description: 分红支出-年度分红支出
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: dividendsExpenseDetails
description: 企业分红支出明细
type:
schema: dividendsExpenseDetails
... ...
version: v1
kind: Attribute
metadata:
name: quarterDividendsExpense
description: 分红支出-季度分红支出
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: totalDividendsExpense
description: 合约分红-全部分红支出
type:
primitive: float64
... ...
version: v1
kind: Schema
metadata:
name: dividendsExpenseDetails
description: 企业分红支出明细
attributes:
- ref: toBeAccounted
required: true
- ref: accounted
required: true
- ref: paid
required: true
... ...
... ... @@ -19,6 +19,11 @@ metadata:
required: true
- ref: userId
required: true
- name: matchWord
description: 查询关键词
required: false
type:
primitive: string
result:
- name: contractUndertakerFeedbacks
type:
... ...
... ... @@ -3,7 +3,7 @@ kind: Method
metadata:
name: searchCooperationGoodsStatistics
type: query
description: 返回共创产品统计数据
description: 返回企业共创产品统计数据
payload:
- name: rankingType
description: 排行榜类型,1月榜,2年榜 3总榜,默认展示年榜
... ... @@ -11,7 +11,11 @@ metadata:
primitive: int32
required: false
- ref: companyId
required: true
description: 企业ID,企业和组织id二选一
required: false
- ref: orgId
description: 组织机构id,组织和企业id二选一
required: false
- ref: userId
required: true
- ref: pageSize
... ...
... ... @@ -3,10 +3,14 @@ kind: Method
metadata:
name: searchCooperationModeStatistics
type: query
description: 返回共创模式数据统计
description: 返回企业共创模式数据统计
payload:
- ref: companyId
required: true
description: 企业id,企业和组织二选一
required: false
- ref: orgId
description: 组织id,组织和企业二选一
required: false
- ref: userId
required: true
result:
... ...
... ... @@ -3,10 +3,14 @@ kind: Method
metadata:
name: searchCooperationPersonStatistics
type: query
description: 返回共创人员信息统计
description: 返回企业共创人员信息统计
payload:
- ref: companyId
required: true
description: 查看的目标公司id,公司和组织入参二选一
required: false
- ref: orgId
description: 查看的目标组织id,组织和公司入参二选一
required: false
- ref: userId
required: true
result:
... ...
... ... @@ -15,8 +15,18 @@ metadata:
required: true
- ref: userId
required: true
- name: period
description: 结算周期,按年“2021”或者按月结算”2021-07“
type:
primitive: datetime
required: false
result:
- name: creditAccounts
type:
array: creditAccount
required: true
- name: sum
description: 本月结算或本年度结算
type:
primitive: float64
required: true
... ...
... ... @@ -6,7 +6,11 @@ metadata:
description: 返回共创企业本月分红统计
payload:
- ref: companyId
required: true
description: 企业id,企业和组织二选一
required: false
- ref: orgId
description: 组织id,组织和企业二选一
required: false
- ref: userId
required: true
result:
... ...
... ... @@ -3,10 +3,14 @@ kind: Method
metadata:
name: searchProjectOverviewStatistics
type: query
description: 返回共创项目概览统计
description: 返回共创企业项目概览统计
payload:
- ref: companyId
required: true
description: 企业id,企业和组织二选一
required: false
- ref: orgId
description: 组织id,组织和企业二选一
required: false
- ref: userId
required: true
result:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: appCooperationApplication
path: /app/cooperation-applications
path: /v1/app/cooperation-applications
endpoints:
- method: createCooperationApplication
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: appCooperationProject
path: /app/cooperation-projects
path: /v1/app/cooperation-projects
endpoints:
- method: createCooperationProject
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: appLoginAccess
path: /app/auth
path: /v1/app/auth
endpoints:
- method: loginByAccount
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: appUsers
path: /app/users
path: /v1/app/users
endpoints:
- method: registCommonUser
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: contractChangeLog
path: /web/contract-change-logs
path: /v1/web/contract-change-logs
endpoints:
- method: listContractChangeLog
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: cooperationApplication
path: /web/cooperation-applications
path: /v1/web/cooperation-applications
endpoints:
- method: createCooperationApplication
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: cooperationContract
path: /web/cooperation-contracts
path: /v1/web/cooperation-contracts
endpoints:
- method: createCooperationContract
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: cooperationMode
path: /web/cooperation-modes
path: /v1/web/cooperation-modes
endpoints:
- method: createCooperationMode
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: cooperationProject
path: /web/cooperation-projects
path: /v1/web/cooperation-projects
endpoints:
- method: createCooperationProject
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: dividendsEstimate
path: /web/dividends-estimate
path: /v1/web/dividends-estimate
endpoints:
- method: createDividendsEstimate
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: dividendsOrder
path: /web/dividends-order
path: /v1/web/dividends-order
endpoints:
- method: createDividendsOrder
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: dividendsReturnedOrder
path: /web/dividends-returned-order
path: /v1/web/dividends-returned-order
endpoints:
- method: createDividendsReturnedOrder
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: loginAccess
path: /web/auth
path: /v1/web/auth
endpoints:
- method: loginByAccount
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: menu
path: /web/menus
path: /v1/web/menus
endpoints:
- method: menuList
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: noticeSetting
path: /web/notice-setting
path: /v1/web/notice-setting
endpoints:
- method: noticeSettingList
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: orgs
path: /web/orgs
path: /v1/web/orgs
endpoints:
- method: orgAdd
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: roles
path: /web/roles
path: /v1/web/roles
endpoints:
- method: roleAdd
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: contractUndertakerFeedback
path: /web/contract-undertaker-feedbacks
path: /v1/web/contract-undertaker-feedbacks
endpoints:
- method: createContractUndertakerFeedback
route:
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: users
path: /web/users
path: /v1/web/users
endpoints:
- method: companyUserAdd
route:
... ...
... ... @@ -6,8 +6,10 @@ metadata:
attributes:
- ref: contractUndertaker
required: true
- ref: feedbackAttachment
required: true
- name: feedbackAttachment
description: 附件
type:
array: attachment
- ref: feedbackContent
required: true
- ref: feedbackId
... ...
... ... @@ -22,7 +22,3 @@ metadata:
required: true
- ref: cooperationApplyTime
required: true
- ref: cooperationProjectId
required: true
- ref: cooperationProjectNumber
required: true
... ...
... ... @@ -22,10 +22,10 @@ metadata:
- ref: cooperationContractNumber
required: true
- name: participator
description: 参与人uid,包括承接人、推荐人、关联业务员
description: 参与人
required: true
type:
array: int64
schema: usersBase
- ref: paymentDocumentAttachment
description: 支付凭证附件
required: true
... ... @@ -33,8 +33,6 @@ metadata:
description: 数据关联组织机构
type:
schema: orgs
- ref: companyId
required: true
- ref: operator
required: true
- ref: operateTime
... ...
... ... @@ -4,16 +4,12 @@ metadata:
name: users
description: 用户基础信息
attributes:
- ref: phone
required: true
- ref: status
required: true
- ref: usersCode
required: true
- ref: usersId
required: true
- ref: usersName
required: true
- name: userId
description: 用户id
- name: userInfo
description: 用户基础信息
type:
schema: usersBase
- name: org
description: 用户的组织
type:
... ... @@ -22,9 +18,3 @@ metadata:
description: 用户的部门
type:
schema: department
- ref: email
required: true
- ref: cooperationCompany
required: true
- ref: cooperationDeadline
required: true
... ...