From 6f89e3d87add9ce68e39cb4be1d766dd6443deb2 Mon Sep 17 00:00:00 2001 From: zhangxiaofeng <1939543722@qq.com> Date: Mon, 8 Apr 2024 17:06:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E6=94=B6BC=E4=BF=A1=E6=81=AF=E6=8E=A8?= =?UTF-8?q?=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/BookingOrder/BookingOrderService.cs | 1 + .../Service/BookingOrder/Dto/ReceiveBcInfoDto.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs index 02d15f22..efe1ae31 100644 --- a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs +++ b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs @@ -9988,6 +9988,7 @@ namespace Myshipping.Application var files = await _bookingfile.AsQueryable().Filter(null, true).Where(x => x.BookingId == item.Id).ToListAsync(); dto.Files = files.Select(x => new ReceiveBcInfoDto.DownloadFile() { + Id = x.Id, FileName = x.FileName, FileType = x.TypeCode, FilePath = x.FilePath diff --git a/Myshipping.Application/Service/BookingOrder/Dto/ReceiveBcInfoDto.cs b/Myshipping.Application/Service/BookingOrder/Dto/ReceiveBcInfoDto.cs index 9ebeeaff..2940bc1f 100644 --- a/Myshipping.Application/Service/BookingOrder/Dto/ReceiveBcInfoDto.cs +++ b/Myshipping.Application/Service/BookingOrder/Dto/ReceiveBcInfoDto.cs @@ -17,6 +17,7 @@ namespace Myshipping.Application.Service.BookingOrder.Dto public class DownloadFile { + public long Id { get; set; } public string FileName { get; set; } public string FileType { get; set; } public string FilePath { get; set; }