|
@@ -100,7 +100,11 @@ public class IndustryApplication : IIndustryApplication, IScopeDependency
|
|
|
var outDto = industry.Adapt<IndustryDetailOutDto>();
|
|
|
outDto.Files = files.Adapt<IList<IndustryFileDto>>();
|
|
|
if (outDto.Files.NotNullOrEmpty())
|
|
|
- outDto.Files.ToList().ForEach(m => m.AdditionId = m.Key);
|
|
|
+ outDto.Files.ToList().ForEach(m =>
|
|
|
+ {
|
|
|
+ m.AdditionId = m.Key;
|
|
|
+ m.Additions = m.Key;
|
|
|
+ });
|
|
|
return outDto;
|
|
|
}
|
|
|
|