Browse Source

备件结算数据导入扩展字段添加合同号

master
mahao 1 year ago
parent
commit
fdf449930c
  1. 6
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_SA_SERVICE.cs

6
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_SA_SERVICE.cs

@ -526,7 +526,11 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
.OrderByDescending(t => t.Date)
.ThenByDescending(t => t.CreationTime)
.FirstOrDefault();
importPubSaDetail.Price = priceListEntity?.Price ?? 0;
if (priceListEntity != null)
{
importPubSaDetail.Price = priceListEntity.Price;
importPubSaDetail.ExtraProperties.TryAdd("ContractNo", priceListEntity.ContractNo);
}
});
}
#endregion

Loading…
Cancel
Save