作者 Your Name

更新

@@ -411,6 +411,7 @@ func (srv StaffAssessServeice) CreateStaffAssessTask(transactionContext applicat @@ -411,6 +411,7 @@ func (srv StaffAssessServeice) CreateStaffAssessTask(transactionContext applicat
411 if _, ok := executorIdMap[v]; ok { 411 if _, ok := executorIdMap[v]; ok {
412 continue 412 continue
413 } 413 }
  414 + executorIdMap[v] = struct{}{}
414 executorIds = append(executorIds, v) 415 executorIds = append(executorIds, v)
415 } 416 }
416 assessTaskData.ExecutorId = executorIds 417 assessTaskData.ExecutorId = executorIds
@@ -434,6 +435,7 @@ func (srv StaffAssessServeice) CreateStaffAssessTask(transactionContext applicat @@ -434,6 +435,7 @@ func (srv StaffAssessServeice) CreateStaffAssessTask(transactionContext applicat
434 if _, ok := executorIdMap[v]; ok { 435 if _, ok := executorIdMap[v]; ok {
435 continue 436 continue
436 } 437 }
  438 + executorIdMap[v] = struct{}{}
437 executorIds = append(executorIds, v) 439 executorIds = append(executorIds, v)
438 } 440 }
439 assessTaskData.ExecutorId = executorIds 441 assessTaskData.ExecutorId = executorIds