Browse Source

BBAC和HPBO按照库位长度修改业务类型

master
zhouhongjun 10 months ago
parent
commit
4da6ef31a1
  1. 8
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeSyncBaseAppService.cs
  2. 8
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisHBPOSeSyncBaseAppService.cs

8
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeSyncBaseAppService.cs

@ -189,6 +189,14 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
{
t.Version = int.Parse(t.BillTime?.ToString("yyyyMM"));
}
if (t.ErpToLoc != null)
{
if (t.ErpToLoc.Length == 4)
{
t.BusinessType = EnumBusinessType.MaiDanJianBBAC;
}
}
t.CreateTime = dateTimeNow;
t.CreationTime = dateTimeNow;
});

8
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisHBPOSeSyncBaseAppService.cs

@ -190,6 +190,14 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
{
t.Version = int.Parse(t.BillTime?.ToString("yyyyMM"));
}
if(t.ErpToLoc!=null)
{
if (t.ErpToLoc.Length == 4)
{
t.BusinessType = EnumBusinessType.MaiDanJianHBPO;
}
}
t.CreateTime = dateTimeNow;
t.CreationTime = dateTimeNow;
});

Loading…
Cancel
Save