正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -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()) |
-
请 注册 或 登录 后发表评论