...
|
...
|
@@ -59,7 +59,7 @@ type EmployeeData struct { |
|
|
|
|
|
//DeleteUserData 批量删除用户
|
|
|
type DeleteUserData struct {
|
|
|
CompanyId int64 `json:"companyId"`
|
|
|
//CompanyId int64 `json:"companyId"`
|
|
|
Ids []int64 `json:"ids"`
|
|
|
}
|
|
|
|
...
|
...
|
@@ -405,7 +405,7 @@ func (service SyncEmployeeService) deleteEmployeeData(data DeleteUserData) error |
|
|
}
|
|
|
_, columnSettingsFound, err := columnSettingRepository.Find(domain.ColumnSettingFindQuery{
|
|
|
Ids: ids,
|
|
|
CompanyId: int(data.CompanyId),
|
|
|
//CompanyId: int(data.CompanyId),
|
|
|
})
|
|
|
if err != nil {
|
|
|
return lib.ThrowError(lib.INTERNAL_SERVER_ERROR, err.Error())
|
...
|
...
|
|