增加海运出口订单映射规则

usertest
嵇文龙 3 months ago
parent a8b28a6809
commit ef2c7af788

@ -1,10 +1,4 @@
using System; namespace DS.Module.DjyRulesEngine
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.Module.DjyRulesEngine
{ {
/// <summary> /// <summary>
/// ///
@ -31,7 +25,10 @@ namespace DS.Module.DjyRulesEngine
/// 客户合同号 /// 客户合同号
/// </summary> /// </summary>
public string ServContrNo { get; set; } public string ServContrNo { get; set; }
/// <summary>
/// 运费协议号(约号)
/// </summary>
public string ContractNo { get; set; }
/// <summary> /// <summary>
/// 发货人代码 /// 发货人代码
/// </summary> /// </summary>

@ -207,6 +207,7 @@ public partial class SeaExportService : ISeaExportService
//映射规则引擎 //映射规则引擎
TypeAdapterConfig<SeaExport, RulesEngineOrderBookingMainBusinessInfo> TypeAdapterConfig<SeaExport, RulesEngineOrderBookingMainBusinessInfo>
.NewConfig() .NewConfig()
.Map(dto => dto.ContrNo, poco => poco.ContractNo)
.Map(dto => dto.MasterBlNo, poco => poco.MBLNO) .Map(dto => dto.MasterBlNo, poco => poco.MBLNO)
.Map(dto => dto.HouseBlNo, poco => poco.HBLNO) .Map(dto => dto.HouseBlNo, poco => poco.HBLNO)
.Map(dto => dto.BookingNo, poco => poco.BookingNo) .Map(dto => dto.BookingNo, poco => poco.BookingNo)

Loading…
Cancel
Save