作者 陈志颖

test:测试删除用户

@@ -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 {