作者 陈志颖

fix:去除取消申请后更新申请人统计

@@ -859,7 +859,7 @@ func (cooperationApplicationService *CooperationApplicationService) CancelCooper @@ -859,7 +859,7 @@ func (cooperationApplicationService *CooperationApplicationService) CancelCooper
859 return nil, application.ThrowError(application.RES_NO_FIND_ERROR, fmt.Sprintf("共创项目%s不存在", strconv.FormatInt(cooperationApplicationSaved.CooperationProject.CooperationProjectId, 10))) 859 return nil, application.ThrowError(application.RES_NO_FIND_ERROR, fmt.Sprintf("共创项目%s不存在", strconv.FormatInt(cooperationApplicationSaved.CooperationProject.CooperationProjectId, 10)))
860 } 860 }
861 // 更新共创项目申请统计 861 // 更新共创项目申请统计
862 - cooperationProject.ApplicantCount = cooperationProject.ApplicantCount - 1 862 + //cooperationProject.ApplicantCount = cooperationProject.ApplicantCount - 1
863 if _, err := cooperationProjectRepository.Save(cooperationProject); err != nil { 863 if _, err := cooperationProjectRepository.Save(cooperationProject); err != nil {
864 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) 864 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
865 } 865 }