作者 Your Name

调整

@@ -356,7 +356,7 @@ func (srv StaffAssessServeice) CreateStaffAssessTask(param *command.CreateStaffA @@ -356,7 +356,7 @@ func (srv StaffAssessServeice) CreateStaffAssessTask(param *command.CreateStaffA
356 var assessTaskData *domain.StaffAssessTask 356 var assessTaskData *domain.StaffAssessTask
357 _, assassessTaskList, err := assessTaskRepo.Find(map[string]interface{}{ 357 _, assassessTaskList, err := assessTaskRepo.Find(map[string]interface{}{
358 "evaluationProjectId": param.EvaluationProjectId, 358 "evaluationProjectId": param.EvaluationProjectId,
359 - "beginDay": param.BeginTime, 359 + "beginDay": taskBeginTime.Local().Format("2006-01-02"),
360 }) 360 })
361 if err != nil { 361 if err != nil {
362 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "查询同日期已存在评估任务"+err.Error()) 362 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "查询同日期已存在评估任务"+err.Error())