...
|
...
|
@@ -463,8 +463,8 @@ loop: |
|
|
|
|
|
// 添加节点任务
|
|
|
func (srv StaffAssessServeice) createStaffAssess(transactionContext application.TransactionContext, param *domain.StaffAssessTask) ([]domain.StaffAssess, error) {
|
|
|
//评估的参与人
|
|
|
selfUserId := []int{}
|
|
|
|
|
|
selfUserId := []int{} //评估的参与人
|
|
|
userIdMap := map[int]struct{}{} //过滤重复的用户
|
|
|
for _, v := range param.ExecutorId {
|
|
|
if _, ok := userIdMap[v]; ok {
|
...
|
...
|
|