Browse Source

加关键字 客户给的说明 ”备品“ 判断

FoShanPG
44673626 3 years ago
parent
commit
bde49066c6
  1. 2
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_F/HQ_F_PlatformAppService.cs
  2. 2
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_H/HQ_H_PlatformAppService.cs
  3. 2
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_M/HQ_M_PlatformAppService.cs

2
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_F/HQ_F_PlatformAppService.cs

@ -98,7 +98,7 @@ namespace Win.Sfs.SettleAccount.Entities.HQ_F
_bomList.Add(new HQ_F_PlatformVersion(_id, branchId, year, period, version, customerCode));
foreach (var itm in entityList)
{
if (string.IsNullOrEmpty(itm.HQHKanBan) && itm.StorageLocationDesc.Contains("备品"))
if (string.IsNullOrEmpty(itm.HQHKanBan) && itm.StorageLocationDesc.Contains("备品"))
{
itm.SetValue(GuidGenerator.Create(), branchId, year, period, version,"BJ");
}

2
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_H/HQ_H_PlatformAppService.cs

@ -99,7 +99,7 @@ namespace Win.Sfs.SettleAccount.Entities.HQ_H
_bomList.Add(new HQ_H_PlatformVersion(_id, branchId, year, period, version, customerCode));
foreach (var itm in entityList)
{
if (string.IsNullOrEmpty(itm.HQHKanBan) && itm.StorageLocationDesc.Contains("备品"))
if (string.IsNullOrEmpty(itm.HQHKanBan) && itm.StorageLocationDesc.Contains("备品"))
{
//赋值上主键ID
itm.SetValue(GuidGenerator.Create(), branchId, year, period, version, "BJ");//备品库没有看板号,需要特殊标识一下BJ,已经和客户确认

2
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_M/HQ_M_PlatformAppService.cs

@ -98,7 +98,7 @@ namespace Win.Sfs.SettleAccount.Entities.HQ_M
_bomList.Add(new HQ_M_PlatformVersion(_id, branchId, year, period, version, customerCode));
foreach (var itm in entityList)
{
if (string.IsNullOrEmpty(itm.HQMKanBan) && itm.StorageLocationDesc.Contains("备品"))
if (string.IsNullOrEmpty(itm.HQMKanBan) && itm.StorageLocationDesc.Contains("备品"))
{
itm.SetValue(GuidGenerator.Create(), branchId, year, period, version,"BJ");
}

Loading…
Cancel
Save