作者 陈志颖

feat:修改共创项目合约

@@ -4,4 +4,4 @@ metadata: @@ -4,4 +4,4 @@ metadata:
4 name: cooperationContractUndertakers 4 name: cooperationContractUndertakers
5 description: 共创合约承接人列表 5 description: 共创合约承接人列表
6 type: 6 type:
7 - array: user 7 + array: undertaker
@@ -22,6 +22,13 @@ metadata: @@ -22,6 +22,13 @@ metadata:
22 required: true 22 required: true
23 - ref: cooperationMode 23 - ref: cooperationMode
24 required: true 24 required: true
  25 + - ref: status
  26 + description: 合约状态,1启用,2禁用
  27 + required: true
  28 + - ref: operator
  29 + required: true
  30 + - ref: operateTime
  31 + required: true
25 - ref: createdAt 32 - ref: createdAt
26 required: true 33 required: true
27 - ref: deletedAt 34 - ref: deletedAt
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: searchCooperationContractByUndertaker
  5 + type: query
  6 + description: 根据承接人返回共创项目合约
  7 + payload:
  8 + - ref: cooperationContractName
  9 + requird: false
  10 + - name: sponsorName
  11 + description: 项目发起人姓名
  12 + type:
  13 + primitive: string
  14 + required: false
  15 + result:
  16 + - ref: cooperationContractDescription
  17 + required: true
  18 + - ref: cooperationContractId
  19 + required: true
  20 + - ref: contractUndertaker
  21 + required: true
  22 + - ref: cooperationContractNumber
  23 + required: true
  24 + - ref: cooperationContractName
  25 + required: true
  26 + - ref: cooperationMode
  27 + required: true
  28 + - ref: cooperationContractSponsor
  29 + required: true
  30 + - ref: status
  31 + required: true