|
|
@@ -162,17 +162,6 @@ export class DisabledPersonService extends GenericCrudService<DisabledPerson> {
|
|
|
this.visitRepository.find({ where: { personId: In(personIds) } })
|
|
|
]);
|
|
|
|
|
|
- // 为每个照片获取文件URL
|
|
|
- for (const photo of photos) {
|
|
|
- if (photo.file) {
|
|
|
- try {
|
|
|
- const url = await photo.file.fullUrl;
|
|
|
- (photo as any).fileUrl = url;
|
|
|
- } catch (error) {
|
|
|
- console.error('获取文件URL失败:', error);
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
|
|
|
// 将关联数据分组到对应的残疾人
|
|
|
const bankCardsMap = new Map<number, DisabledBankCard[]>();
|