作者 陈志颖

fix:调整批量删除参数

@@ -59,7 +59,7 @@ type EmployeeData struct { @@ -59,7 +59,7 @@ type EmployeeData struct {
59 59
60 //DeleteUserData 批量删除用户 60 //DeleteUserData 批量删除用户
61 type DeleteUserData struct { 61 type DeleteUserData struct {
62 - CompanyId int64 `json:"companyId"` 62 + //CompanyId int64 `json:"companyId"`
63 Ids []int64 `json:"ids"` 63 Ids []int64 `json:"ids"`
64 } 64 }
65 65
@@ -405,7 +405,7 @@ func (service SyncEmployeeService) deleteEmployeeData(data DeleteUserData) error @@ -405,7 +405,7 @@ func (service SyncEmployeeService) deleteEmployeeData(data DeleteUserData) error
405 } 405 }
406 _, columnSettingsFound, err := columnSettingRepository.Find(domain.ColumnSettingFindQuery{ 406 _, columnSettingsFound, err := columnSettingRepository.Find(domain.ColumnSettingFindQuery{
407 Ids: ids, 407 Ids: ids,
408 - CompanyId: int(data.CompanyId), 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())