作者 陈志颖

test:测试删除用户

... ... @@ -361,8 +361,12 @@ func (service SyncEmployeeService) deleteEmployeeData(data DeleteUserData) error
} else {
columnSettingRepository = value
}
var ids []int64
for _, d := range data.Ids {
ids = append(ids, d)
}
_, columnSettingsFound, err := columnSettingRepository.Find(domain.ColumnSettingFindQuery{
Ids: data.Ids,
Ids: ids,
CompanyId: int(data.CompanyId),
})
if err != nil {
... ...