feat: update ppid data categories
This commit is contained in:
parent
37882c3cbe
commit
b59c54fdc6
|
|
@ -75,7 +75,11 @@ func (_i *ppidDataCategoriesService) All(req request.PpidDataCategoriesQueryRequ
|
|||
}
|
||||
|
||||
for _, result := range results {
|
||||
ppidDataCategories = append(ppidDataCategories, mapper.PpidDataCategoriesResponseMapper(result, nil))
|
||||
req := request.PpidDataCategoriesQueryRequest{
|
||||
ParentId: &result.ID,
|
||||
}
|
||||
subResult, _, _ := _i.Repo.GetAllNonPage(req)
|
||||
ppidDataCategories = append(ppidDataCategories, mapper.PpidDataCategoriesResponseMapper(result, subResult))
|
||||
}
|
||||
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in New Issue