From f163694a48e746c5c86e80c0091687c578bbe9a2 Mon Sep 17 00:00:00 2001
From: 44673626 <44673626@qq.com>
Date: Wed, 5 Jan 2022 13:43:34 +0800
Subject: [PATCH 1/2] 2
---
.../SettleAccount.Application.xml | 5 ----
...ttleAccountApplicationAutoMapperProfile.cs | 27 -------------------
...AccountDbContextModelCreatingExtensions.cs | 1 -
3 files changed, 33 deletions(-)
diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccount.Application.xml b/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccount.Application.xml
index 5457ab3b..9b114084 100644
--- a/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccount.Application.xml
+++ b/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccount.Application.xml
@@ -3030,11 +3030,6 @@
上传的文件(前端已经限制只能上传一个附件)
-
-
- 一汽轿车平台导入
-
-
红旗F平台导入
diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccountApplicationAutoMapperProfile.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccountApplicationAutoMapperProfile.cs
index 5d32afd5..2b62117f 100644
--- a/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccountApplicationAutoMapperProfile.cs
+++ b/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccountApplicationAutoMapperProfile.cs
@@ -86,7 +86,6 @@ 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;
-using Win.Sfs.SettleAccount.Entities.HQ_Car;
namespace Win.Sfs.SettleAccount
{
@@ -236,37 +235,11 @@ namespace Win.Sfs.SettleAccount
CreateMapHQ_F_Platform();
CreateMapHQ_F_PlatformVersion();
- //一汽轿车
- CreateMapHQ_Car_Platform();
- CreateMapHQ_Car_PlatformVersion();
-
#endregion
}
#region PG-派格映射
- ///
- /// 一汽轿车平台导入
- ///
- private void CreateMapHQ_Car_Platform()
-
- {
- CreateMap().ReverseMap();
- CreateMap().ReverseMap();
- CreateMap().ReverseMap();
- CreateMap().ReverseMap();
- CreateMap().ReverseMap();
- }
-
- private void CreateMapHQ_Car_PlatformVersion()
-
- {
- CreateMap().ReverseMap();
- CreateMap();
- CreateMap();
- CreateMap();
- CreateMap();
- }
///
/// 红旗F平台导入
diff --git a/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs b/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs
index c8bae2fb..647dfd8c 100644
--- a/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs
+++ b/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs
@@ -72,7 +72,6 @@ using Win.Sfs.SettleAccount.Entities.HQ_M;
using Win.Sfs.SettleAccount.Entities.BT_Car;
using Win.Sfs.SettleAccount.Entities.WMS;
using Win.Sfs.SettleAccount.Entities.HQ_F;
-using Win.Sfs.SettleAccount.Entities.HQ_Car;
namespace Win.Sfs.SettleAccount
{
From 57ce21165dd4c3240b720a6f43433f41992d01f5 Mon Sep 17 00:00:00 2001
From: 44673626 <44673626@qq.com>
Date: Wed, 5 Jan 2022 13:48:59 +0800
Subject: [PATCH 2/2] 3
---
.../SettleAccount.Domain/Entities/HQ_H/HQ_H_Platform.cs | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQ_H/HQ_H_Platform.cs b/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQ_H/HQ_H_Platform.cs
index 1cbc0aab..c34f59d0 100644
--- a/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQ_H/HQ_H_Platform.cs
+++ b/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQ_H/HQ_H_Platform.cs
@@ -24,7 +24,7 @@ namespace Win.Sfs.SettleAccount.Entities.HQ_H
public HQ_H_Platform(Guid Id,string materialVoucherNo,string externalKanbanNumber,
string kanbanNumber, string year,string factory,DateTime acceptanceDate,
string period, string version,string kanBan,string supplier,string storageLocation,string storageLocationDesc,
- string materialCode) : base(Id)
+ string materialCode,string acceptanceNo, decimal qty, decimal price, decimal amt) : base(Id)
{
MaterialVoucherNo = materialVoucherNo;
KanbanNumber = kanbanNumber;
@@ -39,8 +39,13 @@ namespace Win.Sfs.SettleAccount.Entities.HQ_H
Supplier = supplier;
StorageLocation = storageLocation;
StorageLocationDesc = storageLocationDesc;
+ AcceptanceNo = acceptanceNo;
+ Qty = qty;
+ Price = price;
+ Amt = amt;
}
+
//验收单号 外部单号 物料凭证号 物料凭证日期 物料凭证记账日期 看板编号 外部看板编号 物料号 物料描述 数量 单价 金额
//工厂 备注 创建者 创建时间 修改人 修改时间 公司 验收单号 外部单号 发票号 会计年度 金额 计划员 存储地点
//存储地点描述 状态 验收单日期 供应商 录入人 录入人描述 看板号