diff --git a/Myshipping.Application/ConfigOption/Mapper.cs b/Myshipping.Application/ConfigOption/Mapper.cs index d467a682..fa182799 100644 --- a/Myshipping.Application/ConfigOption/Mapper.cs +++ b/Myshipping.Application/ConfigOption/Mapper.cs @@ -33,6 +33,11 @@ namespace Myshipping.Application config.ForType() .Map(dest => dest.CreatedTime, src => src.CreatedTime.HasValue ? src.CreatedTime.Value.ToString("yyyy-MM-dd HH:mm:ss") : string.Empty); + + + config.ForType() + .Map(dest => dest.CreatedTime, src => src.CreatedTime.HasValue ? src.CreatedTime.Value.ToString("yyyy-MM-dd HH:mm:ss") : null) + .Map(dest => dest.UpdatedTime, src => src.UpdatedTime.HasValue ? src.UpdatedTime.Value.ToString("yyyy-MM-dd HH:mm:ss") : null); } } } \ No newline at end of file diff --git a/Myshipping.Application/Entity/BookingOrder.cs b/Myshipping.Application/Entity/BookingOrder.cs index 31672055..c1b4a498 100644 --- a/Myshipping.Application/Entity/BookingOrder.cs +++ b/Myshipping.Application/Entity/BookingOrder.cs @@ -1025,5 +1025,30 @@ namespace Myshipping.Application.Entity /// [Description("删除时间")] public DateTime? DeleteTime { get; set; } + + /// + /// 起运港唯一代码 + /// + public string PORTLOADCODE { get; set; } + + /// + /// 目的港唯一代码 + /// + public string PORTDISCHARGECODE { get; set; } + + /// + /// 目的地唯一代码 + /// + public string DESTINATIONCODE { get; set; } + + /// + /// 付费方式代码 + /// + public string FRTCODE { get; set; } + + /// + /// 运输条款代码 + /// + public string SERVICECODE { get; set; } } } \ No newline at end of file diff --git a/Myshipping.Application/Service/BookingOrder/Dto/BookingOrderDto.cs b/Myshipping.Application/Service/BookingOrder/Dto/BookingOrderDto.cs index 1ced0a2e..1c74b850 100644 --- a/Myshipping.Application/Service/BookingOrder/Dto/BookingOrderDto.cs +++ b/Myshipping.Application/Service/BookingOrder/Dto/BookingOrderDto.cs @@ -827,6 +827,32 @@ namespace Myshipping.Application /// public decimal CtrnHeight { get; set; } + + /// + /// 起运港唯一代码 + /// + public string PORTLOADCODE { get; set; } + + /// + /// 目的港唯一代码 + /// + public string PORTDISCHARGECODE { get; set; } + + /// + /// 目的地唯一代码 + /// + public string DESTINATIONCODE { get; set; } + + /// + /// 付费方式代码 + /// + public string FRTCODE { get; set; } + + /// + /// 运输条款代码 + /// + public string SERVICECODE { get; set; } + /// /// 扩展状态 /// diff --git a/Myshipping.Application/Service/BookingOrder/Dto/SyncCustomerDto.cs b/Myshipping.Application/Service/BookingOrder/Dto/SyncCustomerDto.cs index c15ebbda..d27fdc34 100644 --- a/Myshipping.Application/Service/BookingOrder/Dto/SyncCustomerDto.cs +++ b/Myshipping.Application/Service/BookingOrder/Dto/SyncCustomerDto.cs @@ -255,6 +255,31 @@ namespace Myshipping.Application.Service.BookingOrder.Dto /// 订舱编号 /// public string CUSTNO { get; set; } + + /// + /// 起运港唯一代码 + /// + public string PORTLOADCODE { get; set; } + + /// + /// 目的港唯一代码 + /// + public string PORTDISCHARGECODE { get; set; } + + /// + /// 目的地唯一代码 + /// + public string DESTINATIONCODE { get; set; } + + /// + /// 付费方式代码 + /// + public string FRTCODE { get; set; } + + /// + /// 运输条款代码 + /// + public string SERVICECODE { get; set; } } /// diff --git a/Myshipping.Application/Service/BookingSoTemplate/Dto/BookingSoTemplateOutput.cs b/Myshipping.Application/Service/BookingSoTemplate/Dto/BookingSoTemplateOutput.cs index 6e6b12ac..faa120a3 100644 --- a/Myshipping.Application/Service/BookingSoTemplate/Dto/BookingSoTemplateOutput.cs +++ b/Myshipping.Application/Service/BookingSoTemplate/Dto/BookingSoTemplateOutput.cs @@ -1,4 +1,5 @@ using System; +using System.ComponentModel.DataAnnotations; namespace Myshipping.Application { @@ -7,6 +8,25 @@ namespace Myshipping.Application /// public class BookingSoTemplateListOutput : BookingSoTemplateDto { + /// + /// 创建时间 + /// + public virtual string CreatedTime { get; set; } + + /// + /// 更新时间 + /// + public virtual string UpdatedTime { get; set; } + + /// + /// 创建者名称 + /// + public virtual string CreatedUserName { get; set; } + + /// + /// 修改者名称 + /// + public virtual string UpdatedUserName { get; set; } }