作者 tangxuhui

更新 个人消息

正在显示 23 个修改的文件 包含 259 行增加30 行删除
@@ -9,10 +9,10 @@ metadata: @@ -9,10 +9,10 @@ metadata:
9 post: / 9 post: /
10 - method: updateDictionary 10 - method: updateDictionary
11 route: 11 route:
12 - put: /{Id} 12 + put: /{dictionaryId}
13 - method: getDictionary 13 - method: getDictionary
14 route: 14 route:
15 - get: /{Id} 15 + get: /{dictionaryId}
16 - method: listDictionary 16 - method: listDictionary
17 route: 17 route:
18 get: / 18 get: /
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: noticePersonal
  5 + path: /notice-personal
  6 + endpoints:
  7 + - method: getNoticePersonalList
  8 + route:
  9 + post: /
  10 + - method: agreeJoinCreationProject
  11 + route:
  12 + post: /agree-join-creation-project
  13 + - method: informExpectedDividends
  14 + route:
  15 + post: /inform-expected-dividends
  16 + - method: refuseJoinCreationProject
  17 + route:
  18 + post: /refuse-join-creation-project
  19 + - method: informJoinCreationContract
  20 + route:
  21 + post: /inform-join-creation-contract
  22 +
  23 + - method: creditAccountEstimate
  24 + route:
  25 + post: /credit-account/dividends-estimate
  26 + - method: creditAccountPayment
  27 + route:
  28 + post: /notice-personal/credit-account/payment
1 version: v1 1 version: v1
2 kind: Attribute 2 kind: Attribute
3 metadata: 3 metadata:
4 - - name: noticePersonalId 4 + name: noticePersonalId
5 description: 编号id 5 description: 编号id
6 type: 6 type:
7 primitive: int64 7 primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: orgId
  5 + description: 组织id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: userBaseId
  5 + description: 账户id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: orgId
  5 + description: 组织id
  6 + type:
  7 + primitive: int64
@@ -20,12 +20,10 @@ metadata: @@ -20,12 +20,10 @@ metadata:
20 description: 备注信息 20 description: 备注信息
21 type: 21 type:
22 primitive: string 22 primitive: string
23 - - name: canDelete  
24 - description: 是否可以删除【1:不可以】【2:可以】 23 + - name: isShow
  24 + description: 是否可见【1:不可以】【2:可以】
25 type: 25 type:
26 primitive: int 26 primitive: int
27 - - name: canEdit  
28 - description: 是否可以编辑【1:不可以】【2:可以】  
29 - name: dictItems 27 - name: dictItems
30 description: 字典值列表 28 description: 字典值列表
31 type: 29 type:
@@ -24,9 +24,11 @@ metadata: @@ -24,9 +24,11 @@ metadata:
24 required: true 24 required: true
25 - ref: noticePersonalId 25 - ref: noticePersonalId
26 required: true 26 required: true
27 - - ref: organizationId 27 + - ref: orgId
28 required: true 28 required: true
29 - ref: sysCode 29 - ref: sysCode
30 required: true 30 required: true
31 - ref: userId 31 - ref: userId
32 required: true 32 required: true
  33 + - ref: userBaseId
  34 + required: true
1 version: v1 1 version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 - name: noticSetting 4 + name: noticeSetting
5 description: 编排消息通知内容 5 description: 编排消息通知内容
6 attributes: 6 attributes:
7 - ref: companyId 7 - ref: companyId
@@ -16,7 +16,7 @@ metadata: @@ -16,7 +16,7 @@ metadata:
16 required: true 16 required: true
17 - ref: noticeSettingId 17 - ref: noticeSettingId
18 required: true 18 required: true
19 - - ref: organizationId 19 + - ref: orgId
20 required: true 20 required: true
21 - ref: sysCode 21 - ref: sysCode
22 required: true 22 required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: noticeSettingModule
  5 + description: 编排消息模块列表
  6 + attributes:
  7 + - ref: module
  8 + required: true
  9 + - name: moduleAction
  10 + description: 模块环节
  11 + type:
  12 + array: string
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: noticeSettingParam
  5 + description: 编排消息需要的变量
  6 + attributes:
  7 + - name: paramCode
  8 + description: 变量的代码标识
  9 + type:
  10 + primitive: string
  11 + - name: paramName
  12 + description: 变量名称描述
  13 + - ref: moduleAction
  14 + required: true
  15 + - ref: module
  16 + required: true
@@ -5,8 +5,10 @@ metadata: @@ -5,8 +5,10 @@ metadata:
5 type: query 5 type: query
6 description: 返回数据字典设置 6 description: 返回数据字典设置
7 payload: 7 payload:
8 - - ref: dictCode  
9 - required: true 8 + - name: dictCode
  9 + description: 字典编码
  10 + type:
  11 + primitive: string
