作者 陈志颖

feat:添加承接人信息反馈服务和接口

@@ -24,3 +24,4 @@ _testmain.go @@ -24,3 +24,4 @@ _testmain.go
24 .log 24 .log
25 .idea 25 .idea
26 *.tmp 26 *.tmp
  27 +.DS_Store
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: contractUndertakerFeedback
  5 + path: /contract-undertaker-feedbacks
  6 + endpoints:
  7 + - method: createContractUndertakerFeedback
  8 + route:
  9 + post: /
  10 + - method: updateContractUndertakerFeedback
  11 + route:
  12 + put: /{contractUndertakerFeedbackId}
  13 + - method: getContractUndertakerFeedback
  14 + route:
  15 + get: /{contractUndertakerFeedbackId}
  16 + - method: removeContractUndertakerFeedback
  17 + route:
  18 + delete: /{contractUndertakerFeedbackId}
  19 + - method: listContractUndertakerFeedback
  20 + route:
  21 + get: /
  22 + params:
  23 + - name: offset
  24 + - name: limit
@@ -14,6 +14,8 @@ metadata: @@ -14,6 +14,8 @@ metadata:
14 required: true 14 required: true
15 - ref: contractUndertaker 15 - ref: contractUndertaker
16 required: true 16 required: true
  17 + - ref: cooperationMode
  18 + required: true
17 - ref: organization 19 - ref: organization
18 required: true 20 required: true
19 - ref: updatedAt 21 - ref: updatedAt
@@ -21,4 +23,5 @@ metadata: @@ -21,4 +23,5 @@ metadata:
21 - ref: deletedAt 23 - ref: deletedAt
22 required: true 24 required: true
23 - ref: createdAt 25 - ref: createdAt
  26 + description: 反馈创建时间,同时也作为反馈时间
24 required: true 27 required: true
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: createContractUndertakerFeedback
  5 + type: command
  6 + description: 创建共创合约反馈服务
  7 + payload:
  8 + - ref: feedbackAttachment
  9 + required: true
  10 + - ref: feedbackContent
  11 + required: true
  12 + - ref: cooperationContractNumber
  13 + required: true
  14 + - name: underTakerUid
  15 + description: 承接人uid
  16 + type:
  17 + primitive: string
  18 + result:
  19 + - name: contractUndertakerFeedback
  20 + type:
  21 + schema: contractUndertakerFeedback
  22 + required: true
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: getContractUndertakerFeedback
  5 + type: query
  6 + description: 返回共创合约反馈服务
  7 + payload:
  8 + - ref: contractUndertakerFeedbackId
  9 + required: true
  10 + - name: underTakerUid
  11 + description: Attribute描述
  12 + type:
  13 + primitive: string
  14 + result:
  15 + - name: contractUndertakerFeedback
  16 + type:
  17 + schema: contractUndertakerFeedback
  18 + required: true
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: listContractUndertakerFeedback
  5 + type: query
  6 + description: 返回共创合约反馈服务列表
  7 + payload:
  8 + - ref: offset
  9 + required: true
  10 + - ref: limit
  11 + required: true
  12 + - name: underTakerUid
  13 + description: Attribute描述
  14 + type:
  15 + primitive: string
  16 + result:
  17 + - ref: count
  18 + required: true
  19 + - name: contractUndertakerFeedbacks
  20 + type:
  21 + array: contractUndertakerFeedback
  22 + required: true
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: removeContractUndertakerFeedback
  5 + type: command
  6 + description: 移除共创合约反馈服务
  7 + payload:
  8 + - ref: contractUndertakerFeedbackId
  9 + required: true
  10 + - name: underTakerUid
  11 + description: Attribute描述
  12 + type:
  13 + primitive: string
  14 + result:
  15 + - name: contractUndertakerFeedback
  16 + type:
  17 + schema: contractUndertakerFeedback
  18 + required: true
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: updateContractUndertakerFeedback
  5 + type: command
  6 + description: 更新共创合约反馈服务
  7 + payload:
  8 + - ref: feedbackAttachment
  9 + required: true
  10 + - ref: feedbackContent
  11 + required: true
  12 + - ref: cooperationContractNumber
  13 + required: true
  14 + - ref: contractUndertakerFeedbackId
  15 + required: true
  16 + - name: underTakerUid
  17 + description: Attribute描述
  18 + type:
  19 + primitive: string
  20 + result:
  21 + - name: contractUndertakerFeedback
  22 + type:
  23 + schema: contractUndertakerFeedback
  24 + required: true
  1 +version: v1
  2 +kind: Service
  3 +metadata:
  4 + name: contractUndertakerFeedback
  5 + description: 共创合约反馈服务