fix(88633): 标准主计划导出问题

This commit is contained in:
yjz
2024-08-15 09:40:48 +08:00
parent 6f0c983046
commit 7a9cd519e0
@@ -660,8 +660,10 @@ public class LawsStandardMasterPlanServiceImpl
} }
if (StringUtils.isNotBlank(v.getDeliverableFileId())){ if (StringUtils.isNotBlank(v.getDeliverableFileId())){
OSSFile ossFile = ossFileService.getById(v.getDeliverableFileId()); OSSFile ossFile = ossFileService.getById(v.getDeliverableFileId());
if (!Objects.isNull(ossFile)){
lm.put("deliverableFileId8", ossFile.getFileName()); lm.put("deliverableFileId8", ossFile.getFileName());
} }
}
}); });
} }
@@ -684,8 +686,10 @@ public class LawsStandardMasterPlanServiceImpl
} }
if (StringUtils.isNotBlank(v.getDeliverableFileId())){ if (StringUtils.isNotBlank(v.getDeliverableFileId())){
OSSFile ossFile = ossFileService.getById(v.getDeliverableFileId()); OSSFile ossFile = ossFileService.getById(v.getDeliverableFileId());
if (!Objects.isNull(ossFile)){
lm.put("deliverableFileId7", ossFile.getFileName()); lm.put("deliverableFileId7", ossFile.getFileName());
} }
}
}); });
} }
@@ -708,11 +712,9 @@ public class LawsStandardMasterPlanServiceImpl
} }
if (StringUtils.isNotBlank(v.getDeliverableFileId())){ if (StringUtils.isNotBlank(v.getDeliverableFileId())){
OSSFile ossFile = ossFileService.getById(v.getDeliverableFileId()); OSSFile ossFile = ossFileService.getById(v.getDeliverableFileId());
if (!Objects.isNull(ossFile)){
lm.put("deliverableFileId6", ossFile.getFileName()); lm.put("deliverableFileId6", ossFile.getFileName());
} }
if (StringUtils.isNotBlank(v.getDeliverableFileId())){
OSSFile ossFile = ossFileService.getById(v.getDeliverableFileId());
lm.put("deliverableFileId62", ossFile.getFileName());
} }
}); });
} }
@@ -736,8 +738,10 @@ public class LawsStandardMasterPlanServiceImpl
} }
if (StringUtils.isNotBlank(v.getDeliverableFileId())){ if (StringUtils.isNotBlank(v.getDeliverableFileId())){
OSSFile ossFile = ossFileService.getById(v.getDeliverableFileId()); OSSFile ossFile = ossFileService.getById(v.getDeliverableFileId());
if (!Objects.isNull(ossFile)){
lm.put("deliverableFileId5", ossFile.getFileName()); lm.put("deliverableFileId5", ossFile.getFileName());
} }
}
}); });
} }
@@ -774,8 +778,10 @@ public class LawsStandardMasterPlanServiceImpl
} }
if (StringUtils.isNotBlank(v.getDeliverableFileId())){ if (StringUtils.isNotBlank(v.getDeliverableFileId())){
OSSFile ossFile = ossFileService.getById(v.getDeliverableFileId()); OSSFile ossFile = ossFileService.getById(v.getDeliverableFileId());
if (!Objects.isNull(ossFile)){
lm.put("deliverableFileId1", ossFile.getFileName()); lm.put("deliverableFileId1", ossFile.getFileName());
} }
}
}); });
} }
@@ -798,8 +804,10 @@ public class LawsStandardMasterPlanServiceImpl
} }
if (StringUtils.isNotBlank(v.getDeliverableFileId())){ if (StringUtils.isNotBlank(v.getDeliverableFileId())){
OSSFile ossFile = ossFileService.getById(v.getDeliverableFileId()); OSSFile ossFile = ossFileService.getById(v.getDeliverableFileId());
if (!Objects.isNull(ossFile)){
lm.put("deliverableFileId4", ossFile.getFileName()); lm.put("deliverableFileId4", ossFile.getFileName());
} }
}
}); });
} }
@@ -821,8 +829,10 @@ public class LawsStandardMasterPlanServiceImpl
} }
if (StringUtils.isNotBlank(v.getDeliverableFileId())){ if (StringUtils.isNotBlank(v.getDeliverableFileId())){
OSSFile ossFile = ossFileService.getById(v.getDeliverableFileId()); OSSFile ossFile = ossFileService.getById(v.getDeliverableFileId());
if (!Objects.isNull(ossFile)){
lm.put("deliverableFileId3", ossFile.getFileName()); lm.put("deliverableFileId3", ossFile.getFileName());
} }
}
}); });
} }