作者 陈志颖

Merge branch 'dev'

正在显示 30 个修改的文件 包含 231 行增加2 行删除
version: v1
kind: Schema
metadata:
name: dividendsIncentivesRules
name: dividendsIncentivesRule
description: 金额激励规则实体
attributes:
- ref: dividendsIncentivesRuleId
required: true
- ref: cooperationContractNumber
description: 关联的项目合约编号
required: true
- ref: referrerPercentage
required: true
- ref: salesmanPercentage
... ...
version: v1
kind: Schema
metadata:
name: moneyIncentivesRules
name: moneyIncentivesRule
description: 金额激励规则实体
attributes:
- ref: moneyIncentivesRuleId
required: true
- ref: cooperationContractNumber
description: 关联的共创合约编号
required: true
- ref: moneyIncentivesAmount
required: true
- ref: moneyIncentivesStage
... ...
... ... @@ -5,6 +5,18 @@ metadata:
type: command
description: 创建共创申请服务
payload:
- name: applicantUid
description: 共创申请人uid
type:
primitive: string
required: true
- ref: cooperationApplicationDescription
required: false
- ref: cooperationApplicationAttachment
required: false
- ref: cooperationProjectNumber
description: 关联的共创项目编号
required: true
result:
- name: cooperationApplication
type:
... ...
... ... @@ -5,6 +5,12 @@ metadata:
type: command
description: 创建共创模式服务
payload:
- ref: cooperationModeName
required: true
- ref: cooperationModeNumber
required: true
- ref: remarks
required: true
result:
- name: cooperationMode
type:
... ...
... ... @@ -5,6 +5,23 @@ metadata:
type: command
description: 创建共创项目服务
payload:
- ref: cooperationProjectName
required: true
- ref: coopeartionProjectUndertakerType
description: 承接对象,1员工,2共创用户,3公开,可以多选
required: true
- name: sponsorUid
description: 共创项目发起人uid
type:
primitive: string
required: true
- name: publisherUid
description: 共创项目发布人uid
type:
primitive: string
required: true
- ref: cooperationProjectDescription
required: false
result:
- name: cooperationProject
type:
... ...
version: v1
kind: Method
metadata:
name: createDividendsIncentivesRule
type: command
description: 创建业绩分红激励规则服务
payload:
- ref: cooperationContractNumber
required: true
- ref: dividendsIncentivesPercentage
required: true
- ref: dividendsIncentivesStage
required: true
- ref: dividendsIncentivesStageStart
required: true
- ref: dividendsIncentivesStageEnd
requried: true
- ref: referrerPercentage
required: true
- ref: salesmanPercentage
required: true
result:
- name: dividendsIncentivesRule
type:
schema: dividendsIncentivesRule
required: true
... ...
version: v1
kind: Method
metadata:
name: getDividendsIncentivesRule
type: query
description: 返回业绩分红激励规则服务
payload:
- ref: dividendsIncentivesRuleId
required: true
result:
- name: dividendsIncentivesRule
type:
schema: dividendsIncentivesRule
required: true
... ...
version: v1
kind: Method
metadata:
name: listDividendsIncentivesRule
type: query
description: 返回业绩分红激励规则服务列表
payload:
- ref: offset
required: true
- ref: limit
required: true
result:
- ref: count
required: true
- name: dividendsIncentivesRules
type:
array: dividendsIncentivesRule
required: true
... ...
version: v1
kind: Method
metadata:
name: removeDividendsIncentivesRule
type: command
description: 移除业绩分红激励规则服务
payload:
- ref: dividendsIncentivesRuleId
required: true
result:
- name: dividendsIncentivesRule
type:
schema: dividendsIncentivesRule
required: true
... ...
version: v1
kind: Method
metadata:
name: updateDividendsIncentivesRule
type: command
description: 更新业绩分红激励规则服务
payload:
- ref: dividendsIncentivesRuleId
required: true
result:
- name: dividendsIncentivesRule
type:
schema: dividendsIncentivesRule
required: true
... ...
version: v1
kind: Service
metadata:
name: dividendsIncentivesRule
description: 业绩分红激励规则服务
... ...
version: v1
kind: Method
metadata:
name: createMoneyIncentivesRule
type: command
description: 创建项目金额激励规则服务
payload:
- ref: moneyIncentivesStageEnd
required: true
- ref: moneyIncentivesStageStart
required: true
- ref: moneyIncentivesStage
required: true
- ref: moneyIncentivesAmount
required: true
- ref: cooperationContractNumber
required: true
result:
- name: moneyIncentivesRule
type:
schema: moneyIncentivesRule
required: true
... ...
version: v1
kind: Method
metadata:
name: getMoneyIncentivesRule
type: query
description: 返回项目金额激励规则服务
payload:
- ref: moneyIncentivesRulesId
required: true
result:
- name: moneyIncentivesRule
type:
schema: moneyIncentivesRule
required: true
... ...
version: v1
kind: Method
metadata:
name: listMoneyIncentivesRules
type: query
description: 返回项目金额激励规则服务列表
payload:
- ref: offset
required: true
- ref: limit
required: true
result:
- ref: count
required: true
- name: moneyIncentivesRules
type:
array: moneyIncentivesRule
required: true
... ...
version: v1
kind: Method
metadata:
name: removeMoneyIncentivesRule
type: command
description: 移除项目金额激励规则服务
payload:
- ref: moneyIncentivesRuleId
required: true
result:
- name: moneyIncentivesRule
type:
schema: moneyIncentivesRule
required: true
... ...
version: v1
kind: Method
metadata:
name: updateMoneyIncentivesRule
type: command
description: 更新项目金额激励规则服务
payload:
- ref: moneyIncentivesStageEnd
required: true
- ref: moneyIncentivesStageStart
required: true
- ref: moneyIncentivesStage
required: true
- ref: moneyIncentivesAmount
required: true
- ref: cooperationContractNumber
required: true
- ref: moneyIncentivesRulesId
required: true
result:
- name: moneyIncentivesRule
type:
schema: moneyIncentivesRule
required: true
... ...
version: v1
kind: Service
metadata:
name: moneyIncentivesRule
description: 项目金额激励规则服务
... ...