|
|
@ -84,6 +84,8 @@ using Win.Sfs.SettleAccount.Entities.WMSKanBan; |
|
|
|
using Win.Sfs.SettleAccount.Entities.WMS_SparePart; |
|
|
|
using Win.Sfs.SettleAccount.Entities.WMSSparePart; |
|
|
|
using Win.Sfs.SettleAccount.Entities.HQ_H; |
|
|
|
using Win.Sfs.SettleAccount.Entities.HQ_M; |
|
|
|
using Win.Sfs.SettleAccount.Entities.HQ_F; |
|
|
|
|
|
|
|
namespace Win.Sfs.SettleAccount |
|
|
|
{ |
|
|
@ -225,12 +227,70 @@ namespace Win.Sfs.SettleAccount |
|
|
|
CreateMapHQ_H_Platform(); |
|
|
|
CreateMapHQ_H_PlatformVersion(); |
|
|
|
|
|
|
|
//红旗M平台
|
|
|
|
CreateMapHQ_M_Platform(); |
|
|
|
CreateMapHQ_M_PlatformVersion(); |
|
|
|
|
|
|
|
//红旗F平台
|
|
|
|
CreateMapHQ_F_Platform(); |
|
|
|
CreateMapHQ_F_PlatformVersion(); |
|
|
|
|
|
|
|
#endregion
|
|
|
|
} |
|
|
|
|
|
|
|
#region PG-派格映射
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 红旗F平台导入
|
|
|
|
/// </summary>
|
|
|
|
private void CreateMapHQ_F_Platform() |
|
|
|
|
|
|
|
{ |
|
|
|
CreateMap<HQ_F_Platform, HQ_F_PlatformDto>().ReverseMap(); |
|
|
|
CreateMap<HQ_F_Platform, HQ_F_PlatformRequestDto>().ReverseMap(); |
|
|
|
CreateMap<HQ_F_Platform, HQ_F_PlatformImportDto>().ReverseMap(); |
|
|
|
CreateMap<HQ_F_Platform, HQ_F_PlatformExportDto>().ReverseMap(); |
|
|
|
CreateMap<HQ_F_Platform, HQ_F_PlatformExportDto>().ReverseMap(); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 红旗F平台-版本
|
|
|
|
/// </summary>
|
|
|
|
private void CreateMapHQ_F_PlatformVersion() |
|
|
|
|
|
|
|
{ |
|
|
|
CreateMap<HQ_F_PlatformVersion, HQ_F_PlatformVersionDto>().ReverseMap(); |
|
|
|
CreateMap<HQ_F_PlatformVersion, HQ_F_PlatformVersionCreateDto>(); |
|
|
|
CreateMap<HQ_F_PlatformVersion, HQ_F_PlatformVersionUpdateDto>(); |
|
|
|
CreateMap<HQ_F_PlatformVersionCreateDto, HQ_F_PlatformVersion>(); |
|
|
|
CreateMap<HQ_F_PlatformVersionUpdateDto, HQ_F_PlatformVersion>(); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 红旗M平台导入
|
|
|
|
/// </summary>
|
|
|
|
private void CreateMapHQ_M_Platform() |
|
|
|
|
|
|
|
{ |
|
|
|
CreateMap<HQ_M_Platform, HQ_M_PlatformDto>().ReverseMap(); |
|
|
|
CreateMap<HQ_M_Platform, HQ_M_PlatformRequestDto>().ReverseMap(); |
|
|
|
CreateMap<HQ_M_Platform, HQ_M_PlatformImportDto>().ReverseMap(); |
|
|
|
CreateMap<HQ_M_Platform, HQ_M_PlatformExportDto>().ReverseMap(); |
|
|
|
CreateMap<HQ_M_Platform, HQ_M_PlatformExportDto>().ReverseMap(); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 红旗M平台-版本
|
|
|
|
/// </summary>
|
|
|
|
private void CreateMapHQ_M_PlatformVersion() |
|
|
|
|
|
|
|
{ |
|
|
|
CreateMap<HQ_M_PlatformVersion, HQ_M_PlatformVersionDto>().ReverseMap(); |
|
|
|
CreateMap<HQ_M_PlatformVersion, HQ_M_PlatformVersionCreateDto>(); |
|
|
|
CreateMap<HQ_M_PlatformVersion, HQ_M_PlatformVersionUpdateDto>(); |
|
|
|
CreateMap<HQ_M_PlatformVersionCreateDto, HQ_M_PlatformVersion>(); |
|
|
|
CreateMap<HQ_M_PlatformVersionUpdateDto, HQ_M_PlatformVersion>(); |
|
|
|
} |
|
|
|
/// <summary>
|
|
|
|
/// 红旗H平台导入
|
|
|
|
/// </summary>
|
|
|
@ -250,9 +310,9 @@ namespace Win.Sfs.SettleAccount |
|
|
|
private void CreateMapHQ_H_PlatformVersion() |
|
|
|
|
|
|
|
{ |
|
|
|
CreateMap<HQ_H_PlatformVersion, SparePartVersionDto>().ReverseMap(); |
|
|
|
CreateMap<HQ_H_PlatformVersion, SparePartVersionCreateDto>(); |
|
|
|
CreateMap<HQ_H_PlatformVersion, SparePartVersionUpdateDto>(); |
|
|
|
CreateMap<HQ_H_PlatformVersion, HQ_H_PlatformVersionDto>().ReverseMap(); |
|
|
|
CreateMap<HQ_H_PlatformVersion, HQ_H_PlatformVersionCreateDto>(); |
|
|
|
CreateMap<HQ_H_PlatformVersion, HQ_H_PlatformVersionUpdateDto>(); |
|
|
|
CreateMap <HQ_H_PlatformVersionCreateDto,HQ_H_PlatformVersion > (); |
|
|
|
CreateMap <HQ_H_PlatformVersionUpdateDto, HQ_H_PlatformVersion > (); |
|
|
|
} |
|
|
|