10 result: 12 result:
11 - name: dictionary 13 - name: dictionary
12 type: 14 type:
@@ -5,8 +5,10 @@ metadata: @@ -5,8 +5,10 @@ metadata:
5 type: command 5 type: command
6 description: 移除数据字典设置 6 description: 移除数据字典设置
7 payload: 7 payload:
8 - - ref: dictionaryId  
9 - required: true 8 + - name: dictionaryId
  9 + description: 字典编号 主键
  10 + type:
  11 + primitive: int
10 result: 12 result:
11 - name: dictionary 13 - name: dictionary
12 type: 14 type:
@@ -3,12 +3,24 @@ kind: Method @@ -3,12 +3,24 @@ kind: Method
3 metadata: 3 metadata:
4 name: agreeJoinCreationProject 4 name: agreeJoinCreationProject
5 type: command 5 type: command
6 - description: 消息:共创申请审核通过 6 + description: 设置消息:共创申请审核通过
7 payload: 7 payload:
8 - name: userId 8 - name: userId
9 description: 接收方用户id 9 description: 接收方用户id
10 type: 10 type:
11 primitive: int64 11 primitive: int64
  12 + - name: userBaseId
  13 + description: 接收方用户id
  14 + type:
  15 + primitive: int64
  16 + - name: orgId
  17 + description: 接收方用户组织id
  18 + type:
  19 + primitive: int64
  20 + - name: companyId
  21 + description: 接收方用户企业id
  22 + type:
  23 + primitive: int64
12 - name: creationProjectId 24 - name: creationProjectId
13 description: 共创项目id 25 description: 共创项目id
14 type: 26 type:
@@ -22,5 +34,7 @@ metadata: @@ -22,5 +34,7 @@ metadata:
22 type: 34 type:
23 primitive: string 35 primitive: string
24 result: 36 result:
25 - - ref: noticePersonalId  
26 - required: true 37 + - name: noticePersonal
  38 + description: 个人消息
  39 + type:
  40 + schema: noticePersonal
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: creditAccountEstimate
  5 + type: command
  6 + description: 设置消息:共创申请审核通过
  7 + payload:
  8 + - name: userId
  9 + description: 接收方用户id
  10 + type:
  11 + primitive: int64
  12 + - name: userBaseId
  13 + description: 接收方用户id
  14 + type:
  15 + primitive: int64
  16 + - name: orgId
  17 + description: 接收方用户组织id
  18 + type:
  19 + primitive: int64
  20 + - name: companyId
  21 + description: 接收方用户企业id
  22 + type:
  23 + primitive: int64
  24 + - name: creditAccountOrderNum
  25 + description: 结算单号
  26 + type:
  27 + primitive: string
  28 + - name: settlementAmount
  29 + description: 结算金额
  30 + type:
  31 + primitive: string
  32 + - name: creditAccountId
  33 + description: 结算单id
  34 + type:
  35 + primitive: int64
  36 + - name: dividendsEstimateId
  37 + description: 预算单id
  38 + type:
  39 + primitive: int64
  40 + - name: dividendsEstimateOrderNumber
  41 + description: 预算单号
  42 + type:
  43 + primitive: string
  44 + result:
  45 + - name: noticePersonal
  46 + description: 个人消息
  47 + type:
  48 + schema: noticePersonal
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: creditAccountPayment
  5 + type: command
  6 + description: 设置消息:共创申请审核通过
  7 + payload:
  8 + - name: userId
  9 + description: 接收方用户id
  10 + type:
  11 + primitive: int64
  12 + - name: userBaseId
  13 + description: 接收方用户id
  14 + type:
  15 + primitive: int64
  16 + - name: orgId
  17 + description: 接收方用户组织id
  18 + type:
  19 + primitive: int64
  20 + - name: companyId
  21 + description: 接收方用户企业id
  22 + type:
  23 + primitive: int64
  24 + - name: creditAccountOrderNum
  25 + description: 结算单号
  26 + type:
  27 + primitive: string
  28 + - name: settlementAmount
  29 + description: 结算金额
  30 + type:
  31 + primitive: string
  32 + - name: creditAccountId
  33 + description: 结算单id
  34 + type:
  35 + primitive: int64
  36 + - name: actuallyPaidAmount
  37 + description: 实际结算金额
  38 + type:
  39 + primitive: string
  40 + result:
  41 + - name: noticePersonal
  42 + description: 个人消息
  43 + type:
  44 + schema: noticePersonal
