作者 yangfu

共创项目详情功能修改

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