作者 tangxuhui

修复错误

@@ -15,7 +15,7 @@ type UpdateCooperationProjectCommand struct { @@ -15,7 +15,7 @@ type UpdateCooperationProjectCommand struct {
15 // 模式编码,唯一确定 15 // 模式编码,唯一确定
16 CooperationModeNumber string `json:"cooperationModeNumber" valid:"Required"` 16 CooperationModeNumber string `json:"cooperationModeNumber" valid:"Required"`
17 // 组织ID 17 // 组织ID
18 - OrgId int64 `json:"departmentId" valid:"Required"` 18 + OrgId int `json:"departmentId" valid:"Required"`
19 // 共创项目名称 19 // 共创项目名称
20 CooperationProjectName string `json:"cooperationProjectName" valid:"Required"` 20 CooperationProjectName string `json:"cooperationProjectName" valid:"Required"`
21 // 共创发起人id 21 // 共创发起人id
@@ -80,7 +80,7 @@ func (srv CooperationProjectService) UpdateCooperationProject(updateCooperationP @@ -80,7 +80,7 @@ func (srv CooperationProjectService) UpdateCooperationProject(updateCooperationP
80 PublisherUid: strconv.Itoa(int(updateCooperationProjectCommand.Operator.UserId)), 80 PublisherUid: strconv.Itoa(int(updateCooperationProjectCommand.Operator.UserId)),
81 CooperationProjectDescription: updateCooperationProjectCommand.CooperationProjectDescription, 81 CooperationProjectDescription: updateCooperationProjectCommand.CooperationProjectDescription,
82 Attachment: updateCooperationProjectCommand.Attachment, 82 Attachment: updateCooperationProjectCommand.Attachment,
83 - OrgId: updateCooperationProjectCommand.OrgId, 83 + DepartmentId: updateCooperationProjectCommand.OrgId,
84 }) 84 })
85 if err != nil { 85 if err != nil {
86 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error()) 86 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())