作者 yangfu

共创项目详情功能修改

@@ -225,7 +225,7 @@ func (ptr *CooperationStatisticsService) PersonCooperationProjectSharedInfo(quer @@ -225,7 +225,7 @@ func (ptr *CooperationStatisticsService) PersonCooperationProjectSharedInfo(quer
225 updateAt = project.CreatedAt 225 updateAt = project.CreatedAt
226 } 226 }
227 response.Project = map[string]interface{}{ 227 response.Project = map[string]interface{}{
228 - "cooperationProjectId": project.CooperationProjectId, 228 + "cooperationProjectId": fmt.Sprintf("%v", project.CooperationProjectId),
229 "attachment": project.Attachment, 229 "attachment": project.Attachment,
230 "cooperationProjectDescription": project.CooperationProjectDescription, 230 "cooperationProjectDescription": project.CooperationProjectDescription,
231 "cooperationProjectName": project.CooperationProjectName, 231 "cooperationProjectName": project.CooperationProjectName,
@@ -305,7 +305,7 @@ func (ptr *CooperationStatisticsService) PersonCooperationProjectSharedInfo(quer @@ -305,7 +305,7 @@ func (ptr *CooperationStatisticsService) PersonCooperationProjectSharedInfo(quer
305 } 305 }
306 if v1, ok := mapContract[v.CooperationContractNumber()]; ok { 306 if v1, ok := mapContract[v.CooperationContractNumber()]; ok {
307 v.Contract = map[string]interface{}{ 307 v.Contract = map[string]interface{}{
308 - "cooperationContractId": v1.CooperationContractId, 308 + "cooperationContractId": fmt.Sprintf("%v", v1.CooperationContractId),
309 "cooperationContractName": v1.CooperationContractName, 309 "cooperationContractName": v1.CooperationContractName,
310 "status": v1.Status, 310 "status": v1.Status,
311 } 311 }