feat: update ppid data categories
This commit is contained in:
parent
74bf64bbd7
commit
ae3a6653ac
|
|
@ -75,7 +75,11 @@ func (_i *ppidDataCategoriesService) All(req request.PpidDataCategoriesQueryRequ
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, result := range results {
|
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
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue