...
|
...
|
@@ -53,7 +53,7 @@ func (srv CooperationProjectService) GetCooperationProject(projectQuery *command |
|
|
// UpdateCooperationProject 更新项目
|
|
|
func (srv CooperationProjectService) UpdateCooperationProject(updateCooperationProjectCommand *command.UpdateCooperationProjectCommand) (interface{}, error) {
|
|
|
creationCooperationGateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(updateCooperationProjectCommand.Operator)
|
|
|
_, err := creationCooperationGateway.CooperationProjectUpdate(allied_creation_cooperation.ReqCooperationProjectUpdate{
|
|
|
data, err := creationCooperationGateway.CooperationProjectUpdate(allied_creation_cooperation.ReqCooperationProjectUpdate{
|
|
|
CooperationProjectId: updateCooperationProjectCommand.CooperationProjectId,
|
|
|
CooperationProjectName: updateCooperationProjectCommand.CooperationProjectName,
|
|
|
CooperationModeNumber: updateCooperationProjectCommand.CooperationModeNumber,
|
...
|
...
|
@@ -67,7 +67,7 @@ func (srv CooperationProjectService) UpdateCooperationProject(updateCooperationP |
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
|
|
}
|
|
|
return updateCooperationProjectCommand, nil
|
|
|
return data, nil
|
|
|
}
|
|
|
|
|
|
// EndCooperationProject 企业结束共创项目
|
...
|
...
|
|