作者 陈志颖

合并分支 'dev' 到 'test'

fix:调整批量删除参数



查看合并请求 !56
@@ -59,8 +59,8 @@ type EmployeeData struct { @@ -59,8 +59,8 @@ type EmployeeData struct {
59 59
60 //DeleteUserData 批量删除用户 60 //DeleteUserData 批量删除用户
61 type DeleteUserData struct { 61 type DeleteUserData struct {
62 - CompanyId int64 `json:"companyId"`  
63 - Ids []int64 `json:"ids"` 62 + //CompanyId int64 `json:"companyId"`
  63 + Ids []int64 `json:"ids"`
64 } 64 }
65 65
66 //ForbidAllowUserData 禁用启用用户 66 //ForbidAllowUserData 禁用启用用户
@@ -404,8 +404,8 @@ func (service SyncEmployeeService) deleteEmployeeData(data DeleteUserData) error @@ -404,8 +404,8 @@ func (service SyncEmployeeService) deleteEmployeeData(data DeleteUserData) error
404 ids = append(ids, d) 404 ids = append(ids, d)
405 } 405 }
406 _, columnSettingsFound, err := columnSettingRepository.Find(domain.ColumnSettingFindQuery{ 406 _, columnSettingsFound, err := columnSettingRepository.Find(domain.ColumnSettingFindQuery{
407 - Ids: ids,  
408 - CompanyId: int(data.CompanyId), 407 + Ids: ids,
  408 + //CompanyId: int(data.CompanyId),
409 }) 409 })
410 if err != nil { 410 if err != nil {
411 return lib.ThrowError(lib.INTERNAL_SERVER_ERROR, err.Error()) 411 return lib.ThrowError(lib.INTERNAL_SERVER_ERROR, err.Error())