@@ -20,7 +20,7 @@ metadata: @@ -20,7 +20,7 @@ metadata:
20 - name: isRead 20 - name: isRead
21 description: 是否是已读 21 description: 是否是已读
22 type: 22 type:
23 - primitive: int 23 + primitive: int64
24 result: 24 result:
25 - name: noticePersonal 25 - name: noticePersonal
26 type: 26 type:
@@ -3,10 +3,22 @@ kind: Method @@ -3,10 +3,22 @@ kind: Method
3 metadata: 3 metadata:
4 name: informExpectedDividends 4 name: informExpectedDividends
5 type: command 5 type: command
6 - description: 消息:分红预算消息 6 + description: 设置消息:分红预算消息
7 payload: 7 payload:
8 - name: userId 8 - name: userId
9 - description: 用户id 9 + description: 接收方用户id
  10 + type:
  11 + primitive: int64
  12 + - name: userBaseId
  13 + description: 接收方用户id
  14 + type:
  15 + primitive: int64
  16 + - name: orgId
  17 + description: 接收方用户组织id
  18 + type:
  19 + primitive: int64
  20 + - name: companyId
  21 + description: 接收方用户企业id
10 type: 22 type:
11 primitive: int64 23 primitive: int64
12 - name: creationProjectId 24 - name: creationProjectId
@@ -34,5 +46,7 @@ metadata: @@ -34,5 +46,7 @@ metadata:
34 type: 46 type:
35 primitive: string 47 primitive: string
36 result: 48 result:
37 - - ref: noticePersonalId  
38 - required: true 49 + - name: noticePersonal
  50 + description: 个人消息
  51 + type:
  52 + schema: noticePersonal
@@ -3,12 +3,24 @@ kind: Method @@ -3,12 +3,24 @@ kind: Method
3 metadata: 3 metadata:
4 name: informJoinCreationContract 4 name: informJoinCreationContract
5 type: command 5 type: command
6 - description: 消息:共创确认 6 + description: 设置消息:共创确认
7 payload: 7 payload:
8 - name: userId 8 - name: userId
9 description: 接收方用户id 9 description: 接收方用户id
10 type: 10 type:
11 primitive: int64 11 primitive: int64
  12 + - name: userBaseId
  13 + description: 接收方用户id
  14 + type:
  15 + primitive: int64
  16 + - name: orgId
  17 + description: 接收方用户组织id
  18 + type:
  19 + primitive: int64
  20 + - name: companyId
  21 + description: 接收方用户企业id
  22 + type:
  23 + primitive: int64
12 - name: creationProjectId 24 - name: creationProjectId
13 description: 共创项目id 25 description: 共创项目id
14 type: 26 type:
@@ -30,5 +42,7 @@ metadata: @@ -30,5 +42,7 @@ metadata:
30 type: 42 type:
31 primitive: string 43 primitive: string
32 result: 44 result:
33 - - ref: noticePersonalId  
34 - required: true 45 + - name: noticePersonal
  46 + description: 个人消息
  47 + type:
  48 + schema: noticePersonal
@@ -3,12 +3,24 @@ kind: Method @@ -3,12 +3,24 @@ kind: Method
3 metadata: 3 metadata:
4 name: refuseJoinCreationProject 4 name: refuseJoinCreationProject
5 type: command 5 type: command
6 - description: 消息:共创申请审核拒绝 6 + description: 设置消息:共创申请审核拒绝
7 payload: 7 payload:
8 - name: userId 8 - name: userId
9 description: 接收方用户id 9 description: 接收方用户id
10 type: 10 type:
11 primitive: int64 11 primitive: int64
  12 + - name: userBaseId
  13 + description: 接收方用户id
  14 + type:
  15 + primitive: int64
  16 + - name: orgId
  17 + description: 接收方用户组织id
  18 + type:
  19 + primitive: int64
  20 + - name: companyId
  21 + description: 接收方用户企业id
  22 + type:
  23 + primitive: int64
12 - name: creationProjectId 24 - name: creationProjectId
13 description: 共创项目id 25 description: 共创项目id
14 type: 26 type:
@@ -22,5 +34,7 @@ metadata: @@ -22,5 +34,7 @@ metadata:
22 type: 34 type:
23 primitive: string 35 primitive: string
24 result: 36 result:
25 - - ref: noticePersonalId  
26 - required: true 37 + - name: noticePersonal
  38 + description: 个人消息
  39 + type:
  40 + schema: noticePersonal
@@ -5,9 +5,9 @@ metadata: @@ -5,9 +5,9 @@ metadata:
5 type: command 5 type: command
6 description: 更新编排消息通知内容 6 description: 更新编排消息通知内容
7 payload: 7 payload:
8 - - name: dictionary 8 + - name: noticeSetting
9 type: 9 type:
10 - schema: dictionary 10 + schema: noticeSetting
11 required: true 11 required: true
12 result: 12 result:
13 - name: noticeSetting 13 - name: noticeSetting