作者 tangxvhui

更新

@@ -747,9 +747,9 @@ func (rs *EvaluationProjectService) Resume(in *command.ActivateProjectCommand) ( @@ -747,9 +747,9 @@ func (rs *EvaluationProjectService) Resume(in *command.ActivateProjectCommand) (
747 if project.State == domain.ProjectStateEnable { 747 if project.State == domain.ProjectStateEnable {
748 return nil, application.ThrowError(application.BUSINESS_ERROR, "项目已启动") 748 return nil, application.ThrowError(application.BUSINESS_ERROR, "项目已启动")
749 } 749 }
750 - if project.State == domain.ProjectStatePause {  
751 - return nil, application.ThrowError(application.BUSINESS_ERROR, "项目暂停中,先进行恢复")  
752 - } 750 + // if project.State == domain.ProjectStatePause {
  751 + // return nil, application.ThrowError(application.BUSINESS_ERROR, "项目暂停中,先进行恢复")
  752 + // }
753 753
754 // 周期内的所有项目,已启用的员工不能重复被评估 754 // 周期内的所有项目,已启用的员工不能重复被评估
755 _, projects, err := projectRepository.Find(map[string]interface{}{"companyId": project.CompanyId, "cycleId": project.CycleId}, "template") 755 _, projects, err := projectRepository.Find(map[string]interface{}{"companyId": project.CompanyId, "cycleId": project.CycleId}, "template")