|
|
@ -75,7 +75,10 @@ namespace Myshipping.Application
|
|
|
|
.Map(dest => dest.Id, src => src.Id)
|
|
|
|
.Map(dest => dest.Id, src => src.Id)
|
|
|
|
.Map(dest => dest.ContractNo, src => src.CONTRACT_NO)
|
|
|
|
.Map(dest => dest.ContractNo, src => src.CONTRACT_NO)
|
|
|
|
.Map(dest => dest.ContractName, src => src.CONTRACT_NAME)
|
|
|
|
.Map(dest => dest.ContractName, src => src.CONTRACT_NAME)
|
|
|
|
.Map(dest => dest.ContractNote, src => src.CONTRACT_NOTE);
|
|
|
|
.Map(dest => dest.ContractNote, src => src.CONTRACT_NOTE)
|
|
|
|
|
|
|
|
.Map(dest => dest.LaneCode, src => src.LANE_CODE)
|
|
|
|
|
|
|
|
.Map(dest => dest.PODCode, src => src.POD_CODE)
|
|
|
|
|
|
|
|
.Map(dest => dest.CarrierCode, src => src.CARRIER_CODE);
|
|
|
|
|
|
|
|
|
|
|
|
config.ForType<ParaContractNoInfo, ParaContractNoShowDto>()
|
|
|
|
config.ForType<ParaContractNoInfo, ParaContractNoShowDto>()
|
|
|
|
.Map(dest => dest.Id, src => src.Id)
|
|
|
|
.Map(dest => dest.Id, src => src.Id)
|
|
|
@ -87,14 +90,20 @@ namespace Myshipping.Application
|
|
|
|
.Map(dest => dest.CreateTime, src => src.CreatedTime)
|
|
|
|
.Map(dest => dest.CreateTime, src => src.CreatedTime)
|
|
|
|
.Map(dest => dest.UpdateUserId, src => src.UpdatedUserId)
|
|
|
|
.Map(dest => dest.UpdateUserId, src => src.UpdatedUserId)
|
|
|
|
.Map(dest => dest.UpdateUserName, src => src.UpdatedUserName)
|
|
|
|
.Map(dest => dest.UpdateUserName, src => src.UpdatedUserName)
|
|
|
|
.Map(dest => dest.UpdateTime, src => src.UpdatedTime.HasValue ? src.UpdatedTime.Value.ToString("yyyy-MM-dd HH:mm:ss") : "");
|
|
|
|
.Map(dest => dest.UpdateTime, src => src.UpdatedTime.HasValue ? src.UpdatedTime.Value.ToString("yyyy-MM-dd HH:mm:ss") : "")
|
|
|
|
|
|
|
|
.Map(dest => dest.LaneCode, src => src.LANE_CODE)
|
|
|
|
|
|
|
|
.Map(dest => dest.PODCode, src => src.POD_CODE)
|
|
|
|
|
|
|
|
.Map(dest => dest.CarrierCode, src => src.CARRIER_CODE);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.ForType<ParaContractNoDto, ParaContractNoInfo>()
|
|
|
|
config.ForType<ParaContractNoDto, ParaContractNoInfo>()
|
|
|
|
.Map(dest => dest.Id, src => !string.IsNullOrWhiteSpace(src.Id) ? long.Parse(src.Id) : 0)
|
|
|
|
.Map(dest => dest.Id, src => !string.IsNullOrWhiteSpace(src.Id) ? long.Parse(src.Id) : 0)
|
|
|
|
.Map(dest => dest.CONTRACT_NO, src => src.ContractNo)
|
|
|
|
.Map(dest => dest.CONTRACT_NO, src => src.ContractNo)
|
|
|
|
.Map(dest => dest.CONTRACT_NAME, src => src.ContractName)
|
|
|
|
.Map(dest => dest.CONTRACT_NAME, src => src.ContractName)
|
|
|
|
.Map(dest => dest.CONTRACT_NOTE, src => src.ContractNote);
|
|
|
|
.Map(dest => dest.CONTRACT_NOTE, src => src.ContractNote)
|
|
|
|
|
|
|
|
.Map(dest => dest.LANE_CODE, src => src.LaneCode)
|
|
|
|
|
|
|
|
.Map(dest => dest.POD_CODE, src => src.PODCode)
|
|
|
|
|
|
|
|
.Map(dest => dest.CARRIER_CODE, src => src.CarrierCode);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|