diff --git a/.gitignore b/.gitignore
index bfcbf6ee..7657db0b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,7 @@ dist/
.vs/
bin/
obj/
+[Ll]ogs/
*.suo
*.user
*.db
diff --git a/code/src/AuthServer/AuthServer.Host/appsettings.json b/code/src/AuthServer/AuthServer.Host/appsettings.json
index ffb0644f..1a4089cd 100644
--- a/code/src/AuthServer/AuthServer.Host/appsettings.json
+++ b/code/src/AuthServer/AuthServer.Host/appsettings.json
@@ -1,15 +1,25 @@
{
"ConnectionStrings": {
- // "Default": "Server=114.116.225.148,13314;Database=ABP;User ID=sa;Password=Microsoft2020;",
- "Default": "Server=192.168.0.203;Database=ABP;User ID=sa;Password=Microsoft@2021;"
+ "Default": "Server=dev.ccwin-in.com,13319;Database=BJABP;User ID=ccwin-in;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True"
},
+ "CorsOrigins": "http://localhost:9527,http://dev.ccwin-in.com:10588,http://localhost:44307",
"ElasticSearch": {
"Url": "http://localhost:9200"
},
- "CorsOrigins": "http://localhost:9528",
"Redis": {
"Configuration": "127.0.0.1"
},
+ "RabbitMQ": {
+ "Connections": {
+ "Default": {
+ "HostName": "localhost"
+ }
+ },
+ "EventBus": {
+ "ClientName": "MsDemo_AuthServer",
+ "ExchangeName": "MsDemo"
+ }
+ },
"Logging": {
"LogLevel": {
"Default": "Warning"
diff --git a/code/src/Modules/BaseService/BaseService.Host/appsettings.json b/code/src/Modules/BaseService/BaseService.Host/appsettings.json
index 7b616c76..8050d6cc 100644
--- a/code/src/Modules/BaseService/BaseService.Host/appsettings.json
+++ b/code/src/Modules/BaseService/BaseService.Host/appsettings.json
@@ -1,15 +1,12 @@
{
"AuthServer": {
- "Authority": "http://localhost:10100",
- "ApiName": "IdentityService"
+ "Authority": "http://dev.ccwin-in.com:10580"
},
"App": {
- "CorsOrigins": "http://localhost:9527,http://localhost:9528"
+ "CorsOrigins": "http://localhost:9527,http://dev.ccwin-in.com:10588,http://localhost:44307"
},
"ConnectionStrings": {
- "Default": "Server=192.168.0.140;Database=ABP;user id=sa;Password=Microsoft2008"
- // "Default": "Server=LAPTOP-V3U07C2O;Database=ABP;User ID=sa;Password=1q2w!@#;"
- //"Default": "Server=114.116.225.148,13314;Database=ABP;User ID=sa;Password=Microsoft2020;"
+ "Default": "Server=dev.ccwin-in.com,13319;Database=BJABP;User ID=ccwin-in;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True"
},
"ElasticSearch": {
"Url": "http://localhost:9200"
@@ -22,6 +19,7 @@
"Default": "Warning"
}
},
+<<<<<<< HEAD
//"Settings": {
// "Abp.Localization.DefaultLanguage": "zh-Hans",
// "Abp.Identity.Password.RequireNonAlphanumeric": "false", //ȥ�����ĸ����
@@ -34,4 +32,9 @@
// "Abp.Identity.Lockout.MaxFailedAccessAttempts": "3"
//},
"AllowedHosts": "*"
+=======
+ "AllowedHosts": "*",
+ "RePassword": "111111"
+
+>>>>>>> 1c2946500765850db29fa7d216f5e55e2e4de888
}
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj
index c981c795..1672c209 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj
@@ -12,7 +12,11 @@
..\..\..\..
net5.0
True
+<<<<<<< HEAD
false
+=======
+ false
+>>>>>>> 1c2946500765850db29fa7d216f5e55e2e4de888
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json
index 3e49936b..29dfea13 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json
@@ -2,26 +2,10 @@
"App": {
"CorsOrigins": "https://*.abc.com,http://localhost:9528,http://149.223.116.5:8088"
},
- //"ConnectionStrings": {
- // "Default": "Server=LAPTOP-V3U07C2O;Database=ABP;user id=sa;Password=1q2w!@#",
- // "SettleAccountService": "Server=LAPTOP-V3U07C2O;Database=SettleAccountService1;user id=sa;Password=1q2w!@#;",
- // "Wms": "Server=192.168.0.140;Database=CPAT_WMS_TEST;user id=sa;password=Microsoft2008;"
- //},
"ConnectionStrings": {
- "Default": "Server=127.0.0.1;Database=ABP;User ID=sa;Password=asdasd1977;",
- "SettleAccountService": "Server=127.0.0.1;Database=SettleAccountService;user id=sa;password=asdasd1977;",
- "Wms": "Server=127.0.0.1;Database=CPAT_WMS_TEST;user id=sa;password=asdasd1977;"
+ "Default": "Server=dev.ccwin-in.com,13319;Database=BJABP;User ID=ccwin-in;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True",
+ "SettleAccountService": "Server=dev.ccwin-in.com,13319;Database=SettleAccountService;User ID=ccwin-in;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True;"
},
- "Logging": {
- "LogLevel": {
- "Default": "Information",
- "Microsoft": "Warning",
- "Microsoft.Hosting.Lifetime": "Information"
- }
- },
-
-
-
"Serilog": {
"Using": [],
@@ -84,14 +68,8 @@
},
-
-
-
-
-
-
"AuthServer": {
- "Authority": "http://149.223.116.5:8066",
+ "Authority": "http://dev.ccwin-in.com:10580",
"AlwaysAllowAuthorization": false
},
@@ -104,24 +82,7 @@
"ElasticSearch": {
"Url": "http://localhost:9200"
- },
-
- "RemoteServices": {
- "Default": {
- "BaseUrl": "http://149.223.116.5:8091/",
- "UseCurrentAccessToken": "true"
- }
- },
- "IdentityClients": {
- "Default": {
- "GrantType": "client_credentials",
- "ClientId": "business-app",
- "ClientSecret": "1q2w3e*",
- "Authority": "http://149.223.116.5:8066",
- "Scope": "InternalGateway IdentityService SettleAccount"
- }
}
-
}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/IBomAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/IBomAppService.cs
index c3f85f31..aa60d416 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/IBomAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/IBomAppService.cs
@@ -8,7 +8,6 @@ using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Win.Sfs.SettleAccount.Entities.Boms;
-using Win.Sfs.SettleAccount.EstimatedInventories;
using Win.Sfs.Shared.ApplicationBase;
namespace Win.Sfs.SettleAccount.Boms
{
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailCreateDto.cs
deleted file mode 100644
index 21ec3572..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailCreateDto.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
-
-namespace Win.Sfs.SettleAccount.EstimatedInventories
-{
- public class EstimatedInventoryDetailCreateDto : EstimatedInventoryDetailDtoBase, IBranch
- {
- public virtual Guid BranchId { get ; set ; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailDto.cs
deleted file mode 100644
index f7008352..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailDto.cs
+++ /dev/null
@@ -1,120 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
-
-namespace Win.Sfs.SettleAccount.EstimatedInventories
-{
- public class EstimatedInventoryDetailDto : AuditedEntityDtoBase, IBranch
- {
-
-
- public string Version { set; get; }
-
- ///
- ///年度
- ///
- public string Year { get;set; }
-
- ///
- /// 期间
- ///
- public string Period { set; get; }
-
- ///
- /// 物料凭证号
- ///
- public virtual string MaterialDocument { get; set;}
-
-
-
- public virtual string MaterialDocumentLine { get; set; }
-
- ///
- /// 外部单号
- ///
- public virtual string BillNumber { get; set;}
-
- ///
- /// 记账日期
- ///
- public virtual DateTime PostingDate { get; set;}
-
-
-
-
- public virtual string Factory { set; get; }
-
-
- ///
- /// 物料编号
- ///
- public virtual string MaterialCode { get; set;}
-
-
-
- ///
- /// 物料描述
- ///
- public virtual string MaterialDesc { get; set;}
-
-
- ///
- /// 存储位置
- ///
- public virtual string Storagelocation { get; set;}
-
-
- ///
- /// 收货数量
- ///
- public virtual decimal ReceiveQty { get;set;}
-
-
- ///
- /// 发票数量
- ///
- public virtual decimal InvoiceQty { get; set;}
-
- ///
- /// 供应商编号
- ///
- public virtual string SupplierCode { get; set;}
-
- ///
- /// 供应商描述
- ///
- public virtual string SupplierDesc { get; set;}
-
-
- ///
- /// 采购凭证
- ///
- public virtual string PurchaseDocument { get; set;}
-
-
- ///
- /// 采购行项
- ///
- public virtual string PurchaseLine { get; set;}
-
-
- ///
- /// 来源
- ///
- public virtual string Source { get; set;}
-
-
-
- ///
- /// 存储扩展字段
- ///
- public virtual string Extend1 { get; set;}
- public virtual Guid BranchId { get; set; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailDtoBase.cs
deleted file mode 100644
index d2cc349d..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailDtoBase.cs
+++ /dev/null
@@ -1,118 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
-
-namespace Win.Sfs.SettleAccount.EstimatedInventories
-{
- public class EstimatedInventoryDetailDtoBase : CreateOrUpdateEntityDtoBase
- {
-
-
-
-
- ///
- ///年度
- ///
- public string Year { get; protected set; }
-
- ///
- /// 期间
- ///
- public string Period { set; get; }
-
-
-
- ///
- /// 物料凭证号
- ///
- public virtual string MaterialDocument { get; set; }
-
- public virtual string MaterialDocumentLine { get; set; }
-
-
- ///
- /// 外部单号
- ///
- public virtual string BillNumber { get; set; }
-
- ///
- /// 记账日期
- ///
- public virtual DateTime PostingDate { get; set; }
-
-
- ///
- /// 物料编号
- ///
- public virtual string MaterialCode { get; set; }
-
-
-
- ///
- /// 物料描述
- ///
- public virtual string MaterialDesc { get; set; }
-
-
- ///
- /// 存储位置
- ///
- public virtual string Storagelocation { get; set; }
-
-
- ///
- /// 收货数量
- ///
- public virtual decimal ReceiveQty { get;set; }
-
-
- ///
- /// 发票数量
- ///
- public virtual decimal InvoiceQty { get; set; }
-
- ///
- /// 供应商编号
- ///
- public virtual string SupplierCode { get; set; }
-
- ///
- /// 供应商描述
- ///
- public virtual string SupplierDesc { get; set; }
-
-
- ///
- /// 采购凭证
- ///
- public virtual string PurchaseDocument { get; set; }
-
-
- ///
- /// 采购行项
- ///
- public virtual string PurchaseLine { get; set; }
-
-
- ///
- /// 来源
- ///
- public virtual string Source { get; set; }
-
-
-
- ///
- /// 存储扩展字段
- ///
- public virtual string Extend1 { get; set; }
-
-
-
-
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailExportDto.cs
deleted file mode 100644
index 6b9ca689..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailExportDto.cs
+++ /dev/null
@@ -1,151 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
-
-namespace Win.Sfs.SettleAccount.EstimatedInventories
-{
- ///
- /// 应付暂估收获明细
- ///
- public class EstimatedInventoryDetailExportDto
- {
- [ExporterHeader(DisplayName = "工厂")]
-
- public virtual string Factory { get; set; }
-
- [ExporterHeader(DisplayName = "期间")]
-
- public string Version { set; get; }
-
- ///
- /// 物料凭证号(收获单号)
- ///
- [ExporterHeader(DisplayName = "物料凭证号")]
-
- public virtual string MaterialDocument { get; set; }
-
-
-
- ///
- /// 物料凭证号(收获单号)
- ///
- [ExporterHeader(DisplayName = "物料凭证行项号")]
-
-
- public virtual string MaterialDocumentLine { get; set; }
-
- ///
- /// 外部单号
- ///
- [ExporterHeader(DisplayName = "外部单号")]
-
- public virtual string BillNumber { get; set; }
-
- ///
- /// 记账日期(收货日期)
- ///
- [ExporterHeader(DisplayName = "记账日期")]
-
- public virtual DateTime PostingDate { get; set; }
-
-
- ///
- /// 物料编号
- ///
- [ExporterHeader(DisplayName = "物料号")]
-
- public virtual string MaterialCode { get; set; }
-
-
-
- ///
- /// 物料描述
- ///
-
- [ExporterHeader(DisplayName = "物料描述")]
-
- public virtual string MaterialDesc { get; set; }
-
-
- ///
- /// 存储地点
- ///
- [ExporterHeader(DisplayName = "存储地点")]
-
- public virtual string Storagelocation { get; set; }
-
-
- ///
- /// 收货数量
- ///
- [ExporterHeader(DisplayName = "收货数量")]
-
- public virtual decimal ReceiveQty { get;set; }
-
-
- ///
- /// 发票数量
- ///
- /// [ExporterHeader(Name = "描述")]
- [ExporterHeader(DisplayName = "发票数量")]
-
-
- public virtual decimal InvoiceQty { get; set; }
-
- ///
- /// 供应商
- ///
- [ExporterHeader(DisplayName = "供应商")]
-
- public virtual string SupplierCode { get; set; }
-
- ///
- /// 供应商描述
- ///
- [ExporterHeader(DisplayName = "供应商描述")]
-
- public virtual string SupplierDesc { get; set; }
-
-
- ///
- /// 采购凭证号
- ///
-
- [ExporterHeader(DisplayName = "采购凭证号")]
-
- public virtual string PurchaseDocument { get; set; }
-
-
- ///
- /// 采购凭证行
- ///
- [ExporterHeader(DisplayName = "采购凭证行")]
-
- public virtual string PurchaseLine { get; set; }
-
-
- ///
- /// 来源
- ///
- ///
- [ExporterHeader(DisplayName = "来源")]
-
- public virtual string Source { get; set; }
-
-
-
- /////
- ///// 存储扩展字段
- /////
- //public virtual string Extend1 { get; set; }
- //public virtual Guid BranchId { get; set; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailImportDto.cs
deleted file mode 100644
index 73c50b14..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailImportDto.cs
+++ /dev/null
@@ -1,169 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
-
-namespace Win.Sfs.SettleAccount.EstimatedInventories
-{
- ///
- /// 应付暂估收获明细
- ///
- public class EstimatedInventoryDetailImportDto
- {
-
-
- [ImporterHeader(Name = "年度")]
- [Required(ErrorMessage = "{0}是必填项")]
- ///
- ///年度
- ///
- public string Year { get; set; }
- [ImporterHeader(Name = "期间")]
- [Required(ErrorMessage = "{0}是必填项")]
- public string Period { set; get; }
-
-
-
-
- ///
- /// 物料凭证号(收获单号)
- ///
- [ImporterHeader(Name = "物料凭证号")]
- [Required(ErrorMessage = "{0}是必填项")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
-
- public virtual string MaterialDocument { get; set; }
-
-
-
- ///
- /// 物料凭证号(收获单号)
- ///
- [ImporterHeader(Name = "物料凭证行项号")]
- [Required(ErrorMessage = "{0}是必填项")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
-
- public virtual string MaterialDocumentLine { get; set; }
-
- ///
- /// 外部单号
- ///
- [ImporterHeader(Name = "外部单号")]
- [Required(ErrorMessage = "{0}是必填项")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
- public virtual string BillNumber { get; set; }
-
- ///
- /// 记账日期(收货日期)
- ///
- [ImporterHeader(Name = "记账日期")]
- [Required(ErrorMessage = "{0}是必填项")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
- public virtual DateTime PostingDate { get; set; }
-
-
- ///
- /// 物料编号
- ///
- [ImporterHeader(Name = "物料号")]
- [Required(ErrorMessage = "{0}是必填项")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
- public virtual string MaterialCode { get; set; }
-
-
-
- ///
- /// 物料描述
- ///
-
- [ImporterHeader(Name = "物料描述")]
-
- public virtual string MaterialDesc { get; set; }
-
-
- ///
- /// 存储地点
- ///
- [ImporterHeader(Name = "存储地点")]
- [Required(ErrorMessage = "{0}是必填项")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
- public virtual string Storagelocation { get; set; }
-
-
- ///
- /// 收货数量
- ///
- [ImporterHeader(Name = "收货数量")]
- [Required(ErrorMessage = "{0}是必填项")]
-
- public virtual decimal ReceiveQty { get;set; }
-
-
- ///
- /// 发票数量
- ///
- /// [ImporterHeader(Name = "描述")]
- [ImporterHeader(Name = "发票数量")]
- [Required(ErrorMessage = "{0}是必填项")]
-
- public virtual decimal InvoiceQty { get; set; }
-
- ///
- /// 供应商
- ///
- [ImporterHeader(Name = "供应商")]
- [Required(ErrorMessage = "{0}是必填项")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
- public virtual string SupplierCode { get; set; }
-
- ///
- /// 供应商描述
- ///
- [ImporterHeader(Name = "供应商描述")]
-
- public virtual string SupplierDesc { get; set; }
-
-
- ///
- /// 采购凭证号
- ///
-
- [ImporterHeader(Name = "采购凭证号")]
- [Required(ErrorMessage = "{0}是必填项")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
- public virtual string PurchaseDocument { get; set; }
-
-
- ///
- /// 采购凭证行
- ///
- [ImporterHeader(Name = "采购凭证行")]
- [Required(ErrorMessage = "{0}是必填项")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
- public virtual string PurchaseLine { get; set; }
-
-
- ///
- /// 来源
- ///
- ///
- [ImporterHeader(Name = "来源")]
-
- public virtual string Source { get; set; }
-
-
-
- ///
- /// 存储扩展字段
- ///
- public virtual string Extend1 { get; set; }
- public virtual Guid BranchId { get; set; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailRequestDto.cs
deleted file mode 100644
index 7ff01ffc..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailRequestDto.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
-
-namespace Win.Sfs.SettleAccount.EstimatedInventories
-{
- public class EstimatedInventoryDetailRequestDto : RequestDtoBase, IBranch
- {
-
-
- ///
- /// 物料凭证号
- ///
- public virtual string MaterialDocument { get; set; }
-
-
- ///
- /// 外部单号
- ///
- public virtual string BillNumber { get; set; }
-
- ///
- /// 记账日期
- ///
- public virtual DateTime PostingDate { get; set; }
-
-
- ///
- /// 物料编号
- ///
- public virtual string MaterialCode { get; set; }
-
-
-
- ///
- /// 物料描述
- ///
- public virtual string MaterialDesc { get; set; }
-
-
- ///
- /// 存储位置
- ///
- public virtual string Storagelocation { get; set; }
-
-
- ///
- /// 收货数量
- ///
- public virtual decimal ReceiveQty { get;set; }
-
-
- ///
- /// 发票数量
- ///
- public virtual decimal InvoiceQty { get; set; }
-
- ///
- /// 供应商编号
- ///
- public virtual string SupplierCode { get; set; }
-
- ///
- /// 供应商描述
- ///
- public virtual string SupplierDesc { get; set; }
-
-
- ///
- /// 采购凭证
- ///
- public virtual string PurchaseDocument { get; set; }
-
-
- ///
- /// 采购行项
- ///
- public virtual string PurchaseLine { get; set; }
-
-
- ///
- /// 来源
- ///
- public virtual string Source { get; set; }
-
-
-
- ///
- /// 存储扩展字段
- ///
- public virtual string Extend1 { get; set; }
- public virtual Guid BranchId { get ; set ; }
-
-
- public virtual Guid ParentId { get; set; }
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
-
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailUpdateDto.cs
deleted file mode 100644
index 0bc4a681..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailUpdateDto.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
-
-namespace Win.Sfs.SettleAccount.EstimatedInventories
-{
- public class EstimatedInventoryDetailUpdateDto : EstimatedInventoryDetailDtoBase
- {
-
-
-
-
-
-
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryVersionDtoBase.cs
deleted file mode 100644
index 0edcb5b3..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryVersionDtoBase.cs
+++ /dev/null
@@ -1,103 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.EstimatedInventories
-{
- ///
- /// EstimatedInventoryVersion
- ///
- public class EstimatedInventoryVersionDtoBase :CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-
- public class EstimatedInventoryVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get ; set; }
- }
-
- public class EstimatedInventoryVersionCreateDto : EstimatedInventoryVersionDtoBase
- { }
- public class EstimatedInventoryVersionUpdateDto : EstimatedInventoryVersionDtoBase
- { }
- public class EstimatedInventoryVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get ; set ; }
- }
-
- public class EstimatedInventoryVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/IEstimatedInventoryDetailAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/IEstimatedInventoryDetailAppService.cs
deleted file mode 100644
index 3557e8fc..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/IEstimatedInventoryDetailAppService.cs
+++ /dev/null
@@ -1,138 +0,0 @@
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-
-using Win.Sfs.SettleAccount.EstimatedInventories;
-using Win.Sfs.Shared.ApplicationBase;
-
-namespace Win.Sfs.SettleAccount.Entities.EstimatedInventories
-{
-
-
-
- public interface IEstimatedInventoryDetailAppService
- {
-
- ///
- /// 导入功能
- ///
- /// 上传的文件(前端已经限制只能上传一个附件)
- ///
-
- Task EstimatedInventoryDetailUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode,string factory);
-
-
-
-
- ///
- /// 按ID获取唯一实体
- ///
- ///
- /// 返回实体全部属性
- ///
- /// ID
- /// 实体DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetListAsync(Guid parentId, EstimatedInventoryDetailRequestDto input);
-
-
-
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetVersionListAsync(EstimatedInventoryVersionRequestDto input);
-
-
-
-
- ///
- /// 获取实体总数
- ///
- /// 实体总数
-
- Task GetTotalCountAsync(Guid branchId);
-
-
- ///
- /// 获取全部实体列表
- ///
- /// 实体DTO列表
-
- Task> GetAllAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 新增实体
- /////
- ///// 新增实体DTO
- ///// 实体DTO
-
-
- //Task CreateAsync(EstimatedInventoryDetailCreateDto input);
-
-
- /////
- ///// 修改实体
- /////
- ///// ID
- ///// 修改实体DTO
- ///// 实体DTO
-
- //Task UpdateAsync(Guid id, EstimatedInventoryDetailUpdateDto input);
-
-
-
-
- /////
- ///// 删除实体
- /////
- ///// ID
- ///// 无
-
- //Task DeleteAsync(Guid id);
-
-
- ///
- /// 按IDs删除实体列表
- ///
- /// IDs
- /// 是否执行成功
-
- Task DeleteListAsync(List ids);
-
-
-
- }
-
-
-
-}
-
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/EsimatedSumDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/EsimatedSumDtoBase.cs
deleted file mode 100644
index 72088bfd..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/EsimatedSumDtoBase.cs
+++ /dev/null
@@ -1,356 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.EstimatedSums
-{
- ///
- /// 应付暂估汇总
- ///
- public class EstimatedSumDtoBase : CreateOrUpdateEntityDtoBase
- {
- ///
- /// 会计年度
- ///
- /// 记账期间
- ///
-
- [Required(ErrorMessage = "{0}是必填项")]
-
- public virtual string Postingperiod { set; get; }
-
- ///
- /// 物料代码(物料号)
- ///
-
- [Required(ErrorMessage = "{0}是必填项")]
-
- public virtual string MaterialCode { set; get; }
- ///
- /// 物料描述
- ///
-
- [Required(ErrorMessage = "{0}是必填项")]
-
- public virtual string MaterialDesc { set; get; }
-
- ///
- /// 数量
- ///
-
-
- [Required(ErrorMessage = "{0}是必填项")]
-
-
- public virtual Decimal Qty { set; get; }
-
- ///
- /// 供应商
- ///
-
- [Required(ErrorMessage = "{0}是必填项")]
-
- public virtual string SupplierCode{set;get;}
-
-
-
- ///
- ///采购订单号
- ///
- public string PurchaseDocument { get; set; }
-
-
- ///
- /// 采购订单行号
- ///
- public string PurchaseLine { get; set; }
-
-
- ///
- /// 供应商描述
- ///
- //[ImporterHeader(Name = "值")]
- //[Required(ErrorMessage = "{0}是必填项")]
- //[MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
-
- public virtual string SupplierDesc { set; get; }
-
- }
- public class EstimatedSumCreateDto : EstimatedSumDtoBase
- {
- public virtual Guid BranchId { get; set; }
- }
- public class EstimatedSumUpdateDto : EstimatedSumDtoBase
- {
-
-
- }
- public class EstimatedSumRequestDto : RequestDtoBase, IBranch
- {
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
-
- ///
- /// 会计年度
- ///
- /// 记账期间
- ///
- public virtual string Postingperiod { set; get; }
-
- ///
- /// 物料代码
- ///
- public virtual string MaterialCode { set; get; }
- ///
- /// 物料描述
- ///
- public virtual string MaterialDesc { set; get; }
-
- ///
- ///采购订单号
- ///
- public string PurchaseDocument { get; set; }
-
-
- ///
- /// 采购订单行号
- ///
- public string PurchaseLine { get; set; }
-
- ///
- /// 供应商编码
- ///
- public virtual string SupplierCode { set; get; }
-
- ///
- /// 供应商描述
- ///
- public virtual string SupplierDesc { set; get; }
-
-
- public virtual Guid ParentId { get; set; }
-
- public Guid BranchId { get ; set; }
- }
- public class EstimatedSumDto : AuditedEntityDtoBase, IBranch
- {
-
-
- public string Version { set; get; }
-
- ///
- /// 会计年度
- ///
- /// 记账期间
- ///
- public virtual string Postingperiod { set; get; }
-
- ///
- /// 物料代码
- ///
- public virtual string MaterialCode { set; get; }
- ///
- /// 物料描述
- ///
- public virtual string MaterialDesc { set; get; }
-
- ///
- /// 数量
- ///
- public virtual Decimal Qty { set; get; }
-
- ///
- /// 供应商编码
- ///
- public virtual string SupplierCode { set; get; }
-
- ///
- /// 供应商描述
- ///
- public virtual string SupplierDesc { set; get; }
-
-
-
-
- ///
- ///采购订单号
- ///
- public string PurchaseDocument { get; set; }
-
-
- ///
- /// 采购订单行号
- ///
- public string PurchaseLine { get; set; }
-
-
- public Guid BranchId { get ; set ; }
- }
- public class EstimatedSumImportDto
- {
- ///
- /// 会计年度
- ///
- /// 记账期间
- ///
- [ImporterHeader(Name = "记账期间")]
- [Required(ErrorMessage = "{0}是必填项")]
-
- public virtual string Postingperiod { set; get; }
-
- ///
- /// 物料代码(物料号)
- ///
- [ImporterHeader(Name = "物料号")]
- [Required(ErrorMessage = "{0}是必填项")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
- public virtual string MaterialCode { set; get; }
- ///
- /// 物料描述
- ///
- [ImporterHeader(Name = "物料描述")]
- [Required(ErrorMessage = "{0}是必填项")]
-
- public virtual string MaterialDesc { set; get; }
-
- ///
- /// 数量
- ///
-
- [ImporterHeader(Name = "数量")]
- [Required(ErrorMessage = "{0}是必填项")]
-
-
- public virtual Decimal Qty { set; get; }
-
- ///
- /// 供应商
- ///
- [ImporterHeader(Name = "供应商")]
- [Required(ErrorMessage = "{0}是必填项")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
- public virtual string SupplierCode { set; get; }
-
-
-
-
-
-
-
- ///
- ///采购订单号
- ///
- [ImporterHeader(Name = "采购订单号")]
- [Required(ErrorMessage = "{0}是必填项")]
- public string PurchaseDocument { get; set; }
- ///
- /// 采购订单行号
- ///
- [ImporterHeader(Name = "采购订单行号")]
- [Required(ErrorMessage = "{0}是必填项")]
- public string PurchaseLine { get; set; }
-
-
-
- }
-
-
-
- public class EstimatedSumExportDto
- {
- ///
- /// 会计年度
- ///
- /// 记账期间
- ///
- [ExporterHeader(DisplayName = "记账期间")]
- public virtual string Postingperiod { set; get; }
-
-
-
-
- ///
- ///采购订单号
- ///
- [ExporterHeader(DisplayName = "采购订单号")]
- public string PurchaseDocument { get; set; }
- ///
- /// 采购订单行号
- ///
- [ExporterHeader(DisplayName = "采购订单行号")]
- public string PurchaseLine { get; set; }
-
-
- ///
- /// 物料代码(物料号)
- ///
- [ExporterHeader(DisplayName = "物料号")]
-
- public virtual string MaterialCode { set; get; }
- ///
- /// 物料描述
- ///
- [ExporterHeader(DisplayName = "物料描述")]
-
-
- public virtual string MaterialDesc { set; get; }
-
- ///
- /// 数量
- ///
-
- [ExporterHeader(DisplayName = "数量")]
- public virtual Decimal Qty { set; get; }
-
- ///
- /// 供应商
- ///
- [ExporterHeader(DisplayName = "供应商")]
- public virtual string SupplierCode {
-
- set;
- get;
- }
-
- ///
- /// 供应商描述
- ///
- [ExporterHeader(DisplayName = "供应商描述")]
- public virtual string SupplierDesc { set; get; }
-
-
-
-
-
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/EsimatedSumVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/EsimatedSumVersionDtoBase.cs
deleted file mode 100644
index 61d946e0..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/EsimatedSumVersionDtoBase.cs
+++ /dev/null
@@ -1,122 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.EstimatedSums
-{
- ///
- /// EstimatedSumVersion
- ///
- public class EstimatedSumVersionDtoBase :CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
- ///
- /// 工厂
- ///
- public string Factory { private set; get; }
-
-
- }
-
-
-
- public class EstimatedSumVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get ; set; }
- ///
- /// 工厂
- ///
- public string Factory { private set; get; }
- }
-
- public class EstimatedSumVersionCreateDto : EstimatedSumVersionDtoBase
- { }
- public class EstimatedSumVersionUpdateDto : EstimatedSumVersionDtoBase
- { }
- public class EstimatedSumVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get ; set ; }
- ///
- /// 工厂
- ///
- public string Factory { private set; get; }
- }
-
- public class EstimatedSumVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
-
- ///
- /// 工厂
- ///
- public string Factory { private set; get; }
-
-
- }
-
-
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/IEstimatedSumAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/IEstimatedSumAppService.cs
deleted file mode 100644
index c82155c8..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/IEstimatedSumAppService.cs
+++ /dev/null
@@ -1,123 +0,0 @@
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-
-using Win.Sfs.SettleAccount.EstimatedInventories;
-using Win.Sfs.Shared.ApplicationBase;
-
-namespace Win.Sfs.SettleAccount.Entities.EstimatedSums
-{
-
- public interface IEstimatedSumAppService
- {
-
- ///
- /// 导入功能
- ///
- /// 上传的文件(前端已经限制只能上传一个附件)
- ///
- Task EstimatedSumUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode,string factory);
- ///
- /// 按ID获取唯一实体
- ///
- ///
- /// 返回实体全部属性
- ///
- /// ID
- /// 实体DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetListAsync(Guid parentId, EstimatedSumRequestDto input);
-
-
-
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetVersionListAsync(EstimatedSumVersionRequestDto input);
-
-
-
-
- ///
- /// 获取实体总数
- ///
- /// 实体总数
-
- Task GetTotalCountAsync(Guid branchId);
-
-
- /////
- ///// 获取全部实体列表
- /////
- ///// 实体DTO列表
-
- //Task> GetAllAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 新增实体
- /////
- ///// 新增实体DTO
- ///// 实体DTO
-
-
- //Task CreateAsync(EstimatedSumCreateDto input);
-
-
- /////
- ///// 修改实体
- /////
- ///// ID
- ///// 修改实体DTO
- ///// 实体DTO
-
- //Task UpdateAsync(Guid id, EstimatedSumUpdateDto input);
-
-
-
-
- /////
- ///// 删除实体
- /////
- ///// ID
- ///// 无
-
- //Task DeleteAsync(Guid id);
-
-
- ///
- /// 按IDs删除实体列表
- ///
- /// IDs
- /// 是否执行成功
-
- Task DeleteListAsync(List ids);
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQExtend/HQKBExtendDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQExtend/HQKBExtendDto.cs
deleted file mode 100644
index 6038f52e..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQExtend/HQKBExtendDto.cs
+++ /dev/null
@@ -1,273 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.HQExtend
-{
- public class HQKBExtendDto
- {
-
-
- [ImporterHeader(Name = "试制任务单编号")]
-
- public string TaskBillNum { get; set; }
- [ImporterHeader(Name = "采购申请单号")]
- public string BillNum { get; set; }
- [ImporterHeader(Name = "零件名称")]
- public string MaterialDesc { get; set; }
- [ImporterHeader(Name = "零件号")]
- public string MaterialCode { get; set; }
- [ImporterHeader(Name = "数量")]
- public decimal Qty { get; set; }
- [ImporterHeader(Name = "无税单价")]
- public decimal Price { get; set; }
-
- [ImporterHeader(Name = "无税金额")]
- public decimal Amt { get; set; }
- [ImporterHeader(Name = "税率")]
- public decimal Tax { get; set; }
- [ImporterHeader(Name = "税额合计")]
- public decimal TaxAmt { get; set; }
- [ImporterHeader(Name = "价税合计")]
- public decimal TotalAmt { get; set; }
- [ImporterHeader(Name = "版本号", IsIgnore = false)]
- public string Version { get; set; }
- }
-
-
- public class HQKBExtendRequestDto : RequestDtoBase, IBranch
- {
- [ImporterHeader(Name = "试制任务单编号")]
-
- public string TaskBillNum { get; set; }
- [ImporterHeader(Name = "采购申请单号")]
- public string BillNum { get; set; }
- [ImporterHeader(Name = "零件名称")]
- public string MaterialDesc { get; set; }
- [ImporterHeader(Name = "零件号")]
- public string MaterialCode { get; set; }
- [ImporterHeader(Name = "数量")]
- public decimal Qty { get; set; }
- [ImporterHeader(Name = "无税单价")]
- public decimal Price { get; set; }
-
- [ImporterHeader(Name = "无税金额")]
- public decimal Amt { get; set; }
- [ImporterHeader(Name = "税率")]
- public decimal Tax { get; set; }
- [ImporterHeader(Name = "税额合计")]
- public decimal TaxAmt { get; set; }
- [ImporterHeader(Name = "价税合计")]
- public decimal TotalAmt { get; set; }
- [ImporterHeader(Name = "版本号", IsIgnore = false)]
- public string Version { get; set; }
- public Guid BranchId { get; set; }
- }
-
- public class HQKBExtendExportDto
- {
- [ExporterHeader(DisplayName = "试制任务单编号")]
-
- public string TaskBillNum { get; set; }
- [ExporterHeader(DisplayName = "采购申请单号")]
- public string BillNum { get; set; }
- [ExporterHeader(DisplayName = "零件名称")]
- public string MaterialDesc { get; set; }
- [ExporterHeader(DisplayName = "零件号")]
- public string MaterialCode { get; set; }
- [ExporterHeader(DisplayName = "数量")]
- public decimal Qty { get; set; }
- [ExporterHeader(DisplayName = "无税单价")]
- public decimal Price { get; set; }
-
- [ExporterHeader(DisplayName = "无税金额")]
- public decimal Amt { get; set; }
- [ExporterHeader(DisplayName = "税率")]
- public decimal Tax { get; set; }
- [ExporterHeader(DisplayName = "税额合计")]
- public decimal TaxAmt { get; set; }
- [ExporterHeader(DisplayName = "价税合计")]
- public decimal TotalAmt { get; set; }
- [ExporterHeader(DisplayName = "版本号")]
- public string Version { get; set; }
- }
- public class HQKBExtendVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- }
-
-
- public class HQKBExtendVersionDto
- {
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { get; set; }
- ///
- /// 版本号
- ///
- public string Version { get; set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { set; get; }
-
-
- public string Factory { set; get; }
-
- }
-
- public class HQKBSettleExtendDto
- {
-
-
- [ImporterHeader(Name = "试制任务单编号")]
-
- public string TaskBillNum { get; set; }
- [ImporterHeader(Name = "采购申请单号")]
- public string BillNum { get; set; }
- [ImporterHeader(Name = "零件名称")]
- public string MaterialDesc { get; set; }
- [ImporterHeader(Name = "零件号")]
- public string MaterialCode { get; set; }
- [ImporterHeader(Name = "数量")]
- public decimal Qty { get; set; }
- [ImporterHeader(Name = "无税单价")]
- public decimal Price { get; set; }
-
- [ImporterHeader(Name = "无税金额")]
- public decimal Amt { get; set; }
- [ImporterHeader(Name = "税率")]
- public decimal Tax { get; set; }
- [ImporterHeader(Name = "税额合计")]
- public decimal TaxAmt { get; set; }
- [ImporterHeader(Name = "价税合计")]
- public decimal TotalAmt { get; set; }
- [ImporterHeader(Name = "版本号", IsIgnore = false)]
- public string Version { get; set; }
- }
-
-
- public class HQKBSettleExtendRequestDto : RequestDtoBase, IBranch
- {
- [ImporterHeader(Name = "试制任务单编号")]
-
- public string TaskBillNum { get; set; }
- [ImporterHeader(Name = "采购申请单号")]
- public string BillNum { get; set; }
- [ImporterHeader(Name = "零件名称")]
- public string MaterialDesc { get; set; }
- [ImporterHeader(Name = "零件号")]
- public string MaterialCode { get; set; }
- [ImporterHeader(Name = "数量")]
- public decimal Qty { get; set; }
- [ImporterHeader(Name = "无税单价")]
- public decimal Price { get; set; }
-
- [ImporterHeader(Name = "无税金额")]
- public decimal Amt { get; set; }
- [ImporterHeader(Name = "税率")]
- public decimal Tax { get; set; }
- [ImporterHeader(Name = "税额合计")]
- public decimal TaxAmt { get; set; }
- [ImporterHeader(Name = "价税合计")]
- public decimal TotalAmt { get; set; }
- [ImporterHeader(Name = "版本号", IsIgnore = false)]
- public string Version { get; set; }
- public Guid BranchId { get; set; }
- }
-
- public class HQKBSettleExtendExportDto
- {
- [ExporterHeader(DisplayName = "试制任务单编号")]
-
- public string TaskBillNum { get; set; }
- [ExporterHeader(DisplayName = "采购申请单号")]
- public string BillNum { get; set; }
- [ExporterHeader(DisplayName = "零件名称")]
- public string MaterialDesc { get; set; }
- [ExporterHeader(DisplayName = "零件号")]
- public string MaterialCode { get; set; }
- [ExporterHeader(DisplayName = "数量")]
- public decimal Qty { get; set; }
- [ExporterHeader(DisplayName = "无税单价")]
- public decimal Price { get; set; }
-
- [ExporterHeader(DisplayName = "无税金额")]
- public decimal Amt { get; set; }
- [ExporterHeader(DisplayName = "税率")]
- public decimal Tax { get; set; }
- [ExporterHeader(DisplayName = "税额合计")]
- public decimal TaxAmt { get; set; }
- [ExporterHeader(DisplayName = "价税合计")]
- public decimal TotalAmt { get; set; }
- [ExporterHeader(DisplayName = "版本号")]
- public string Version { get; set; }
- }
- public class HQKBSettleExtendVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- }
-
-
- public class HQKBSettleExtendVersionDto
- {
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { get; set; }
- ///
- /// 版本号
- ///
- public string Version { get; set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { set; get; }
-
-
- public string Factory { set; get; }
-
- }
-
-
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformCreateDto.cs
deleted file mode 100644
index 44655097..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformCreateDto.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.SettleAccount.Entities.VWScrapClaims;
-using Win.Sfs.Shared;
-
-namespace Win.Sfs.SettleAccount.Entities.HQ_H
-{
- public class HQ_H_PlatformCreateDto : HQ_H_PlatformDtoBase, IBranch
- {
- public virtual Guid BranchId { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformDto.cs
deleted file mode 100644
index 9a3edca6..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformDto.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.HQ_H
-{
-
- public class HQ_H_PlatformDto : AuditedEntityDtoBase
- {
- ///
- ///工厂
- ///
- public string Factory { get; set; }
- ///
- ///外部单号
- ///
- public string ExternalKanbanNumber { get; set; }
- ///
- ///看板编号
- ///
- public string KanbanNumber { get; set; }
- ///
- ///物料凭证号
- ///
- public string MaterialVoucherNo { get; set; }
-
- ///
- ///会计年度
- ///
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { set; get; }
- ///
- /// 版本号
- ///
- public string Version { set; get; }
- ///
- /// 看板号
- ///
- public string HQHKanBan { set; get; }
-
-
- ///
- /// 物料号
- ///
- public string MaterialCode { get; set; }
-
- ///
- /// 验收单日期
- ///
- public DateTime AcceptanceDate { get; set; }
-
- ///
- /// 供应商
- ///
- public string Supplier { get; set; }
-
- ///
- /// 存储地点
- ///
- public string StorageLocation { get; set; }
-
- ///
- /// 存储地点描述
- ///
- public string StorageLocationDesc { get; set; }
-
- ///
- ///验收单号
- ///
- public string AcceptanceNo { get; set; }
-
- ///
- /// 数量
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 单价
- ///
- public decimal Price { set; get; }
-
- ///
- /// 金额
- ///
- public decimal Amt { set; get; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformDtoBase.cs
deleted file mode 100644
index 214442b8..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformDtoBase.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.HQ_H
-{
- public class HQ_H_PlatformDtoBase : CreateOrUpdateEntityDtoBase
- {
- ///
- ///工厂
- ///
- public string Factory { get; set; }
- ///
- ///外部单号
- ///
- public string ExternalKanbanNumber { get; set; }
- ///
- ///看板编号
- ///
- public string KanbanNumber { get; set; }
- ///
- ///物料凭证号
- ///
- public string MaterialVoucherNo { get; set; }
-
- ///
- ///会计年度
- ///
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { set; get; }
- ///
- /// 版本号
- ///
- public string Version { set; get; }
- ///
- /// 类型:CP7报废和索赔两种
- ///
- public string HQHKanBan { set; get; }
-
-
- ///
- /// 物料号
- ///
- public string MaterialCode { get; set; }
-
- ///
- /// 验收单日期
- ///
- public DateTime AcceptanceDate { get; set; }
-
- ///
- /// 供应商
- ///
- public string Supplier { get; set; }
-
- ///
- /// 存储地点描述
- ///
- public string StorageLocation { get; set; }
-
- ///
- /// 存储地点描述
- ///
- public string StorageLocationDesc { get; set; }
-
- ///
- ///验收单号
- ///
- public string AcceptanceNo { get; set; }
-
- ///
- /// 数量
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 单价
- ///
- public decimal Price { set; get; }
-
- ///
- /// 金额
- ///
- public decimal Amt { set; get; }
- }
-
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformExportDto.cs
deleted file mode 100644
index 213804bd..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformExportDto.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.HQ_H
-{
- public class HQ_H_PlatformExportDto
- {
- ///
- ///工厂
- ///
- [ExporterHeader(DisplayName = "工厂")]
- public string Factory { get; set; }
- ///
- ///外部单号
- ///
- [ExporterHeader(DisplayName = "外部单号")]
- public string ExternalKanbanNumber { get; set; }
- ///
- ///看板编号
- ///
- [ExporterHeader(DisplayName = "看板编号")]
- public string KanbanNumber { get; set; }
- ///
- ///物料凭证号
- ///
- [ExporterHeader(DisplayName = "物料凭证号")]
- public string MaterialVoucherNo { get; set; }
-
- ///
- ///会计年度
- ///
- [ExporterHeader(DisplayName = "会计年度")]
- public string Year { get; set; }
- ///
- /// 期间
- ///
- [ExporterHeader(DisplayName = "期间")]
- public string Period { set; get; }
- ///
- /// 版本号
- ///
- [ExporterHeader(DisplayName = "版本号")]
- public string Version { set; get; }
- ///
- /// 看板号
- ///
- [ExporterHeader(DisplayName = "看板号")]
- public string HQHKanBan { set; get; }
-
-
- ///
- /// 物料号
- ///
- [ExporterHeader(DisplayName = "物料号")]
- public string MaterialCode { get; set; }
-
- ///
- /// 验收单日期
- ///
- [ExporterHeader(DisplayName = "验收单日期")]
- public DateTime AcceptanceDate { get; set; }
-
- ///
- /// 供应商
- ///
- [ExporterHeader(DisplayName = "供应商")]
- public string Supplier { get; set; }
-
- ///
- /// 存储地点
- ///
- [ExporterHeader(DisplayName = "存储地点")]
- public string StorageLocation { get; set; }
-
- ///
- /// 存储地点描述
- ///
- [ExporterHeader(DisplayName = "存储地点描述")]
- public string StorageLocationDesc { get; set; }
-
- ///
- ///验收单号
- ///
- [ExporterHeader(DisplayName = "验收单号")]
- public string AcceptanceNo { get; set; }
-
- ///
- /// 数量
- ///
- [ExporterHeader(DisplayName = "数量")]
- public decimal Qty { set; get; }
-
- ///
- /// 单价
- ///
- [ExporterHeader(DisplayName = "单价")]
- public decimal Price { set; get; }
-
- ///
- /// 金额
- ///
- [ExporterHeader(DisplayName = "金额")]
- public decimal Amt { set; get; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformImportDto.cs
deleted file mode 100644
index e46caa69..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformImportDto.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.HQ_H
-{
- public class HQ_H_PlatformImportDto
- {
- ///
- ///工厂
- ///
- [ImporterHeader(Name = "工厂")]
- public string Factory { get; set; }
- ///
- ///外部单号
- ///
- [ImporterHeader(Name = "外部单号")]
- public string ExternalKanbanNumber { get; set; }
- ///
- ///看板编号
- ///
- [ImporterHeader(Name = "看板编号")]
- public string KanbanNumber { get; set; }
- ///
- ///物料凭证号
- ///
- [ImporterHeader(Name = "物料凭证号")]
- public string MaterialVoucherNo { get; set; }
-
- ///
- ///会计年度
- ///
- [ImporterHeader(Name = "会计年度")]
- public string Year { get; set; }
- ///
- /// 期间
- ///
- //[ImporterHeader(Name = "期间")]
- //public string Period { set; get; }
- ///
- /// 版本号
- ///
- //[ImporterHeader(Name = "版本号")]
- //public string Version { set; get; }
- ///
- /// 看板号
- ///
- [ImporterHeader(Name = "看板号")]
- public string HQHKanBan { set; get; }
-
-
- ///
- /// 物料号
- ///
- [ImporterHeader(Name = "物料号")]
- public string MaterialCode { get; set; }
-
- ///
- /// 验收单日期
- ///
- [ImporterHeader(Name = "验收单日期")]
- public DateTime AcceptanceDate { get; set; }
-
- ///
- /// 供应商
- ///
- [ImporterHeader(Name = "供应商")]
- public string Supplier { get; set; }
-
- ///
- /// 存储地点
- ///
- [ImporterHeader(Name = "存储地点")]
- public string StorageLocation { get; set; }
-
- ///
- /// 存储地点描述
- ///
- [ImporterHeader(Name = "存储地点描述")]
- public string StorageLocationDesc { get; set; }
-
- ///
- ///验收单号
- ///
- [ImporterHeader(Name = "验收单号")]
- public string AcceptanceNo { get; set; }
-
- ///
- /// 数量
- ///
- [ImporterHeader(Name = "数量")]
- public decimal Qty { set; get; }
-
- ///
- /// 单价
- ///
- [ImporterHeader(Name = "单价")]
- public decimal Price { set; get; }
-
- ///
- /// 金额
- ///
- [ImporterHeader(Name = "金额")]
- public decimal Amt { set; get; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformRequestDto.cs
deleted file mode 100644
index 5d0ee41c..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformRequestDto.cs
+++ /dev/null
@@ -1,101 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.HQ_H
-{
- public class HQ_H_PlatformRequestDto : RequestDtoBase
- {
-
- ///
- ///工厂
- ///
- public string Factory { get; set; }
- ///
- ///外部单号
- ///
- public string ExternalKanbanNumber { get; set; }
- ///
- ///看板编号
- ///
- public string KanbanNumber { get; set; }
- ///
- ///物料凭证号
- ///
- public string MaterialVoucherNo { get; set; }
-
- ///
- ///会计年度
- ///
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { set; get; }
- ///
- /// 版本号
- ///
- public string Version { set; get; }
- ///
- /// 看板号
- ///
- public string HQHKanBan { set; get; }
-
-
- ///
- /// 物料号
- ///
- public string MaterialCode { get; set; }
-
- ///
- /// 验收单日期
- ///
- public DateTime AcceptanceDate { get; set; }
-
- ///
- /// 供应商
- ///
- public string Supplier { get; set; }
-
- ///
- /// 存储地点
- ///
- public string StorageLocation { get; set; }
-
- ///
- ///验收单号
- ///
- public string AcceptanceNo { get; set; }
-
- ///
- /// 数量
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 单价
- ///
- public decimal Price { set; get; }
-
- ///
- /// 金额
- ///
- public decimal Amt { set; get; }
-
- ///
- /// 存储地点描述
- ///
- public string StorageLocationDesc { get; set; }
-
- public virtual Guid ParentId { get; set; }
- public virtual Guid BranchId { get; set; }
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformVersionDtoBase.cs
deleted file mode 100644
index 371dba32..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformVersionDtoBase.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.HQ_H
-{
- ///
- /// SettleAccountVersion
- ///
- public class HQ_H_PlatformVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-
- public class HQ_H_PlatformVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { get; set; }
- ///
- /// 版本号
- ///
- public string Version { get; set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class HQ_H_PlatformVersionCreateDto : HQ_H_PlatformVersionDtoBase
- { }
- public class HQ_H_PlatformVersionUpdateDto : HQ_H_PlatformVersionDtoBase
- { }
- public class HQ_H_PlatformVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class HQ_H_PlatformVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/IHQ_H_PlatformAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/IHQ_H_PlatformAppService.cs
deleted file mode 100644
index f2f940d6..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/IHQ_H_PlatformAppService.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-
-namespace Win.Sfs.SettleAccount.Entities.HQ_H
-{
- public interface IHQ_H_PlatformAppService
- {
- ///
- /// 导入功能
- ///
- /// 上传的文件(前端已经限制只能上传一个附件)
- ///
-
- Task HQ_H_PlatformUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId,
- string year, string period, string version, string customerCode);
-
- ///
- /// 按ID获取唯一实体
- ///
- ///
- /// 返回实体全部属性
- ///
- /// ID
- /// 实体DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetListAsync(HQ_H_PlatformRequestDto input);
-
-
-
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetVersionListAsync(HQ_H_PlatformVersionRequestDto input);
-
-
- Task ExportAsync(HQ_H_PlatformRequestDto input);
-
- ///
- /// 获取实体总数
- ///
- /// 实体总数
-
- Task GetTotalCountAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 删除实体
- /////
- ///// ID
- ///// 无
-
- Task DeleteAsync(Guid id);
-
-
- ///
- /// 按IDs删除实体列表
- ///
- /// IDs
- /// 是否执行成功
-
- Task DeleteListAsync(List ids);
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/IInventoryDetailAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/IInventoryDetailAppService.cs
index ae7e6e21..0b2e5d47 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/IInventoryDetailAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/IInventoryDetailAppService.cs
@@ -8,7 +8,6 @@ using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Win.Sfs.SettleAccount.Entities.InventoryDetialVersion;
-using Win.Sfs.SettleAccount.EstimatedInventories;
using Win.Sfs.SettleAccount.Inventories;
using Win.Sfs.Shared.ApplicationBase;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/IItemInvoicePriceAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/IItemInvoicePriceAppService.cs
index 6cc80e46..e4c2b1c9 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/IItemInvoicePriceAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/IItemInvoicePriceAppService.cs
@@ -8,7 +8,6 @@ using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Win.Sfs.SettleAccount.Entities.ItemInvoicePrices;
-using Win.Sfs.SettleAccount.EstimatedInventories;
using Win.Sfs.Shared.ApplicationBase;
namespace Win.Sfs.SettleAccount.ItemInvoicePrices
{
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryAdjustmentAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryAdjustmentAppService.cs
deleted file mode 100644
index 7a19368f..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryAdjustmentAppService.cs
+++ /dev/null
@@ -1,137 +0,0 @@
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-
-using Win.Sfs.SettleAccount.EstimatedInventories;
-using Win.Sfs.Shared.ApplicationBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
-
- public interface ISecondaryAdjustmentAppService
-
-
- {
-
- ///
- /// 导入功能
- ///
- /// 上传的文件(前端已经限制只能上传一个附件)
- ///
-
- Task SecondaryAdjustmentUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory);
-
-
-
-
- ///
- /// 按ID获取唯一实体
- ///
- ///
- /// 返回实体全部属性
- ///
- /// ID
- /// 实体DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetListAsync(Guid parentId, SecondaryAdjustmentRequestDto input);
-
-
-
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetVersionListAsync(SecondaryAdjustmentVersionRequestDto input);
-
-
-
-
- ///
- /// 获取实体总数
- ///
- /// 实体总数
-
- Task GetTotalCountAsync(Guid branchId);
-
-
- ///
- /// 获取全部实体列表
- ///
- /// 实体DTO列表
-
- ///Task> GetAllAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 新增实体
- /////
- ///// 新增实体DTO
- ///// 实体DTO
-
-
- //Task CreateAsync(SecondaryAdjustmentCreateDto input);
-
-
- /////
- ///// 修改实体
- /////
- ///// ID
- ///// 修改实体DTO
- ///// 实体DTO
-
- //Task UpdateAsync(Guid id, SecondaryAdjustmentUpdateDto input);
-
-
-
-
- /////
- ///// 删除实体
- /////
- ///// ID
- ///// 无
-
- //Task DeleteAsync(Guid id);
-
-
- ///
- /// 按IDs删除实体列表
- ///
- /// IDs
- /// 是否执行成功
-
- Task DeleteListAsync(List ids);
-
-
-
- }
-
-
-
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryDiscountAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryDiscountAppService.cs
deleted file mode 100644
index b622ad2b..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryDiscountAppService.cs
+++ /dev/null
@@ -1,137 +0,0 @@
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-
-using Win.Sfs.SettleAccount.EstimatedInventories;
-using Win.Sfs.Shared.ApplicationBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
-
- public interface ISecondaryDiscountAppService
-
-
- {
-
- ///
- /// 导入功能
- ///
- /// 上传的文件(前端已经限制只能上传一个附件)
- ///
-
- Task SecondaryDiscountUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory);
-
-
-
-
- ///
- /// 按ID获取唯一实体
- ///
- ///
- /// 返回实体全部属性
- ///
- /// ID
- /// 实体DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetListAsync(Guid parentId, SecondaryDiscountRequestDto input);
-
-
-
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetVersionListAsync(SecondaryDiscountVersionRequestDto input);
-
-
-
-
- ///
- /// 获取实体总数
- ///
- /// 实体总数
-
- Task GetTotalCountAsync(Guid branchId);
-
-
- ///
- /// 获取全部实体列表
- ///
- /// 实体DTO列表
-
- ///Task> GetAllAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 新增实体
- /////
- ///// 新增实体DTO
- ///// 实体DTO
-
-
- //Task CreateAsync(SecondaryDiscountCreateDto input);
-
-
- /////
- ///// 修改实体
- /////
- ///// ID
- ///// 修改实体DTO
- ///// 实体DTO
-
- //Task UpdateAsync(Guid id, SecondaryDiscountUpdateDto input);
-
-
-
-
- /////
- ///// 删除实体
- /////
- ///// ID
- ///// 无
-
- //Task DeleteAsync(Guid id);
-
-
- ///
- /// 按IDs删除实体列表
- ///
- /// IDs
- /// 是否执行成功
-
- Task DeleteListAsync(List ids);
-
-
-
- }
-
-
-
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryPriceRatioAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryPriceRatioAppService.cs
deleted file mode 100644
index 1e271152..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryPriceRatioAppService.cs
+++ /dev/null
@@ -1,135 +0,0 @@
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-
-using Win.Sfs.SettleAccount.EstimatedInventories;
-using Win.Sfs.Shared.ApplicationBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
- public interface ISecondaryPriceRatioAppService
-
-
- {
-
- ///
- /// 导入功能
- ///
- /// 上传的文件(前端已经限制只能上传一个附件)
- ///
-
- Task SecondaryPriceRatioUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory);
-
-
-
-
- ///
- /// 按ID获取唯一实体
- ///
- ///
- /// 返回实体全部属性
- ///
- /// ID
- /// 实体DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetListAsync(Guid parentId, SecondaryPriceRatioRequestDto input);
-
-
-
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetVersionListAsync(SecondaryPriceRatioVersionRequestDto input);
-
-
-
-
- ///
- /// 获取实体总数
- ///
- /// 实体总数
-
- Task GetTotalCountAsync(Guid branchId);
-
-
- ///
- ///// 获取全部实体列表
- /////
- ///// 实体DTO列表
-
- //Task> GetAllAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 新增实体
- /////
- ///// 新增实体DTO
- ///// 实体DTO
-
-
- //Task CreateAsync(SecondaryPriceRatioCreateDto input);
-
-
- /////
- ///// 修改实体
- /////
- ///// ID
- ///// 修改实体DTO
- ///// 实体DTO
-
- //Task UpdateAsync(Guid id, SecondaryPriceRatioUpdateDto input);
-
-
-
-
- /////
- ///// 删除实体
- /////
- ///// ID
- ///// 无
-
- //Task DeleteAsync(Guid id);
-
-
- ///
- /// 按IDs删除实体列表
- ///
- /// IDs
- /// 是否执行成功
-
- Task DeleteListAsync(List ids);
-
-
-
- }
-
-
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryAdjustmentDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryAdjustmentDtoBase.cs
deleted file mode 100644
index 45c9059c..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryAdjustmentDtoBase.cs
+++ /dev/null
@@ -1,360 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
-
- ///
- /// SecondaryAdjustment
- ///
- public class SecondaryAdjustmentDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- ///
- ///年度
- ///
- public string Year { get; protected set; }
-
- ///
- /// 期间
- ///
- public string Period { set; get; }
-
-
- public string Version { set; get; }
-
-
- ///
- /// 客户总成物料号
- ///
- public string CustomerMaterialCode { set; get; }
-
- ///
- /// 客户组件物料号
- ///
- public string CustomerComponentCode { set; get; }
-
-
- ///
- /// 供应商代码
- ///
- public string SupplierCode { set; get; }
-
-
- ///
- /// 零件数量(回款)
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 金额(不含税)
- ///
- public decimal Amt { set; get; }
-
- ///
- /// 金额(含税)
- ///
- public decimal Total { set; get; }
-
-
-
- ///
- /// 价格或零件号变动情况
- ///
-
- //[Display(Name = "价格或零件号变动情况")]
- public string HasChanged { get; set; } = "否";
-
-
- ///
- /// 二配采购员
- ///
-
- //[Display(Name = "二配采购员")]
- public string Buyer { get; set; }
-
-
- public string Remark { set; get; }
-
-
- }
-
-
-
- public class SecondaryAdjustmentDto : AuditedEntityDtoBase
- {
-
- ///
- ///年度
- ///
- public string Year { get; protected set; }
-
- ///
- /// 期间
- ///
- public string Period { set; get; }
-
-
- public string Version { set; get; }
-
-
- ///
- /// 客户总成物料号
- ///
- public string CustomerMaterialCode { set; get; }
-
- ///
- /// 客户组件物料号
- ///
- public string CustomerComponentCode { set; get; }
-
-
- ///
- /// 供应商代码
- ///
- public string SupplierCode { set; get; }
-
-
- ///
- /// 零件数量(回款)
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 金额(不含税)
- ///
- public decimal Amt { set; get; }
-
- ///
- /// 金额(含税)
- ///
- public decimal Total { set; get; }
-
-
- ///
- /// 价格或零件号变动情况
- ///
-
- //[Display(Name = "价格或零件号变动情况")]
- public string HasChanged { get; set; } = "否";
-
-
- ///
- /// 二配采购员
- ///
-
- //[Display(Name = "二配采购员")]
- public string Buyer { get; set; }
-
- }
- public class SecondaryAdjustmentCreateDto : SecondaryAdjustmentDtoBase
- { }
- public class SecondaryAdjustmentUpdateDto : SecondaryAdjustmentDtoBase
- { }
- public class SecondaryAdjustmentRequestDto : RequestDtoBase, IBranch
- {
-
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
-
-
-
- ///
- ///年度
- ///
- public string Year { get; protected set; }
-
- ///
- /// 期间
- ///
- public string Period { set; get; }
-
-
- public string Version { set; get; }
-
-
- ///
- /// 客户总成物料号
- ///
- public string CustomerMaterialCode { set; get; }
-
- ///
- /// 客户组件物料号
- ///
- public string CustomerComponentCode { set; get; }
-
-
- ///
- /// 供应商代码
- ///
- public string SupplierCode { set; get; }
-
-
- ///
- /// 零件数量(回款)
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 金额(不含税)
- ///
- public decimal Amt { set; get; }
-
- ///
- /// 金额(含税)
- ///
- public decimal Total { set; get; }
-
-
-
-
- public Guid ParentId { set; get; }
- public Guid BranchId { get ; set ; }
- }
-
-
- public class SecondaryAdjustmentImportDto
- {
-
- ///
- /// 客户总成物料号
- ///
- [ImporterHeader(Name = "客户总成物料号")]
- [Required(ErrorMessage = "{0}是必填项")]
- public string CustomerMaterialCode { set; get; }
-
- ///
- /// 客户组件物料号
- ///
- [ImporterHeader(Name = "客户组件物料号")]
- [Required(ErrorMessage = "{0}是必填项")]
- public string CustomerComponentCode { set; get; }
-
-
- ///
- /// 供应商代码
- ///
-
-
- [ImporterHeader(Name = "供应商代码")]
- [Required(ErrorMessage = "{0}是必填项")]
- public string SupplierCode { set; get; }
-
-
- ///
- /// 零件数量(回款)
- ///
- [ImporterHeader(Name = "回款零件数量")]
- [Required(ErrorMessage = "{0}是必填项")]
- public decimal Qty { set; get; }
-
-
-
-
-
-
- ///
- /// 价格或零件号变动情况
- ///
-
- [ImporterHeader(Name = "价格或零件号变动情况")]
- public string HasChanged { get; set; } = "否";
-
-
- ///
- /// 二配采购员
- ///
- [ImporterHeader(Name = "二配采购员")]
- //[Display(Name = "二配采购员")]
- public string Buyer { get; set; }
-
-
-
-
-
-
-
- }
- public class SecondaryAdjustmentExportDto
- {
-
- [ExporterHeader(DisplayName = "期间")]
-
- public string Version { set; get; }
-
-
- ///
- /// 客户总成物料号
- ///
- [ExporterHeader(DisplayName = "客户总成物料号")]
-
- public string CustomerMaterialCode { set; get; }
-
- ///
- /// 客户组件物料号
- ///
- [ExporterHeader(DisplayName = "客户组件物料号")]
-
- public string CustomerComponentCode { set; get; }
-
-
- ///
- /// 供应商代码
- ///
-
-
- [ExporterHeader(DisplayName = "供应商代码")]
-
- public string SupplierCode { set; get; }
-
-
- ///
- /// 零件数量(回款)
- ///
- [ExporterHeader(DisplayName = "零件数量(回款)")]
-
- public decimal Qty { set; get; }
-
-
-
-
-
-
- ///
- /// 价格或零件号变动情况
- ///
-
- [ExporterHeader(DisplayName = "价格或零件号变动情况")]
- public string HasChanged { get; set; } = "否";
-
-
- ///
- /// 二配采购员
- ///
- [ExporterHeader(DisplayName = "二配采购员")]
- //[Display(Name = "二配采购员")]
- public string Buyer { get; set; }
-
- [ExporterHeader(DisplayName = "备注")]
- //[Display(Name = "二配采购员")]
- public string Remark { get; set; }
-
-
-
-
-
- }
-
-
-
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryAdjustmentVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryAdjustmentVersionDtoBase.cs
deleted file mode 100644
index c56b393c..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryAdjustmentVersionDtoBase.cs
+++ /dev/null
@@ -1,124 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
-
- ///
- /// SecondaryAdjustmentVersion
- ///
- public class SecondaryAdjustmentVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
- ///
- /// 工厂
- ///
- public string Factory { private set; get; }
-
-
- }
-
-
-
- public class SecondaryAdjustmentVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- ///
- /// 工厂
- ///
- public string Factory { private set; get; }
- }
-
- public class SecondaryAdjustmentVersionCreateDto : SecondaryAdjustmentVersionDtoBase
- { }
- public class SecondaryAdjustmentVersionUpdateDto : SecondaryAdjustmentVersionDtoBase
- { }
- public class SecondaryAdjustmentVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- ///
- /// 工厂
- ///
- public string Factory { private set; get; }
- }
-
- public class SecondaryAdjustmentVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
-
- ///
- /// 工厂
- ///
- public string Factory { private set; get; }
-
-
- }
-
-}
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryDiscountDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryDiscountDtoBase.cs
deleted file mode 100644
index 784ba67a..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryDiscountDtoBase.cs
+++ /dev/null
@@ -1,319 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
-
- ///
- /// SecondaryDiscount
- ///
- public class SecondaryDiscountDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- ///
- ///年度
- ///
- public string Year { get; protected set; }
-
- ///
- /// 期间
- ///
- public string Period { set; get; }
-
-
- public string Version { set; get; }
-
-
- ///
- /// 客户总成物料号
- ///
- public string CustomerMaterialCode { set; get; }
-
- ///
- /// 客户组件物料号
- ///
- public string CustomerComponentCode { set; get; }
-
-
- ///
- /// 供应商代码
- ///
- public string SupplierCode { set; get; }
-
-
- ///
- /// 零件数量(回款)
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 金额(不含税)
- ///
- public decimal Amt { set; get; }
-
- ///
- /// 金额(含税)
- ///
- public decimal Total { set; get; }
-
-
-
- ///
- /// 价格或零件号变动情况
- ///
-
- //[Display(Name = "价格或零件号变动情况")]
- public string HasChanged { get; set; } = "否";
-
-
- ///
- /// 二配采购员
- ///
-
- //[Display(Name = "二配采购员")]
- public string Buyer { get; set; }
-
-
- public string Remark { set; get; }
-
-
- }
-
-
-
- public class SecondaryDiscountDto : AuditedEntityDtoBase
- {
-
- ///
- ///年度
- ///
- public string Year { get; protected set; }
-
- ///
- /// 期间
- ///
- public string Period { set; get; }
-
-
- public string Version { set; get; }
-
-
- ///
- /// 客户总成物料号
- ///
- public string CustomerMaterialCode { set; get; }
-
- ///
- /// 客户组件物料号
- ///
- public string CustomerComponentCode { set; get; }
-
-
- ///
- /// 供应商代码
- ///
- public string SupplierCode { set; get; }
-
-
- ///
- /// 零件数量(回款)
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 金额(不含税)
- ///
- public decimal Amt { set; get; }
-
- ///
- /// 金额(含税)
- ///
- public decimal Total { set; get; }
-
-
- ///
- /// 价格或零件号变动情况
- ///
-
- //[Display(Name = "价格或零件号变动情况")]
- public string HasChanged { get; set; } = "否";
-
-
- ///
- /// 二配采购员
- ///
-
- //[Display(Name = "二配采购员")]
- public string Buyer { get; set; }
-
- }
- public class SecondaryDiscountCreateDto : SecondaryDiscountDtoBase
- { }
- public class SecondaryDiscountUpdateDto : SecondaryDiscountDtoBase
- { }
- public class SecondaryDiscountRequestDto : RequestDtoBase, IBranch
- {
- ///
- ///年度
- ///
- public string Year { get; protected set; }
-
- ///
- /// 期间
- ///
- public string Period { set; get; }
-
-
- public string Version { set; get; }
-
-
- ///
- /// 客户总成物料号
- ///
- public string CustomerMaterialCode { set; get; }
-
- ///
- /// 客户组件物料号
- ///
- public string CustomerComponentCode { set; get; }
-
-
- ///
- /// 供应商代码
- ///
- public string SupplierCode { set; get; }
-
-
- ///
- /// 零件数量(回款)
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 金额(不含税)
- ///
- public decimal Amt { set; get; }
-
- ///
- /// 金额(含税)
- ///
- public decimal Total { set; get; }
-
-
-
-
- public Guid ParentId { set; get; }
- public Guid BranchId { get ; set ; }
- }
-
-
- public class SecondaryDiscountImportDto
- {
-
-
- ///
- /// 供应商代码
- ///
-
-
- [ImporterHeader(Name = "供应商代码")]
- [Required(ErrorMessage = "{0}是必填项")]
- public string SupplierCode { set; get; }
-
- ///
- /// 价格或零件号变动情况
- ///
-
- [ImporterHeader(Name = "价格或零件号变动情况")]
- public string HasChanged { get; set; } = "否";
-
-
- ///
- /// 二配采购员
- ///
- [ImporterHeader(Name = "二配采购员")]
- //[Display(Name = "二配采购员")]
- public string Buyer { get; set; }
-
-
-
- ///
- /// 金额(不含税)
- ///
- [ImporterHeader(Name = "不含税金额")]
-
- public decimal Amt { set; get; }
-
-
-
-
-
-
- }
-
-
- public class SecondaryDiscountExportDto
- {
-
- ///
- /// 供应商代码
- ///
- [ExporterHeader(DisplayName ="供应商代码")]
- [Required(ErrorMessage = "{0}是必填项")]
- public string SupplierCode { set; get; }
-
-
- ///
- /// 零件数量(回款)
- ///
- [ExporterHeader(DisplayName ="回款零件数量")]
- [Required(ErrorMessage = "{0}是必填项")]
- public decimal Qty { set; get; }
-
-
- ///
- /// 价格或零件号变动情况
- ///
- [ExporterHeader(DisplayName ="价格或零件号变动情况")]
- public string HasChanged { get; set; } = "否";
-
-
- ///
- /// 二配采购员
- ///
- [ExporterHeader(DisplayName ="二配采购员")]
- //[Display(Name = "二配采购员")]
- public string Buyer { get; set; }
-
-
- ///
- /// 金额(不含税)
- ///
- [ExporterHeader(DisplayName ="不含税金额")]
-
- public decimal Amt { set; get; }
-
- ///
- /// 金额(含税)
- ///
- [ExporterHeader(DisplayName ="含税金额")]
- public decimal Total { set; get; }
-
-
-
-
- }
-
-
-
-
-
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryDiscountVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryDiscountVersionDtoBase.cs
deleted file mode 100644
index 9c40563e..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryDiscountVersionDtoBase.cs
+++ /dev/null
@@ -1,124 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
-
- ///
- /// SecondaryDiscountVersion
- ///
- public class SecondaryDiscountVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
- ///
- /// 工厂
- ///
- public string Factory { private set; get; }
-
-
- }
-
-
-
- public class SecondaryDiscountVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- ///
- /// 工厂
- ///
- public string Factory { private set; get; }
- }
-
- public class SecondaryDiscountVersionCreateDto : SecondaryDiscountVersionDtoBase
- { }
- public class SecondaryDiscountVersionUpdateDto : SecondaryDiscountVersionDtoBase
- { }
- public class SecondaryDiscountVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- ///
- /// 工厂
- ///
- public string Factory { private set; get; }
- }
-
- public class SecondaryDiscountVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
-
- ///
- /// 工厂
- ///
- public string Factory { private set; get; }
-
-
- }
-
-}
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryPriceRatioDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryPriceRatioDtoBase.cs
deleted file mode 100644
index 067728ba..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryPriceRatioDtoBase.cs
+++ /dev/null
@@ -1,388 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
- ///
- /// SecondaryPriceRatio
- ///
- public class SecondaryPriceRatioDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { get; set; }
-
- public string Version { set; get; }
-
-
-
-
- ///
- /// 客户代码
- ///
- public string CustomerCode { set; get; }
-
-
-
- ///
- /// 客户总成物料号
- ///
- public string CustomItemCode { set; get; }
-
- ///
- /// 客户物料号结算价格
- ///
- public decimal CustomItemPrice { set; get; }
-
-
-
- ///
- /// 客户组件物料号
- ///
- public string CustomSubItemCode { get; set; }
-
-
- ///
- /// 客户物料号结算价格
- ///
- public decimal CustomSubItemPrice { set; get; }
-
-
- ///
- /// 供应商代码
- ///
- public string SupplierCode { get; set; }
- ///
- /// 供应商描述
- ///
- public string SupplierDesc { get; set; }
-
- ///
- /// 供货比例
- ///
- public string SupplyProportion { set; get; }
-
- ///
- /// 比例供货价格
- ///
- public decimal SupplyProportionPrice { get; set; }
-
-
- public Guid ParentId { set; get; }
-
- }
-
-
-
- public class SecondaryPriceRatioDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { get; set; }
-
- public string Version { set; get; }
-
-
-
-
- ///
- /// 客户代码
- ///
- public string CustomerCode { set; get; }
-
-
-
- ///
- /// 客户总成物料号
- ///
- public string CustomItemCode { set; get; }
-
- ///
- /// 客户物料号结算价格
- ///
- public decimal CustomItemPrice { set; get; }
-
-
-
- ///
- /// 客户组件物料号
- ///
- public string CustomSubItemCode { get; set; }
-
-
- ///
- /// 客户物料号结算价格
- ///
- public decimal CustomSubItemPrice { set; get; }
-
-
- ///
- /// 供应商代码
- ///
- public string SupplierCode { get; set; }
- ///
- /// 供应商描述
- ///
- public string SupplierDesc { get; set; }
-
- ///
- /// 供货比例
- ///
- public string SupplyProportion { set; get; }
-
- ///
- /// 比例供货价格
- ///
- public decimal SupplyProportionPrice { get; set; }
-
-
- public Guid ParentId { set; get; }
- public Guid BranchId { get ; set; }
- }
-
- public class SecondaryPriceRatioCreateDto : SecondaryPriceRatioDtoBase
- { }
- public class SecondaryPriceRatioUpdateDto : SecondaryPriceRatioDtoBase
- { }
- public class SecondaryPriceRatioRequestDto : RequestDtoBase, IBranch
- {
-
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
-
- public string Version { set; get; }
-
- ///
- /// 客户代码
- ///
- public string CustomerCode { set; get; }
-
- ///
- /// 客户总成物料号
- ///
- public string CustomItemCode { set; get; }
-
- ///
- /// 客户物料号结算价格
- ///
- public decimal CustomItemPrice { set; get; }
-
-
-
- ///
- /// 客户组件物料号
- ///
- public string CustomSubItemCode { get; set; }
-
-
- ///
- /// 客户物料号结算价格
- ///
- public decimal CustomSubItemPrice { set; get; }
-
-
- ///
- /// 供应商代码
- ///
- public string SupplierCode { get; set; }
- ///
- /// 供应商描述
- ///
- public string SupplierDesc { get; set; }
-
- ///
- /// 供货比例
- ///
- public string SupplyProportion { set; get; }
-
- ///
- /// 比例供货价格
- ///
- public decimal SupplyProportionPrice { get; set; }
-
-
- public Guid ParentId { set; get; }
- public Guid BranchId { get ; set ; }
- }
-
- public class SecondaryPriceRatioImportDto
- {
-
-
-
-
-
-
-
- ///
- /// 客户代码
- ///
- [ImporterHeader(Name = "客户代码")]
- [Required(ErrorMessage = "{0}是必填项")]
-
- public string CustomerCode { set; get; }
-
-
-
- ///
- /// 客户物料号
- ///
- [ImporterHeader(Name = "客户总成物料号")]
- [Required(ErrorMessage = "{0}是必填项")]
- public string CustomItemCode { set; get; }
-
- ///
- /// 客户物料号结算价格
- ///
- [ImporterHeader(Name = "客户物料号结算价格")]
- [Required(ErrorMessage = "{0}是必填项")]
- public decimal CustomItemPrice { set; get; }
-
-
-
- ///
- /// 客户组件物料号
- ///
- [ImporterHeader(Name = "客户组件")]
- [Required(ErrorMessage = "{0}是必填项")]
- public string CustomSubItemCode { get; set; }
-
-
- ///
- /// 客户物料号结算价格
- ///
- [ImporterHeader(Name = "客户组件结算价格")]
- [Required(ErrorMessage = "{0}是必填项")]
- public decimal CustomSubItemPrice { set; get; }
-
-
- ///
- /// 供应商代码
- ///
-
- [ImporterHeader(Name = "供应商代码")]
- [Required(ErrorMessage = "{0}是必填项")]
- public string SupplierCode { get; set; }
- ///
- /// 供应商描述
- ///
- [ImporterHeader(Name = "供应商描述")]
-
- public string SupplierDesc { get; set; }
-
- ///
- /// 供货比例
- ///
- [ImporterHeader(Name = "供货比例")]
- [Required(ErrorMessage = "{0}是必填项")]
- public string SupplyProportion { set; get; }
-
-
-
-
-
-
-
-
- }
- public class SecondaryPriceRatioExportDto
- {
-
-
- [ExporterHeader(DisplayName = "期间")]
- public string Version { set; get; }
-
- ///
- /// 客户代码
- ///
- [ExporterHeader(DisplayName ="客户代码")]
-
-
- public string CustomerCode { set; get; }
-
-
-
- ///
- /// 客户物料号
- ///
- [ExporterHeader(DisplayName ="客户总成物料号")]
-
- public string CustomItemCode { set; get; }
-
- ///
- /// 客户物料号结算价格
- ///
- [ExporterHeader(DisplayName ="客户物料号结算价格")]
-
- public decimal CustomItemPrice { set; get; }
-
-
-
- ///
- /// 客户组件物料号
- ///
- [ExporterHeader(DisplayName ="客户组件")]
-
- public string CustomSubItemCode { get; set; }
-
-
- ///
- /// 客户物料号结算价格
- ///
- [ExporterHeader(DisplayName ="客户组件结算价格")]
-
- public decimal CustomSubItemPrice { set; get; }
-
-
- ///
- /// 供应商代码
- ///
-
- [ExporterHeader(DisplayName ="供应商代码")]
-
- public string SupplierCode { get; set; }
- ///
- /// 供应商描述
- ///
- [ExporterHeader(DisplayName ="供应商描述")]
-
- public string SupplierDesc { get; set; }
-
- ///
- /// 供货比例
- ///
- [ExporterHeader(DisplayName ="供货比例")]
-
- public string SupplyProportion { set; get; }
-
-
-
- ///
- /// 比例供货价格
- ///
- [ExporterHeader(DisplayName = "供货比例价格")]
- public decimal SupplyProportionPrice { get; set; }
-
-
-
-
- }
-
-
-
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryPriceRatioVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryPriceRatioVersionDtoBase.cs
deleted file mode 100644
index 6ff42fc6..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryPriceRatioVersionDtoBase.cs
+++ /dev/null
@@ -1,126 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
-
-
- ///
- /// SecondaryPriceRatioVersion
- ///
- public class SecondaryPriceRatioVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
- ///
- /// 工厂
- ///
- public string Factory { private set; get; }
-
-
- }
-
-
-
- public class SecondaryPriceRatioVersionDto : AuditedEntityDtoBase
- {
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { get; set; }
- ///
- /// 版本号
- ///
- public string Version { get; set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { set; get; }
-
- ///
- /// 工厂
- ///
- public string Factory { set; get; }
- }
-
- public class SecondaryPriceRatioVersionCreateDto : SecondaryPriceRatioVersionDtoBase
- { }
- public class SecondaryPriceRatioVersionUpdateDto : SecondaryPriceRatioVersionDtoBase
- { }
- public class SecondaryPriceRatioVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { get; set; }
- ///
- /// 版本号
- ///
- public string Version { get; set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { set; get; }
- public Guid BranchId { get; set; }
- ///
- /// 工厂
- ///
- public string Factory { private set; get; }
- }
-
- public class SecondaryPriceRatioVersionImportDto
- {
-
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { get; set; }
- ///
- /// 版本号
- ///
- public string Version { get; set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { set; get; }
-
-
- ///
- /// 工厂
- ///
- public string Factory { set; get; }
-
-
- }
-
-
-
-
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/ISettlementCrossReferenceAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/ISettlementCrossReferenceAppService.cs
deleted file mode 100644
index 3dce6130..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/ISettlementCrossReferenceAppService.cs
+++ /dev/null
@@ -1,110 +0,0 @@
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-using Win.Sfs.SettleAccount.Entities.ItemInvoicePrices;
-using Win.Sfs.SettleAccount.Entities.SettlementCrossReferences;
-using Win.Sfs.SettleAccount.EstimatedInventories;
-using Win.Sfs.Shared.ApplicationBase;
-namespace Win.Sfs.SettleAccount.SettlementCrossReferences
-{
- public interface ISettlementCrossReferenceAppService
- {
-
- ///
- /// 빦
- ///
- /// ϴļ(ǰѾֻϴһ)
- ///
-
- Task SettlementCrossReferenceUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory);
-
-
-
-
- ///
- /// IDȡΨһʵ
- ///
- ///
- /// ʵȫ
- ///
- /// ID
- /// ʵDTO
-
-
- ///
- /// ɸѡȡʵб
- ///
- ///
- /// :ɸѡб,,,ҳ
- ///
- ///
- /// ʵDTOб
-
- Task> GetListAsync(SettlementCrossReferenceRequestDto input);
-
-
- ///
- /// ȡʵ
- ///
- /// ʵ
-
- Task GetTotalCountAsync(Guid branchId);
-
-
- ///
- /// ȡȫʵб
- ///
- /// ʵDTOб
-
- //Task> GetAllAsync(Guid branchId);
-
-
-
-
-
- ///
- /// ʵ
- ///
- /// ʵDTO
- /// ʵDTO
-
-
- Task CreateAsync(SettlementCrossReferenceCreateDto input);
-
-
- ///
- /// ʵ
- ///
- /// ID
- /// ʵDTO
- /// ʵDTO
-
- Task UpdateAsync(Guid id, SettlementCrossReferenceUpdateDto input);
-
-
-
-
- /////
- ///// ɾʵ
- /////
- ///// ID
- /////
-
- //Task DeleteAsync(Guid id);
-
-
- ///
- /// IDsɾʵб
- ///
- /// IDs
- /// Ƿִгɹ
-
- Task DeleteListAsync(List ids);
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/ImportSettlementCrossReferenceDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/ImportSettlementCrossReferenceDto.cs
deleted file mode 100644
index 1a1ed435..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/ImportSettlementCrossReferenceDto.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-// 闻荫智慧工厂管理套件
-// Copyright (c) 闻荫科技 www.ccwin-in.com
-
-using Magicodes.ExporterAndImporter.Core;
-using Magicodes.ExporterAndImporter.Excel;
-using System;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettlementCrossReferences
-{
-
- ///
- /// 导入ImportSettlementCrossReferenceDto
- /// IsLabelingError:是否标注数据错误
- ///
- [ImportProject(Name = SettleAccountModuleName.SettlementCrossReference)]
- [ExcelImporter(IsLabelingError = true, MaxCount = int.MaxValue)]
- public class ImportSettlementCrossReferenceDto
- {
-
-
-
- ///
- /// 车型
- ///
- [ImporterHeader(Name = "车型")]
- [Display(Name = "车型")]
- public string Model { set; get; }
-
-
- ///
- /// 零件类型
- ///
- [ImporterHeader(Name = "零件类型")]
- [Display(Name = "零件类型")]
- public string PartType { get; set; }
-
- ///
- /// 总成结算号
- ///
- [ImporterHeader(Name = "总成结算号")]
- [Display(Name = "总成结算号")]
- public string SettlementMaterialCode { get; set; }
-
- ///
- /// BOM清单零件号
- ///
- [ImporterHeader(Name = "BOM清单零件号")]
- [Display(Name = "BOM清单零件号")]
- public string BomMaterialCode { get; set; }
-
- /////
- ///// 零件名称
- /////
- //[Display(Name = "零件名称")]
- //public string MaterialDesc { get; set; }
-
- ///
- /// 供应商代码
- ///
- [ImporterHeader(Name = "供应商代码")]
- [Display(Name = "供应商代码")]
- public string SupplierCode { set; get; }
- /////
- ///// 供应商名称
- /////
- //[Display(Name = "供应商名称")]
- //public string SupplierDesc { set; get; }
- ///
- /// 采购员
- ///
- [ImporterHeader(Name = "采购员")]
- [Display(Name = "采购员")]
- public string Buyer { set; get; }
-
-
-
- }
-
-
-
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceCreateDto.cs
deleted file mode 100644
index f1845d74..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceCreateDto.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-// 闻荫智慧工厂管理套件
-// Copyright (c) 闻荫科技 www.ccwin-in.com
-
-using System;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettlementCrossReferences
-{
- public class SettlementCrossReferenceCreateDto : CreateOrUpdateEntityDtoBase
- {
-
- ///
- /// 期间
- ///
- [Display(Name = "期间")]
- public string Period { set; get; }
- ///
- /// 车型
- ///
- [Display(Name = "车型")]
- public string Model { set; get; }
- ///
- /// 工厂
- ///
- [Display(Name = "工厂")]
- public string Factory { set; get; }
-
-
- ///
- /// 零件类型
- ///
- [Display(Name = "零件类型")]
- public string PartType { get; set; }
-
- ///
- /// 总成结算号
- ///
- [Display(Name = "总成结算号")]
- public string SettlementMaterialCode { get; set; }
-
- ///
- /// BOM清单零件号
- ///
- [Display(Name = "BOM清单零件号")]
- public string BomMaterialCode { get; set; }
-
- ///
- /// 零件名称
- ///
- [Display(Name = "零件名称")]
- public string MaterialDesc { get; set; }
-
- ///
- /// 供应商代码
- ///
- [Display(Name = "供应商代码")]
- public string SupplierCode { set; get; }
- ///
- /// 供应商名称
- ///
- [Display(Name = "供应商名称")]
- public string SupplierDesc { set; get; }
- ///
- /// 采购员
- ///
- [Display(Name = "采购员")]
- public string Buyer { set; get; }
-
-
-
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceDto.cs
deleted file mode 100644
index 8f537f84..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceDto.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-// 闻荫智慧工厂管理套件
-// Copyright (c) 闻荫科技 www.ccwin-in.com
-
-using System;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettlementCrossReferences
-{
- public class SettlementCrossReferenceDto : AuditedEntityDtoBase, IBranch
- {
-
- ///
- /// 期间
- ///
- [Display(Name = "期间")]
- public string Period { set; get; }
- ///
- /// 车型
- ///
- [Display(Name = "车型")]
- public string Model { set; get; }
- ///
- /// 工厂
- ///
- [Display(Name = "工厂")]
- public string Factory { set; get; }
-
-
- ///
- /// 零件类型
- ///
- [Display(Name = "零件类型")]
- public string PartType { get; set; }
-
- ///
- /// 总成结算号
- ///
- [Display(Name = "总成结算号")]
- public string SettlementMaterialCode { get; set; }
-
- ///
- /// BOM清单零件号
- ///
- [Display(Name = "BOM清单零件号")]
- public string BomMaterialCode { get; set; }
-
- ///
- /// 零件名称
- ///
- [Display(Name = "零件名称")]
- public string MaterialDesc { get; set; }
-
- ///
- /// 供应商代码
- ///
- [Display(Name = "供应商代码")]
- public string SupplierCode { set; get; }
- ///
- /// 供应商名称
- ///
- [Display(Name = "供应商名称")]
- public string SupplierDesc { set; get; }
- ///
- /// 采购员
- ///
- [Display(Name = "采购员")]
- public string Buyer { set; get; }
- public string Version { get; set; }
- public string CustomerCode { get; set; }
- public Guid BranchId { get ; set; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceExportDto.cs
deleted file mode 100644
index 78f353ee..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceExportDto.cs
+++ /dev/null
@@ -1,73 +0,0 @@
-// 闻荫智慧工厂管理套件
-// Copyright (c) 闻荫科技 www.ccwin-in.com
-
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettlementCrossReferences
-{
- public class SettlementCrossReferenceExportDto
- {
-
- ///
- /// 期间
- ///
- [ExporterHeader(DisplayName = "期间")]
- public string Period { set; get; }
- ///
- /// 车型
- ///
- [ExporterHeader(DisplayName = "车型")]
- public string Model { set; get; }
- ///
- /// 工厂
- ///
- [ExporterHeader(DisplayName = "工厂")]
- public string Factory { set; get; }
-
-
- ///
- /// 零件类型
- ///
- [ExporterHeader(DisplayName = "零件类型")]
- public string PartType { get; set; }
-
- ///
- /// 总成结算号
- ///
- [ExporterHeader(DisplayName = "总成结算号")]
- public string SettlementMaterialCode { get; set; }
-
- ///
- /// BOM清单零件号
- ///
- [ExporterHeader(DisplayName = "BOM清单零件号")]
- public string BomMaterialCode { get; set; }
-
- ///
- /// 零件名称
- ///
- [ExporterHeader(DisplayName = "零件名称")]
- public string MaterialDesc { get; set; }
-
- ///
- /// 供应商代码
- ///
- [ExporterHeader(DisplayName = "供应商代码")]
- public string SupplierCode { set; get; }
- ///
- /// 供应商名称
- ///
- [ExporterHeader(DisplayName = "供应商名称")]
- public string SupplierDesc { set; get; }
- ///
- /// 采购员
- ///
- [ExporterHeader(DisplayName = "采购员")]
- public string Buyer { set; get; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceRequestDto.cs
deleted file mode 100644
index 93f9ed24..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceRequestDto.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-// 闻荫智慧工厂管理套件
-// Copyright (c) 闻荫科技 www.ccwin-in.com
-
-using System;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettlementCrossReferences
-{
- public class SettlementCrossReferenceRequestDto : RequestDtoBase, IBranch
- {
-
- ///
- /// 版本
- ///
- [Display(Name = "版本")]
- public string Version { set; get; }
- ///
- /// 期间
- ///
- [Display(Name = "期间")]
- public string Period { set; get; }
- ///
- /// 车型
- ///
- [Display(Name = "车型")]
- public string Model { set; get; }
- ///
- /// 工厂
- ///
- [Display(Name = "工厂")]
- public string Factory { set; get; }
-
-
- ///
- /// 零件类型
- ///
- [Display(Name = "零件类型")]
- public string PartType { get; set; }
-
- ///
- /// 总成结算号
- ///
- [Display(Name = "总成结算号")]
- public string SettlementMaterialCode { get; set; }
-
- ///
- /// BOM清单零件号
- ///
- [Display(Name = "BOM清单零件号")]
- public string BomMaterialCode { get; set; }
-
- ///
- /// 零件名称
- ///
- [Display(Name = "零件名称")]
- public string MaterialDesc { get; set; }
-
- ///
- /// 供应商代码
- ///
- [Display(Name = "供应商代码")]
- public string SupplierCode { set; get; }
- ///
- /// 供应商名称
- ///
- [Display(Name = "供应商名称")]
- public string SupplierDesc { set; get; }
- ///
- /// 采购员
- ///
- [Display(Name = "采购员")]
- public string Buyer { set; get; }
-
-
- public virtual Guid ParentId { get; set; }
- public virtual Guid BranchId { get; set; }
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceUpdateDto.cs
deleted file mode 100644
index 9481e293..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceUpdateDto.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-// 闻荫智慧工厂管理套件
-// Copyright (c) 闻荫科技 www.ccwin-in.com
-
-using System;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettlementCrossReferences
-{
- public class SettlementCrossReferenceUpdateDto : CreateOrUpdateEntityDtoBase
- {
-
- ///
- /// 期间
- ///
- [Display(Name = "期间")]
- public string Period { set; get; }
- ///
- /// 车型
- ///
- [Display(Name = "车型")]
- public string Model { set; get; }
- ///
- /// 工厂
- ///
- [Display(Name = "工厂")]
- public string Factory { set; get; }
-
-
- ///
- /// 零件类型
- ///
- [Display(Name = "零件类型")]
- public string PartType { get; set; }
-
- ///
- /// 总成结算号
- ///
- [Display(Name = "总成结算号")]
- public string SettlementMaterialCode { get; set; }
-
- ///
- /// BOM清单零件号
- ///
- [Display(Name = "BOM清单零件号")]
- public string BomMaterialCode { get; set; }
-
- ///
- /// 零件名称
- ///
- [Display(Name = "零件名称")]
- public string MaterialDesc { get; set; }
-
- ///
- /// 供应商代码
- ///
- [Display(Name = "供应商代码")]
- public string SupplierCode { set; get; }
- ///
- /// 供应商名称
- ///
- [Display(Name = "供应商名称")]
- public string SupplierDesc { set; get; }
- ///
- /// 采购员
- ///
- [Display(Name = "采购员")]
- public string Buyer { set; get; }
-
-
-
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceVersionDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceVersionDto.cs
deleted file mode 100644
index c88460bc..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceVersionDto.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-// 闻荫智慧工厂管理套件
-// Copyright (c) 闻荫科技 www.ccwin-in.com
-
-using System;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettlementCrossReferences
-{
- public class SettlementCrossReferenceVersionDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
-
- public Guid BranchId { get; set; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceVersionRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceVersionRequestDto.cs
deleted file mode 100644
index cf7fc3b9..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceVersionRequestDto.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-// 闻荫智慧工厂管理套件
-// Copyright (c) 闻荫科技 www.ccwin-in.com
-
-using System;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettlementCrossReferences
-{
- public class SettlementCrossReferenceVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
-
- public Guid BranchId { get; set; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/ISettlementPakAndSparePartsAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/ISettlementPakAndSparePartsAppService.cs
index d45ad757..cd9e3e49 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/ISettlementPakAndSparePartsAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/ISettlementPakAndSparePartsAppService.cs
@@ -10,7 +10,6 @@ using Volo.Abp.Application.Services;
using Win.Sfs.SettleAccount.Entities.InventoryDetialVersion;
using Win.Sfs.SettleAccount.Entities.SettlementParts;
using Win.Sfs.SettleAccount.Entities.SettlementPartss;
-using Win.Sfs.SettleAccount.EstimatedInventories;
using Win.Sfs.SettleAccount.Inventories;
using Win.Sfs.Shared.ApplicationBase;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/ISettlementPartAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/ISettlementPartAppService.cs
index d5347226..2a26f8c3 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/ISettlementPartAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/ISettlementPartAppService.cs
@@ -8,7 +8,6 @@ using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Win.Sfs.SettleAccount.Entities.InventoryDetialVersion;
-using Win.Sfs.SettleAccount.EstimatedInventories;
using Win.Sfs.SettleAccount.Inventories;
using Win.Sfs.Shared.ApplicationBase;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/ISettleAccountAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/ISettleAccountAppService.cs
deleted file mode 100644
index f029f95c..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/ISettleAccountAppService.cs
+++ /dev/null
@@ -1,131 +0,0 @@
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-using Win.Sfs.SettleAccount.Entities.SettleAccountVersion;
-
-using Win.Sfs.Shared.ApplicationBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
-{
- public interface IUnSettleAccountAppService
-
- {
-
-
-
- ///
- /// 导入功能
- ///
- /// 上传的文件(前端已经限制只能上传一个附件)
- ///
-
- Task UnSettleAccountUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode,string factory);
-
-
-
-
- ///
- /// 按ID获取唯一实体
- ///
- ///
- /// 返回实体全部属性
- ///
- /// ID
- /// 实体DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetListAsync(Guid parentId, UnSettleAccountRequestDto input);
-
-
-
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetVersionListAsync(UnSettleAccountVersionRequestDto input);
-
-
-
-
- ///
- /// 获取实体总数
- ///
- /// 实体总数
-
- Task GetTotalCountAsync(Guid branchId);
-
-
- /////
- ///// 获取全部实体列表
- /////
- ///// 实体DTO列表
-
- //Task> GetAllAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 新增实体
- /////
- ///// 新增实体DTO
- ///// 实体DTO
-
-
- //Task CreateAsync(SettleAccountCreateDto input);
-
-
- /////
- ///// 修改实体
- /////
- ///// ID
- ///// 修改实体DTO
- ///// 实体DTO
-
- //Task UpdateAsync(Guid id, SettleAccountUpdateDto input);
-
-
-
-
- /////
- ///// 删除实体
- /////
- ///// ID
- ///// 无
-
- //Task DeleteAsync(Guid id);
-
-
- ///
- /// 按IDs删除实体列表
- ///
- /// IDs
- /// 是否执行成功
-
- Task DeleteListAsync(List ids);
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountCreateDto.cs
deleted file mode 100644
index fc35422e..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountCreateDto.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
-{
- public class UnSettleAccountCreateDto : SettleAccountDtoBase, IBranch
- {
- public virtual Guid BranchId { get ; set ; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountDto.cs
deleted file mode 100644
index 9223ea28..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountDto.cs
+++ /dev/null
@@ -1,83 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
-{
- public class UnSettleAccountDto: AuditedEntityDtoBase, IBranch
- {
-
-
-
- ///
- /// 期间
- ///
- public string Period { set; get; }
-
-
-
- ///
- /// 年份
- ///
- public string SettleYear { set; get; }
-
- ///
- /// 年份
- ///
- public virtual string Year { set; get; }
- ///
- /// KENEN号
- ///
- public virtual string KENNCode { set; get; }
- ///
- /// 底盘号
- ///
- public virtual string ChassisNumber { set; get; }
- ///
- /// 车型
- ///
- public virtual string Model { set; get; }
- ///
- /// CP5A日期
- ///
- public virtual DateTime CP5A { set; get; }
- ///
- /// CP7
- ///
- public virtual DateTime CP7 { set; get; }
-
- ///
- /// 零件号
- ///
- public virtual string MaterialCode { get; set; }
- ///
- /// 数量
- ///
- public virtual decimal Qty { get; set; }
- ///
- /// 结算标识
- ///
-
- public virtual string SettlementID { get; set; }
-
- ///
- /// 结算供应商
- ///
- public virtual string SettlementSupplier { get; set; }
-
-
- public virtual string State { get; set; }
-
- public virtual Guid BranchId { get ; set ; }
-
-
- public virtual string Version { get; set; }
-
- public string UnsettledReason { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountDtoBase.cs
deleted file mode 100644
index 4ee60537..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountDtoBase.cs
+++ /dev/null
@@ -1,73 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
-{
- public class UnSettleAccountDtoBase: CreateOrUpdateEntityDtoBase
- {
-
- ///
- /// 期间
- ///
- public string Period { set; get; }
-
-
-
- ///
- /// 年份
- ///
- public string SettleYear { set; get; }
- ///
- /// 年份
- ///
- public virtual string Year { set; get; }
- ///
- /// KENEN号
- ///
- public virtual string KENNCode { set; get; }
- ///
- /// 底盘号
- ///
- public virtual string ChassisNumber { set; get; }
- ///
- /// 车型
- ///
- public virtual string Model { set; get; }
- ///
- /// CP5A日期
- ///
- public virtual DateTime CP5A { set; get; }
- ///
- /// CP7
- ///
- public virtual DateTime CP7 { set; get; }
-
- ///
- /// 零件号
- ///
- public virtual string MaterialCode { get; set; }
- ///
- /// 数量
- ///
- public virtual decimal Qty { get; set; }
- ///
- /// 结算标识
- ///
-
- public virtual string SettlementID { get; set; }
-
- ///
- /// 结算供应商
- ///
- public virtual string SettlementSupplier { get; set; }
-
- public string UnsettledReason { get; set; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountExportDto.cs
deleted file mode 100644
index 37e4eb0f..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountExportDto.cs
+++ /dev/null
@@ -1,88 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DomainBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
-{
- public class UnSettleAccountExportDto
- {
-
- [ExporterHeader(DisplayName = "版本")]
- public string Version { set; get; }
-
-
- ///
- /// 期间
- ///
-
-
- //[ExporterHeader(DisplayName = "期间")]
- //public string Period { set; get; }
-
- /////
- ///// 年份
- /////
- //[ExporterHeader(DisplayName = "年份")]
- //public string SettleYear { set; get; }
-
- ///
- /// KENEN号
- ///
- [ExporterHeader(DisplayName = "KENN号")]
- public virtual string KENNCode { set; get; }
- ///
- /// 底盘号
- ///
- [ExporterHeader(DisplayName = "底盘号")]
-
- public virtual string ChassisNumber { set; get; }
- ///
- /// 车型
- ///
- [ExporterHeader(DisplayName = "车型")]
-
- public virtual string Model { set; get; }
- ///
- /// CP5A日期
- ///
- [ExporterHeader(DisplayName = "CP5日期")]
- public virtual DateTime CP5A { set; get; }
- ///
- /// CP7
- ///
- [ExporterHeader(DisplayName = "CP7日期")]
- public virtual DateTime CP7 { set; get; }
-
- ///
- /// 零件号
- ///
- [ExporterHeader(DisplayName = "零件号")]
-
- public virtual string MaterialCode { get; set; }
- ///
- /// 数量
- ///
- [ExporterHeader(DisplayName = "数量")]
- public virtual decimal Qty { get; set; }
- ///
- /// 结算标识
- ///
- [ExporterHeader(DisplayName = "结算标识")]
- public virtual string SettlementID { get; set; }
-
- ///
- /// 结算供应商
- ///
- [ExporterHeader(DisplayName = "结算供应商")]
-
- public virtual string SettlementSupplier { get; set; }
-
-
- [ExporterHeader(DisplayName = "未结算原因")]
- public string UnsettledReason { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountImportDto.cs
deleted file mode 100644
index 1b2eb0be..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountImportDto.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DomainBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
-{
- public class UnSettleAccountImportDto
- {
-
- ///
- /// 期间
- ///
- // public string Period { set; get; }
-
- ///
- /// 年份
- ///
- [ImporterHeader(Name = "年份")]
- public string SettleYear { set; get; }
- ///
- /// 年份
- ///
- //public virtual string Year { set; get; }
- ///
- /// KENEN号
- ///
- [ImporterHeader(Name = "KENN号")]
- public virtual string KENNCode { set; get; }
- ///
- /// 底盘号
- ///
- [ImporterHeader(Name = "底盘号")]
- public virtual string ChassisNumber { set; get; }
- ///
- /// 车型
- ///
- [ImporterHeader(Name = "车型")]
- public virtual string Model { set; get; }
- ///
- /// CP5A日期
- ///
- [ImporterHeader(Name = "CP5A日期")]
- public virtual DateTime CP5A { set; get; }
- ///
- /// CP7
- ///
- [ImporterHeader(Name = "CP7日期")]
- public virtual DateTime? CP7 { set; get; }
-
- ///
- /// 零件号
- ///
- [ImporterHeader(Name = "零件号",FixAllSpace =true)]
- public virtual string MaterialCode { get; set; }
- ///
- /// 数量
- ///
- [ImporterHeader(Name = "数量")]
- public virtual decimal Qty { get; set; }
- ///
- /// 结算标识
- ///
- [ImporterHeader(Name = "结算标识")]
- public virtual string SettlementID { get; set; }
-
- ///
- /// 结算供应商
- ///
- [ImporterHeader(Name = "结算供应商")]
- public virtual string SettlementSupplier { get; set; }
-
- ///
- /// 未结算原因
- ///
- [ImporterHeader(Name = "未结算原因")]
- public string UnsettledReason { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountRequestDto.cs
deleted file mode 100644
index e59dc781..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountRequestDto.cs
+++ /dev/null
@@ -1,81 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
-{
- public class UnSettleAccountRequestDto: RequestDtoBase, IBranch
- {
-
- ///
- /// 期间
- ///
- public string Period { set; get; }
-
-
-
- ///
- /// 年份
- ///
- public string SettleYear { set; get; }
- ///
- /// 年份
- ///
- public virtual string Year { set; get; }
- ///
- /// KENEN号
- ///
- public virtual string KENNCode { set; get; }
- ///
- /// 底盘号
- ///
- public virtual string ChassisNumber { set; get; }
- ///
- /// 车型
- ///
- public virtual string Model { set; get; }
- ///
- /// CP5A日期
- ///
- public virtual DateTime CP5A { set; get; }
- ///
- /// CP7
- ///
- public virtual DateTime CP7 { set; get; }
-
- ///
- /// 零件号
- ///
- public virtual string MaterialCode { get; set; }
- ///
- /// 数量
- ///
- public virtual decimal Qty { get; set; }
- ///
- /// 结算标识
- ///
-
- public virtual string SettlementID { get; set; }
-
- ///
- /// 结算供应商
- ///
- public virtual string SettlementSupplier { get; set; }
-
- public string UnsettledReason { get; set; }
- public virtual Guid ParentId { get; set; }
- public virtual Guid BranchId { get; set ; }
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
-
- public virtual string Version { get; set; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountUpdateDto.cs
deleted file mode 100644
index 9af35ee9..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountUpdateDto.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DomainBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
-{
- public class UnSettleAccountUpdateDto: SettleAccountDtoBase
- {
-
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountVersionDtoBase.cs
deleted file mode 100644
index 296e0a64..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountVersionDtoBase.cs
+++ /dev/null
@@ -1,103 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccountVersion
-{
- ///
- /// SettleAccountVersion
- ///
- public class UnSettleAccountVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-
- public class UnSettleAccountVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { get; set; }
- ///
- /// 版本号
- ///
- public string Version { get; set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { set; get; }
- public Guid BranchId { get ; set; }
- }
-
- public class UnSettleAccountVersionCreateDto : SettleAccountVersionDtoBase
- { }
- public class UnSettleAccountVersionUpdateDto : SettleAccountVersionDtoBase
- { }
- public class UnSettleAccountVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get ; set ; }
- }
-
- public class UnSettleAccountVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/IScrapClaimsAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/IScrapClaimsAppService.cs
deleted file mode 100644
index 28a18ca3..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/IScrapClaimsAppService.cs
+++ /dev/null
@@ -1,94 +0,0 @@
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-
-namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims
-{
- ///
- /// 报废与索赔
- ///
- public interface IScrapClaimsAppService
- {
- ///
- /// 导入功能
- ///
- /// 上传的文件(前端已经限制只能上传一个附件)
- ///
-
- Task ScrapClaimsUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId,
- string year, string period, string version, string customerCode);
-
- ///
- /// 按ID获取唯一实体
- ///
- ///
- /// 返回实体全部属性
- ///
- /// ID
- /// 实体DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetListAsync(ScrapClaimsRequestDto input);
-
-
-
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetVersionListAsync(ScrapClaimsVersionRequestDto input);
-
-
- Task ExportAsync(ScrapClaimsRequestDto input);
-
- ///
- /// 获取实体总数
- ///
- /// 实体总数
-
- Task GetTotalCountAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 删除实体
- /////
- ///// ID
- ///// 无
-
- Task DeleteAsync(Guid id);
-
-
- ///
- /// 按IDs删除实体列表
- ///
- /// IDs
- /// 是否执行成功
-
- Task DeleteListAsync(List ids);
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsCreateDto.cs
deleted file mode 100644
index 45ff634c..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsCreateDto.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-
-namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims
-{
-
- public class ScrapClaimsCreateDto : ScrapClaimsDtoBase, IBranch
- {
- public virtual Guid BranchId { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsDto.cs
deleted file mode 100644
index 363c8e11..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsDto.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims
-{
- ///
- /// CP7报废和索赔
- ///
- public class ScrapClaimsDto : AuditedEntityDtoBase
- {
- ///
- /// 期间
- ///
- public string Period { set; get; }
-
- ///
- /// 版本
- ///
- public virtual string Version { get; set; }
-
- ///
- /// 类型:CP7报废和索赔两种
- ///
- public string Type { set; get; }
-
-
- ///
- /// 零件号
- ///
- public string MaterialCode { get; set; }
-
- ///
- /// 零件名称
- ///
- public string MaterialDesc { get; set; }
-
-
-
- ///
- /// 数量
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 金额
- ///
- public decimal Amt { set; get; }
-
-
- ///
- /// 备注
- ///
- public string Extend { set; get; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsDtoBase.cs
deleted file mode 100644
index ff0db803..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsDtoBase.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims
-{
- public class ScrapClaimsDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- ///
- /// 期间
- ///
- public string Period { set; get; }
-
- ///
- /// 版本
- ///
- public virtual string Version { get; set; }
-
- ///
- /// 类型:CP7报废和索赔两种
- ///
- public string Type { set; get; }
-
-
- ///
- /// 零件号
- ///
- public string MaterialCode { get; set; }
-
- ///
- /// 零件名称
- ///
- public string MaterialDesc { get; set; }
-
-
-
- ///
- /// 数量
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 金额
- ///
- public decimal Amt { set; get; }
-
-
- ///
- /// 备注
- ///
- public string Extend { set; get; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsExportDto.cs
deleted file mode 100644
index bae9167a..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsExportDto.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims
-{
- public class ScrapClaimsExportDto
- {
-
- ///
- /// 期间
- ///
- [ExporterHeader(DisplayName = "期间")]
- public string Period { set; get; }
-
- ///
- /// 版本
- ///
- [ExporterHeader(DisplayName = "版本")]
- public virtual string Version { get; set; }
-
-
- ///
- /// 类型
- ///
- [ExporterHeader(DisplayName = "类型")]
- public virtual string Type { set; get; }
-
- ///
- /// 零件号
- ///
- [ExporterHeader(DisplayName = "零件号")]
- public virtual string MaterialCode { set; get; }
- ///
- /// 零件类型
- ///
- [ExporterHeader(DisplayName = "零件名称")]
- public virtual string MaterialDesc { set; get; }
-
-
- ///
- /// 数量
- ///
- [ExporterHeader(DisplayName = "数量")]
- public virtual decimal Qty { get; set; }
- ///
- /// 金额
- ///
- [ExporterHeader(DisplayName = "金额")]
- public virtual decimal Amt { get; set; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsImportDto.cs
deleted file mode 100644
index 4d2344d7..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsImportDto.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims
-{
- public class ScrapClaimsImportDto
- {
- /////
- ///// 期间
- /////
- //[ImporterHeader(Name = "期间")]
- //public string Period { set; get; }
-
- /////
- ///// 版本
- /////
- //[ImporterHeader(Name = "版本")]
- //public virtual string Version { get; set; }
-
- ///
- ///类型
- ///
- [ImporterHeader(Name = "类型")]
- public string Type { set; get; }
-
- ///
- /// 零件号
- ///
- [ImporterHeader(Name = "零件号", FixAllSpace = true)]
- public virtual string MaterialCode { set; get; }
- ///
- /// 零件类型
- ///
- [ImporterHeader(Name = "零件名称")]
- public virtual string MaterialDesc { set; get; }
-
- ///
- /// 数量
- ///
- [ImporterHeader(Name = "数量")]
- public virtual decimal Qty { get; set; }
- ///
- /// 金额
- ///
- [ImporterHeader(Name = "金额")]
- public virtual decimal Amt { get; set; }
-
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsRequestDto.cs
deleted file mode 100644
index 651b846f..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsRequestDto.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims
-{
- public class ScrapClaimsRequestDto : RequestDtoBase
- {
-
- ///
- /// 期间
- ///
- public string Period { set; get; }
-
- ///
- /// 版本
- ///
- public virtual string Version { get; set; }
-
- ///
- /// 类型:CP7报废和索赔两种
- ///
- public string Type { set; get; }
-
-
- ///
- /// 零件号
- ///
- public string MaterialCode { get; set; }
-
- ///
- /// 零件名称
- ///
- public string MaterialDesc { get; set; }
-
-
-
- ///
- /// 数量
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 金额
- ///
- public decimal Amt { set; get; }
-
- ///
- /// 备注
- ///
- public virtual string Remark { get; set; }
-
- public virtual Guid ParentId { get; set; }
- public virtual Guid BranchId { get; set; }
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsVersionDtoBase.cs
deleted file mode 100644
index af418849..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsVersionDtoBase.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims
-{
- ///
- /// SettleAccountVersion
- ///
- public class ScrapClaimsVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-
- public class ScrapClaimsVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { get; set; }
- ///
- /// 版本号
- ///
- public string Version { get; set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class ScrapClaimsVersionCreateDto : ScrapClaimsVersionDtoBase
- { }
- public class ScrapClaimsVersionUpdateDto : ScrapClaimsVersionDtoBase
- { }
- public class ScrapClaimsVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class ScrapClaimsVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/ISparePartAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/ISparePartAppService.cs
deleted file mode 100644
index f3fec313..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/ISparePartAppService.cs
+++ /dev/null
@@ -1,94 +0,0 @@
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-
-namespace Win.Sfs.SettleAccount.Entities.VWSparePart
-{
- ///
- /// /大众备件导入功能
- ///
- public interface ISparePartAppService
- {
- ///
- /// 导入功能
- ///
- /// 上传的文件(前端已经限制只能上传一个附件)
- ///
-
- Task SparePartUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId,
- string year, string period, string version, string customerCode);
-
- ///
- /// 按ID获取唯一实体
- ///
- ///
- /// 返回实体全部属性
- ///
- /// ID
- /// 实体DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetListAsync( SparePartRequestDto input);
-
-
-
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetVersionListAsync(SparePartVersionRequestDto input);
-
-
- Task ExportAsync(SparePartRequestDto input);
-
- ///
- /// 获取实体总数
- ///
- /// 实体总数
-
- Task GetTotalCountAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 删除实体
- /////
- ///// ID
- ///// 无
-
- Task DeleteAsync(Guid id);
-
-
- ///
- /// 按IDs删除实体列表
- ///
- /// IDs
- /// 是否执行成功
-
- Task DeleteListAsync(List ids);
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartCreateDto.cs
deleted file mode 100644
index d28ae13e..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartCreateDto.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-
-namespace Win.Sfs.SettleAccount.Entities.VWSparePart
-{
-
- public class SparePartCreateDto : SparePartDtoBase, IBranch
- {
- public virtual Guid BranchId { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartDto.cs
deleted file mode 100644
index ac77efef..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartDto.cs
+++ /dev/null
@@ -1,125 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.VWSparePart
-{
- ///
- /// 大众备件结算明细DTO
- ///
- public class SparePartDto : AuditedEntityDtoBase
- {
- ///
- ///年
- ///
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { set; get; }
- ///
- /// 版本号
- ///
- public string Version { set; get; }
-
- ///
- /// 行号
- ///
- public string LineNumber { set; get; }
-
-
- ///
- /// 采购类型
- ///
- public string PurchaseType { get; set; }
-
- ///
- /// 采购订单号
- ///
- public string PurchaseOrderNo { get; set; }
- ///
- /// 采购订单行项目
- ///
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 采购订单文本
- ///
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 收货数量
- ///
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 开票数量
- ///
- public decimal InvoicedQty { get; set; }
- ///
- /// 不含税金额
- ///
- public decimal AmountNoTax { get; set; }
- ///
- /// 采购价格不含税
- ///
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 科目号
- ///
- public string AccountNum { get; set; }
- ///
- /// 物料代码
- ///
- public string MaterialCode { get; set; }
- ///
- /// 物料描述
- ///
- public string MaterialDesc { get; set; }
- ///
- /// 日期
- ///
- public DateTime SpareDate { get; set; }
- ///
- /// 交货单号
- ///
- public string DeliveryOrderNo { get; set; }
- ///
- /// 交货行号
- ///
- public string DeliveryLineNum { get; set; }
- ///
- /// 批次号
- ///
- public string BatchNo { get; set; }
- ///
- /// 单位
- ///
- public string Unit { get; set; }
- ///
- /// 税率
- ///
- public decimal TaxRate { get; set; }
- ///
- /// 税码
- ///
- public string TaxCode { get; set; }
- ///
- /// 德国发票号
- ///
- public string GermanInvoiceNo { get; set; }
- ///
- /// 工厂
- ///
- public string Factory { get; set; }
- ///
- /// 工厂名称
- ///
- public string FactoryName { get; set; }
- ///
- /// 备注
- ///
- public string Extend { set; get; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartDtoBase.cs
deleted file mode 100644
index 7a7f283d..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartDtoBase.cs
+++ /dev/null
@@ -1,124 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.VWSparePart
-{
- public class SparePartDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- ///
- ///年
- ///
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { set; get; }
- ///
- /// 版本号
- ///
- public string Version { set; get; }
-
- ///
- /// 行号
- ///
- public string LineNumber { set; get; }
-
-
- ///
- /// 采购类型
- ///
- public string PurchaseType { get; set; }
-
- ///
- /// 采购订单号
- ///
- public string PurchaseOrderNo { get; set; }
- ///
- /// 采购订单行项目
- ///
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 采购订单文本
- ///
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 收货数量
- ///
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 开票数量
- ///
- public decimal InvoicedQty { get; set; }
- ///
- /// 不含税金额
- ///
- public decimal AmountNoTax { get; set; }
- ///
- /// 采购价格不含税
- ///
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 科目号
- ///
- public string AccountNum { get; set; }
- ///
- /// 物料代码
- ///
- public string MaterialCode { get; set; }
- ///
- /// 物料描述
- ///
- public string MaterialDesc { get; set; }
- ///
- /// 日期
- ///
- public DateTime SpareDate { get; set; }
- ///
- /// 交货单号
- ///
- public string DeliveryOrderNo { get; set; }
- ///
- /// 交货行号
- ///
- public string DeliveryLineNum { get; set; }
- ///
- /// 批次号
- ///
- public string BatchNo { get; set; }
- ///
- /// 单位
- ///
- public string Unit { get; set; }
- ///
- /// 税率
- ///
- public decimal TaxRate { get; set; }
- ///
- /// 税码
- ///
- public string TaxCode { get; set; }
- ///
- /// 德国发票号
- ///
- public string GermanInvoiceNo { get; set; }
- ///
- /// 工厂
- ///
- public string Factory { get; set; }
- ///
- /// 工厂名称
- ///
- public string FactoryName { get; set; }
- ///
- /// 备注
- ///
- public string Extend { set; get; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartExportDto.cs
deleted file mode 100644
index 33c5ab3b..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartExportDto.cs
+++ /dev/null
@@ -1,143 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.VWSparePart
-{
- public class SparePartExportDto
- {
-
- ///
- /// 期间
- ///
- [ExporterHeader(DisplayName = "期间")]
- public string Period { set; get; }
-
- ///
- /// 版本
- ///
- [ExporterHeader(DisplayName = "版本")]
- public virtual string Version { get; set; }
-
-
- ///
- /// 行号
- ///
- [ExporterHeader(DisplayName = "行号")]
- public string LineNumber { set; get; }
-
-
- ///
- /// 采购类型
- ///
- [ExporterHeader(DisplayName = "采购类型")]
- public string PurchaseType { get; set; }
-
- ///
- /// 采购订单号
- ///
- [ExporterHeader(DisplayName = "采购订单号")]
- public string PurchaseOrderNo { get; set; }
- ///
- /// 采购订单行项目
- ///
- [ExporterHeader(DisplayName = "采购订单行项目")]
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 采购订单文本
- ///
- [ExporterHeader(DisplayName = "采购订单文本")]
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 收货数量
- ///
- [ExporterHeader(DisplayName = "收货数量")]
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 开票数量
- ///
- [ExporterHeader(DisplayName = "开票数量")]
- public decimal InvoicedQty { get; set; }
- ///
- /// 不含税金额
- ///
- [ExporterHeader(DisplayName = "不含税金额")]
- public decimal AmountNoTax { get; set; }
- ///
- /// 采购价格不含税
- ///
- [ExporterHeader(DisplayName = "采购价格不含税")]
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 科目号
- ///
- [ExporterHeader(DisplayName = "科目号")]
- public string AccountNum { get; set; }
- ///
- /// 物料代码
- ///
- [ExporterHeader(DisplayName = "物料代码")]
- public string MaterialCode { get; set; }
- ///
- /// 物料描述
- ///
- [ExporterHeader(DisplayName = "物料描述")]
- public string MaterialDesc { get; set; }
- ///
- /// 日期
- ///
- [ExporterHeader(DisplayName = "日期")]
- public DateTime SpareDate { get; set; }
- ///
- /// 交货单号
- ///
- [ExporterHeader(DisplayName = "交货单号")]
- public string DeliveryOrderNo { get; set; }
- ///
- /// 交货行号
- ///
- [ExporterHeader(DisplayName = "交货行号")]
- public string DeliveryLineNum { get; set; }
- ///
- /// 批次号
- ///
- [ExporterHeader(DisplayName = "批次号")]
- public string BatchNo { get; set; }
- ///
- /// 单位
- ///
- [ExporterHeader(DisplayName = "单位")]
- public string Unit { get; set; }
- ///
- /// 税率
- ///
- [ExporterHeader(DisplayName = "税率")]
- public decimal TaxRate { get; set; }
- ///
- /// 税码
- ///
- [ExporterHeader(DisplayName = "税码")]
- public string TaxCode { get; set; }
- ///
- /// 德国发票号
- ///
- [ExporterHeader(DisplayName = "德国发票号")]
- public string GermanInvoiceNo { get; set; }
- ///
- /// 工厂
- ///
- [ExporterHeader(DisplayName = "工厂")]
- public string Factory { get; set; }
- ///
- /// 工厂名称
- ///
- [ExporterHeader(DisplayName = "工厂名称")]
- public string FactoryName { get; set; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartImportDto.cs
deleted file mode 100644
index 2ce7e0c2..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartImportDto.cs
+++ /dev/null
@@ -1,129 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.VWSparePart
-{
- public class SparePartImportDto
- {
-
- ///
- /// 行号
- ///
- [ImporterHeader(Name = "行号")]
- public string LineNumber { set; get; }
-
-
- ///
- /// 采购类型
- ///
- [ImporterHeader(Name = "采购类型")]
- public string PurchaseType { get; set; }
-
- ///
- /// 采购订单号
- ///
- [ImporterHeader(Name = "采购订单号", FixAllSpace = true)]
- public string PurchaseOrderNo { get; set; }
- ///
- /// 采购订单行项目
- ///
- [ImporterHeader(Name = "采购订单行项目")]
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 采购订单文本
- ///
- [ImporterHeader(Name = "采购订单文本")]
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 收货数量
- ///
- [ImporterHeader(Name = "收货数量")]
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 开票数量
- ///
- [ImporterHeader(Name = "开票数量")]
- public decimal InvoicedQty { get; set; }
- ///
- /// 不含税金额
- ///
- [ImporterHeader(Name = "不含税金额")]
- public decimal AmountNoTax { get; set; }
- ///
- /// 采购价格不含税
- ///
- [ImporterHeader(Name = "采购价格不含税")]
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 科目号
- ///
- [ImporterHeader(Name = "科目号", FixAllSpace = true)]
- public string AccountNum { get; set; }
- ///
- /// 物料代码
- ///
- [ImporterHeader(Name = "物料代码", FixAllSpace = true)]
- public string MaterialCode { get; set; }
- ///
- /// 物料描述
- ///
- [ImporterHeader(Name = "物料描述")]
- public string MaterialDesc { get; set; }
- ///
- /// 日期
- ///
- [ImporterHeader(Name = "日期")]
- public DateTime SpareDate { get; set; }
- ///
- /// 交货单号
- ///
- [ImporterHeader(Name = "交货单号", FixAllSpace = true)]
- public string DeliveryOrderNo { get; set; }
- ///
- /// 交货行号
- ///
- [ImporterHeader(Name = "交货行号")]
- public string DeliveryLineNum { get; set; }
- ///
- /// 批次号
- ///
- [ImporterHeader(Name = "批次号")]
- public string BatchNo { get; set; }
- ///
- /// 单位
- ///
- [ImporterHeader(Name = "单位")]
- public string Unit { get; set; }
- ///
- /// 税率
- ///
- [ImporterHeader(Name = "税率")]
- public decimal TaxRate { get; set; }
- ///
- /// 税码
- ///
- [ImporterHeader(Name = "税码")]
- public string TaxCode { get; set; }
- ///
- /// 德国发票号
- ///
- [ImporterHeader(Name = "德国发票号")]
- public string GermanInvoiceNo { get; set; }
- ///
- /// 工厂
- ///
- [ImporterHeader(Name = "工厂")]
- public string Factory { get; set; }
- ///
- /// 工厂名称
- ///
- [ImporterHeader(Name = "工厂名称")]
- public string FactoryName { get; set; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartRequestDto.cs
deleted file mode 100644
index 7ceb6ac2..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartRequestDto.cs
+++ /dev/null
@@ -1,129 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.VWSparePart
-{
- public class SparePartRequestDto : RequestDtoBase
- {
- ///
- ///年
- ///
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { set; get; }
- ///
- /// 版本号
- ///
- public string Version { set; get; }
-
- ///
- /// 行号
- ///
- public string LineNumber { set; get; }
-
-
- ///
- /// 采购类型
- ///
- public string PurchaseType { get; set; }
-
- ///
- /// 采购订单号
- ///
- public string PurchaseOrderNo { get; set; }
- ///
- /// 采购订单行项目
- ///
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 采购订单文本
- ///
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 收货数量
- ///
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 开票数量
- ///
- public decimal InvoicedQty { get; set; }
- ///
- /// 不含税金额
- ///
- public decimal AmountNoTax { get; set; }
- ///
- /// 采购价格不含税
- ///
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 科目号
- ///
- public string AccountNum { get; set; }
- ///
- /// 物料代码
- ///
- public string MaterialCode { get; set; }
- ///
- /// 物料描述
- ///
- public string MaterialDesc { get; set; }
- ///
- /// 日期
- ///
- public DateTime SpareDate { get; set; }
- ///
- /// 交货单号
- ///
- public string DeliveryOrderNo { get; set; }
- ///
- /// 交货行号
- ///
- public string DeliveryLineNum { get; set; }
- ///
- /// 批次号
- ///
- public string BatchNo { get; set; }
- ///
- /// 单位
- ///
- public string Unit { get; set; }
- ///
- /// 税率
- ///
- public decimal TaxRate { get; set; }
- ///
- /// 税码
- ///
- public string TaxCode { get; set; }
- ///
- /// 德国发票号
- ///
- public string GermanInvoiceNo { get; set; }
- ///
- /// 工厂
- ///
- public string Factory { get; set; }
- ///
- /// 工厂名称
- ///
- public string FactoryName { get; set; }
- ///
- /// 备注
- ///
- public string Extend { set; get; }
-
- public virtual Guid ParentId { get; set; }
- public virtual Guid BranchId { get; set; }
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartVersionDtoBase.cs
deleted file mode 100644
index 733cbed0..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartVersionDtoBase.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.VWSparePart
-{
- ///
- /// SettleAccountVersion
- ///
- public class SparePartVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-
- public class SparePartVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { get; set; }
- ///
- /// 版本号
- ///
- public string Version { get; set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class SparePartVersionCreateDto : SparePartVersionDtoBase
- { }
- public class SparePartVersionUpdateDto : SparePartVersionDtoBase
- { }
- public class SparePartVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class SparePartVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/IWMSVWKanBanAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/IWMSVWKanBanAppService.cs
deleted file mode 100644
index 35b74168..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/IWMSVWKanBanAppService.cs
+++ /dev/null
@@ -1,96 +0,0 @@
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
- public interface IWMSVWKanBanAppService
-
- {
-
-
-
- ///
- /// 导入功能
- ///
- /// 上传的文件(前端已经限制只能上传一个附件)
- ///
-
- // Task WMSVWKanBanUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode);
-
-
-
-
- ///
- /// 按ID获取唯一实体
- ///
- ///
- /// 返回实体全部属性
- ///
- /// ID
- /// 实体DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetListAsync(WMSVWKanBanRequestDto input);
-
-
-
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetVersionListAsync(WMSVWKanBanVersionRequestDto input);
-
-
- Task ExportAsync(WMSVWKanBanRequestDto input);
-
- ///
- /// 获取实体总数
- ///
- /// 实体总数
-
- Task GetTotalCountAsync(Guid branchId);
-
-
-
-
- /////
- ///// 删除实体
- /////
- ///// ID
- ///// 无
-
- Task DeleteAsync(Guid id);
-
-
- ///
- /// 按IDs删除实体列表
- ///
- /// IDs
- /// 是否执行成功
-
- Task DeleteListAsync(List ids);
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanCreateDto.cs
deleted file mode 100644
index 0824c763..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanCreateDto.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
- public class WMSVWKanBanCreateDto : WMSVWKanBanDtoBase, IBranch
- {
- public virtual Guid BranchId { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanDto.cs
deleted file mode 100644
index a3aba35b..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanDto.cs
+++ /dev/null
@@ -1,113 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
-
- public class WMSVWKanBanDto : AuditedEntityDtoBase
- {
- ///
- /// 期间
- ///
- public string Period { set; get; }
-
- ///
- /// 版本
- ///
- public virtual string Version { get; set; }
-
- ///
- ///看板条码号
- ///
- public string Kanban { set; get; }
-
- ///
- /// 入库关联号
- ///
- public virtual string Relation { set; get; }
- ///
- /// 工厂
- ///
- public virtual string Factory { set; get; }
- ///
- /// 零件号
- ///
- public virtual string MaterialCode { set; get; }
- ///
- /// 零件类型
- ///
- public virtual string PartType { set; get; }
- ///
- /// R3入库时间
- ///
- public virtual DateTime SettleInputDate { set; get; }
-
-
- ///
- ///供应商编码
- ///
- public virtual string SupplierCode { get; set; }
- ///
- /// 数量
- ///
- public virtual decimal Qty { get; set; }
- ///
- /// 批次
- ///
-
- public virtual string Batch { get; set; }
-
- ///
- /// 入库结算标识
- ///
- public virtual string Flag { get; set; }
-
- ///
- /// 结算日期
- ///
- public virtual DateTime SettleDate { get; set; }
-
-
- ///
- /// WMS交货单
- ///
- public string WMSDeliveryNote { set; get; }
-
- ///
- /// WMS实际发货日期
- ///
- public string WMSActualGoodsDate { set; get; }
-
-
- ///
- /// WMS交货数量
- ///
- public decimal WMSDeliveryQty { set; get; }
-
- ///
- /// WMS发货状态
- ///
- public string WMSDeliverGoodsState { set; get; }
-
- ///
- /// 看板结算状态
- ///
- public string WMSKanBanState { set; get; }
-
- ///
- /// 结算状态
- ///
- public virtual string State { get; set; }
-
- ///
- /// 出库单号
- ///
- public string DeliveryOrderNo { set; get; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanDtoBase.cs
deleted file mode 100644
index def36a38..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanDtoBase.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
- public class WMSVWKanBanDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- ///
- /// 期间
- ///
- public string Period { set; get; }
-
-
-
- ///
- ///看板条码号
- ///
- public string Kanban { set; get; }
-
- ///
- /// 入库关联号
- ///
- public virtual string Relation { set; get; }
- ///
- /// 工厂
- ///
- public virtual string Factory { set; get; }
- ///
- /// 零件号
- ///
- public virtual string MaterialCode { set; get; }
- ///
- /// 零件类型
- ///
- public virtual string PartType { set; get; }
- ///
- /// R3入库时间
- ///
- public virtual DateTime SettleInputDate { set; get; }
-
-
- ///
- ///供应商编码
- ///
- public virtual string SupplierCode { get; set; }
- ///
- /// 数量
- ///
- public virtual decimal Qty { get; set; }
- ///
- /// 批次
- ///
-
- public virtual string Batch { get; set; }
-
- ///
- /// 入库结算标识
- ///
- public virtual string Flag { get; set; }
-
- ///
- /// 结算日期
- ///
- public virtual DateTime SettleDate { get; set; }
-
- ///
- /// 结算状态
- ///
- public virtual int State { get; set; }
-
-
- public virtual string Version { get; set; }
- ///
- /// 备注
- ///
- public virtual string Remark { get; set; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanExportDto.cs
deleted file mode 100644
index 21e830f3..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanExportDto.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
- public class WMSVWKanBanExportDto
- {
-
- ///
- /// 期间
- ///
- [ExporterHeader(DisplayName = "期间")]
- public string Period { set; get; }
-
- ///
- /// 版本
- ///
- [ExporterHeader(DisplayName = "版本")]
- public virtual string Version { get; set; }
-
- ///
- ///看板条码号
- ///
- [ExporterHeader(DisplayName = "看板条码号")]
- public string Kanban { set; get; }
-
- ///
- /// 入库关联号
- ///
- [ExporterHeader(DisplayName = "入库关联号")]
- public virtual string Relation { set; get; }
- ///
- /// 工厂
- ///
- [ExporterHeader(DisplayName = "工厂")]
- public virtual string Factory { set; get; }
- ///
- /// 零件号
- ///
- [ExporterHeader(DisplayName = "零件号")]
- public virtual string MaterialCode { set; get; }
- ///
- /// 零件类型
- ///
- [ExporterHeader(DisplayName = "零件类型")]
- public virtual string PartType { set; get; }
- ///
- /// R3入库日期
- ///
- [ExporterHeader(DisplayName = "R3入库日期")]
- public virtual DateTime SettleInputDate { set; get; }
-
-
- ///
- ///供应商编码
- ///
- [ExporterHeader(DisplayName = "供应商")]
- public virtual string SupplierCode { get; set; }
- ///
- /// 数量
- ///
- [ExporterHeader(DisplayName = "数量")]
- public virtual decimal Qty { get; set; }
- ///
- /// 批次
- ///
- [ExporterHeader(DisplayName = "批次")]
- public virtual string Batch { get; set; }
-
- ///
- /// 入库结算标识
- ///
- [ExporterHeader(DisplayName = "入库结算标识")]
- public virtual string Flag { get; set; }
-
- ///
- /// 结算日期
- ///
- [ExporterHeader(DisplayName = "R3结算时间")]
- public virtual DateTime SettleDate { get; set; }
-
- ///
- /// 结算状态
- ///
- [ExporterHeader(DisplayName = "结算状态")]
- public virtual string State { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanImportDto.cs
deleted file mode 100644
index 3bdd6acf..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanImportDto.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
- public class WMSVWKanBanImportDto
- {
-
- /////
- ///// 期间
- /////
- //[ImporterHeader(Name = "期间")]
- //public string Period { set; get; }
-
- /////
- ///// 版本
- /////
- //[ImporterHeader(Name = "版本")]
- //public virtual string Version { get; set; }
-
- ///
- ///看板条码号
- ///
- [ImporterHeader(Name = "看板条码号", FixAllSpace = true)]
- public string Kanban { set; get; }
-
- ///
- /// 入库关联号
- ///
- [ImporterHeader(Name = "入库关联号")]
- public virtual string Relation { set; get; }
- ///
- /// 工厂
- ///
- [ImporterHeader(Name = "工厂")]
- public virtual string Factory { set; get; }
- ///
- /// 零件号
- ///
- [ImporterHeader(Name = "零件号", FixAllSpace = true)]
- public virtual string MaterialCode { set; get; }
- ///
- /// 零件类型
- ///
- [ImporterHeader(Name = "零件类型")]
- public virtual string PartType { set; get; }
- ///
- /// R3入库日期
- ///
- [ImporterHeader(Name = "R3入库日期")]
- public virtual string SettleInputDate { set; get; }
-
-
- ///
- ///供应商编码
- ///
- [ImporterHeader(Name = "供应商")]
- public virtual string SupplierCode { get; set; }
- ///
- /// 数量
- ///
- [ImporterHeader(Name = "数量")]
- public virtual decimal Qty { get; set; }
- ///
- /// 批次
- ///
- [ImporterHeader(Name = "批次")]
- public virtual string Batch { get; set; }
-
- ///
- /// 入库结算标识
- ///
- [ImporterHeader(Name = "入库结算标识")]
- public virtual string Flag { get; set; }
-
- ///
- /// 结算日期
- ///
- [ImporterHeader(Name = "R3结算时间")]
- public virtual string SettleDate { get; set; }
-
- ///
- /// 结算状态
- ///
- [ImporterHeader(Name = "结算状态")]
- public virtual string State { get; set; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanRequestDto.cs
deleted file mode 100644
index 751e15f3..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanRequestDto.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
-
- public class WMSVWKanBanRequestDto : RequestDtoBase
- {
-
- ///
- /// 期间
- ///
- public string Period { set; get; }
-
- ///
- /// 版本
- ///
- public virtual string Version { get; set; }
-
- ///
- ///看板条码号
- ///
- public string Kanban { set; get; }
-
- ///
- /// 入库关联号
- ///
- public virtual string Relation { set; get; }
- ///
- /// 工厂
- ///
- public virtual string Factory { set; get; }
- ///
- /// 零件号
- ///
- public virtual string MaterialCode { set; get; }
- ///
- /// 零件类型
- ///
- public virtual string PartType { set; get; }
- ///
- /// R3入库时间
- ///
- public virtual DateTime SettleInputDate { set; get; }
-
-
- ///
- ///供应商编码
- ///
- public virtual string SupplierCode { get; set; }
- ///
- /// 数量
- ///
- public virtual decimal Qty { get; set; }
- ///
- /// 批次
- ///
-
- public virtual string Batch { get; set; }
-
- ///
- /// 入库结算标识
- ///
- public virtual string Flag { get; set; }
-
- ///
- /// 结算日期
- ///
- public virtual DateTime SettleDate { get; set; }
-
- ///
- /// 结算状态
- ///
- public virtual string State { get; set; }
-
- ///
- /// 备注
- ///
- public virtual string Remark { get; set; }
-
- public virtual Guid ParentId { get; set; }
- public virtual Guid BranchId { get; set; }
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanVersionDtoBase.cs
deleted file mode 100644
index 2634a16e..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanVersionDtoBase.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
- ///
- /// SettleAccountVersion
- ///
- public class WMSVWKanBanVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-
- public class WMSVWKanBanVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { get; set; }
- ///
- /// 版本号
- ///
- public string Version { get; set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class WMSVWKanBanVersionCreateDto : WMSVWKanBanVersionDtoBase
- { }
- public class WMSVWKanBanVersionUpdateDto : WMSVWKanBanVersionDtoBase
- { }
- public class WMSVWKanBanVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class WMSVWKanBanVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBantUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBantUpdateDto.cs
deleted file mode 100644
index cbc4329f..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBantUpdateDto.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.SettleAccount.Entities.VWKanBan;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
- public class WMSVWKanBantUpdateDto : VWKanBanDtoBase
- {
-
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/IWMSSparePartAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/IWMSSparePartAppService.cs
deleted file mode 100644
index 56ee2272..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/IWMSSparePartAppService.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSSparePart
-{
- public interface IWMSSparePartAppService
- {
- ///
- /// 导入功能
- ///
- /// 上传的文件(前端已经限制只能上传一个附件)
- ///
-
- //Task WMSSparePartUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId,
- // string year, string period, string version, string customerCode);
-
- ///
- /// 按ID获取唯一实体
- ///
- ///
- /// 返回实体全部属性
- ///
- /// ID
- /// 实体DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetListAsync(WMSSparePartRequestDto input);
-
-
-
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetVersionListAsync(WMSSparePartVersionRequestDto input);
-
-
- Task ExportAsync(WMSSparePartRequestDto input);
-
- ///
- /// 获取实体总数
- ///
- /// 实体总数
-
- Task GetTotalCountAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 删除实体
- /////
- ///// ID
- ///// 无
-
- Task DeleteAsync(Guid id);
-
-
- ///
- /// 按IDs删除实体列表
- ///
- /// IDs
- /// 是否执行成功
-
- Task DeleteListAsync(List ids);
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartCreateDto.cs
deleted file mode 100644
index db4379be..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartCreateDto.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSSparePart
-{
- public class WMSSparePartCreateDto : WMSSparePartDtoBase, IBranch
- {
- public virtual Guid BranchId { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartDto.cs
deleted file mode 100644
index d775ee59..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartDto.cs
+++ /dev/null
@@ -1,137 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSSparePart
-{
- public class WMSSparePartDto : AuditedEntityDtoBase
- {
- ///
- ///年
- ///
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { set; get; }
- ///
- /// 版本号
- ///
- public string Version { set; get; }
-
- ///
- /// 行号
- ///
- public string LineNumber { set; get; }
-
-
- ///
- /// 采购类型
- ///
- public string PurchaseType { get; set; }
-
- ///
- /// 采购订单号
- ///
- public string PurchaseOrderNo { get; set; }
- ///
- /// 采购订单行项目
- ///
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 采购订单文本
- ///
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 收货数量
- ///
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 开票数量
- ///
- public decimal InvoicedQty { get; set; }
- ///
- /// 不含税金额
- ///
- public decimal AmountNoTax { get; set; }
- ///
- /// 采购价格不含税
- ///
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 科目号
- ///
- public string AccountNum { get; set; }
- ///
- /// 物料代码
- ///
- public string MaterialCode { get; set; }
- ///
- /// 物料描述
- ///
- public string MaterialDesc { get; set; }
- ///
- /// 日期
- ///
- public DateTime SpareDate { get; set; }
- ///
- /// 交货单号
- ///
- public string DeliveryOrderNo { get; set; }
- ///
- /// 交货行号
- ///
- public string DeliveryLineNum { get; set; }
- ///
- /// 批次号
- ///
- public string BatchNo { get; set; }
- ///
- /// 单位
- ///
- public string Unit { get; set; }
- ///
- /// 税率
- ///
- public decimal TaxRate { get; set; }
- ///
- /// 税码
- ///
- public string TaxCode { get; set; }
- ///
- /// 德国发票号
- ///
- public string GermanInvoiceNo { get; set; }
- ///
- /// 工厂
- ///
- public string Factory { get; set; }
- ///
- /// 工厂名称
- ///
- public string FactoryName { get; set; }
- ///
- /// 备注
- ///
- public string Extend { set; get; }
-
- ///
- /// WMS交货单
- ///
- public string WMSDeliveryNote { set; get; }
-
- ///
- /// WMS发货状态
- ///
- public string WMSDeliverGoodsState { set; get; }
-
- ///
- /// 看板结算状态
- ///
- public string WMSSparePartState { set; get; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartDtoBase.cs
deleted file mode 100644
index ff78ca70..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartDtoBase.cs
+++ /dev/null
@@ -1,124 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSSparePart
-{
- public class WMSSparePartDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- ///
- ///年
- ///
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { set; get; }
- ///
- /// 版本号
- ///
- public string Version { set; get; }
-
- ///
- /// 行号
- ///
- public string LineNumber { set; get; }
-
-
- ///
- /// 采购类型
- ///
- public string PurchaseType { get; set; }
-
- ///
- /// 采购订单号
- ///
- public string PurchaseOrderNo { get; set; }
- ///
- /// 采购订单行项目
- ///
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 采购订单文本
- ///
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 收货数量
- ///
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 开票数量
- ///
- public decimal InvoicedQty { get; set; }
- ///
- /// 不含税金额
- ///
- public decimal AmountNoTax { get; set; }
- ///
- /// 采购价格不含税
- ///
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 科目号
- ///
- public string AccountNum { get; set; }
- ///
- /// 物料代码
- ///
- public string MaterialCode { get; set; }
- ///
- /// 物料描述
- ///
- public string MaterialDesc { get; set; }
- ///
- /// 日期
- ///
- public DateTime SpareDate { get; set; }
- ///
- /// 交货单号
- ///
- public string DeliveryOrderNo { get; set; }
- ///
- /// 交货行号
- ///
- public string DeliveryLineNum { get; set; }
- ///
- /// 批次号
- ///
- public string BatchNo { get; set; }
- ///
- /// 单位
- ///
- public string Unit { get; set; }
- ///
- /// 税率
- ///
- public decimal TaxRate { get; set; }
- ///
- /// 税码
- ///
- public string TaxCode { get; set; }
- ///
- /// 德国发票号
- ///
- public string GermanInvoiceNo { get; set; }
- ///
- /// 工厂
- ///
- public string Factory { get; set; }
- ///
- /// 工厂名称
- ///
- public string FactoryName { get; set; }
- ///
- /// 备注
- ///
- public string Extend { set; get; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartExportDto.cs
deleted file mode 100644
index 888e2dd8..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartExportDto.cs
+++ /dev/null
@@ -1,143 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSSparePart
-{
- public class WMSSparePartExportDto
- {
-
- ///
- /// 期间
- ///
- [ExporterHeader(DisplayName = "期间")]
- public string Period { set; get; }
-
- ///
- /// 版本
- ///
- [ExporterHeader(DisplayName = "版本")]
- public virtual string Version { get; set; }
-
-
- ///
- /// 行号
- ///
- [ExporterHeader(DisplayName = "行号")]
- public string LineNumber { set; get; }
-
-
- ///
- /// 采购类型
- ///
- [ExporterHeader(DisplayName = "采购类型")]
- public string PurchaseType { get; set; }
-
- ///
- /// 采购订单号
- ///
- [ExporterHeader(DisplayName = "采购订单号")]
- public string PurchaseOrderNo { get; set; }
- ///
- /// 采购订单行项目
- ///
- [ExporterHeader(DisplayName = "采购订单行项目")]
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 采购订单文本
- ///
- [ExporterHeader(DisplayName = "采购订单文本")]
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 收货数量
- ///
- [ExporterHeader(DisplayName = "收货数量")]
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 开票数量
- ///
- [ExporterHeader(DisplayName = "开票数量")]
- public decimal InvoicedQty { get; set; }
- ///
- /// 不含税金额
- ///
- [ExporterHeader(DisplayName = "不含税金额")]
- public decimal AmountNoTax { get; set; }
- ///
- /// 采购价格不含税
- ///
- [ExporterHeader(DisplayName = "采购价格不含税")]
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 科目号
- ///
- [ExporterHeader(DisplayName = "科目号")]
- public string AccountNum { get; set; }
- ///
- /// 物料代码
- ///
- [ExporterHeader(DisplayName = "物料代码")]
- public string MaterialCode { get; set; }
- ///
- /// 物料描述
- ///
- [ExporterHeader(DisplayName = "物料描述")]
- public string MaterialDesc { get; set; }
- ///
- /// 日期
- ///
- [ExporterHeader(DisplayName = "日期")]
- public DateTime SpareDate { get; set; }
- ///
- /// 交货单号
- ///
- [ExporterHeader(DisplayName = "交货单号")]
- public string DeliveryOrderNo { get; set; }
- ///
- /// 交货行号
- ///
- [ExporterHeader(DisplayName = "交货行号")]
- public string DeliveryLineNum { get; set; }
- ///
- /// 批次号
- ///
- [ExporterHeader(DisplayName = "批次号")]
- public string BatchNo { get; set; }
- ///
- /// 单位
- ///
- [ExporterHeader(DisplayName = "单位")]
- public string Unit { get; set; }
- ///
- /// 税率
- ///
- [ExporterHeader(DisplayName = "税率")]
- public decimal TaxRate { get; set; }
- ///
- /// 税码
- ///
- [ExporterHeader(DisplayName = "税码")]
- public string TaxCode { get; set; }
- ///
- /// 德国发票号
- ///
- [ExporterHeader(DisplayName = "德国发票号")]
- public string GermanInvoiceNo { get; set; }
- ///
- /// 工厂
- ///
- [ExporterHeader(DisplayName = "工厂")]
- public string Factory { get; set; }
- ///
- /// 工厂名称
- ///
- [ExporterHeader(DisplayName = "工厂名称")]
- public string FactoryName { get; set; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartImportDto.cs
deleted file mode 100644
index cd8af4fc..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartImportDto.cs
+++ /dev/null
@@ -1,129 +0,0 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSSparePart
-{
- public class WMSSparePartImportDto
- {
-
- ///
- /// 行号
- ///
- [ImporterHeader(Name = "行号")]
- public string LineNumber { set; get; }
-
-
- ///
- /// 采购类型
- ///
- [ImporterHeader(Name = "采购类型")]
- public string PurchaseType { get; set; }
-
- ///
- /// 采购订单号
- ///
- [ImporterHeader(Name = "采购订单号", FixAllSpace = true)]
- public string PurchaseOrderNo { get; set; }
- ///
- /// 采购订单行项目
- ///
- [ImporterHeader(Name = "采购订单行项目")]
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 采购订单文本
- ///
- [ImporterHeader(Name = "采购订单文本")]
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 收货数量
- ///
- [ImporterHeader(Name = "收货数量")]
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 开票数量
- ///
- [ImporterHeader(Name = "开票数量")]
- public decimal InvoicedQty { get; set; }
- ///
- /// 不含税金额
- ///
- [ImporterHeader(Name = "不含税金额")]
- public decimal AmountNoTax { get; set; }
- ///
- /// 采购价格不含税
- ///
- [ImporterHeader(Name = "采购价格不含税")]
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 科目号
- ///
- [ImporterHeader(Name = "科目号", FixAllSpace = true)]
- public string AccountNum { get; set; }
- ///
- /// 物料代码
- ///
- [ImporterHeader(Name = "物料代码", FixAllSpace = true)]
- public string MaterialCode { get; set; }
- ///
- /// 物料描述
- ///
- [ImporterHeader(Name = "物料描述")]
- public string MaterialDesc { get; set; }
- ///
- /// 日期
- ///
- [ImporterHeader(Name = "日期")]
- public DateTime SpareDate { get; set; }
- ///
- /// 交货单号
- ///
- [ImporterHeader(Name = "交货单号", FixAllSpace = true)]
- public string DeliveryOrderNo { get; set; }
- ///
- /// 交货行号
- ///
- [ImporterHeader(Name = "交货行号")]
- public string DeliveryLineNum { get; set; }
- ///
- /// 批次号
- ///
- [ImporterHeader(Name = "批次号")]
- public string BatchNo { get; set; }
- ///
- /// 单位
- ///
- [ImporterHeader(Name = "单位")]
- public string Unit { get; set; }
- ///
- /// 税率
- ///
- [ImporterHeader(Name = "税率")]
- public decimal TaxRate { get; set; }
- ///
- /// 税码
- ///
- [ImporterHeader(Name = "税码")]
- public string TaxCode { get; set; }
- ///
- /// 德国发票号
- ///
- [ImporterHeader(Name = "德国发票号")]
- public string GermanInvoiceNo { get; set; }
- ///
- /// 工厂
- ///
- [ImporterHeader(Name = "工厂")]
- public string Factory { get; set; }
- ///
- /// 工厂名称
- ///
- [ImporterHeader(Name = "工厂名称")]
- public string FactoryName { get; set; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartRequestDto.cs
deleted file mode 100644
index bc090dda..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartRequestDto.cs
+++ /dev/null
@@ -1,129 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSSparePart
-{
- public class WMSSparePartRequestDto : RequestDtoBase
- {
- ///
- ///年
- ///
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { set; get; }
- ///
- /// 版本号
- ///
- public string Version { set; get; }
-
- ///
- /// 行号
- ///
- public string LineNumber { set; get; }
-
-
- ///
- /// 采购类型
- ///
- public string PurchaseType { get; set; }
-
- ///
- /// 采购订单号
- ///
- public string PurchaseOrderNo { get; set; }
- ///
- /// 采购订单行项目
- ///
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 采购订单文本
- ///
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 收货数量
- ///
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 开票数量
- ///
- public decimal InvoicedQty { get; set; }
- ///
- /// 不含税金额
- ///
- public decimal AmountNoTax { get; set; }
- ///
- /// 采购价格不含税
- ///
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 科目号
- ///
- public string AccountNum { get; set; }
- ///
- /// 物料代码
- ///
- public string MaterialCode { get; set; }
- ///
- /// 物料描述
- ///
- public string MaterialDesc { get; set; }
- ///
- /// 日期
- ///
- public DateTime SpareDate { get; set; }
- ///
- /// 交货单号
- ///
- public string DeliveryOrderNo { get; set; }
- ///
- /// 交货行号
- ///
- public string DeliveryLineNum { get; set; }
- ///
- /// 批次号
- ///
- public string BatchNo { get; set; }
- ///
- /// 单位
- ///
- public string Unit { get; set; }
- ///
- /// 税率
- ///
- public decimal TaxRate { get; set; }
- ///
- /// 税码
- ///
- public string TaxCode { get; set; }
- ///
- /// 德国发票号
- ///
- public string GermanInvoiceNo { get; set; }
- ///
- /// 工厂
- ///
- public string Factory { get; set; }
- ///
- /// 工厂名称
- ///
- public string FactoryName { get; set; }
- ///
- /// 备注
- ///
- public string Extend { set; get; }
-
- public virtual Guid ParentId { get; set; }
- public virtual Guid BranchId { get; set; }
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartVersionDtoBase.cs
deleted file mode 100644
index b2d78b86..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartVersionDtoBase.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSSparePart
-{
- ///
- /// SettleAccountVersion
- ///
- public class WMSSparePartVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-
- public class WMSSparePartVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; set; }
- ///
- /// 期间
- ///
- public string Period { get; set; }
- ///
- /// 版本号
- ///
- public string Version { get; set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class WMSSparePartVersionCreateDto : WMSSparePartVersionDtoBase
- { }
- public class WMSSparePartVersionUpdateDto : WMSSparePartVersionDtoBase
- { }
- public class WMSSparePartVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class WMSSparePartVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 期间
- ///
- public string Period { get; private set; }
- ///
- /// 版本号
- ///
- public string Version { get; private set; }
-
- ///
- /// 客户号
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/ErrorListBill/ErrorBillAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/ErrorListBill/ErrorBillAppService.cs
index a33b8cef..74fdd97a 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/ErrorListBill/ErrorBillAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/ErrorListBill/ErrorBillAppService.cs
@@ -27,12 +27,10 @@ using Win.Sfs.SettleAccount.CommonManagers;
using Win.Sfs.SettleAccount.Constant;
using Win.Sfs.SettleAccount.Entities.Boms;
using Win.Sfs.SettleAccount.Entities.Errors;
-using Win.Sfs.SettleAccount.Entities.EstimatedInventories;
using Win.Sfs.SettleAccount.Entities.ImportMap;
using Win.Sfs.SettleAccount.Entities.Prices;
using Win.Sfs.SettleAccount.Entities.TaskJobs;
using Win.Sfs.SettleAccount.Errors;
-using Win.Sfs.SettleAccount.EstimatedInventories;
using Win.Sfs.SettleAccount.ExcelImporter;
using Win.Sfs.SettleAccount.ExportReports;
using Win.Sfs.SettleAccount.Reports;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQExtend/HQKBExtendAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQExtend/HQKBExtendAppService.cs
deleted file mode 100644
index 3548daed..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQExtend/HQKBExtendAppService.cs
+++ /dev/null
@@ -1,347 +0,0 @@
-
-
-
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.Linq;
-using System.Threading.Tasks;
-using EFCore.BulkExtensions;
-using Magicodes.ExporterAndImporter.Core;
-using Magicodes.ExporterAndImporter.Csv;
-using Magicodes.ExporterAndImporter.Excel;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.Extensions.Caching.Distributed;
-using Shouldly;
-using Volo.Abp;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-using Volo.Abp.Caching;
-using Volo.Abp.Domain.Repositories;
-using Volo.Abp.Guids;
-using Volo.Abp.ObjectMapping;
-using Volo.Abp.Uow;
-using Win.Abp.Snowflakes;
-using Win.Sfs.BaseData.ImportExcelCommon;
-using Win.Sfs.SettleAccount.CommonManagers;
-using Win.Sfs.SettleAccount.Constant;
-using Win.Sfs.SettleAccount.Entities.ERPShipping;
-using Win.Sfs.SettleAccount.Entities.ERPShpping;
-using Win.Sfs.SettleAccount.Entities.HQExtend;
-using Win.Sfs.SettleAccount.Entities.ImportMap;
-using Win.Sfs.SettleAccount.Entities.Materials;
-using Win.Sfs.SettleAccount.ExcelImporter;
-using Win.Sfs.SettleAccount.ExportReports;
-using Win.Sfs.Shared.CacheBase;
-using Win.Sfs.Shared.Filter;
-using Win.Utils;
-
-namespace Win.Sfs.SettleAccount.HQKBExtends
-{
-
- ///
- /// Ӧ÷
- ///
- [Authorize(SettleAccountPermissions.Boms.Default)]
- //[AllowAnonymous]
- [Route("api/settleaccount/ErpShipping")]
- public class HQKBExtendAppService : SettleAccountApplicationBase
- {
- private readonly IGuidGenerator _guidGenerator;
-
- private readonly IObjectMapper _objectMapper;
-
- private readonly IExcelImportAppService _excelImportService;
-
-
- private readonly ISettleAccountBranchEfCoreRepository _repository;
-
-
- private readonly ISettleAccountBranchEfCoreRepository _materialRepository;
-
- private readonly ISettleAccountBranchEfCoreRepository _importColumnMapRepository;
-
- private readonly ISettleAccountBranchEfCoreRepository _versionRepository;
- ///
- ///
- ///
- /// UID
- /// Զmap
- /// ִӿ
- ///
- public HQKBExtendAppService(IGuidGenerator guidGenerator,
- IObjectMapper objectMapper,
- IExcelImportAppService excelImportService,
- ISnowflakeIdGenerator snowflakeIdGenerator,
- ICommonManager commonManager,
- ISettleAccountBranchEfCoreRepository repository,
- ISettleAccountBranchEfCoreRepository versionRepository,
- ISettleAccountBranchEfCoreRepository materialRepository,
- ISettleAccountBranchEfCoreRepository importColumnMapRepository,
- IDistributedCache cache
- ) : base(cache,excelImportService,snowflakeIdGenerator,commonManager)
- {
- _guidGenerator = guidGenerator;
- _objectMapper = objectMapper;
- _repository = repository;
- _excelImportService = excelImportService;
- _versionRepository = versionRepository;
- _materialRepository = materialRepository;
- _importColumnMapRepository = importColumnMapRepository;
- }
-
- #region 뵼
-
-
-
-
-
- ///
- /// 빦
- ///
- /// ϴļ(ǰѾֻϴһ)
- ///
- [HttpPost]
- [Route("ExcelImport")]
- [DisableRequestSizeLimit]
-
-
- public async Task HQKBExtendUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode,string factory)
- {
-
- ExportImporter _exportImporter = new ExportImporter();
- var result = await _exportImporter.UploadExcelImport(files, _excelImportService);
- var entityList = ObjectMapper.Map, List>(result);
- var _versionQuery = _versionRepository.Where(p => p.Version == version );
- await _versionQuery.BatchDeleteAsync();
- var _query = _repository.Where(p => p.Version == version );
- await _query.BatchDeleteAsync();
- //var checkList = new List();
- //var _matList =await _materialRepository.GetAllAsync(GuidGenerator.Create());
- // var _group = entityList.GroupBy(x => new { x.ParentItemCode, x.ChildItemCode, x.Version }).Select(p => new { Count = p.Count(),ParentItmeCode=p.Key.ParentItemCode, ChildItemCode=p.Key.ChildItemCode });
- //foreach (var itm in _group)
- //{
- // if (itm.Count > 1)
- // {
- // checkList.Add(new ErrorExportDto(version, customerCode, string.Empty, string.Empty, string.Empty, string.Empty, string.Format("ܵ븸{0},ӱ{1}ظ", itm.ParentItmeCode, itm.ChildItemCode), string.Empty));
- // }
- //}
- //var _id = GuidGenerator.Create();
- //var _HQKBExtendList = new List();
- //_HQKBExtendList.Add(new HQKBExtendVersion(_id, branchId, year, period, version, customerCode,factory));
- //foreach (var itm in entityList)
- //{
- // if (!_matList.Any(p => p.MaterialCode == itm.ParentItemCode))
- // {
- // checkList.Add(new ErrorExportDto(version, customerCode, string.Empty, string.Empty, itm.ParentItemCode, string.Empty, string.Format("ݲϺ{0}", itm.ParentItemCode), string.Empty));
- // continue;
- // }
- // itm.SetValue(GuidGenerator.Create(),branchId,year,period,version,_id,factory);
- //}
- //if (checkList.Count > 0)
- //{
- // return await ExportErrorReportAsync(checkList);
- //}
- await _repository.GetDbContext().BulkInsertAsync(entityList);
-
- await _versionRepository.GetDbContext().BulkInsertAsync(new List { new HQKBExtendVersion(Guid.NewGuid(), branchId, year, period, version, customerCode, factory) });
-
- //st.Stop();
- return ApplicationConsts.SuccessStr;
- }
- ///
- /// ļ
- ///
- ///
- ///
- [HttpPost]
- [Route("Export")]
-
- virtual public async Task ExportAsync(HQKBExtendRequestDto input)
- {
- IExporter _csv = new CsvExporter();
- IExporter _excel = new ExcelExporter();
- //ϰ汾ȫ
- if (!string.IsNullOrEmpty(input.Version ))
- {
- input.Filters.Add(new FilterCondition() { Action = EnumFilterAction.Equal, Column = "Version", Logic = EnumFilterLogic.And, Value = input.Version.ToString() });
- }
- //else
- //{
- // return new PagedResultDto(0, new List());
- //}
- var entities = await _repository.GetListByFilterAsync(input.BranchId, input.Filters, input.Sorting, int.MaxValue,
- 0, true);
- var dtoDetails = ObjectMapper.Map, List>(entities);
- string _fileName = string.Empty;
- //
-
- byte[] result = null;
-
-
-
- _fileName = string.Format("ERP_{0}.xlsx", Guid.NewGuid().ToString("N"));
- result = await _excel.ExportAsByteArray(dtoDetails);
-
-
- result.ShouldNotBeNull();
-
- //浼ļɶ
- await _excelImportService.SaveBlobAsync(
- new SaveExcelImportInputDto
- {
- Name = _fileName,
- Content = result
- }
- );
- return _fileName;
- }
- #endregion
-
- ///
- /// IDȡΨһʵ
- ///
- ///
- /// ʵȫ
- ///
- /// ID
- /// ʵDTO
- [HttpGet]
- [Route("{id}")]
-
- virtual public async Task GetAsync(Guid id)
- {
- var result = await _repository.GetAsync(id);
- var dto = _objectMapper.Map(result);
- return dto;
- }
-
-
- private async Task GetFromCacheAsync(Guid id)
- {
- var result = await _repository.GetAsync(id);
- return result;
- }
-
-
- private async Task GetCountAsync(HQKBExtendRequestDto input)
- {
- return await _repository.GetCountByFilterAsync(input.BranchId, input.Filters);
- }
-
-
- private async Task GetCountAsync(HQKBExtendVersionRequestDto input)
- {
- return await _versionRepository.GetCountByFilterAsync(input.BranchId, input.Filters);
- }
-
- ///
- /// ȡʵ
- ///
- /// ʵ
- [HttpGet]
- [Route("count")]
-
- virtual public async Task GetTotalCountAsync(Guid branchId)
- {
- return await _repository.GetCountAsync(branchId);
- }
-
-
-
- ///
- /// ɾʵ
- ///
- /// ID
- ///
- [HttpDelete]
- [Route("{id}")]
-
- virtual public async Task DeleteAsync(Guid id)
- {
- //var entity = await GetFromCacheAsync(id);
- //await Cache.DeleteAsync(id.ToString());
- await _repository.DeleteAsync(id);
- }
-
- ///
- /// IDsɾʵб
- ///
- /// IDs
- /// Ƿִгɹ
- [HttpPost]
- [Route("delete")]
-
- virtual public async Task DeleteListAsync(List ids)
- {
- //foreach (var id in ids)
- //{
- // var entity = await GetFromCacheAsync(id);
-
- //}
-
- return await _repository.DeleteListAsync(ids);
- }
-
-
- /////
-
- ///
- /// ɸѡȡʵб
- ///
- ///
- /// :ɸѡб,,,ҳ
- ///
- ///
- /// ʵDTOб
- [HttpPost]
- [Route("list")]
-
- public async Task> GetListAsync(Guid parentId, HQKBExtendRequestDto input)
- {
- if (!string.IsNullOrEmpty(input.Version) )
- {
- input.Filters.Add(new FilterCondition() { Action = EnumFilterAction.Equal, Column = "Version", Logic = EnumFilterLogic.And, Value = input.Version });
- }
- else
- {
- return new PagedResultDto(0,new List());
- }
- var entities = await _repository.GetListByFilterAsync(input.BranchId, input.Filters, input.Sorting, input.MaxResultCount,
- input.SkipCount, true);
- var totalCount = await GetCountAsync(input);
- var dtos = _objectMapper.Map, List>(entities);
- return new PagedResultDto(totalCount, dtos);
- }
-
- /////
-
- ///
- /// ɸѡȡʵб
- ///
- ///
- /// :ɸѡб,,,ҳ
- ///
- ///
- /// ʵDTOб
- [HttpPost]
- [Route("listVersion")]
-
- public async Task> GetVersionListAsync(HQKBExtendVersionRequestDto input)
- {
- var entities = await _versionRepository.GetListByFilterAsync(input.BranchId, input.Filters, input.Sorting, int.MaxValue,
- input.SkipCount, true);
-
- var totalCount = await GetCountAsync(input);
- var dtos = _objectMapper.Map, List>(entities);
- //foreach (var itm in dtos)
- //{
- // itm.Version = itm.Version + string.Format("({0})", itm.Factory);
- //}
- return new PagedResultDto(totalCount, dtos);
- }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQExtend/HQKBSettleExtendAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQExtend/HQKBSettleExtendAppService.cs
deleted file mode 100644
index 9b3f16f6..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQExtend/HQKBSettleExtendAppService.cs
+++ /dev/null
@@ -1,346 +0,0 @@
-
-
-
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.Linq;
-using System.Threading.Tasks;
-using EFCore.BulkExtensions;
-using Magicodes.ExporterAndImporter.Core;
-using Magicodes.ExporterAndImporter.Csv;
-using Magicodes.ExporterAndImporter.Excel;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.Extensions.Caching.Distributed;
-using Shouldly;
-using Volo.Abp;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-using Volo.Abp.Caching;
-using Volo.Abp.Domain.Repositories;
-using Volo.Abp.Guids;
-using Volo.Abp.ObjectMapping;
-using Volo.Abp.Uow;
-using Win.Abp.Snowflakes;
-using Win.Sfs.BaseData.ImportExcelCommon;
-using Win.Sfs.SettleAccount.CommonManagers;
-using Win.Sfs.SettleAccount.Constant;
-using Win.Sfs.SettleAccount.Entities.ERPShipping;
-using Win.Sfs.SettleAccount.Entities.ERPShpping;
-using Win.Sfs.SettleAccount.Entities.HQExtend;
-using Win.Sfs.SettleAccount.Entities.ImportMap;
-using Win.Sfs.SettleAccount.Entities.Materials;
-using Win.Sfs.SettleAccount.ExcelImporter;
-using Win.Sfs.SettleAccount.ExportReports;
-using Win.Sfs.Shared.CacheBase;
-using Win.Sfs.Shared.Filter;
-using Win.Utils;
-
-namespace Win.Sfs.SettleAccount.HQKBExtends
-{
-
- ///
- /// Ӧ÷
- ///
- [Authorize(SettleAccountPermissions.Boms.Default)]
- //[AllowAnonymous]
- [Route("api/settleaccount/ErpShipping")]
- public class HQKBSettleExtendAppService : SettleAccountApplicationBase
- {
- private readonly IGuidGenerator _guidGenerator;
-
- private readonly IObjectMapper _objectMapper;
-
- private readonly IExcelImportAppService _excelImportService;
-
-
- private readonly ISettleAccountBranchEfCoreRepository _repository;
-
-
- private readonly ISettleAccountBranchEfCoreRepository _materialRepository;
-
- private readonly ISettleAccountBranchEfCoreRepository _importColumnMapRepository;
-
- private readonly ISettleAccountBranchEfCoreRepository _versionRepository;
- ///
- ///
- ///
- /// UID
- /// Զmap
- /// ִӿ
- ///
- public HQKBSettleExtendAppService(IGuidGenerator guidGenerator,
- IObjectMapper objectMapper,
- IExcelImportAppService excelImportService,
- ISnowflakeIdGenerator snowflakeIdGenerator,
- ICommonManager commonManager,
- ISettleAccountBranchEfCoreRepository repository,
- ISettleAccountBranchEfCoreRepository versionRepository,
- ISettleAccountBranchEfCoreRepository materialRepository,
- ISettleAccountBranchEfCoreRepository