mahao 1 year ago
parent
commit
15edfb25bc
  1. 2
      code/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/JisBBACSaSeEdiCompareExportService.cs
  2. 2
      code/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/JisHBPOSaSeEdiCompareExportService.cs
  3. 22
      code/src/Modules/SettleAccount/src/SettleAccount.Job/SettleAccountJobAutoMapperProfile.cs

2
code/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/JisBBACSaSeEdiCompareExportService.cs

@ -98,7 +98,7 @@ namespace SettleAccount.Job.Services.Report
#region 私有方法 #region 私有方法
/// <summary> /// <summary>
/// 获取结算与发运比对数据 /// 获取比对数据
/// </summary> /// </summary>
public List<SaSeEdiCompareDiff> GetEdiSeSaCompareData(int version, DateTime seStartDateTime, DateTime seEndDateTime) public List<SaSeEdiCompareDiff> GetEdiSeSaCompareData(int version, DateTime seStartDateTime, DateTime seEndDateTime)
{ {

2
code/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/JisHBPOSaSeEdiCompareExportService.cs

@ -97,7 +97,7 @@ namespace SettleAccount.Job.Services.Report
#region 私有方法 #region 私有方法
/// <summary> /// <summary>
/// 获取结算与发运比对数据 /// 获取比对数据
/// </summary> /// </summary>
public List<SaSeEdiCompareDiff> GetEdiSeSaCompareData(int version, DateTime seStartDateTime, DateTime seEndDateTime) public List<SaSeEdiCompareDiff> GetEdiSeSaCompareData(int version, DateTime seStartDateTime, DateTime seEndDateTime)
{ {

22
code/src/Modules/SettleAccount/src/SettleAccount.Job/SettleAccountJobAutoMapperProfile.cs

@ -8,14 +8,15 @@ namespace SettleAccount.Job
{ {
public SettleAccountJobAutoMapperProfile() public SettleAccountJobAutoMapperProfile()
{ {
CreateMapBBACEdiSeCompare(); CreateMapEdiSeCompare();
CreateMapPubSaSeCompare(); CreateMapSaSeEdiCompare();
CreateMapSaSeCompare();
} }
/// <summary> /// <summary>
/// BBAC EDI与发运对比 /// 发运、EDI对比
/// </summary> /// </summary>
public void CreateMapBBACEdiSeCompare() public void CreateMapEdiSeCompare()
{ {
//CreateMap<PubSaSeCompareDiff, JisBBACEidSeCompareExport>() //CreateMap<PubSaSeCompareDiff, JisBBACEidSeCompareExport>()
// .ForMember(x => x.ReplaceLU, y => y.MapFrom(y => y.ReplaceLU)); // .ForMember(x => x.ReplaceLU, y => y.MapFrom(y => y.ReplaceLU));
@ -23,9 +24,18 @@ namespace SettleAccount.Job
} }
/// <summary> /// <summary>
/// Pub结算与发运对比 /// 结算、发运、Edi对比
/// </summary> /// </summary>
private void CreateMapPubSaSeCompare() public void CreateMapSaSeEdiCompare()
{
CreateMap<SaSeEdiCompareDiff, SaSeEdiCompareDetailExportJisBBAC>();
CreateMap<SaSeEdiCompareDiff, SaSeEdiCompareDetailExportJisHBPO>();
}
/// <summary>
/// 结算、发运对比
/// </summary>
private void CreateMapSaSeCompare()
{ {
CreateMap<PubSaSeCompareDiff, PubSaSeCompareDetailExportZhiGongJianBBAC>(); CreateMap<PubSaSeCompareDiff, PubSaSeCompareDetailExportZhiGongJianBBAC>();
CreateMap<PubSaSeCompareDiff, PubSaSeCompareDetailExportZhiGongJianHBPO>(); CreateMap<PubSaSeCompareDiff, PubSaSeCompareDetailExportZhiGongJianHBPO>();

Loading…
Cancel
Save