正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
@@ -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 |
-
请 注册 或 登录 后发表评论