切换导航条
此项目
正在载入...
登录
allied-creation
/
allied-creation-gateway
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
yangfu
3 years ago
提交
960f86bda1a082e85492892a9df776fb744e7a63
1 个父辈
704855e7
序列化修改
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
5 行增加
和
0 行删除
pkg/application/mobile/cooperation/command/uf_create_feedbacks.go
pkg/application/mobile/cooperation/service/undertaker_feedbacks.go
pkg/infrastructure/service_gateway/allied_creation_cooperation/param_contract_undertaker_feedback.go
pkg/application/mobile/cooperation/command/uf_create_feedbacks.go
查看文件 @
960f86b
...
...
@@ -16,6 +16,8 @@ type CreateFeedbackCommand struct {
FeedbackContent
string
`cname:"合约承接方反馈内容" json:"feedbackContent" valid:"Required"`
// 共创合约编号
CooperationContractNumber
string
`cname:"共创合约编号" json:"cooperationContractNumber" valid:"Required"`
// 共创合约Id
CooperationContractId
int64
`cname:"共创合约编号" json:"cooperationContractId"`
}
func
(
cmd
*
CreateFeedbackCommand
)
Valid
(
validation
*
validation
.
Validation
)
{
...
...
pkg/application/mobile/cooperation/service/undertaker_feedbacks.go
查看文件 @
960f86b
...
...
@@ -36,6 +36,7 @@ func (srv UndertakerFeedbackService) CreateFeedback(cmd *command.CreateFeedbackC
FeedbackContent
:
cmd
.
FeedbackContent
,
CooperationContractNumber
:
cmd
.
CooperationContractNumber
,
UnderTakerUid
:
cmd
.
Operator
.
UserId
,
CooperationContractId
:
cmd
.
CooperationContractId
,
})
if
err
!=
nil
{
return
nil
,
application
.
ThrowError
(
application
.
BUSINESS_ERROR
,
err
.
Error
())
...
...
pkg/infrastructure/service_gateway/allied_creation_cooperation/param_contract_undertaker_feedback.go
查看文件 @
960f86b
...
...
@@ -13,6 +13,8 @@ type (
// 合约承接方反馈内容
FeedbackContent
string
`cname:"合约承接方反馈内容" json:"feedbackContent" valid:"Required"`
// 共创合约编号
CooperationContractId
int64
`cname:"共创合约编号" json:"cooperationContractId"`
// 共创合约编号
CooperationContractNumber
string
`cname:"共创合约编号" json:"cooperationContractNumber" valid:"Required"`
// 承接人uid
UnderTakerUid
int64
`cname:"承接人uid" json:"underTakerUid,string,omitempty"`
...
...
请
注册
或
登录
后发表评论