正在显示
1 个修改的文件
包含
5 行增加
和
1 行删除
@@ -361,8 +361,12 @@ func (service SyncEmployeeService) deleteEmployeeData(data DeleteUserData) error | @@ -361,8 +361,12 @@ func (service SyncEmployeeService) deleteEmployeeData(data DeleteUserData) error | ||
361 | } else { | 361 | } else { |
362 | columnSettingRepository = value | 362 | columnSettingRepository = value |
363 | } | 363 | } |
364 | + var ids []int64 | ||
365 | + for _, d := range data.Ids { | ||
366 | + ids = append(ids, d) | ||
367 | + } | ||
364 | _, columnSettingsFound, err := columnSettingRepository.Find(domain.ColumnSettingFindQuery{ | 368 | _, columnSettingsFound, err := columnSettingRepository.Find(domain.ColumnSettingFindQuery{ |
365 | - Ids: data.Ids, | 369 | + Ids: ids, |
366 | CompanyId: int(data.CompanyId), | 370 | CompanyId: int(data.CompanyId), |
367 | }) | 371 | }) |
368 | if err != nil { | 372 | if err != nil { |
-
请 注册 或 登录 后发表评论