|
|
@ -962,11 +962,13 @@ func (this *MatterService) WrapParentDetail(request *http.Request, matter *Matte |
|
|
|
|
|
|
|
|
puuid := matter.Puuid |
|
|
puuid := matter.Puuid |
|
|
tmpMatter := matter |
|
|
tmpMatter := matter |
|
|
for puuid != MATTER_ROOT { |
|
|
if matter.Uuid != MATTER_ROOT { |
|
|
pFile := this.matterDao.CheckByUuid(puuid) |
|
|
for puuid != MATTER_ROOT { |
|
|
tmpMatter.Parent = pFile |
|
|
pFile := this.matterDao.CheckByUuid(puuid) |
|
|
tmpMatter = pFile |
|
|
tmpMatter.Parent = pFile |
|
|
puuid = pFile.Puuid |
|
|
tmpMatter = pFile |
|
|
|
|
|
puuid = pFile.Puuid |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return matter |
|
|
return matter |
|
|
|