|
|
@@ -4,6 +4,7 @@ import { DisabledBankCard } from '../entities/disabled-bank-card.entity';
|
|
|
import { DisabledPhoto } from '../entities/disabled-photo.entity';
|
|
|
import { DisabledRemark } from '../entities/disabled-remark.entity';
|
|
|
import { DisabledVisit } from '../entities/disabled-visit.entity';
|
|
|
+import { DisabledPersonGuardianPhone } from '../entities/disabled-person-guardian-phone.entity';
|
|
|
import { File } from '@d8d/file-module';
|
|
|
import { CreateAggregatedDisabledPersonDto } from '../schemas/disabled-person.schema';
|
|
|
import { DisabledPersonService } from './disabled-person.service';
|
|
|
@@ -165,6 +166,7 @@ export class AggregatedService {
|
|
|
photos: DisabledPhoto[];
|
|
|
remarks: DisabledRemark[];
|
|
|
visits: DisabledVisit[];
|
|
|
+ guardianPhones: DisabledPersonGuardianPhone[];
|
|
|
success: boolean;
|
|
|
}> {
|
|
|
// 查询残疾人基本信息(包含关联数据)
|
|
|
@@ -180,6 +182,7 @@ export class AggregatedService {
|
|
|
photos: person.photos || [],
|
|
|
remarks: person.remarks || [],
|
|
|
visits: person.visits || [],
|
|
|
+ guardianPhones: person.guardianPhones || [],
|
|
|
success: true
|
|
|
};
|
|
|
}
|