From ad3dbabec0607c6b36a09c22bb01451adb3fed6f Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 16:37:06 +0800
Subject: [PATCH 01/46] =?UTF-8?q?=E6=B7=BB=E5=8A=A0build=E5=92=8Cdrone?=
=?UTF-8?q?=E8=84=9A=E6=9C=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
build/.gitignore | 1 +
build/build.cmd | 1 +
build/build.sh | 1 +
drone.yml | 25 +++++++++++++++++++++++++
4 files changed, 28 insertions(+)
create mode 100644 build/.gitignore
create mode 100644 build/build.cmd
create mode 100644 build/build.sh
create mode 100644 drone.yml
diff --git a/build/.gitignore b/build/.gitignore
new file mode 100644
index 00000000..fc7c01f4
--- /dev/null
+++ b/build/.gitignore
@@ -0,0 +1 @@
+publish
\ No newline at end of file
diff --git a/build/build.cmd b/build/build.cmd
new file mode 100644
index 00000000..d94fad2b
--- /dev/null
+++ b/build/build.cmd
@@ -0,0 +1 @@
+dotnet publish ../code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host -o ./publish -c Release -r win-x64 --sc true
diff --git a/build/build.sh b/build/build.sh
new file mode 100644
index 00000000..d94fad2b
--- /dev/null
+++ b/build/build.sh
@@ -0,0 +1 @@
+dotnet publish ../code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host -o ./publish -c Release -r win-x64 --sc true
diff --git a/drone.yml b/drone.yml
new file mode 100644
index 00000000..71287f09
--- /dev/null
+++ b/drone.yml
@@ -0,0 +1,25 @@
+---
+kind: pipeline
+type: docker
+name: linux-amd64
+
+platform:
+ arch: amd64
+ os: linux
+
+steps:
+- name: build
+ image:mcr.microsoft.com/dotnet/sdk:5.0
+ commands:
+ - cd ./build
+ - ./build.sh
+
+setps:
+- name: publish
+ image: plugins/s3
+ bucket: default
+ access_key: O222sbIaMKeGfeX18t8K
+ secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR
+ source: build/publish/**/*
+ target: /jie-suan/bei-qi/publish
+
From f8250190ff0cad210f8113f1825e5b2e4b847089 Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 16:41:43 +0800
Subject: [PATCH 02/46] rename drone config
---
drone.yml => .drone.yml | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename drone.yml => .drone.yml (100%)
diff --git a/drone.yml b/.drone.yml
similarity index 100%
rename from drone.yml
rename to .drone.yml
From 556ff05efb70bde4d47698e3bdfc939f2e128862 Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 16:44:49 +0800
Subject: [PATCH 03/46] test drone
---
.drone.yml | 2 --
1 file changed, 2 deletions(-)
diff --git a/.drone.yml b/.drone.yml
index 71287f09..41949795 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -14,7 +14,6 @@ steps:
- cd ./build
- ./build.sh
-setps:
- name: publish
image: plugins/s3
bucket: default
@@ -22,4 +21,3 @@ setps:
secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR
source: build/publish/**/*
target: /jie-suan/bei-qi/publish
-
From b23433ed5548595208113a99e8d3e97b79ab2589 Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 16:46:31 +0800
Subject: [PATCH 04/46] test drone
---
.drone.yml | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/.drone.yml b/.drone.yml
index 41949795..871e202c 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -9,15 +9,16 @@ platform:
steps:
- name: build
- image:mcr.microsoft.com/dotnet/sdk:5.0
+ image: mcr.microsoft.com/dotnet/sdk:5.0
commands:
- - cd ./build
- - ./build.sh
+ - cd ./build
+ - ./build.sh
- name: publish
image: plugins/s3
- bucket: default
- access_key: O222sbIaMKeGfeX18t8K
- secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR
- source: build/publish/**/*
- target: /jie-suan/bei-qi/publish
+ settings:
+ bucket: default
+ access_key: O222sbIaMKeGfeX18t8K
+ secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR
+ source: build/publish/**/*
+ target: /jie-suan/bei-qi/publish
From efb9c0c767d096d534aa3239991517630be47635 Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 17:12:06 +0800
Subject: [PATCH 05/46] test drone
---
.drone.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.drone.yml b/.drone.yml
index 871e202c..f0320781 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -11,12 +11,15 @@ steps:
- name: build
image: mcr.microsoft.com/dotnet/sdk:5.0
commands:
+ - pwd
- cd ./build
- ./build.sh
- name: publish
image: plugins/s3
settings:
+ endpoint: http://dev.ccwin-in.com:3008
+ path_style: true
bucket: default
access_key: O222sbIaMKeGfeX18t8K
secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR
From 8381d992f4cdf6c68978f214b07a14fa25bf10c2 Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 17:14:45 +0800
Subject: [PATCH 06/46] update
---
.drone.yml | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/.drone.yml b/.drone.yml
index f0320781..ec1d8d06 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -15,13 +15,13 @@ steps:
- cd ./build
- ./build.sh
-- name: publish
- image: plugins/s3
- settings:
- endpoint: http://dev.ccwin-in.com:3008
- path_style: true
- bucket: default
- access_key: O222sbIaMKeGfeX18t8K
- secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR
- source: build/publish/**/*
- target: /jie-suan/bei-qi/publish
+# - name: publish
+# image: plugins/s3
+# settings:
+# endpoint: http://dev.ccwin-in.com:3008
+# path_style: true
+# bucket: default
+# access_key: O222sbIaMKeGfeX18t8K
+# secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR
+# source: build/publish/**/*
+# target: /jie-suan/bei-qi/publish
From af97315568b79acc6f45dbea3971d88925283050 Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 17:29:09 +0800
Subject: [PATCH 07/46] test drone
---
.drone.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.drone.yml b/.drone.yml
index ec1d8d06..767701dc 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -13,6 +13,7 @@ steps:
commands:
- pwd
- cd ./build
+ - chomd 755 ./build.sh
- ./build.sh
# - name: publish
From 3c3a3cb0423742e706d8454df0f53153e88fe44b Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 17:32:11 +0800
Subject: [PATCH 08/46] test drone
---
.drone.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.drone.yml b/.drone.yml
index 767701dc..ea290d37 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -13,7 +13,7 @@ steps:
commands:
- pwd
- cd ./build
- - chomd 755 ./build.sh
+ - chmod 755 ./build.sh
- ./build.sh
# - name: publish
From 5326c6d7c7201ee5534e362225d856e32a2deed1 Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 17:33:43 +0800
Subject: [PATCH 09/46] test drone
---
.drone.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.drone.yml b/.drone.yml
index ea290d37..ed4eed23 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -13,6 +13,7 @@ steps:
commands:
- pwd
- cd ./build
+ - ls
- chmod 755 ./build.sh
- ./build.sh
From 9773f82a024e823354427749adb3e76aed39ad0a Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 17:38:01 +0800
Subject: [PATCH 10/46] update
---
build/build.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build/build.sh b/build/build.sh
index d94fad2b..4e19d595 100644
--- a/build/build.sh
+++ b/build/build.sh
@@ -1 +1 @@
-dotnet publish ../code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host -o ./publish -c Release -r win-x64 --sc true
+dotnet publish -c Release -r win-x64 ../code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host -o ./publish
From db9c2b04f99368e4c3bbfeb992a7b0924c569725 Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 17:48:02 +0800
Subject: [PATCH 11/46] Nuget.config
---
code/src/Nuget.config | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 code/src/Nuget.config
diff --git a/code/src/Nuget.config b/code/src/Nuget.config
new file mode 100644
index 00000000..2d29d123
--- /dev/null
+++ b/code/src/Nuget.config
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
From 6d64513f371fba42fe18aa402cf9f37c49cc12c6 Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 17:57:52 +0800
Subject: [PATCH 12/46] update
---
.drone.yml | 6 +++++-
build/build.cmd | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/.drone.yml b/.drone.yml
index ed4eed23..d59dc0bc 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -12,7 +12,11 @@ steps:
image: mcr.microsoft.com/dotnet/sdk:5.0
commands:
- pwd
- - cd ./build
+ - ls
+ - cd ./code/src
+ - dotnet restore SettleAccount.sln
+ - cd ../../build
+ - pwd
- ls
- chmod 755 ./build.sh
- ./build.sh
diff --git a/build/build.cmd b/build/build.cmd
index d94fad2b..4e19d595 100644
--- a/build/build.cmd
+++ b/build/build.cmd
@@ -1 +1 @@
-dotnet publish ../code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host -o ./publish -c Release -r win-x64 --sc true
+dotnet publish -c Release -r win-x64 ../code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host -o ./publish
From 0da35b2feb1a85e424809f8e55d10e8ace721a42 Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 18:05:52 +0800
Subject: [PATCH 13/46] drone
---
.drone.yml | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/.drone.yml b/.drone.yml
index d59dc0bc..a96481c5 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -11,11 +11,7 @@ steps:
- name: build
image: mcr.microsoft.com/dotnet/sdk:5.0
commands:
- - pwd
- - ls
- - cd ./code/src
- - dotnet restore SettleAccount.sln
- - cd ../../build
+ - cd ./build
- pwd
- ls
- chmod 755 ./build.sh
From ad87de6fa797b7aba9b6f15f3f0ee3b1f46bbfcc Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 18:07:24 +0800
Subject: [PATCH 14/46] build
---
build/build.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build/build.sh b/build/build.sh
index 4e19d595..0e2287b2 100644
--- a/build/build.sh
+++ b/build/build.sh
@@ -1 +1 @@
-dotnet publish -c Release -r win-x64 ../code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host -o ./publish
+dotnet publish -v diag -c Release -r win-x64 ../code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host -o ./publish
From 19d1caaaf08fec208dd4b3f1aea622a91d8fd217 Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 18:23:42 +0800
Subject: [PATCH 15/46] drone build update
---
.../SettleAccount.Application.Contracts.csproj | 7 +------
.../SettleAccount.Application.csproj | 11 +----------
.../SettleAccount.Domain.Shared.csproj | 8 +-------
.../SettleAccount.Domain/SettleAccount.Domain.csproj | 7 -------
.../SettleAccount.EntityFrameworkCore.csproj | 5 -----
.../SettleAccount.HttpApi.csproj | 7 +------
.../src/SettleAccount.Job/SettleAccount.Job.csproj | 6 +-----
code/src/Shared/Win.Sfs.Shared/Win.Sfs.Shared.csproj | 1 -
code/src/Shared/Win.Utils/Win.Utils.csproj | 3 +--
9 files changed, 6 insertions(+), 49 deletions(-)
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/SettleAccount.Application.Contracts.csproj b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/SettleAccount.Application.Contracts.csproj
index 94b2bc17..d7493820 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/SettleAccount.Application.Contracts.csproj
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/SettleAccount.Application.Contracts.csproj
@@ -1,4 +1,4 @@
-
+
@@ -6,14 +6,9 @@
net5.0
Win.Sfs.SettleAccount
1.0.25
- true
True
-
- ..\..\OutPut
-
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccount.Application.csproj b/code/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccount.Application.csproj
index 855ef29d..961276b2 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccount.Application.csproj
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccount.Application.csproj
@@ -1,4 +1,4 @@
-
+
@@ -9,15 +9,6 @@
True
-
-
-
-
- ..\..\OutPut
-
-
-
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/SettleAccount.Domain.Shared.csproj b/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/SettleAccount.Domain.Shared.csproj
index 1d93bf18..a263766c 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/SettleAccount.Domain.Shared.csproj
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/SettleAccount.Domain.Shared.csproj
@@ -1,4 +1,4 @@
-
+
@@ -6,14 +6,8 @@
net5.0
Win.Sfs.SettleAccount
true
- true
1.0.25
-
-
-
- ..\..\OutPut
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Domain/SettleAccount.Domain.csproj b/code/src/Modules/SettleAccount/src/SettleAccount.Domain/SettleAccount.Domain.csproj
index 884a9a7f..59ba8817 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Domain/SettleAccount.Domain.csproj
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Domain/SettleAccount.Domain.csproj
@@ -6,15 +6,8 @@
net5.0
Win.Sfs.SettleAccount
1.0.25
- true
-
-
- ..\..\OutPut
-
-
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/SettleAccount.EntityFrameworkCore.csproj b/code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/SettleAccount.EntityFrameworkCore.csproj
index c000c670..590b3016 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/SettleAccount.EntityFrameworkCore.csproj
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/SettleAccount.EntityFrameworkCore.csproj
@@ -7,11 +7,6 @@
Win.Sfs.SettleAccount
-
-
- ..\..\OutPut
-
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.HttpApi/SettleAccount.HttpApi.csproj b/code/src/Modules/SettleAccount/src/SettleAccount.HttpApi/SettleAccount.HttpApi.csproj
index ab248574..3eb888eb 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.HttpApi/SettleAccount.HttpApi.csproj
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.HttpApi/SettleAccount.HttpApi.csproj
@@ -1,18 +1,13 @@
-
+
net5.0
Win.Sfs.SettleAccount
- true
1.0.25
-
- ..\..\OutPut
-
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Job/SettleAccount.Job.csproj b/code/src/Modules/SettleAccount/src/SettleAccount.Job/SettleAccount.Job.csproj
index f4a6d7f2..659ddb81 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Job/SettleAccount.Job.csproj
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Job/SettleAccount.Job.csproj
@@ -1,13 +1,9 @@
-
+
net5.0
-
- ..\..\OutPut
-
-
diff --git a/code/src/Shared/Win.Sfs.Shared/Win.Sfs.Shared.csproj b/code/src/Shared/Win.Sfs.Shared/Win.Sfs.Shared.csproj
index 9f3d6779..1efc8fc0 100644
--- a/code/src/Shared/Win.Sfs.Shared/Win.Sfs.Shared.csproj
+++ b/code/src/Shared/Win.Sfs.Shared/Win.Sfs.Shared.csproj
@@ -4,7 +4,6 @@
netcoreapp5
Win.Sfs.Shared
2.0.0
- true
diff --git a/code/src/Shared/Win.Utils/Win.Utils.csproj b/code/src/Shared/Win.Utils/Win.Utils.csproj
index 0888e780..41da8ddd 100644
--- a/code/src/Shared/Win.Utils/Win.Utils.csproj
+++ b/code/src/Shared/Win.Utils/Win.Utils.csproj
@@ -1,9 +1,8 @@
-
+
netcoreapp5
Win.Utils
- true
2.0.0
From 8d8e978429ec36d6954cfe8dfb63c05562fb9383 Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 18:37:13 +0800
Subject: [PATCH 16/46] build
---
code/src/Modules/SettleAccount/common.props | 5 -----
1 file changed, 5 deletions(-)
diff --git a/code/src/Modules/SettleAccount/common.props b/code/src/Modules/SettleAccount/common.props
index 420d9c49..42892d53 100644
--- a/code/src/Modules/SettleAccount/common.props
+++ b/code/src/Modules/SettleAccount/common.props
@@ -5,9 +5,4 @@
$(NoWarn);CS1591;CS0436
module
-
-
-
-
-
\ No newline at end of file
From b8883ef3e0aaabc53f10b52551f4696415ff5d30 Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 18:54:50 +0800
Subject: [PATCH 17/46] fix build
---
.../Consts/AppConst.cs | 25 +++---
.../Enums/EnumMappingType.cs | 39 ++++-----
.../Enums/EnumPubSaSeCompareCategory.cs | 49 ++++++------
.../Enums/EnumSaSeEdiCompareCategory.cs | 79 ++++++++++---------
.../Enums/EnumWMSSend.cs | 29 +++----
.../Options/SeConfigOptions.cs | 13 +--
6 files changed, 120 insertions(+), 114 deletions(-)
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Consts/AppConst.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Consts/AppConst.cs
index e28fafae..354ec59e 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Consts/AppConst.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Consts/AppConst.cs
@@ -1,16 +1,17 @@
-namespace Win.Sfs.SettleAccount.Consts;
-
-///
-/// 应用常量
-///
-public static class AppConst
+namespace Win.Sfs.SettleAccount.Consts
{
///
- /// 单页Sheet默认行数
+ /// 应用常量
///
- public const int DefaultRowNumberOnASheet = 500_000;
- ///
- /// Db最大获取数量
- ///
- public const int DefaultPageSizeOnDb = 10_000;
+ public static class AppConst
+ {
+ ///
+ /// 单页Sheet默认行数
+ ///
+ public const int DefaultRowNumberOnASheet = 500_000;
+ ///
+ /// Db最大获取数量
+ ///
+ public const int DefaultPageSizeOnDb = 10_000;
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Enums/EnumMappingType.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Enums/EnumMappingType.cs
index 46309f62..8aa29cad 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Enums/EnumMappingType.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Enums/EnumMappingType.cs
@@ -1,25 +1,26 @@
using System.ComponentModel.DataAnnotations;
-namespace Win.Sfs.SettleAccount.Enums;
-
-///
-/// 匹配类型
-///
-public enum EnumMappingType
+namespace Win.Sfs.SettleAccount.Enums
{
///
- /// 未定义
- ///
- [Display(Name = "未定义")]
- None = 0,
- ///
- /// 完全匹配
- ///
- [Display(Name = "完全匹配")]
- PerfectMatch = 1,
- ///
- /// 部分匹配
+ /// 匹配类型
///
- [Display(Name = "部分匹配")]
- PartialMatch = 2
+ public enum EnumMappingType
+ {
+ ///
+ /// 未定义
+ ///
+ [Display(Name = "未定义")]
+ None = 0,
+ ///
+ /// 完全匹配
+ ///
+ [Display(Name = "完全匹配")]
+ PerfectMatch = 1,
+ ///
+ /// 部分匹配
+ ///
+ [Display(Name = "部分匹配")]
+ PartialMatch = 2
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Enums/EnumPubSaSeCompareCategory.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Enums/EnumPubSaSeCompareCategory.cs
index 617c4727..83a58d5b 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Enums/EnumPubSaSeCompareCategory.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Enums/EnumPubSaSeCompareCategory.cs
@@ -1,33 +1,34 @@
using System.ComponentModel.DataAnnotations;
-namespace Win.Sfs.SettleAccount.Enums;
-
-///
-/// Pub结算与发运比对类型
-///
-public enum EnumPubSaSeCompareCategory
+namespace Win.Sfs.SettleAccount.Enums
{
///
- /// 未定义
+ /// Pub结算与发运比对类型
///
- [Display(Name = "未定义")]
- None = 0,
+ public enum EnumPubSaSeCompareCategory
+ {
+ ///
+ /// 未定义
+ ///
+ [Display(Name = "未定义")]
+ None = 0,
- ///
- /// 有结算有发运
- ///
- [Display(Name = "有结算有发运")]
- HaveSaHaveSe = 1,
+ ///
+ /// 有结算有发运
+ ///
+ [Display(Name = "有结算有发运")]
+ HaveSaHaveSe = 1,
- ///
- /// 有结算无发运
- ///
- [Display(Name = "有结算无发运")]
- HaveSaNotHaveSe = 2,
+ ///
+ /// 有结算无发运
+ ///
+ [Display(Name = "有结算无发运")]
+ HaveSaNotHaveSe = 2,
- ///
- /// 无结算有发运
- ///
- [Display(Name = "无结算有发运")]
- NotHaveSaHaveSe = 3
+ ///
+ /// 无结算有发运
+ ///
+ [Display(Name = "无结算有发运")]
+ NotHaveSaHaveSe = 3
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Enums/EnumSaSeEdiCompareCategory.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Enums/EnumSaSeEdiCompareCategory.cs
index ea15ad45..e8573c29 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Enums/EnumSaSeEdiCompareCategory.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Enums/EnumSaSeEdiCompareCategory.cs
@@ -1,45 +1,46 @@
using System.ComponentModel.DataAnnotations;
-namespace Win.Sfs.SettleAccount.Enums;
-
-///
-/// 结算、发运、Edi比对类型
-///
-public enum EnumSaSeEdiCompareCategory
+namespace Win.Sfs.SettleAccount.Enums
{
///
- /// 未定义
- ///
- [Display(Name = "未定义")]
- None = 0,
- ///
- /// 有结算有发运(有EDI数据)
- ///
- [Display(Name = "有结算有发运(有EDI数据")]
- HaveSaHaveSeHaveEdi = 1,
- ///
- /// 有结算有发运(无EDI数据)
- ///
- [Display(Name = "有结算有发运(无EDI数据)")]
- HaveSaHaveSeNotHaveEdi = 2,
- ///
- /// 有结算无发运(有EDI数据)
- ///
- [Display(Name = "有结算无发运(有EDI数据)")]
- HaveSaNotHaveSeHaveEdi = 3,
- ///
- /// 有结算无发运(无EDI数据)
- ///
- [Display(Name = "有结算无发运(无EDI数据)")]
- HaveSaNotHaveSeNotHaveEdi = 4,
- ///
- /// 无结算有发运(有EDI数据)
- ///
- [Display(Name = "无结算有发运(有EDI数据)")]
- NotHaveSaHaveSeHaveEdi = 5,
- ///
- /// 无结算有发运(无EDI数据)
+ /// 结算、发运、Edi比对类型
///
- [Display(Name = "无结算有发运(无EDI数据)")]
- NotHaveSaHaveSeNotHaveEdi = 6
+ public enum EnumSaSeEdiCompareCategory
+ {
+ ///
+ /// 未定义
+ ///
+ [Display(Name = "未定义")]
+ None = 0,
+ ///
+ /// 有结算有发运(有EDI数据)
+ ///
+ [Display(Name = "有结算有发运(有EDI数据")]
+ HaveSaHaveSeHaveEdi = 1,
+ ///
+ /// 有结算有发运(无EDI数据)
+ ///
+ [Display(Name = "有结算有发运(无EDI数据)")]
+ HaveSaHaveSeNotHaveEdi = 2,
+ ///
+ /// 有结算无发运(有EDI数据)
+ ///
+ [Display(Name = "有结算无发运(有EDI数据)")]
+ HaveSaNotHaveSeHaveEdi = 3,
+ ///
+ /// 有结算无发运(无EDI数据)
+ ///
+ [Display(Name = "有结算无发运(无EDI数据)")]
+ HaveSaNotHaveSeNotHaveEdi = 4,
+ ///
+ /// 无结算有发运(有EDI数据)
+ ///
+ [Display(Name = "无结算有发运(有EDI数据)")]
+ NotHaveSaHaveSeHaveEdi = 5,
+ ///
+ /// 无结算有发运(无EDI数据)
+ ///
+ [Display(Name = "无结算有发运(无EDI数据)")]
+ NotHaveSaHaveSeNotHaveEdi = 6
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Enums/EnumWMSSend.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Enums/EnumWMSSend.cs
index 010c54af..88fc1252 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Enums/EnumWMSSend.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Enums/EnumWMSSend.cs
@@ -1,20 +1,21 @@
using System.ComponentModel.DataAnnotations;
-namespace Win.Sfs.SettleAccount.Enums;
-
-///
-/// WMS发运
-///
-public enum EnumWMSSend
+namespace Win.Sfs.SettleAccount.Enums
{
///
- /// 未定义
- ///
- [Display(Name = "未定义")]
- None = 0,
- ///
- /// WMS多发
+ /// WMS发运
///
- [Display(Name = "WMS多发")]
- WMSRepeat = 1,
+ public enum EnumWMSSend
+ {
+ ///
+ /// 未定义
+ ///
+ [Display(Name = "未定义")]
+ None = 0,
+ ///
+ /// WMS多发
+ ///
+ [Display(Name = "WMS多发")]
+ WMSRepeat = 1,
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Options/SeConfigOptions.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Options/SeConfigOptions.cs
index 30388ff1..1489e155 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Options/SeConfigOptions.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Domain.Shared/Options/SeConfigOptions.cs
@@ -1,8 +1,9 @@
-namespace Win.Sfs.SettleAccount.Options;
-
-///
-/// 发运配置选项
-///
-public class SeConfigOptions
+namespace Win.Sfs.SettleAccount.Options
{
+ ///
+ /// 发运配置选项
+ ///
+ public class SeConfigOptions
+ {
+ }
}
From 09ce82c6ada663696e43035d0da1110b9c96194e Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 18 Sep 2023 19:14:38 +0800
Subject: [PATCH 18/46] fix build & code format
---
code/src/.editorconfig | 2 +-
.../BranchManagement/Dto/BranchDto.cs | 2 +-
.../Dto/CreateOrUpdateBranchDto.cs | 2 +-
.../BranchManagement/Dto/GetBranchInputDto.cs | 2 +-
.../BranchManagement/IBranchAppService.cs | 2 +-
.../Permissions/Dto/ApplicationAuthes.cs | 2 +-
.../Dto/CreateOrUpdateUserBranchDto.cs | 7 +-
.../Dto/GetUserBranchInput.cs | 2 +-
.../Dto/UserBranchDto.cs | 4 +-
.../IUserBranchAppService.cs | 4 +-
.../BaseServiceApplicationContractsModule.cs | 2 +-
...aseServicePermissionDefinitionProvider .cs | 5 +-
.../Permissions/BaseServicePermissions.cs | 5 -
.../RelationData/Dto/BranchPermissionDto.cs | 2 +-
.../RelationData/Dto/BranchRoleDto.cs | 4 +-
.../RelationData/IBranchRelationAppService.cs | 4 +-
.../Dto/AuditLogActionDto.cs | 2 +-
.../AuditLoggingManagement/Dto/AuditLogDto.cs | 2 +-
.../Dto/EntityChangeDto.cs | 2 +-
.../Dto/EntityPropertyChangeDto.cs | 2 +-
.../Dto/GetAuditLogsInput.cs | 3 +-
.../GetAverageExecutionDurationPerDayInput.cs | 2 +-
...GetAverageExecutionDurationPerDayOutput.cs | 2 +-
.../IAuditLoggingAppService.cs | 4 +-
.../Systems/UserManagement/IUserAppService.cs | 6 +-
...BaseServiceApplicationAutoMapperProfile.cs | 8 +-
.../BaseServiceApplicationModule.cs | 2 +-
.../BranchManagement/BranchAppService.cs | 79 +-
.../UserManagement/TokenAppService.cs | 10 +-
.../UserManagement/UserAppService.cs | 69 +-
.../UserManagement/UserBranchAppService.cs | 66 +-
.../BaseService.Domain/BaseData/Branch.cs | 5 +-
.../BaseService.Domain/BaseData/UserBranch.cs | 8 +-
.../BaseData/UserBranchRole.cs | 11 +-
.../BaseService.Domain/BaseServiceConsts.cs | 2 +-
.../BaseServiceDomainModule.cs | 2 +-
.../BaseServiceModuleExtensionConfigurator.cs | 2 +-
.../Localization/BaseServiceResource.cs | 2 +-
.../RelationBaseData/BranchRole.cs | 10 +-
.../BaseService.Domain/Users/AppUser.cs | 3 +-
.../BaseDbContextModelCreatingExtensions.cs | 8 +-
.../BaseEfCoreEntityExtensionMappings.cs | 6 -
.../BaseServiceDbContext.cs | 7 +-
.../BaseServiceEntityFrameworkCoreModule.cs | 2 +-
.../Migrations/20230822033456_202308220001.cs | 2 +-
.../20230822034321_2023082200001.cs | 2 +-
.../BaseData/OrganizationController.cs | 2 +-
.../BaseData/UserBranchRoleController.cs | 2 +-
.../BaseServiceHttpApiModule.cs | 2 +-
.../Controllers/BaseServiceController.cs | 2 +-
.../Systems/UserController.cs | 2 +-
.../AuthServer/AuthServerDataSeeder.cs | 69 +-
.../AuthServer/AuthServerHostModule.cs | 7 +-
.../AuthServerDbContext.cs | 2 +-
.../AuthServerDbContextFactory.cs | 2 +-
.../BaseServiceHostModule.cs | 72 +-
.../SettleAccount.HttpApi.Host/Exception.cs | 10 -
.../SettleAccount.HttpApi.Host/Program.cs | 91 +-
.../SettleAccountHttpApiHostModule.cs | 91 +-
.../SettleAccount.HttpApi.Host/Startup.cs | 137 +--
.../ExcelImporterHeadDescAttribute.cs | 4 +-
.../Bases/RequestInputBase.cs | 4 +-
.../Entities/BQ/Dtos/BBAC_CAN_SA_DTO.cs | 25 +-
.../Entities/BQ/Dtos/BBAC_NOT_SA_DTO.cs | 24 +-
.../Entities/BQ/Dtos/BBAC_PD_DTO.cs | 14 +-
.../Entities/BQ/Dtos/BBAC_SA_DTO.cs | 457 ++++---
.../Entities/BQ/Dtos/BBAC_SE_DETAIL_DTO.cs | 799 ++++++-------
.../Entities/BQ/Dtos/BBAC_SE_EDI_DTO.cs | 9 +-
.../BQ/Dtos/EdiSeCompareRequestDto.cs | 69 +-
.../Entities/BQ/Dtos/HBPO_CAN_SA_DTO.cs | 48 +-
.../Entities/BQ/Dtos/HBPO_NOT_SA_DTO.cs | 20 +-
.../Entities/BQ/Dtos/HBPO_PD_DTO.cs | 7 +-
.../Entities/BQ/Dtos/HBPO_SA_DTO.cs | 505 ++++----
.../Entities/BQ/Dtos/HBPO_SE_DETAIL_DTO.cs | 797 ++++++-------
.../Entities/BQ/Dtos/HBPO_SE_EDI_DTO.cs | 2 +-
.../Entities/BQ/Dtos/INVOICE_GRP_DTO.cs | 24 +-
.../Entities/BQ/Dtos/PUB_ADJ_DETAIL_DTO.cs | 235 ++--
.../Entities/BQ/Dtos/PUB_CAN_SA_DTO.cs | 33 +-
.../Entities/BQ/Dtos/PUB_NOT_SA_DTO.cs | 32 +-
.../Entities/BQ/Dtos/PUB_PD_DTO.cs | 8 +-
.../Entities/BQ/Dtos/PUB_SA_DTO.cs | 1047 +++++++++--------
.../Entities/BQ/Dtos/PUB_SE_DETAIL_DTO.cs | 749 ++++++------
.../Entities/BQ/Dtos/PURCHASE_PRICE_DTO.cs | 95 +-
.../Entities/BQ/Dtos/RequestDto.cs | 2 +-
.../Entities/BQ/Dtos/SaSeCompareRequestDto.cs | 91 +-
.../BQ/Dtos/TB_RePartsRelationship_DTO.cs | 2 +-
.../Entities/BQ/IBBAC_BA_SERVICE.cs | 16 -
.../Entities/BQ/IBBAC_CAN_SA_SERVICE.cs | 8 +-
.../Entities/BQ/IBBAC_NOT_SA_SERVICE.cs | 4 -
.../Entities/BQ/IBBAC_PD_SERVICE.cs | 14 -
.../Entities/BQ/IBBAC_SE_EDI_SERVICE.cs | 6 -
.../Entities/BQ/IHBPO_BA_SERVICE.cs | 6 -
.../Entities/BQ/IHBPO_CAN_SA_SERVICE.cs | 20 +-
.../Entities/BQ/IHBPO_NOT_SA_SERVICE.cs | 4 -
.../Entities/BQ/IHBPO_PD_SERVICE.cs | 6 -
.../Entities/BQ/IHBPO_SE_EDI_SERVICE.cs | 6 -
.../Entities/BQ/IINVOICE_SERVICE.cs | 6 -
.../Entities/BQ/IPUB_BA_SERVICE.cs | 6 -
.../Entities/BQ/IPUB_CAN_SA_SERVICE.cs | 4 -
.../Entities/BQ/IPUB_NOT_SA_SERVICE.cs | 4 -
.../Entities/BQ/IPUB_PD_SERVICE.cs | 6 -
.../Entities/Boms/BomCreateDto.cs | 9 +-
.../Entities/Boms/BomCreateOrUpdateDtoBase.cs | 10 +-
.../Entities/Boms/BomDto.cs | 119 +-
.../Entities/Boms/BomExportDto.cs | 141 +--
.../Entities/Boms/BomRequestDto.cs | 4 +-
.../Entities/Boms/BomUpdateDto.cs | 10 +-
.../Entities/Boms/BomVersionDtoBase.cs | 24 +-
.../Entities/Boms/IBomAppService.cs | 88 +-
.../Entities/Boms/ImportBomDto.cs | 22 +-
.../CodeSettingTables/CodeSettingDtoBase.cs | 39 +-
.../ICodeSettingAppService.cs | 8 +-
.../Controls/CentralizedControlDtoBase.cs | 14 +-
.../Controls/ICentralizedControlAppService.cs | 14 +-
.../Entities/ERPShpping/ERPShppingDto.cs | 24 +-
.../Entities/FISes/FISDtoBase.cs | 80 +-
.../Entities/FISes/FISVersionDtoBase.cs | 41 +-
.../Entities/FISes/FIS_THDtoBase.cs | 25 +-
.../Entities/FISes/IFISAppService.cs | 38 +-
.../Entities/Factories/FactoryDtoBase.cs | 32 +-
.../Entities/Factories/IFactoryAppService.cs | 18 -
.../ImportColumnMapDtoBase.cs | 11 +-
.../ImportColumnMaps/ImportColumnMapHelper.cs | 7 +-
.../Inventories/IInventoryDetailAppService.cs | 32 +-
.../Inventories/InventoryDetailCreateDto.cs | 13 +-
.../Inventories/InventoryDetailDto.cs | 20 +-
.../Inventories/InventoryDetailDtoBase.cs | 18 +-
.../Inventories/InventoryDetailExportDto.cs | 39 +-
.../Inventories/InventoryDetailImportDto.cs | 22 +-
.../Inventories/InventoryDetailRequestDto.cs | 19 +-
.../Inventories/InventoryDetailUpdateDto.cs | 18 +-
.../InventoryDetailVersionDtoBase.cs | 29 +-
.../InvoiceSettledDiffs/InvoiceSettledDiff.cs | 28 +-
.../InvoiceSettledDiffVersion.cs | 22 +-
.../Entities/Invoices/IInvoiceAppService.cs | 6 +-
.../Entities/Invoices/InvoiceDtoBase.cs | 31 +-
.../Invoices/InvoiceVersionDtoBase.cs | 22 +-
.../IItemInvoicePriceAppService.cs | 86 +-
.../ImportItemInvoicePriceDto.cs | 34 +-
.../ItemInvoicePriceCreateDto.cs | 9 +-
.../ItemInvoicePriceCreateOrUpdateDtoBase.cs | 19 +-
.../ItemInvoicePrices/ItemInvoicePriceDto.cs | 21 +-
.../ItemInvoicePriceExportDto.cs | 38 +-
.../ItemInvoicePriceRequestDto.cs | 12 +-
.../ItemInvoicePriceUpdateDto.cs | 10 +-
.../ItemInvoicePriceVersionDtoBase.cs | 27 +-
.../Entities/Items/IItemAppService.cs | 2 +-
.../Entities/Items/ItemCreateDto.cs | 6 +-
.../Items/ItemCreateOrUpdateDtoBase.cs | 13 +-
.../Entities/Items/ItemDto.cs | 12 +-
.../Entities/Items/ItemRequestDto.cs | 8 +-
.../Entities/Items/ItemUpdateDto.cs | 10 +-
.../IMaterialRelationshipAppService.cs | 2 +-
.../MaterialRelationshipDtoBase.cs | 69 +-
.../Entities/Materials/IMaterialAppService.cs | 8 +-
.../Entities/Materials/MaterialDtoBase.cs | 38 +-
.../Prebatches/IPrebatchAppService.cs | 10 -
.../Entities/Prebatches/PrebatchDtoBase.cs | 32 +-
.../Entities/Prices/PriceListDtoBase.cs | 789 ++++++-------
.../Prices/PriceListVersionDtoBase.cs | 45 +-
.../ISettleAccountAppService.cs | 35 +-
.../SettleAccounts/SettleAccountCreateDto.cs | 9 +-
.../SettleAccounts/SettleAccountDto.cs | 43 +-
.../SettleAccounts/SettleAccountDtoBase.cs | 14 +-
.../SettleAccounts/SettleAccountExportDto.cs | 29 +-
.../SettleAccounts/SettleAccountImportDto.cs | 37 +-
.../SettleAccounts/SettleAccountRequestDto.cs | 34 +-
.../SettleAccounts/SettleAccountUpdateDto.cs | 11 +-
.../SettleAccountVersionDtoBase.cs | 22 +-
.../ISettlementPakAndSparePartsAppService.cs | 70 +-
.../SettlementPakAndSparePartsCreateDto.cs | 13 +-
...ntPakAndSparePartsCreateOrUpdateDtoBase.cs | 11 +-
.../SettlementPakAndSparePartsDto.cs | 20 +-
.../SettlementPakAndSparePartsExportDto.cs | 32 +-
.../SettlementPakAndSparePartsRequestDto.cs | 19 +-
.../SettlementPakAndSparePartsUpdateDto.cs | 8 +-
...ettlementPakAndSparePartsVersionDtoBase.cs | 46 +-
.../ISettlementPartAppService.cs | 86 +-
.../ImportSettlementPartDto.cs | 23 +-
.../SettlementPartCreateDto.cs | 13 +-
.../SettlementPartCreateOrUpdateDtoBase.cs | 11 +-
.../SettlementParts/SettlementPartDto.cs | 14 +-
.../SettlementPartExportDto.cs | 32 +-
.../SettlementPartRequestDto.cs | 8 +-
.../SettlementPartUpdateDto.cs | 10 +-
.../SettlementPartVersionDtoBase.cs | 48 +-
.../CustomerStorageLocationDtoBase.cs | 31 +-
.../ICustomerStorageLocationAppService.cs | 13 -
.../ISupplierItemSetUpAppService.cs | 9 -
.../SupplierItemSetUpDatoBase.cs | 33 +-
.../Entities/TaskJobs/JobDto.cs | 6 +-
.../Entities/TaskJobs/JobRequstDto.cs | 41 +-
.../Entities/TaskJobs/TaskJobDto.cs | 17 +-
.../Entities/TaskJobs/TaskJobExportDto.cs | 19 +-
.../Entities/TaskJobs/TaskJobImportDto.cs | 17 +-
.../Entities/TaskJobs/TaskJobRequestDto.cs | 16 +-
.../Entities/TaskListDto.cs | 38 +-
.../IUnHQSettleAppService.cs | 15 +-
.../UnHQSettleAccounts/UnHQSettleCreateDto.cs | 6 +-
.../UnHQSettleAccounts/UnHQSettleDto.cs | 7 +-
.../UnHQSettleAccounts/UnHQSettleDtoBase.cs | 7 +-
.../UnHQSettleAccounts/UnHQSettleExportDto.cs | 7 +-
.../UnHQSettleAccounts/UnHQSettleImportDto.cs | 7 +-
.../UnHQSettleRequestDto.cs | 7 +-
.../UnHQSettleVersionDtoBase.cs | 10 +-
.../Entities/VWKanBan/IVWKanBanAppService.cs | 31 +-
.../Entities/VWKanBan/VWKanBanCreateDto.cs | 9 +-
.../Entities/VWKanBan/VWKanBanDto.cs | 31 +-
.../Entities/VWKanBan/VWKanBanDtoBase.cs | 14 +-
.../Entities/VWKanBan/VWKanBanExportDto.cs | 10 +-
.../Entities/VWKanBan/VWKanBanImportDto.cs | 13 +-
.../VWKanBan/VWKanBanImport_EmpDto.cs | 8 +-
.../Entities/VWKanBan/VWKanBanRequestDto.cs | 11 +-
.../VWKanBan/VWKanBanVersionDtoBase.cs | 20 +-
.../Entities/VWKanBan/VWKanBantUpdateDto.cs | 11 +-
.../Entities/Wms/WmsDetailReportDto.cs | 32 +-
.../Entities/Wms/WmsJitOutPutDetialDto.cs | 78 +-
.../ExportReports/ErrorExportDto.cs | 14 +-
.../BTSeqKBDiffDetailDto.cs | 20 +-
.../InvoicePriceListDiffDto.cs | 111 +-
.../SecActualDistributionDetailDto.cs | 34 +-
.../SecCumulativeSummaryDiffExportDto.cs | 22 +-
.../SecSettlementAssemblyPartDto.cs | 31 +-
.../SecStandardDistributionDetailDto.cs | 33 +-
.../SecSummaryOutPutDto.cs | 35 +-
.../ExcelFiles/Dto/BlobDto.cs | 6 +-
.../ExcelFiles/Dto/GetBlobRequestDto.cs | 7 +-
.../ExcelFiles/Dto/SaveBlobInputDto.cs | 7 +-
.../ExcelFiles/IFileAppService.cs | 6 +-
.../ImportExcelCommon/ExcelImportDto.cs | 6 +-
.../GetExcelImportRequestDto.cs | 7 +-
.../IExcelImportAppService.cs | 6 +-
.../ISecBTSummaryExportImporter.cs | 4 -
.../ISecSummaryExportImporter.cs | 6 -
.../IZipBTExportAppService.cs | 4 -
.../ImportExcelCommon/IZipExportAppService.cs | 4 -
.../SaveExcelImportInputDto.cs | 7 +-
...ttleAccountPermissionDefinitionProvider.cs | 30 +-
.../Permissions/SettleAccountPermissions.cs | 64 +-
.../BTNotConsignReportCreateDto.cs | 11 +-
...BTNotConsignReportCreateOrUpdateDtoBase.cs | 14 +-
.../BTNotConsignReportDetailDto.cs | 11 +-
.../BTNotConsignReportDetailExportDto.cs | 14 +-
.../BTNotConsignReportDetailRequestDto.cs | 6 +-
.../BTNotConsignReportDto.cs | 10 +-
.../BTNotConsignReportRequestDto.cs | 5 +-
.../BTNotConsignReportStatisticRequestDto.cs | 7 +-
.../BTNotConsignReportUpdateDto.cs | 4 +-
.../IBTNotConsignReportAppService.cs | 8 +-
.../BTSeqKBDiffReportCreateDto.cs | 11 +-
.../BTSeqKBDiffReportCreateOrUpdateDtoBase.cs | 18 +-
.../BTSeqKBDiffReportDetailDto.cs | 15 +-
.../BTSeqKBDiffReportDetailExportDto.cs | 18 +-
.../BTSeqKBDiffReportDetailRequestDto.cs | 6 +-
.../BTSeqKBDiffReportDto.cs | 10 +-
.../BTSeqKBDiffReportRequestDto.cs | 5 +-
.../BTSeqKBDiffReportStatisticRequestDto.cs | 9 +-
.../BTSeqKBDiffReportUpdateDto.cs | 4 +-
.../IBTSeqKBDiffReportAppService.cs | 7 +-
.../BTStockUnsettledDiffReportDetailDto.cs | 31 +-
...StockUnsettledDiffReportDetailExportDto.cs | 24 +-
...tockUnsettledDiffReportDetailRequestDto.cs | 10 +-
.../BTStockUnsettledDiffReportDto.cs | 10 +-
.../BTStockUnsettledDiffReportRequestDto.cs | 5 +-
...kUnsettledDiffReportStatisticRequestDto.cs | 8 +-
.../IBTStockUnsettledDiffReportAppService.cs | 9 +-
.../EstimatedStockDiffReportCreateDto.cs | 16 +-
...tedStockDiffReportCreateOrUpdateDtoBase.cs | 19 +-
.../EstimatedStockDiffReportDetailDto.cs | 20 +-
...EstimatedStockDiffReportDetailExportDto.cs | 21 +-
...stimatedStockDiffReportDetailRequestDto.cs | 6 +-
.../EstimatedStockDiffReportDto.cs | 10 +-
.../EstimatedStockDiffReportRequestDto.cs | 7 +-
...matedStockDiffReportStatisticRequestDto.cs | 8 +-
.../EstimatedStockDiffReportUpdateDto.cs | 4 +-
.../IEstimatedStockDiffReportAppService.cs | 10 +-
.../HQNotConsignReportCreateDto.cs | 11 +-
...HQNotConsignReportCreateOrUpdateDtoBase.cs | 14 +-
.../HQNotConsignReportDetailDto.cs | 11 +-
.../HQNotConsignReportDetailExportDto.cs | 14 +-
.../HQNotConsignReportDetailRequestDto.cs | 6 +-
.../HQNotConsignReportDto.cs | 10 +-
.../HQNotConsignReportRequestDto.cs | 5 +-
.../HQNotConsignReportStatisticRequestDto.cs | 7 +-
.../HQNotConsignReportUpdateDto.cs | 4 +-
.../IHQNotConsignReportAppService.cs | 8 +-
.../HQSPNotConsignReportCreateDto.cs | 11 +-
...SPNotConsignReportCreateOrUpdateDtoBase.cs | 14 +-
.../HQSPNotConsignReportDetailDto.cs | 11 +-
.../HQSPNotConsignReportDetailExportDto.cs | 14 +-
.../HQSPNotConsignReportDetailRequestDto.cs | 6 +-
.../HQSPNotConsignReportDto.cs | 10 +-
.../HQSPNotConsignReportRequestDto.cs | 5 +-
...HQSPNotConsignReportStatisticRequestDto.cs | 7 +-
.../HQSPNotConsignReportUpdateDto.cs | 4 +-
.../IHQSPNotConsignReportAppService.cs | 8 +-
.../ReportRequestDto/ReportRequestDto.cs | 41 +-
.../Reports/SecMatch/SecMatchBaseDto.cs | 15 +-
.../Reports/SecMatch/SecMatchBaseOutPutDto.cs | 8 -
.../SecMatch/SecMatchBaseRequestDto.cs | 16 +-
.../SecMatch/SecMatchBaseSupplierOutPutDto.cs | 6 -
.../SecMatch/SecMatchSummaryOutPutDto.cs | 10 +-
...ondaryActuralAdjustmentReportAppService.cs | 8 +-
...condaryActuralAdjustmentReportCreateDto.cs | 13 +-
...alAdjustmentReportCreateOrUpdateDtoBase.cs | 18 +-
...condaryActuralAdjustmentReportDetailDto.cs | 23 +-
...yActuralAdjustmentReportDetailExportDto.cs | 26 +-
...ActuralAdjustmentReportDetailRequestDto.cs | 6 +-
.../SecondaryActuralAdjustmentReportDto.cs | 10 +-
...ondaryActuralAdjustmentReportRequestDto.cs | 5 +-
...condaryActuralAdjustmentReportUpdateDto.cs | 4 +-
.../SecondaryActuralBTDto.cs | 4 -
.../SecondaryActuralDto.cs | 13 +-
.../ISecondaryActuralDiffReportAppService.cs | 8 +-
.../SecondaryActuralDiffReportCreateDto.cs | 13 +-
...yActuralDiffReportCreateOrUpdateDtoBase.cs | 18 +-
.../SecondaryActuralDiffReportDetailDto.cs | 26 +-
...condaryActuralDiffReportDetailExportDto.cs | 26 +-
...ondaryActuralDiffReportDetailRequestDto.cs | 6 +-
.../SecondaryActuralDiffReportDto.cs | 10 +-
.../SecondaryActuralDiffReportRequestDto.cs | 5 +-
.../SecondaryActuralDiffReportUpdateDto.cs | 4 +-
.../DiffUnsetttleReportDto.cs | 33 +-
.../ISendUnsettledDiffReportAppService.cs | 10 +-
.../SendUnsettledDiffReportCreateDto.cs | 11 +-
...nsettledDiffReportCreateOrUpdateDtoBase.cs | 17 +-
.../SendUnsettledDiffReportDetailDto.cs | 38 +-
.../SendUnsettledDiffReportDetailExportDto.cs | 22 +-
...SendUnsettledDiffReportDetailRequestDto.cs | 7 +-
.../SendUnsettledDiffReportDto.cs | 9 +-
.../SendUnsettledDiffReportRequestDto.cs | 6 +-
...dUnsettledDiffReportStatisticRequestDto.cs | 8 +-
.../SendUnsettledDiffReportUpdateDto.cs | 4 +-
.../Reports/SettleAccountReportDtoBase.cs | 13 +-
.../Reports/SettleAccountReportTimeDtoBase.cs | 10 +-
.../IStockFisDiffReportAppService.cs | 8 +-
.../StockFisDiffReportCreateDto.cs | 13 +-
...StockFisDiffReportCreateOrUpdateDtoBase.cs | 18 +-
.../StockFisDiffReportDetailDto.cs | 25 +-
.../StockFisDiffReportDetailExportDto.cs | 23 +-
.../StockFisDiffReportDetailRequestDto.cs | 8 +-
.../StockFisDiffReportDto.cs | 10 +-
.../StockFisDiffReportRequestDto.cs | 5 +-
.../StockFisDiffReportUpdateDto.cs | 4 +-
.../IStockSettledDiffReportAppService.cs | 9 +-
.../StockSettledDiffReportCreateDto.cs | 13 +-
...kSettledDiffReportCreateOrUpdateDtoBase.cs | 18 +-
.../StockSettledDiffReportDetailDto.cs | 22 +-
.../StockSettledDiffReportDetailExportDto.cs | 21 +-
.../StockSettledDiffReportDetailRequestDto.cs | 6 +-
.../StockSettledDiffReportDto.cs | 10 +-
.../StockSettledDiffReportRequestDto.cs | 5 +-
.../StockSettledDiffReportUpdateDto.cs | 4 +-
.../IStockUnsettledDiffReportAppService.cs | 8 +-
.../StockUnsettledDiffReportCreateDto.cs | 13 +-
...nsettledDiffReportCreateOrUpdateDtoBase.cs | 18 +-
.../StockUnsettledDiffReportDetailDto.cs | 31 +-
...StockUnsettledDiffReportDetailExportDto.cs | 24 +-
...tockUnsettledDiffReportDetailRequestDto.cs | 10 +-
.../StockUnsettledDiffReportDto.cs | 10 +-
.../StockUnsettledDiffReportRequestDto.cs | 5 +-
...kUnsettledDiffReportStatisticRequestDto.cs | 8 +-
.../StockUnsettledDiffReportUpdateDto.cs | 4 +-
...SettleAccountApplicationContractsModule.cs | 6 +-
.../Bases/ADJ_SERVICE.cs | 538 +++++----
.../Bases/BASE_SERVICE.cs | 17 +-
.../Bases/BA_SERVICE.cs | 251 ++--
.../Bases/CAN_SA_SERVICE.cs | 96 +-
.../Bases/CurdBaseAppService.cs | 36 +-
.../Bases/NOT_SA_SERVICE.cs | 49 +-
.../Bases/PD_SERVICE.cs | 77 +-
.../Constant/ApplicationConsts.cs | 25 +-
.../Constant/CommonMethod.cs | 9 +-
.../Entities/BQ/BBAC_BA_SERVICE.cs | 318 +++--
.../Entities/BQ/BBAC_CAN_SA_SERVICE.cs | 73 +-
.../Entities/BQ/BBAC_NOT_SA_SERVICE.cs | 24 +-
.../Entities/BQ/BBAC_PD_SERVICE.cs | 37 +-
.../Entities/BQ/BBAC_SA_DETAIL_SERVICE.cs | 107 +-
.../Entities/BQ/BBAC_SA_SERVICE.cs | 927 +++++++--------
.../Entities/BQ/BBAC_SE_DETAIL_Service.cs | 18 +-
.../Entities/BQ/BBAC_SE_EDI_Service.cs | 105 +-
.../Entities/BQ/CompareService.cs | 169 +--
.../Entities/BQ/HBPO_BA_SERVICE.cs | 100 +-
.../Entities/BQ/HBPO_CAN_SA_SERVICE.cs | 45 +-
.../Entities/BQ/HBPO_NOT_SA_SERVICE.cs | 20 +-
.../Entities/BQ/HBPO_PD_SERVICE.cs | 28 +-
.../Entities/BQ/HBPO_SA_DETAIL_SERVICE.cs | 107 +-
.../Entities/BQ/HBPO_SA_SERVICE.cs | 837 ++++++-------
.../Entities/BQ/HBPO_SE_DETAIL_SERVICE.cs | 18 +-
.../Entities/BQ/HBPO_SE_EDI_SERVICE.cs | 18 +-
.../Entities/BQ/INVOICE_SERVICE.cs | 130 +-
.../Entities/BQ/JobHostdService.cs | 475 ++++----
.../Entities/BQ/JobItemAppService.cs | 169 +--
.../Entities/BQ/PUB_BA_SERVICE.cs | 251 ++--
.../Entities/BQ/PUB_CAN_SA_SERVICE.cs | 39 +-
.../Entities/BQ/PUB_NOT_SA_SERVICE.cs | 22 +-
.../Entities/BQ/PUB_PD_SERVICE.cs | 27 +-
.../Entities/BQ/PUB_SA_DETAIL_SERVICE.cs | 151 +--
.../Entities/BQ/PUB_SA_SERVICE.cs | 1034 ++++++++--------
.../Entities/BQ/PUB_SE_DETAIL_SERVICE.cs | 17 +-
.../Entities/BQ/PURCHASE_PRICE_SERVICE.cs | 173 ++-
.../Entities/BQ/Syncs/BeiSeSyncAppService.cs | 41 +-
.../Entities/BQ/Syncs/HandSeSyncAppService.cs | 67 +-
.../BQ/Syncs/JisBBACSeEdiCompareAppService.cs | 199 ++--
.../BQ/Syncs/JisBBACSeSyncAppService.cs | 51 +-
.../BQ/Syncs/JisBBACSeSyncBaseAppService.cs | 313 ++---
.../BQ/Syncs/JisHBPOSeEdiCompareAppService.cs | 187 +--
.../BQ/Syncs/JisHBPOSeSyncAppService.cs | 49 +-
.../BQ/Syncs/JisHBPOSeSyncBaseAppService.cs | 315 ++---
.../Entities/BQ/Syncs/JitSeSyncAppService.cs | 225 ++--
.../BQ/Syncs/MaiDanBBACSeSyncAppService.cs | 51 +-
.../BQ/Syncs/MaiDanHBPOSeSyncAppService.cs | 49 +-
.../BQ/Syncs/PendingDeductionService.cs | 528 ++++-----
.../Entities/BQ/Syncs/SeSyncConfig.cs | 41 +-
.../Entities/BQ/Syncs/SeSyncExtendManager.cs | 323 ++---
.../BQ/Syncs/YinDuSeSyncAppService.cs | 41 +-
.../BQ/Syncs/ZhiGongBBACSeSyncAppService.cs | 41 +-
.../BQ/Syncs/ZhiGongHBPOSeSyncAppService.cs | 41 +-
.../BQ/TB_RePartsRelationship_SERVICE.cs | 203 ++--
.../Entities/BQ/VmiAppService.cs | 1039 ++++++++--------
.../Entities/BQ/VmiAsyncBalanceService.cs | 425 +++----
.../Entities/BQ/VmiAsyncMessageService.cs | 65 +-
.../Entities/Boms/BomAppService.cs | 31 +-
.../CodeSettingAppService.cs | 75 +-
.../Controls/CentralizedControlAppService.cs | 766 ++++++------
.../ErpShipping/ErpShippingAppService.cs | 111 +-
.../Entities/Errors/ErrorDto.cs | 6 -
.../Entities/Factories/FactoryAppService.cs | 146 +--
.../Inventories/InventoryDetailAppService.cs | 118 +-
.../Entities/Invoices/InvoiceAppService.cs | 105 +-
.../ItemInvoicePriceAppService.cs | 152 +--
.../Entities/Jobs/UpdateLoadFileJob.cs | 24 +-
.../MaterialRelationshipAppService.cs | 850 +++++++------
.../MaterialRelationshipTHAppService.cs | 82 +-
.../Entities/Materials/MaterialAppService.cs | 53 +-
.../Entities/Prebatch/PrebatchAppService.cs | 145 +--
.../Entities/Prices/PriceListAppService.cs | 423 ++++---
.../Entities/Prices/PriceListAppServiceBJ.cs | 354 +++---
.../Entities/SecMatch/SecMatchAppService.cs | 126 +-
.../SettlementPartAppService.cs | 114 +-
.../Entities/TaskJobs/JobAppService.cs | 124 +-
.../UnHQSettleAppService.cs | 84 +-
.../Handler/FisRecHandler.cs | 13 +-
.../ImportExcelCommon/AppConfigurations.cs | 6 +-
.../ImportExcelCommon/ConfigDirHelper.cs | 11 +-
.../ImportExcelCommon/EPHelper.cs | 12 +-
.../ExcelImportAppService.cs | 11 +-
.../ImportExcelCommon/ExportImporter.cs | 92 +-
.../ImportExcelCommon/FileAppService.cs | 11 +-
.../ImportExcelCommon/FileSystem.cs | 10 +-
.../SecBTSummaryFileAppService.cs | 10 +-
.../SecSummaryFileAppService.cs | 11 +-
.../ZipBTExportAppService.cs | 10 +-
.../ImportExcelCommon/ZipExportAppService.cs | 10 +-
.../Jobs/TaskJobService.cs | 99 +-
.../ReportServices/ReportMakeService.cs | 98 +-
.../SettleAccountAppService.cs | 2 +-
...ttleAccountApplicationAutoMapperProfile.cs | 140 ---
.../SettleAccountApplicationBase.cs | 31 +-
.../SettleAccountApplicationModule.cs | 4 +-
.../influxdb/InfluxHelper.cs | 71 +-
.../influxdb/InfluxQueryResult.cs | 43 +-
.../ExportExtentsion.cs | 8 +-
.../ImportProjectAttribute.cs | 12 +-
.../Localization/SettleAccountResource.cs | 4 +-
.../SettleAccount.Domain.Shared/ModuleName.cs | 19 -
.../SettleAccountDomainSharedModule.cs | 4 +-
.../SettleAccountErrorCodes.cs | 2 +-
.../SettleAccount.Domain.Shared/TaskState.cs | 10 +-
.../SettleAccount.Domain.Shared/TaskType.cs | 6 -
.../BaseDomainServices/BaseDomainService.cs | 68 +-
.../SettleAccount.Domain/Bases/EntityBase.cs | 52 -
.../Bases/OrderNumberGenerator.cs | 8 +-
.../Bases/SettleAccountDocumentRootBase.cs | 14 +-
.../SettleAccountDocumentRootDetailBase.cs | 13 +-
.../SettleAccountDocumentTimeRootBase.cs | 15 +-
.../Entities/BQ/BBAC_CAN_SA.cs | 304 +++--
.../Entities/BQ/BBAC_NOT_SA_DETAIL.cs | 213 ++--
.../Entities/BQ/BBAC_PD.cs | 72 +-
.../Entities/BQ/BBAC_PD_DETAIL.cs | 116 +-
.../Entities/BQ/BBAC_SA.cs | 273 +++--
.../Entities/BQ/BBAC_SEC_DETAIL.cs | 307 +++--
.../Entities/BQ/BBAC_SE_DETAIL.cs | 52 +-
.../Entities/BQ/BBAC_SE_EDI.cs | 179 ++-
.../Entities/BQ/BBAC_SE_REPORT.cs | 94 +-
.../Entities/BQ/BBAC_SE_SA_REPORT.cs | 146 +--
.../Entities/BQ/HBPO_ADJ_DETAIL.cs | 245 ++--
.../Entities/BQ/HBPO_CAN_SA.cs | 273 +++--
.../Entities/BQ/HBPO_NOT_SA_DETAIL.cs | 220 ++--
.../Entities/BQ/HBPO_PD.cs | 72 +-
.../Entities/BQ/HBPO_PD_DETAIL.cs | 114 +-
.../Entities/BQ/HBPO_SA.cs | 298 ++---
.../Entities/BQ/HBPO_SEC_DETAIL.cs | 34 +-
.../Entities/BQ/HBPO_SE_DETAIL.cs | 50 +-
.../Entities/BQ/HBPO_SE_EDI.cs | 75 +-
.../Entities/BQ/HBPO_SE_REPORT.cs | 94 +-
.../Entities/BQ/HBPO_SE_SA_REPORT.cs | 198 ++--
.../Entities/BQ/INVOICE_GRP.cs | 175 ++-
.../Entities/BQ/INVOICE_MAP_GROUP.cs | 79 +-
.../Entities/BQ/INVOICE_NOT_SETTLE.cs | 95 +-
.../Entities/BQ/INVOICE_WAIT_DETAIL.cs | 139 ++-
.../Entities/BQ/JIT_SE_SA_REPORT.cs | 203 ++--
.../Entities/BQ/M_PD_DETAIL.cs | 100 +-
.../Entities/BQ/Managers/BBAC_CAN_SA_MNG.cs | 186 ++-
.../Entities/BQ/Managers/BBAC_NOT_SA_MNG.cs | 22 +-
.../Entities/BQ/Managers/BBAC_PD_MNG.cs | 85 +-
.../Entities/BQ/Managers/HBPO_CAN_SA_MNG.cs | 73 +-
.../Entities/BQ/Managers/HBPO_NOT_SA_MNG.cs | 28 +-
.../Entities/BQ/Managers/INV_MNG.cs | 499 ++++----
.../Entities/BQ/Managers/INV_MNG_EXT.cs | 225 ++--
.../Managers/MaterialRelationshipManager.cs | 56 +-
.../Entities/BQ/Managers/PD_MNG.cs | 59 +-
.../Entities/BQ/Managers/PUB_CAN_SA_MNG.cs | 96 +-
.../Entities/BQ/Managers/PUB_NOT_SA_MNG.cs | 47 +-
.../Entities/BQ/PUB_ADJ_DETAIL.cs | 162 +--
.../Entities/BQ/PUB_CAN_SA.cs | 281 ++---
.../Entities/BQ/PUB_NOT_SA_DETAIL.cs | 167 +--
.../Entities/BQ/PUB_PD.cs | 72 +-
.../Entities/BQ/PUB_PD_DETAIL.cs | 160 ++-
.../Entities/BQ/PUB_SA.cs | 294 ++---
.../Entities/BQ/PUB_SEC_DETAIL.cs | 73 +-
.../Entities/BQ/PUB_SE_DETAIL.cs | 358 +++---
.../Entities/BQ/PURCHASE_PRICE.cs | 47 +-
.../Entities/BQ/Syncs/SyncPositionFlag.cs | 37 +-
.../Entities/BQ/Syncs/TM_BJBMPT_JIS_RECORD.cs | 163 +--
.../Entities/BQ/Syncs/TM_BJBMPT_JIT_RECORD.cs | 361 +++---
.../BQ/Syncs/TM_BJBMPT_OTHER_RECORD.cs | 137 +--
.../Entities/BQ/TB_RePartsRelationship.cs | 79 +-
.../Entities/BQ/TED_SA_INV.cs | 266 ++---
.../Entities/BQ/Temp/TempClass.cs | 441 ++++---
.../Entities/BQ/Vmi/IJobService.cs | 9 +-
.../Entities/BQ/Vmi/JobItem.cs | 41 +-
.../Entities/BQ/Vmi/JobLog.cs | 21 +-
.../Entities/BQ/Vmi/VmiBalance.cs | 31 +-
.../Entities/BQ/Vmi/VmiBalanceBase.cs | 105 +-
.../Entities/BQ/Vmi/VmiLog.cs | 83 +-
.../Entities/BQ/Vmi/VmiMessage.cs | 27 +-
.../Entities/BQ/Vmi/VmiReplenished.cs | 51 +-
.../Entities/BQ/Vmi/VmiSnapshot.cs | 23 +-
.../Entities/BQ/Vmi/VmiType.cs | 97 +-
.../SettleAccount.Domain/Entities/Boms/Bom.cs | 27 +-
.../Entities/Boms/BomVersion.cs | 25 +-
.../Entities/CodeSettingTables/CodeSetting.cs | 12 +-
.../Entities/Controls/CentralizedControl.cs | 15 +-
.../Entities/Customers/Customer.cs | 33 +-
.../Entities/Customers/CustomerBom.cs | 6 +-
.../Entities/ERPDto/ErpAssemblyDto.cs | 11 +-
.../Entities/ERPDto/PriceQtyDiffDto.cs | 84 +-
.../Entities/ERPShipping/ERPShippingDetail.cs | 8 +-
.../ERPShipping/ERPShippingVersion.cs | 14 +-
.../Entities/ErrorBillNum/ErrorBillNum.cs | 11 +-
.../Entities/Eto/AssemblySyncEto.cs | 2 -
.../Entities/Eto/AssemblySyncOperationType.cs | 4 -
.../Eto/CreateUpdateAssemblyCfgErpDto.cs | 6 +-
.../Eto/CreateUpdateAssemblyCfgPartDto.cs | 3 -
.../Entities/Eto/FISVersionEto.cs | 18 +-
.../Entities/Eto/FIS_TH.cs | 27 +-
.../Entities/FISes/FIS.cs | 23 +-
.../Entities/FISes/FISExtend.cs | 19 +-
.../Entities/FISes/FISVersion.cs | 23 +-
.../Entities/FISes/FIS_TH.cs | 43 +-
.../Entities/FISes/FisManager.cs | 21 +-
.../Entities/FISes/IFisManager.cs | 6 +-
.../Entities/Factories/Factory.cs | 15 +-
.../Entities/ImportMap/ImportColumnMap.cs | 19 +-
.../Entities/Inventories/InventoryDetail.cs | 24 +-
.../Inventories/InventoryDetailVersion.cs | 18 +-
.../Entities/Invoices/Invoice.cs | 13 +-
.../Entities/Invoices/InvoiceVersion.cs | 9 +-
.../ItemInvoicePrices/ItemInvoicePrice.cs | 14 +-
.../ItemInvoicePriceVersion.cs | 9 +-
.../MaterialRelationship.cs | 81 +-
.../MaterialRelationshipDetail.cs | 17 +-
.../MaterialRelationshipManager.cs | 58 +-
.../MaterialRelationshipVersion.cs | 15 +-
.../Entities/Materials/Material.cs | 24 +-
.../Entities/Prebatches/Prebatch.cs | 16 +-
.../Entities/Prices/PriceList.cs | 18 -
.../Entities/Prices/PriceListVersion.cs | 11 +-
.../Entities/SecMatch/SecMatchBase.cs | 18 +-
.../Entities/SecMatch/SecMatchSummary.cs | 6 -
.../SettleAccountDomain/ShippingData1.cs | 16 +-
.../Entities/SettleAccountEntityBase.cs | 4 -
.../Entities/SettleAccounts/SettleAccount.cs | 16 +-
.../SettleAccounts/SettleAccountManager.cs | 16 +-
.../SettleAccounts/SettleAccountVersion.cs | 21 +-
.../SettlementParts/SettlementPart.cs | 19 +-
.../SettlementParts/SettlementPartVersion.cs | 13 +-
.../Entities/Settlements/Settlement.cs | 19 +-
.../CustomerStorageLocation.cs | 35 +-
.../SupplierItemSetUps/SupplierItemSetUp.cs | 20 +-
.../Entities/Suppliers/Supplier.cs | 23 +-
.../Entities/Suppliers/SupplierApply.cs | 36 +-
.../Entities/TaskJobs/Job.cs | 19 +-
.../Entities/TaskJobs/TEA_TASK_SUB.cs | 40 +-
.../Entities/TaskJobs/TaskJob.cs | 44 +-
.../Entities/TaskJobs/TaskJobManager.cs | 85 +-
.../UnHQSettleAccounts/UnHQSettleAccount.cs | 13 +-
.../UnHQSettleAccountVersion.cs | 8 +-
.../Entities/UnSettle/UnSettleDetailReport.cs | 28 +-
.../Entities/WmsDetailReport.cs | 36 +-
.../src/SettleAccount.Domain/EnumBillState.cs | 39 +-
.../SettleAccount.Domain/EnumBusinessType.cs | 101 +-
.../ISettleAccountBranchEfCoreRepository.cs | 41 +-
.../ImportExcelCommon/MyFileContainer.cs | 7 +-
.../SecBTSummaryFileConrainer.cs | 5 -
.../SecSummaryFileConrainer.cs | 5 -
.../BTNotConsignReports/BTNotConsignReport.cs | 26 +-
.../BTNotConsignReportDetail.cs | 10 +-
.../BTNotConsignSumReport.cs | 9 +-
.../BTSeqKBDiffReports/BTSeqKBDiffReport.cs | 23 +-
.../BTSeqKBDiffReportDetail.cs | 13 +-
.../BTStockUnsettledDiffReport.cs | 28 +-
.../BTStockUnsettledDiffReportDetail.cs | 21 +-
.../Reports/CommonManagers/CommonManager.cs | 26 +-
.../Reports/CommonManagers/ICommonManager.cs | 5 +-
.../EstimatedStockDiffReport.cs | 28 +-
.../EstimatedStockDiffReportDetail.cs | 30 +-
.../EstimatedStockDiffReportManager.cs | 16 +-
.../IEstimatedStockDiffReportManager.cs | 7 +-
.../HQSPNotConsignReport.cs | 26 +-
.../HQSPNotConsignReportDetail.cs | 10 +-
.../HQSPNotConsignSumReport.cs | 9 +-
.../HqNotConsignReports/HQNotConsignReport.cs | 26 +-
.../HQNotConsignReportDetail.cs | 10 +-
.../HQNotConsignSumReport.cs | 10 +-
.../InvoicePriceListDiff.cs | 52 +-
.../InvoicePriceListDiffVersion.cs | 6 -
.../InvoiceSettledDiffs/InvoiceSettledDiff.cs | 29 +-
.../InvoiceSettledDiffVersion.cs | 13 +-
.../Reports/ReportDetailBase.cs | 13 +-
.../Reports/SaSeCompareDetailReport.cs | 215 ++--
.../Reports/SaSeCompareDetailReportBeiJian.cs | 23 +-
.../SaSeCompareDetailReportMaiDanJianBBAC.cs | 23 +-
.../SaSeCompareDetailReportMaiDanJianHBPO.cs | 23 +-
.../SaSeCompareDetailReportYinDuJian.cs | 23 +-
.../SaSeCompareDetailReportZhiGongJianBBAC.cs | 23 +-
.../SaSeCompareDetailReportZhiGongJianHBPO.cs | 23 +-
.../Reports/SaSeCompareDiff.cs | 289 ++---
.../Reports/SaSeCompareSumReport.cs | 69 +-
.../Reports/SaSeEdiCompareDetailReport.cs | 323 ++---
.../SaSeEdiCompareDetailReportJisBBAC.cs | 13 +-
.../SaSeEdiCompareDetailReportJisHBPO.cs | 13 +-
.../Reports/SaSeEdiCompareDiff.cs | 301 ++---
.../Reports/SaSeEdiCompareSumReport.cs | 93 +-
.../Reports/SeEidCompareReport.cs | 303 ++---
.../Reports/SeEidCompareReportJisBBAC.cs | 15 +-
.../Reports/SeEidCompareReportJisHBPO.cs | 15 +-
.../SecondaryActuralAdjustmentReport.cs | 32 +-
.../SecondaryActuralAdjustmentReportDetail.cs | 32 +-
.../ISecondaryActuralDiffReportManager.cs | 10 +-
.../SecondaryActuralDiffReport.cs | 32 +-
.../SecondaryActuralDiffReportDetail.cs | 37 +-
.../SecondaryActuralDiffReportManager.cs | 13 +-
.../DiffUnsetttleReport.cs | 8 +-
.../SendUnsettledDiffReport.cs | 26 +-
.../SendUnsettledDiffReportDetail.cs | 35 +-
.../StockSettledDiffReport.cs | 30 +-
.../StockSettledDiffReportDetail.cs | 14 +-
.../StockSettledDiffReport.cs | 26 +-
.../StockSettledDiffReportDetail.cs | 16 +-
.../StockUnsettledDiffReport.cs | 26 +-
.../StockUnsettledDiffReportDetail.cs | 21 +-
.../SettleAccount.Domain/Settings/Helper.cs | 95 +-
.../SettleAccountSettingDefinitionProvider.cs | 4 +-
.../Settings/SettleAccountSettings.cs | 4 +-
.../SettleAccountDbProperties.cs | 4 +-
.../SettleAccountDomainModule.cs | 8 +-
.../ExChangeCenterDbContext.cs | 32 +-
.../ISettleAccountDbContext.cs | 4 +-
...AccountDbContextModelCreatingExtensions.cs | 198 ----
.../SettleAccountEntityFrameworkCoreModule.cs | 15 +-
...AccountModelBuilderConfigurationOptions.cs | 4 +-
.../UnInterfaceDapperRepository.cs | 45 +-
.../UnInterfaceDbContext.cs | 16 -
.../EntityFrameworkCore/WMSBJBMPTDbContext.cs | 57 +-
.../Migrations/20230710050546_init.cs | 2 +-
.../Migrations/20230710062137_20230710-1.cs | 2 +-
.../Migrations/20230711014038_20230711-1.cs | 2 +-
.../Migrations/20230711073528_20230711-2.cs | 2 +-
.../Migrations/20230712032712_20230712-1.cs | 2 +-
.../Migrations/20230713031306_20230713-1.cs | 2 +-
.../Migrations/20230714030100_20230714-1.cs | 2 +-
.../Migrations/20230714033202_20230714-2.cs | 2 +-
.../Migrations/20230714063941_20230714-3.cs | 2 +-
.../Migrations/20230718010724_20230718-1.cs | 2 +-
.../Migrations/20230718011250_20230718-2.cs | 2 +-
.../Migrations/20230719004135_20230719-1.cs | 2 +-
.../Migrations/20230719022720_20230719-2.cs | 2 +-
.../Migrations/20230719032116_vmi.cs | 2 +-
.../Migrations/20230719053130_20230719-3.cs | 2 +-
.../Migrations/20230719090654_20230719-4.cs | 2 +-
.../Migrations/20230720012742_vmi2.cs | 2 +-
.../Migrations/20230721063549_20230721.cs | 2 +-
.../Migrations/20230722013448_20230722.cs | 2 +-
.../Migrations/20230722015432_202307220002.cs | 2 +-
.../Migrations/20230724052214_20230724-1.cs | 2 +-
.../Migrations/20230724063308_vmi3.cs | 2 +-
.../Migrations/20230726013523_20230726-1.cs | 2 +-
.../Migrations/20230726021913_202307260001.cs | 2 +-
.../Migrations/20230726064841_20230726-2.cs | 2 +-
.../Migrations/20230726064930_20230726-3.cs | 2 +-
.../Migrations/20230726065932_vmi4.cs | 2 +-
.../Migrations/20230727005325_vmi5.cs | 2 +-
.../Migrations/20230727011426_202307270001.cs | 2 +-
.../Migrations/20230727024321_20230727-1.cs | 2 +-
.../Migrations/20230727085151_202307270004.cs | 2 +-
.../Migrations/20230728013132_vmi6.cs | 2 +-
.../Migrations/20230731014604_20230731-1.cs | 2 +-
.../Migrations/20230731031816_20230731-2.cs | 2 +-
.../Migrations/20230801054818_20230801-1.cs | 2 +-
.../Migrations/20230803013930_vmi7.cs | 2 +-
.../Migrations/20230803033051_20230803-1.cs | 2 +-
.../Migrations/20230807024652_vmi8.cs | 2 +-
.../Migrations/20230807054442_vmi9.cs | 2 +-
.../Migrations/20230807063408_vmi10.cs | 2 +-
.../Migrations/20230808023302_202308080001.cs | 4 +-
.../Migrations/20230808055821_20230808-1.cs | 2 +-
.../Migrations/20230808062331_20230808-2.cs | 2 +-
.../Migrations/20230809035500_vmi11.cs | 2 +-
.../Migrations/20230809054836_20230809-1.cs | 2 +-
.../Migrations/20230809074216_20230809-2.cs | 2 +-
.../Migrations/20230810003703_202308100001.cs | 2 +-
.../Migrations/20230810012032_20230810-1.cs | 2 +-
.../Migrations/20230810025021_20230810-2.cs | 2 +-
.../Migrations/20230810081159_20230810-3.cs | 2 +-
.../Migrations/20230811013305_202308110001.cs | 2 +-
.../Migrations/20230814052555_20230814-1.cs | 2 +-
.../Migrations/20230814073646_20230814-2.cs | 2 +-
.../Migrations/20230815013824_20230815-1.cs | 2 +-
.../Migrations/20230815023057_20230815-2.cs | 2 +-
.../Migrations/20230815054853_20230815-3.cs | 2 +-
.../Migrations/20230817004419_20230817-1.cs | 2 +-
.../Migrations/20230817033153_20230817-2.cs | 2 +-
.../Migrations/20230817035945_20230817-3.cs | 2 +-
.../Migrations/20230817051027_20230817-4.cs | 2 +-
.../Migrations/20230817052812_202308170001.cs | 2 +-
.../Migrations/20230818070358_20230818-1.cs | 2 +-
.../Migrations/20230818073659_202308180001.cs | 2 +-
.../Migrations/20230819034920_202308190002.cs | 2 +-
.../Migrations/20230822072327_vmi12.cs | 2 +-
.../Migrations/20230823062342_20230823-1.cs | 2 +-
.../Migrations/20230825011303_vmi14.cs | 2 +-
.../Migrations/20230825061422_vmi15.cs | 2 +-
.../Migrations/20230825063729_vmi16.cs | 2 +-
.../Migrations/20230825071603_20230825-1.cs | 2 +-
.../Migrations/20230826031830_202308260001.cs | 2 +-
.../Migrations/20230826032802_vmi17.cs | 2 +-
.../Migrations/20230828060854_20230828.cs | 2 +-
.../Migrations/20230828074927_vmi18.cs | 2 +-
.../Migrations/20230828092102_20230828-1.cs | 2 +-
.../Migrations/20230829061958_20230829-1.cs | 2 +-
.../Migrations/20230829062103_202308290001.cs | 2 +-
.../Migrations/20230831082843_20230831-1.cs | 2 +-
.../Migrations/20230906031332_202309060001.cs | 2 +-
.../Migrations/20230907075720_20230907-1.cs | 2 +-
.../Migrations/20230908031607_20230908-1.cs | 2 +-
.../Migrations/20230908053049_20230908-2.cs | 2 +-
.../Migrations/20230909013408_202309090001.cs | 2 +-
.../Migrations/20230913024309_20230913-1.cs | 2 +-
.../Migrations/20230914021528_20230914-1.cs | 2 +-
.../Migrations/20230915020001_20230915-1.cs | 2 +-
.../Migrations/20230915035754_202309150001.cs | 2 +-
.../Migrations/20230918060007_20230918-1.cs | 2 +-
...SettleAccountDiffReportDapperRepository.cs | 24 +-
.../SettleAccountBQEfCoreRepository.cs | 46 +-
.../SettleAccountBranchEfCoreRepository.cs | 37 +-
.../SettleAccountEfCoreQueryableExtensions.cs | 6 +-
.../SettleAccountEfCoreRepository.cs | 33 +-
.../Code/CodeSettingRepository.cs | 19 +-
.../Invoices/InvoiceRepository.cs | 16 +-
.../Invoices/InvoiceVersionRepository.cs | 12 +-
.../MaterialRelationshipDetailRepository.cs | 39 +-
.../MaterialRelationshipVersionRepository.cs | 17 +-
.../PendingDeductionDapperRepository.cs | 53 +-
.../Report/ErpPartDapperRepository.cs | 24 +-
.../Report/ErpSumOutputDapperRepository.cs | 53 +-
.../Report/FisUpdateStateDapperRepository.cs | 24 +-
.../HQFSettledDetailDapperRepository.cs | 23 +-
.../Report/HQFShippingDapperRepository.cs | 8 +-
.../HQFactorySettledDetailDapperRepository.cs | 91 +-
.../HQHSettledDetailDapperRepository.cs | 112 +-
.../Report/HQHShippingDapperRepository.cs | 10 +-
.../HQMSettledDetailDapperRepository.cs | 17 +-
.../Report/HQMShippingDapperRepository.cs | 8 +-
.../InvoicePriceListDiffDapperRepository.cs | 14 +-
...nvoiceSettledDetailDiffDapperRepository.cs | 27 +-
.../InvoiceSettledDiffDapperRepository.cs | 20 +-
.../Report/InvoiceSettledDiffRepository.cs | 12 +-
.../InvoiceSettledDiffVersionRepository.cs | 22 +-
.../Report/KanbanUnSettledDapperRepository.cs | 79 +-
.../PriceQtyDiffDapperReportRepository.cs | 16 +-
.../Report/PubSaSeCompareDapperRepository.cs | 244 ++--
.../SecMatchBaseDapperReportRepository.cs | 41 +-
.../SecMatchSummaryDapperReportRepository.cs | 91 +-
.../Report/SettleDoorPanelDapperRepository.cs | 14 +-
.../SettleFisDiffDetailDapperRepository.cs | 63 +-
.../SettleKBWithCodeDapperReportRepository.cs | 64 +-
...SettleSparePart90DapperReportRepository.cs | 23 +-
.../SettleSparePartDapperReportRepository.cs | 215 +---
...leSparePartExtendDapperReportRepository.cs | 40 +-
.../Report/SettledMaterialReportRepository.cs | 23 +-
...ettledPartAndErpPartPriceDiffRepository.cs | 6 -
.../SharePartUnSettledDapperRepository.cs | 38 +-
...nvoiceSettledDetailDiffDapperRepository.cs | 20 +-
.../Report/UnSettleDiffDapperRepository.cs | 59 +-
.../Report/UnSettledDapperReportRepository.cs | 18 +-
.../Report/UnSettledDetailDapperRepository.cs | 55 +-
.../Report/WmsDapperRepository.cs | 16 -
.../Report/WmsOutputSumDapperRepository.cs | 111 +-
.../fisUnSettledDapperReportRepository.cs | 85 +-
.../SettleAccounts/SettleAccountRepository.cs | 21 +-
.../SettleAccountVersionRepository.cs | 20 +-
.../SettlementPartRepository.cs | 36 +-
.../SettlementPartVersionRepository.cs | 21 +-
.../Tasks/TaskDapperRepository.cs | 37 +-
.../Tasks/TaskJobRepository.cs | 17 +-
.../WmsJitOutputDapperRepository.cs | 19 +-
.../SettleAccountNormalEfCoreRepository.cs | 16 +-
.../Repository/UnInterfaceEfCoreRepository.cs | 52 +-
.../WmsOutputInterfaceDapperRepoisitory.cs | 6 -
.../SettleAccountDbContextFactory.cs | 19 +-
.../SettleAccountHttpApiClientModule.cs | 2 +-
.../BlobFileController.cs | 28 +-
.../SettleAccountController.cs | 2 +-
.../SettleAccountHttpApiModule.cs | 4 +-
.../ZipBTExportController.cs | 10 +-
.../ZipExportController.cs | 10 +-
.../BackgroundJob/ExportJob.cs | 16 +-
.../BackgroundJob/ImportJob.cs | 6 -
.../BackgroundJob/NotifyJob.cs | 15 +-
.../Dispatcher/JobDispatcher.cs | 22 +-
.../SettleAccount.Job/Domain/OutputError.cs | 17 +-
.../EventArgs/ExportTaskArgs.cs | 14 +-
.../EventArgs/ImportTaskArgs.cs | 11 +-
.../EventArgs/NotifyTaskArgs.cs | 11 +-
.../SettleAccount.Job/EventArgs/TaskArgs.cs | 28 +-
.../Interfaces/IExportJob.cs | 9 +-
.../Interfaces/IImportJob.cs | 9 +-
.../Interfaces/INotifyJob.cs | 11 +-
.../Base/SecRelationShipImportService.cs | 606 +++-------
.../Services/Fis/FisImportService.cs | 13 -
.../Services/InputService.cs | 19 +-
.../Services/Invoices/InvoiceImportService.cs | 32 +-
.../Services/OutputService.cs | 44 +-
.../SettleAccount.Job/Services/PD_SERVICE.cs | 33 +-
.../FISUnSettleAccountDiffExportService.cs | 5 +-
.../Services/Report/FisOutputService.cs | 10 +-
.../Services/Report/FisUpdateExportService.cs | 8 +-
.../HQFSettledDetailDiffExportService.cs | 25 +-
...SharePartSettledDetailDiffExportService.cs | 32 +-
.../Report/HQFShippingExportService.cs | 5 +-
...FactoryUnSettledDetailDiffExportService.cs | 23 +-
.../HQHSettledDetailDiffExportService.cs | 20 +-
...SharePartSettledDetailDiffExportService.cs | 20 +-
.../Report/HQHShippingExportService.cs | 5 +-
.../HQHUnSettledDetailDiffExportService.cs | 15 +-
.../HQMSettledDetailDiffExportService.cs | 17 +-
...SharePartSettledDetailDiffExportService.cs | 15 +-
.../Report/HQMShippingExportService.cs | 5 +-
.../InvoicePriceListDiffExportService.cs | 5 +-
.../InvoiceSettledDetailDiffExportService.cs | 58 +-
.../Report/InvoiceSettledDiffExportService.cs | 60 +-
.../JisBBACSeEdiCompareExportService.cs | 2 -
.../JisHBPOSeEdiCompareExportService.cs | 4 +-
.../Services/Report/KanBanUnSettledExport.cs | 21 +-
.../Report/PriceQtyDifferenceExportService.cs | 7 +-
.../Report/SecMatchBaseExportService.cs | 12 +-
.../Report/SettleDoorPanelExportService.cs | 33 +-
.../Report/SettleFisDiffExportService.cs | 158 +--
.../Report/SettleKBWithCodeExportService.cs | 24 +-
.../SettleKBWithOutCodeExportService.cs | 25 +-
.../Report/SettleSparePart90ExportService.cs | 18 +-
.../Report/SettleSparePartExportService.cs | 26 +-
.../Report/SettleUnSparePartExportService.cs | 19 +-
...ledPartAndErpPartPriceDiffExportService.cs | 15 +-
.../Report/SharePartUnSettledExport.cs | 26 +-
.../Services/Report/SyncFisService.cs | 58 +-
...UnInvoiceSettledDetailDiffExportService.cs | 122 +-
.../Report/UnSettleDiffExportService.cs | 188 ++-
.../Services/Report/UnSettledExportService.cs | 29 +-
.../Services/Report/UnSettledSumService.cs | 97 +-
.../Services/Report/UnsettledDetailReport.cs | 46 +-
.../Report/WmsOutputSumExportService.cs | 22 +-
.../Services/Report/fisUnsettledDiffReport.cs | 6 +-
.../SettleAccountImportService.cs | 43 +-
.../UnSettleAccountImportService.cs | 21 +-
.../SettleAccountJobAutoMapperProfile.cs | 2 +-
.../SettleAccountJobModule.cs | 44 +-
.../Snowflakes/AbpSnowflakeGeneratorModule.cs | 5 +-
.../AbpSnowflakeIdGeneratorOptions.cs | 5 +-
.../Abp/Snowflakes/ISnowflakeIdGenerator.cs | 4 +-
.../Abp/Snowflakes/SnowflakeIdGenerator.cs | 12 +-
.../IBranchBaseDataAppService.cs | 6 +-
.../ApplicationBase/IHasDetailAppService.cs | 4 +-
.../IHasDetailEntityAppService.cs | 4 +-
.../ApplicationBase/IImportAppService.cs | 4 +-
.../ApplicationBase/IInventoryAppService.cs | 9 +-
.../INormalBaseDataAppService.cs | 6 +-
.../CacheBase/CacheServiceBase.cs | 9 +-
.../CacheBase/CacheStrategyConst.cs | 4 +-
.../CacheBase/CachingExtensions.cs | 25 +-
.../Win.Sfs.Shared/Constant/CommonConsts.cs | 6 +-
.../Constant/MultiTenancyConsts.cs | 4 +-
.../Shared/Win.Sfs.Shared/CurrentBranch/A.cs | 4 +-
.../CurrentBranch/BranchManager.cs | 9 +-
.../CurrentBranch/IBranchManager.cs | 6 +-
.../DomainBase/AggregateRootBase.cs | 6 +-
.../DomainBase/AuditedAggregateRootBase.cs | 7 +-
.../DomainBase/BranchAggregateRootBase.cs | 6 +-
.../DomainBase/BranchEntityBase.cs | 4 +-
.../DomainBase/CreationAggregateRootBase.cs | 4 +-
.../DomainBase/CreationAuditedDocumentBase.cs | 4 +-
.../CreationAuditedDocumentDetailBase.cs | 5 +-
.../DomainBase/CreationAuditedEntityBase.cs | 3 +-
.../Win.Sfs.Shared/DomainBase/EntityBase.cs | 4 +-
.../FullAuditedAggregateRootBase.cs | 7 +-
.../DomainBase/FullAuditedDocumentBase.cs | 8 +-
.../FullAuditedDocumentDetailBase.cs | 11 +-
.../DomainBase/FullAuditedEntityBase.cs | 5 +-
.../DomainBase/IBaseDataDistributedCache.cs | 5 +-
.../DomainBase/IDocumentNumber.cs | 4 +-
.../Win.Sfs.Shared/DomainBase/IHasDetails.cs | 3 +-
.../Shared/Win.Sfs.Shared/DomainBase/IItem.cs | 4 +-
.../DomainBase/ISerialNumber.cs | 4 +-
.../DomainBase/IUpstreamDocument.cs | 5 +-
.../ValueObjectBase/CurrencyPrice.cs | 7 +-
.../DomainBase/ValueObjectBase/Employee.cs | 6 +-
.../ValueObjectBase/InventoryInfo.cs | 11 +-
.../DomainBase/ValueObjectBase/Location.cs | 11 +-
.../DomainBase/ValueObjectBase/Lots.cs | 11 +-
.../DomainBase/ValueObjectBase/StockMove.cs | 6 -
.../DomainBase/ValueObjectBase/TaskQty.cs | 17 +-
.../ValueObjectBase/TransferInfo.cs | 7 +-
.../DomainBase/ValueObjectBase/UnitQty.cs | 8 +-
.../DomainBase/ValueObjectBase/UomBase.cs | 11 +-
.../ValueObjectBase/UpstreamDocument.cs | 13 +-
.../DtoBase/AuditedEntityDtoBase.cs | 5 +-
.../DtoBase/BranchRequestDtoBase.cs | 8 +-
.../DtoBase/CreateOrUpdateEntityDtoBase.cs | 5 +-
.../Win.Sfs.Shared/DtoBase/EntityDtoBase.cs | 5 +-
.../Win.Sfs.Shared/DtoBase/ExportDtoBase.cs | 4 +-
.../Win.Sfs.Shared/DtoBase/ImportDtoBase.cs | 4 +-
.../DtoBase/InventoryAuditedEntityDtoBase.cs | 16 +-
.../Win.Sfs.Shared/DtoBase/ListDtoBase.cs | 4 +-
.../Win.Sfs.Shared/DtoBase/RequestDtoBase.cs | 5 +-
.../SettleAccount/StatisticRequestDtoBase.cs | 11 +-
.../Win.Sfs.Shared/Enums/EnumAreaType.cs | 4 +-
.../Enums/EnumArrivalNoticeCreateType.cs | 12 +-
.../Win.Sfs.Shared/Enums/EnumConditionType.cs | 14 +-
.../Enums/EnumDetailStatusType.cs | 5 +-
.../Enums/EnumDocumentStatus.cs | 4 +-
.../Win.Sfs.Shared/Enums/EnumDocumentType.cs | 16 +-
.../Win.Sfs.Shared/Enums/EnumFileType.cs | 6 -
.../Enums/EnumInventoryStatus.cs | 12 +-
.../Win.Sfs.Shared/Enums/EnumItemCategory.cs | 4 +-
.../Win.Sfs.Shared/Enums/EnumItemStatus.cs | 12 +-
.../Enums/EnumJobOptionAction.cs | 4 +-
.../Enums/EnumJobOptionSetToDefaultUom.cs | 4 +-
.../Win.Sfs.Shared/Enums/EnumJobStatus.cs | 10 +-
.../Win.Sfs.Shared/Enums/EnumJobType.cs | 20 +-
.../Win.Sfs.Shared/Enums/EnumStrategyType.cs | 4 +-
.../Win.Sfs.Shared/Enums/EnumUsableStatus.cs | 7 +-
.../SettleAccount/EnumCustomerLocationType.cs | 5 +-
.../SettleAccount/EnumMaterialProperty.cs | 6 +-
.../Enums/SettleAccount/EnumSettleStatus.cs | 4 +-
.../Win.Sfs.Shared/Etos/EntityDemoEto.cs | 8 +-
.../AdvanceShippingNoticeCreateListEto.cs | 4 -
.../AdvanceShippingNoticeDeleteListEto.cs | 6 +-
.../AdvanceShippingNoticeDetailEto.cs | 11 +-
.../Etos/Purchase/AdvanceShippingNoticeEto.cs | 16 +-
.../Win.Sfs.Shared/Filter/EnumFilterAction.cs | 4 +-
.../Win.Sfs.Shared/Filter/EnumFilterLogic.cs | 8 +-
.../Win.Sfs.Shared/Filter/FilterCondition.cs | 4 +-
.../Win.Sfs.Shared/Filter/FilterExtensions.cs | 10 +-
code/src/Shared/Win.Sfs.Shared/IBranch.cs | 4 +-
code/src/Shared/Win.Sfs.Shared/IEnabled.cs | 4 +-
code/src/Shared/Win.Sfs.Shared/IRemark.cs | 4 +-
.../RepositoryBase/DbSetExtensions.cs | 11 +-
.../IBaseDataExtentRepository.cs | 4 +-
.../RepositoryBase/IBranchEfCoreRepository.cs | 7 +-
.../RepositoryBase/INormalEfCoreRepository.cs | 4 +-
.../RepositoryBase/IWinEfCoreRepository.cs | 8 +-
.../RepositoryBase/QueryableExtension.cs | 19 +-
.../RepositoryBase/UpdateIgnoreAttribute.cs | 4 +-
.../src/Shared/Win.Sfs.Shared/SharedModule.cs | 4 +-
.../Win.Utils/AddBranchIdHeaderAttribute.cs | 8 +-
.../Shared/Win.Utils/BranchHeaderConsts.cs | 4 +-
.../Shared/Win.Utils/BranchHeaderParameter.cs | 10 +-
.../DateTimeConverterUsingDateTimeParse.cs | 4 +-
.../Shared/Win.Utils/DatetimeJsonConverter.cs | 4 +-
.../NullableDatetimeJsonConverter.cs | 8 +-
.../Shared/Win.Utils/SerializeExtensions.cs | 6 +-
.../Win.Utils/SwaggerHeaderAttribute.cs | 4 +-
.../Shared/Win.Utils/SwaggerHeaderFilter.cs | 4 +-
995 files changed, 19569 insertions(+), 27226 deletions(-)
diff --git a/code/src/.editorconfig b/code/src/.editorconfig
index fe767f48..5de070fc 100644
--- a/code/src/.editorconfig
+++ b/code/src/.editorconfig
@@ -42,7 +42,7 @@ csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
# Namespace settings
-csharp_style_namespace_declarations = file_scoped
+csharp_style_namespace_declarations = block_scoped:warning
# Brace settings
csharp_prefer_braces = true # Prefer curly braces even for one line of code
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/BranchManagement/Dto/BranchDto.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/BranchManagement/Dto/BranchDto.cs
index 8db31bbf..ea2a0d50 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/BranchManagement/Dto/BranchDto.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/BranchManagement/Dto/BranchDto.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using BaseService.RelationBaseData;
using Volo.Abp.Application.Dtos;
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/BranchManagement/Dto/CreateOrUpdateBranchDto.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/BranchManagement/Dto/CreateOrUpdateBranchDto.cs
index 6a30e182..e58c92e0 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/BranchManagement/Dto/CreateOrUpdateBranchDto.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/BranchManagement/Dto/CreateOrUpdateBranchDto.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using BaseService.RelationBaseData;
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/BranchManagement/Dto/GetBranchInputDto.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/BranchManagement/Dto/GetBranchInputDto.cs
index 66ed07c9..edbcf3d3 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/BranchManagement/Dto/GetBranchInputDto.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/BranchManagement/Dto/GetBranchInputDto.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using Volo.Abp.Application.Dtos;
namespace BaseService.BaseData.BranchManagement.Dto
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/BranchManagement/IBranchAppService.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/BranchManagement/IBranchAppService.cs
index 189dfa0b..7c409b5f 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/BranchManagement/IBranchAppService.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/BranchManagement/IBranchAppService.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using BaseService.BaseData.BranchManagement.Dto;
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/Permissions/Dto/ApplicationAuthes.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/Permissions/Dto/ApplicationAuthes.cs
index 1a9eb22a..ca296a7f 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/Permissions/Dto/ApplicationAuthes.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/Permissions/Dto/ApplicationAuthes.cs
@@ -1,4 +1,4 @@
-using System.Collections.Generic;
+using System.Collections.Generic;
namespace BaseService.BaseData.Permissions.Dto
{
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/UserBranchRoleManagement/Dto/CreateOrUpdateUserBranchDto.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/UserBranchRoleManagement/Dto/CreateOrUpdateUserBranchDto.cs
index c6cde966..ef0426ed 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/UserBranchRoleManagement/Dto/CreateOrUpdateUserBranchDto.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/UserBranchRoleManagement/Dto/CreateOrUpdateUserBranchDto.cs
@@ -1,17 +1,16 @@
-using System;
+using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
-using Volo.Abp.Identity;
namespace BaseService.BaseData.UserBranchRoleManagement.Dto
{
- public class CreateOrUpdateUserBranchDto
+ public class CreateOrUpdateUserBranchDto
{
///
/// 主键
///
public Guid Id { get; set; }
-
+
///
/// 用户ID
///
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/UserBranchRoleManagement/Dto/GetUserBranchInput.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/UserBranchRoleManagement/Dto/GetUserBranchInput.cs
index 50c22596..c2bb3a01 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/UserBranchRoleManagement/Dto/GetUserBranchInput.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/UserBranchRoleManagement/Dto/GetUserBranchInput.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using Volo.Abp.Application.Dtos;
namespace BaseService.BaseData.UserBranchRoleManagement.Dto
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/UserBranchRoleManagement/Dto/UserBranchDto.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/UserBranchRoleManagement/Dto/UserBranchDto.cs
index 63f16fc1..aad49a2c 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/UserBranchRoleManagement/Dto/UserBranchDto.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/UserBranchRoleManagement/Dto/UserBranchDto.cs
@@ -1,10 +1,8 @@
-using System;
+using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Application.Dtos;
-using Volo.Abp.Domain.Entities;
-using Volo.Abp.MultiTenancy;
namespace BaseService.BaseData.UserBranchRoleManagement.Dto
{
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/UserBranchRoleManagement/IUserBranchAppService.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/UserBranchRoleManagement/IUserBranchAppService.cs
index 6210b37f..fbf18eb9 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/UserBranchRoleManagement/IUserBranchAppService.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseData/UserBranchRoleManagement/IUserBranchAppService.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using BaseService.BaseData.Permissions.Dto;
@@ -30,7 +30,7 @@ namespace BaseService.BaseData.UserBranchRoleManagement
Task GetAuthConfigAsync(Guid branchId);
- Task> GetUserRolesAsync(Guid userId,Guid branchId);
+ Task> GetUserRolesAsync(Guid userId, Guid branchId);
Task DeleteUnitAsync(Guid userId, Guid branchId);
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseServiceApplicationContractsModule.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseServiceApplicationContractsModule.cs
index 5b426d24..98b8c9cb 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseServiceApplicationContractsModule.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/BaseServiceApplicationContractsModule.cs
@@ -1,4 +1,4 @@
-using Volo.Abp.Application;
+using Volo.Abp.Application;
using Volo.Abp.Modularity;
using Volo.Abp.PermissionManagement;
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/Permissions/BaseServicePermissionDefinitionProvider .cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/Permissions/BaseServicePermissionDefinitionProvider .cs
index 6ed3b8c3..af782724 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/Permissions/BaseServicePermissionDefinitionProvider .cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/Permissions/BaseServicePermissionDefinitionProvider .cs
@@ -1,4 +1,4 @@
-using BaseService.Localization;
+using BaseService.Localization;
using Volo.Abp.Authorization.Permissions;
using Volo.Abp.Localization;
using Volo.Abp.MultiTenancy;
@@ -14,8 +14,7 @@ namespace BaseService.Permissions
var auditLogging = baseService.AddPermission(BaseServicePermissions.AuditLogging.Default, L("AuditLogging"));
-
- var branch = baseService.AddPermission(BaseServicePermissions.Branch.Default,L("Branch"));
+ var branch = baseService.AddPermission(BaseServicePermissions.Branch.Default, L("Branch"));
branch.AddChild(BaseServicePermissions.Branch.Update, L("Edit"));
branch.AddChild(BaseServicePermissions.Branch.Delete, L("Delete"));
branch.AddChild(BaseServicePermissions.Branch.Create, L("Create"));
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/Permissions/BaseServicePermissions.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/Permissions/BaseServicePermissions.cs
index f78ccc30..f5dbf0e5 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/Permissions/BaseServicePermissions.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/Permissions/BaseServicePermissions.cs
@@ -1,7 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-
namespace BaseService.Permissions
{
public static class BaseServicePermissions
@@ -21,7 +17,6 @@ namespace BaseService.Permissions
public const string Create = Default + ".Create";
}
-
public static class UserBranch
{
public const string Default = BaseService + ".UserBranch";
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/RelationData/Dto/BranchPermissionDto.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/RelationData/Dto/BranchPermissionDto.cs
index edca6b07..892f74bf 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/RelationData/Dto/BranchPermissionDto.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/RelationData/Dto/BranchPermissionDto.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
namespace BaseService.RelationData.Dto
{
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/RelationData/Dto/BranchRoleDto.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/RelationData/Dto/BranchRoleDto.cs
index 3c3fb969..320f84ed 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/RelationData/Dto/BranchRoleDto.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/RelationData/Dto/BranchRoleDto.cs
@@ -1,7 +1,5 @@
-using System;
-using System.ComponentModel.DataAnnotations.Schema;
+using System;
using Volo.Abp.Domain.Entities.Auditing;
-using Volo.Abp.MultiTenancy;
namespace BaseService.RelationData.Dto
{
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/RelationData/IBranchRelationAppService.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/RelationData/IBranchRelationAppService.cs
index 34e7b01d..517a9e35 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/RelationData/IBranchRelationAppService.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/RelationData/IBranchRelationAppService.cs
@@ -1,11 +1,9 @@
-using System;
+using System;
using System.Collections.Generic;
-using System.Text;
using System.Threading.Tasks;
using BaseService.BaseData.BranchManagement.Dto;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
-using Volo.Abp.Identity;
namespace BaseService.RelationData
{
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/AuditLogActionDto.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/AuditLogActionDto.cs
index 09cf14d9..450dabc7 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/AuditLogActionDto.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/AuditLogActionDto.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using Volo.Abp.Application.Dtos;
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/AuditLogDto.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/AuditLogDto.cs
index 9d9e8d5d..ca08e9ed 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/AuditLogDto.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/AuditLogDto.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Volo.Abp.Application.Dtos;
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/EntityChangeDto.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/EntityChangeDto.cs
index ae666afb..85494d91 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/EntityChangeDto.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/EntityChangeDto.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Volo.Abp.Application.Dtos;
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/EntityPropertyChangeDto.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/EntityPropertyChangeDto.cs
index 2964edb4..f4d63571 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/EntityPropertyChangeDto.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/EntityPropertyChangeDto.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using Volo.Abp.Application.Dtos;
namespace BaseService.Systems.AuditLoggingManagement.Dto
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/GetAuditLogsInput.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/GetAuditLogsInput.cs
index f7441fc3..6928cbe3 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/GetAuditLogsInput.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/GetAuditLogsInput.cs
@@ -1,4 +1,4 @@
-using System.Net;
+using System.Net;
using Volo.Abp.Application.Dtos;
namespace BaseService.Systems.AuditLoggingManagement.Dto
@@ -20,7 +20,6 @@ namespace BaseService.Systems.AuditLoggingManagement.Dto
public int? MaxExecutionDuration { get; set; }
-
public int? MinExecutionDuration { get; set; }
public bool HasException { get; set; }
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/GetAverageExecutionDurationPerDayInput.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/GetAverageExecutionDurationPerDayInput.cs
index 7834b9f3..ce8f4eb6 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/GetAverageExecutionDurationPerDayInput.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/GetAverageExecutionDurationPerDayInput.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
namespace BaseService.Systems.AuditLoggingManagement.Dto
{
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/GetAverageExecutionDurationPerDayOutput.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/GetAverageExecutionDurationPerDayOutput.cs
index 67657624..f4b3eec3 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/GetAverageExecutionDurationPerDayOutput.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/Dto/GetAverageExecutionDurationPerDayOutput.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
namespace BaseService.Systems.AuditLoggingManagement.Dto
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/IAuditLoggingAppService.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/IAuditLoggingAppService.cs
index a718bcf9..0a1b8740 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/IAuditLoggingAppService.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/AuditLoggingManagement/IAuditLoggingAppService.cs
@@ -1,8 +1,6 @@
-using BaseService.Systems.AuditLoggingManagement.Dto;
using System;
-using System.Collections.Generic;
-using System.Text;
using System.Threading.Tasks;
+using BaseService.Systems.AuditLoggingManagement.Dto;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
diff --git a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/UserManagement/IUserAppService.cs b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/UserManagement/IUserAppService.cs
index 83a58daa..9269c5b9 100644
--- a/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/UserManagement/IUserAppService.cs
+++ b/code/src/Modules/BaseService/BaseService.Application.Contracts/Systems/UserManagement/IUserAppService.cs
@@ -1,7 +1,7 @@
-using BaseService.BaseData.Permissions.Dto;
-using BaseService.RelationData.Dto;
using System;
using System.Threading.Tasks;
+using BaseService.BaseData.Permissions.Dto;
+using BaseService.RelationData.Dto;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.Identity;
@@ -68,4 +68,4 @@ namespace BaseService.Systems.UserManagement
//Task ResetPasswordCurrentUser(Guid id, IdentityUserCreateDto input);
Task ResetPasswordAsync(Guid id);
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/BaseService/BaseService.Application/BaseServiceApplicationAutoMapperProfile.cs b/code/src/Modules/BaseService/BaseService.Application/BaseServiceApplicationAutoMapperProfile.cs
index 66ba4a2f..79e9da19 100644
--- a/code/src/Modules/BaseService/BaseService.Application/BaseServiceApplicationAutoMapperProfile.cs
+++ b/code/src/Modules/BaseService/BaseService.Application/BaseServiceApplicationAutoMapperProfile.cs
@@ -1,12 +1,8 @@
-using AutoMapper;
+using AutoMapper;
using BaseService.BaseData;
-using BaseService.RelationBaseData;
-using BaseService.Systems.AuditLoggingManagement.Dto;
-using System;
-using System.Collections.Generic;
-using System.Text;
using BaseService.BaseData.BranchManagement.Dto;
using BaseService.BaseData.UserBranchRoleManagement.Dto;
+using BaseService.RelationBaseData;
using BaseService.RelationData.Dto;
namespace BaseService
diff --git a/code/src/Modules/BaseService/BaseService.Application/BaseServiceApplicationModule.cs b/code/src/Modules/BaseService/BaseService.Application/BaseServiceApplicationModule.cs
index 550e9068..23b4b9c4 100644
--- a/code/src/Modules/BaseService/BaseService.Application/BaseServiceApplicationModule.cs
+++ b/code/src/Modules/BaseService/BaseService.Application/BaseServiceApplicationModule.cs
@@ -1,4 +1,4 @@
-using Volo.Abp.AutoMapper;
+using Volo.Abp.AutoMapper;
using Volo.Abp.Identity;
using Volo.Abp.Json;
using Volo.Abp.Modularity;
diff --git a/code/src/Modules/BaseService/BaseService.Application/BranchManagement/BranchAppService.cs b/code/src/Modules/BaseService/BaseService.Application/BranchManagement/BranchAppService.cs
index e6f12ec2..2abc95a1 100644
--- a/code/src/Modules/BaseService/BaseService.Application/BranchManagement/BranchAppService.cs
+++ b/code/src/Modules/BaseService/BaseService.Application/BranchManagement/BranchAppService.cs
@@ -4,9 +4,7 @@ using System.Linq;
using System.Linq.Dynamic.Core;
using System.Threading.Tasks;
using BaseService.BaseData.BranchManagement.Dto;
-using BaseService.BaseData.UserBranchRoleManagement.Dto;
using BaseService.Permissions;
-using BaseService.RelationBaseData;
using BaseService.RelationData.Dto;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
@@ -44,8 +42,11 @@ namespace BaseService.BaseData.BranchManagement
[Authorize(BaseServicePermissions.Branch.Create)]
public virtual async Task CreateAsync(CreateOrUpdateBranchDto input)
{
- var exist = await _repository.FirstOrDefaultAsync(_ => _.Name == input.Name);
- if (exist != null) throw new BusinessException("名称:" + input.Name + "机构已存在");
+ var exist = await _repository.FirstOrDefaultAsync(_ => _.Name == input.Name).ConfigureAwait(false);
+ if (exist != null)
+ {
+ throw new BusinessException("名称:" + input.Name + "机构已存在");
+ }
var branch = new Branch(GuidGenerator.Create(),
CurrentTenant.Id,
@@ -57,12 +58,12 @@ namespace BaseService.BaseData.BranchManagement
true,
input.Enabled
);
- var parent = await _repository.FirstOrDefaultAsync(_ => _.Id == input.Pid);
+ var parent = await _repository.FirstOrDefaultAsync(_ => _.Id == input.Pid).ConfigureAwait(false);
ChangeOrganizationModel(branch, parent);
- await _repository.InsertAsync(branch);
+ await _repository.InsertAsync(branch).ConfigureAwait(false);
//create cache
- await _cache.SetAsync(branch.Id.ToString(), branch, CacheStrategyConst.FIVE_MINUTES);
+ await _cache.SetAsync(branch.Id.ToString(), branch, CacheStrategyConst.FIVE_MINUTES).ConfigureAwait(false);
return ObjectMapper.Map(branch);
}
@@ -74,10 +75,10 @@ namespace BaseService.BaseData.BranchManagement
{
foreach (var id in ids)
{
- var branch = await _repository.GetAsync(id);
- await _repository.DeleteAsync(_ => _.CascadeId.Contains(branch.CascadeId));
- await _cache.DeleteAsync(id.ToString());
- await _repository.DeleteAsync(_ => _.Id == id);
+ var branch = await _repository.GetAsync(id).ConfigureAwait(false);
+ await _repository.DeleteAsync(_ => _.CascadeId.Contains(branch.CascadeId)).ConfigureAwait(false);
+ await _cache.DeleteAsync(id.ToString()).ConfigureAwait(false);
+ await _repository.DeleteAsync(_ => _.Id == id).ConfigureAwait(false);
}
}
[HttpGet]
@@ -85,7 +86,7 @@ namespace BaseService.BaseData.BranchManagement
[AllowAnonymous]
public virtual async Task GetAsync(Guid id)
{
- var result = await GetFromCacheAsync(id);
+ var result = await GetFromCacheAsync(id).ConfigureAwait(false);
return ObjectMapper.Map(result);
}
@@ -93,15 +94,15 @@ namespace BaseService.BaseData.BranchManagement
{
var result = await _cache.GetOrAddAsync(
id.ToString(),
- async () => await GetFromRepository(id),
- CacheStrategyConst.FIVE_MINUTES);
+ async () => await GetFromRepository(id).ConfigureAwait(false),
+ CacheStrategyConst.FIVE_MINUTES).ConfigureAwait(false);
return result;
}
private async Task GetFromRepository(Guid id)
{
- return await _repository.GetAsync(id);
+ return await _repository.GetAsync(id).ConfigureAwait(false);
}
[HttpGet]
@@ -113,15 +114,15 @@ namespace BaseService.BaseData.BranchManagement
.WhereIf(input.CategoryId.HasValue, _ => _.CategoryId == input.CategoryId);
if (input.Id.HasValue)
{
- var org = await _repository.GetAsync(input.Id.Value);
+ var org = await _repository.GetAsync(input.Id.Value).ConfigureAwait(false);
query = query.Where(_ => _.CascadeId.Contains(org.CascadeId));
}
var items = await query.OrderBy(input.Sorting ?? "Sort")
.Skip(input.SkipCount)
.Take(input.MaxResultCount)
- .ToListAsync();
- var totalCount = await query.CountAsync();
+ .ToListAsync().ConfigureAwait(false);
+ var totalCount = await query.CountAsync().ConfigureAwait(false);
var dtos = ObjectMapper.Map, List>(items);
return new PagedResultDto(totalCount, dtos);
@@ -145,13 +146,13 @@ namespace BaseService.BaseData.BranchManagement
var items = new List();
if (!string.IsNullOrWhiteSpace(filter))
{
- items = await _repository.Where(_ => _.Name.Contains(filter)).ToListAsync();
+ items = await _repository.Where(_ => _.Name.Contains(filter)).ToListAsync().ConfigureAwait(false);
}
else
{
var query = id.HasValue ? _repository.Where(_ => _.Pid == id) :
_repository.Where(_ => _.Pid == null);
- items = await query.ToListAsync();
+ items = await query.ToListAsync().ConfigureAwait(false);
}
var dtos = ObjectMapper.Map, List>(items);
@@ -161,7 +162,7 @@ namespace BaseService.BaseData.BranchManagement
[Route("children")]
public virtual async Task> GetChildrenAsync()
{
- var items = await _repository.GetListAsync();
+ var items = await _repository.GetListAsync().ConfigureAwait(false);
var dtos = ObjectMapper.Map, List>(items);
return new ListResultDto(dtos);
@@ -171,13 +172,17 @@ namespace BaseService.BaseData.BranchManagement
[Authorize(BaseServicePermissions.Branch.Update)]
public virtual async Task UpdateAsync(Guid id, CreateOrUpdateBranchDto input)
{
- if (input.Pid == id) throw new BusinessException("机构上级不能为当前机构!");
- var branch = await _repository.FirstOrDefaultAsync(_ => _.Id == id);
+ if (input.Pid == id)
+ {
+ throw new BusinessException("机构上级不能为当前机构!");
+ }
+
+ var branch = await _repository.FirstOrDefaultAsync(_ => _.Id == id).ConfigureAwait(false);
if (branch.Pid != input.Pid)
{
- var parent = await _repository.FirstOrDefaultAsync(_ => _.Id == input.Pid);
+ var parent = await _repository.FirstOrDefaultAsync(_ => _.Id == input.Pid).ConfigureAwait(false);
var orgs = await _repository.Where(_ => _.CascadeId.Contains(branch.CascadeId) && _.Id != branch.Id)
- .OrderBy(_ => _.CascadeId).ToListAsync();
+ .OrderBy(_ => _.CascadeId).ToListAsync().ConfigureAwait(false);
branch.Pid = input.Pid;
ChangeOrganizationModel(branch, parent);
foreach (var org in orgs)
@@ -197,7 +202,7 @@ namespace BaseService.BaseData.BranchManagement
branch.Sort = input.Sort;
branch.Enabled = input.Enabled;
- await _cache.SetAsync(id.ToString(), branch, CacheStrategyConst.FIVE_MINUTES);
+ await _cache.SetAsync(id.ToString(), branch, CacheStrategyConst.FIVE_MINUTES).ConfigureAwait(false);
return ObjectMapper.Map(branch);
}
@@ -207,7 +212,11 @@ namespace BaseService.BaseData.BranchManagement
var cascadeId = org.CascadeId == null ? 1 : int.Parse(org.CascadeId.TrimEnd('.').Split('.').Last());
if (checkLevel)
{
- if (parent != null && parent.Leaf) parent.Leaf = false;
+ if (parent != null && parent.Leaf)
+ {
+ parent.Leaf = false;
+ }
+
var lastLevel = _repository.Where(_ => _.Pid == org.Pid && _.Id != org.Id)
.OrderByDescending(_ => _.CascadeId)
.FirstOrDefault();
@@ -216,7 +225,11 @@ namespace BaseService.BaseData.BranchManagement
if (org.Pid.HasValue)
{
- if (parent == null) throw new BusinessException("上级机构查询错误!");
+ if (parent == null)
+ {
+ throw new BusinessException("上级机构查询错误!");
+ }
+
org.CascadeId = parent.CascadeId + cascadeId + ".";
org.FullName = parent.FullName + "/" + org.Name;
}
@@ -228,7 +241,6 @@ namespace BaseService.BaseData.BranchManagement
}
-
///
/// 根据分支ID,查找中间表branch-role
///
@@ -239,8 +251,8 @@ namespace BaseService.BaseData.BranchManagement
public virtual async Task> GetRolesAsync(Guid branchId)
{
var dtos = new List();
- var getRoleIds = await GetRolesByBranchIdAsync(branchId);
- var roles = await RoleRepository.GetListAsync();
+ var getRoleIds = await GetRolesByBranchIdAsync(branchId).ConfigureAwait(false);
+ var roles = await RoleRepository.GetListAsync().ConfigureAwait(false);
if (getRoleIds != null)
{
foreach (var role in getRoleIds)
@@ -253,11 +265,10 @@ namespace BaseService.BaseData.BranchManagement
protected virtual async Task> GetRolesByBranchIdAsync(Guid branchId)
{
- var userBranch = await _repositoryBranchRole.GetAsync(_ => _.BranchId == branchId);
+ var userBranch = await _repositoryBranchRole.GetAsync(_ => _.BranchId == branchId).ConfigureAwait(false);
var roles = userBranch.Roles.ToList();
return roles;
}
-
///
/// 用于角色管理:分支和角色互动
@@ -277,7 +288,7 @@ namespace BaseService.BaseData.BranchManagement
}
else
{
- var list = await RoleRepository.GetListAsync(input.Sorting, input.MaxResultCount, input.SkipCount);
+ var list = await RoleRepository.GetListAsync(input.Sorting, input.MaxResultCount, input.SkipCount).ConfigureAwait(false);
foreach (var roleid in getRoleIds)
{
var filterRole = list.FirstOrDefault(_ => _.Id == roleid.RoleId);
diff --git a/code/src/Modules/BaseService/BaseService.Application/UserManagement/TokenAppService.cs b/code/src/Modules/BaseService/BaseService.Application/UserManagement/TokenAppService.cs
index 18a3c671..c7b1839a 100644
--- a/code/src/Modules/BaseService/BaseService.Application/UserManagement/TokenAppService.cs
+++ b/code/src/Modules/BaseService/BaseService.Application/UserManagement/TokenAppService.cs
@@ -1,10 +1,10 @@
-using IdentityModel.Client;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.Extensions.Configuration;
using System.ComponentModel.DataAnnotations;
using System.Net.Http;
using System.Threading.Tasks;
+using IdentityModel.Client;
+using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.Extensions.Configuration;
using Volo.Abp.Application.Services;
namespace BaseService.UserManagement
@@ -52,4 +52,4 @@ namespace BaseService.UserManagement
public string Password { get; set; }
}
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/BaseService/BaseService.Application/UserManagement/UserAppService.cs b/code/src/Modules/BaseService/BaseService.Application/UserManagement/UserAppService.cs
index c83fc00b..c7c57bc7 100644
--- a/code/src/Modules/BaseService/BaseService.Application/UserManagement/UserAppService.cs
+++ b/code/src/Modules/BaseService/BaseService.Application/UserManagement/UserAppService.cs
@@ -72,9 +72,9 @@ namespace BaseService.Systems.UserManagement
[Route("{id}")]
public async Task GetAsync(Guid id)
{
- var user = await UserManager.GetByIdAsync(id);
+ var user = await UserManager.GetByIdAsync(id).ConfigureAwait(false);
var dto = Mapper.Map(user);
- dto.RoleNames = (await UserRepository.GetRoleNamesAsync(id)).ToArray();
+ dto.RoleNames = (await UserRepository.GetRoleNamesAsync(id).ConfigureAwait(false)).ToArray();
return dto;
}
@@ -88,7 +88,7 @@ namespace BaseService.Systems.UserManagement
public async Task GetCurrentUserAsync()
{
var id = CurrentUser.GetId();
- var currentUser = await UserManager.GetByIdAsync(id);
+ var currentUser = await UserManager.GetByIdAsync(id).ConfigureAwait(false);
var dto = ObjectMapper.Map(currentUser);
return dto;
@@ -107,12 +107,12 @@ namespace BaseService.Systems.UserManagement
input.MapExtraPropertiesTo(user);
- (await UserManager.CreateAsync(user, input.Password)).CheckErrors();
- await UpdateAsync(user, input);
+ (await UserManager.CreateAsync(user, input.Password).ConfigureAwait(false)).CheckErrors();
+ await UpdateAsync(user, input).ConfigureAwait(false);
var dto = ObjectMapper.Map(user);
- await CurrentUnitOfWork.SaveChangesAsync();
+ await CurrentUnitOfWork.SaveChangesAsync().ConfigureAwait(false);
return dto;
}
@@ -122,25 +122,25 @@ namespace BaseService.Systems.UserManagement
[Authorize(IdentityPermissions.Users.Update)]
public async Task UpdateAsync(Guid id, IdentityUserUpdateDto input)
{
- var user = await UserManager.GetByIdAsync(id);
+ var user = await UserManager.GetByIdAsync(id).ConfigureAwait(false);
user.ConcurrencyStamp = input.ConcurrencyStamp;
- (await UserManager.SetUserNameAsync(user, input.UserName)).CheckErrors();
+ (await UserManager.SetUserNameAsync(user, input.UserName).ConfigureAwait(false)).CheckErrors();
- await UpdateAsync(user, input);
+ await UpdateAsync(user, input).ConfigureAwait(false);
input.MapExtraPropertiesTo(user);
- (await UserManager.UpdateAsync(user)).CheckErrors();
+ (await UserManager.UpdateAsync(user).ConfigureAwait(false)).CheckErrors();
if (!input.Password.IsNullOrEmpty())
{
- (await UserManager.RemovePasswordAsync(user)).CheckErrors();
- (await UserManager.AddPasswordAsync(user, input.Password)).CheckErrors();
+ (await UserManager.RemovePasswordAsync(user).ConfigureAwait(false)).CheckErrors();
+ (await UserManager.AddPasswordAsync(user, input.Password).ConfigureAwait(false)).CheckErrors();
}
var dto = ObjectMapper.Map(user);
- await CurrentUnitOfWork.SaveChangesAsync();
+ await CurrentUnitOfWork.SaveChangesAsync().ConfigureAwait(false);
return dto;
}
@@ -148,9 +148,9 @@ namespace BaseService.Systems.UserManagement
[HttpGet]
public async Task> GetAll(GetIdentityUsersInput input)
{
- var totalCount = await UserRepository.GetCountAsync(input.Filter);
+ var totalCount = await UserRepository.GetCountAsync(input.Filter).ConfigureAwait(false);
var items = await UserRepository.GetListAsync(input.Sorting, input.MaxResultCount, input.SkipCount,
- input.Filter);
+ input.Filter).ConfigureAwait(false);
var dtos = ObjectMapper.Map, List>(items);
@@ -163,24 +163,24 @@ namespace BaseService.Systems.UserManagement
{
if (!string.Equals(user.Email, input.Email, StringComparison.InvariantCultureIgnoreCase))
{
- (await UserManager.SetEmailAsync(user, input.Email)).CheckErrors();
+ (await UserManager.SetEmailAsync(user, input.Email).ConfigureAwait(false)).CheckErrors();
}
if (!string.Equals(user.PhoneNumber, input.PhoneNumber, StringComparison.InvariantCultureIgnoreCase))
{
- (await UserManager.SetPhoneNumberAsync(user, input.PhoneNumber)).CheckErrors();
+ (await UserManager.SetPhoneNumberAsync(user, input.PhoneNumber).ConfigureAwait(false)).CheckErrors();
}
//说明:从3.1升级到3.3后,去掉了TwoFactorEnabled属性
//(await UserManager.SetTwoFactorEnabledAsync(user, input.TwoFactorEnabled)).CheckErrors();
- (await UserManager.SetLockoutEnabledAsync(user, input.LockoutEnabled)).CheckErrors();
+ (await UserManager.SetLockoutEnabledAsync(user, input.LockoutEnabled).ConfigureAwait(false)).CheckErrors();
user.Name = input.Name;
user.Surname = input.Surname;
if (input.RoleNames != null)
{
- (await UserManager.SetRolesAsync(user, input.RoleNames)).CheckErrors();
+ (await UserManager.SetRolesAsync(user, input.RoleNames).ConfigureAwait(false)).CheckErrors();
}
}
@@ -195,7 +195,7 @@ namespace BaseService.Systems.UserManagement
{
var branchList = new List();
//获取用户的所有分支
- var branchRoles = await GetUserBranchRolesAsync(CurrentUsers.GetId());
+ var branchRoles = await GetUserBranchRolesAsync(CurrentUsers.GetId()).ConfigureAwait(false);
var groupBranchRoles = branchRoles.GroupBy(x => x.BranchId)
.Select(y => new { xx = new { BranchId = y.Key }, items = y });
foreach (var group in groupBranchRoles
@@ -204,7 +204,7 @@ namespace BaseService.Systems.UserManagement
var mybranchrole = new BranchRoleDto
{
BranchId = @group.xx.BranchId,
- BranchName = (await _branchRepository.GetListAsync())
+ BranchName = (await _branchRepository.GetListAsync().ConfigureAwait(false))
.FirstOrDefault(_ => _.Id == @group.xx.BranchId)?.Name
};
branchList.Add(mybranchrole);
@@ -224,7 +224,7 @@ namespace BaseService.Systems.UserManagement
{
var branchList = new List();
//获取用户的所有分支
- var branchRoles = await GetUserBranchRolesAsync(userId);
+ var branchRoles = await GetUserBranchRolesAsync(userId).ConfigureAwait(false);
var groupBranchRoles = branchRoles.GroupBy(x => x.BranchId)
.Select(y => new { xx = new { BranchId = y.Key }, items = y });
foreach (var group in groupBranchRoles)
@@ -232,7 +232,7 @@ namespace BaseService.Systems.UserManagement
var mybranchrole = new BranchRoleDto
{
BranchId = @group.xx.BranchId,
- BranchName = (await _branchRepository.GetListAsync())
+ BranchName = (await _branchRepository.GetListAsync().ConfigureAwait(false))
.FirstOrDefault(_ => _.Id == @group.xx.BranchId)
.Name
};
@@ -252,12 +252,12 @@ namespace BaseService.Systems.UserManagement
{
// var userRoleNames = (await AppService.GetRolesAsync(id)).Items.Select(r => r.Name).ToList();
var listPermiss = new List();
- var listRolesName = await UserRepository.GetRoleNamesAsync(userId);
+ var listRolesName = await UserRepository.GetRoleNamesAsync(userId).ConfigureAwait(false);
if (listRolesName != null)
{
foreach (var rolename in listRolesName)
{
- var permissionGrantsInRole = await PermissionGrantRepository.GetListAsync(RolePermissionValueProvider.ProviderName, rolename);
+ var permissionGrantsInRole = await PermissionGrantRepository.GetListAsync(RolePermissionValueProvider.ProviderName, rolename).ConfigureAwait(false);
if (permissionGrantsInRole != null)
{
foreach (var permiss in permissionGrantsInRole)
@@ -279,7 +279,7 @@ namespace BaseService.Systems.UserManagement
{
var branchList = new List();
//获取当前用户的所有角色
- var userRoles = await UserRepository.GetRolesAsync(userId);
+ var userRoles = await UserRepository.GetRolesAsync(userId).ConfigureAwait(false);
if (userRoles == null)
{
throw new BusinessException("当前登录用户没有任何角色信息,请找管理员进行维护!");
@@ -287,7 +287,7 @@ namespace BaseService.Systems.UserManagement
else
{
//获取所有分支-角色的信息
- var allBranchRoles = await _branchRoleRepository.GetListAsync();
+ var allBranchRoles = await _branchRoleRepository.GetListAsync().ConfigureAwait(false);
if (allBranchRoles != null)
{
foreach (var role in userRoles)
@@ -296,7 +296,10 @@ namespace BaseService.Systems.UserManagement
foreach (var branch in branchRoles)
{
if (branch == null)
+ {
continue; //该用户没有角色-分支信息
+ }
+
var branchRole = new BranchRole(branch.BranchId, role.Id);
branchList.Add(branchRole);
}
@@ -322,7 +325,7 @@ namespace BaseService.Systems.UserManagement
public async Task GetAuthConfigAsync(Guid branchId)
{
var authConfig = new ApplicationAuthes();
- var policyNames = await _abpAuthorizationPolicyProvider.GetPoliciesNamesAsync();
+ var policyNames = await _abpAuthorizationPolicyProvider.GetPoliciesNamesAsync().ConfigureAwait(false);
foreach (var policyName in policyNames)
{
authConfig.Policies[policyName] = true;
@@ -335,9 +338,9 @@ namespace BaseService.Systems.UserManagement
var userId = CurrentUsers.GetId();
//获取当前用户的所有权限信息
- var getUserPermissions = await GetUserGrantedPermissionsAsync(userId);
+ var getUserPermissions = await GetUserGrantedPermissionsAsync(userId).ConfigureAwait(false);
//获取当前用户的所有分支
- var gerUserBranches = await GetUserBranchRolesAsync(userId);
+ var gerUserBranches = await GetUserBranchRolesAsync(userId).ConfigureAwait(false);
if (gerUserBranches == null)
{
throw new BusinessException("当前登录用户没有任何分支信息,请找管理员进行维护!");
@@ -395,13 +398,13 @@ namespace BaseService.Systems.UserManagement
[Authorize(IdentityPermissions.Users.Update)]
public async Task ResetPasswordAsync(Guid userId)
{
- var user = await UserManager.FindByIdAsync(userId.ToString());
+ var user = await UserManager.FindByIdAsync(userId.ToString()).ConfigureAwait(false);
//string token = await UserManager.GeneratePasswordResetTokenAsync(user);//err:No IUserTwoFactorTokenProvider named 'Default' is registered.
//await UserManager.ResetPasswordAsync(user, token, "1q2w3E*");
- await UserManager.RemovePasswordAsync(user);
+ await UserManager.RemovePasswordAsync(user).ConfigureAwait(false);
if (user.PasswordHash == null)
{
- (await UserManager.AddPasswordAsync(user, "123456")).CheckErrors();
+ (await UserManager.AddPasswordAsync(user, "123456").ConfigureAwait(false)).CheckErrors();
}
var dto = ObjectMapper.Map(user);
diff --git a/code/src/Modules/BaseService/BaseService.Application/UserManagement/UserBranchAppService.cs b/code/src/Modules/BaseService/BaseService.Application/UserManagement/UserBranchAppService.cs
index 3d883c0d..de65f012 100644
--- a/code/src/Modules/BaseService/BaseService.Application/UserManagement/UserBranchAppService.cs
+++ b/code/src/Modules/BaseService/BaseService.Application/UserManagement/UserBranchAppService.cs
@@ -8,7 +8,6 @@ using BaseService.BaseData.Permissions.Dto;
using BaseService.BaseData.UserBranchRoleManagement;
using BaseService.BaseData.UserBranchRoleManagement.Dto;
using BaseService.Permissions;
-using BaseService.RelationData.Dto;
using BaseService.Systems.UserManagement;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
@@ -79,7 +78,7 @@ namespace BaseService.UserManagement
//[Authorize(BaseServicePermissions.UserBranch.Create)]
public virtual async Task CreateUpdateAsync(CreateOrUpdateUserBranchDto input)
{
- var userBranch = await _repository.FirstOrDefaultAsync(_ => _.UserId == input.UserId && _.BranchId == input.BranchId);
+ var userBranch = await _repository.FirstOrDefaultAsync(_ => _.UserId == input.UserId && _.BranchId == input.BranchId).ConfigureAwait(false);
if (userBranch == null)
{
//执行添加操作
@@ -93,7 +92,7 @@ namespace BaseService.UserManagement
{
createUserBranch.AddRole(role.RoleId);
}
- await _repository.InsertAsync(createUserBranch);
+ await _repository.InsertAsync(createUserBranch).ConfigureAwait(false);
ObjectMapper.Map(createUserBranch);
}
else
@@ -121,17 +120,16 @@ namespace BaseService.UserManagement
}
if (input.Roles == null || input.Roles.Count == 0)
{
- await _repository.UpdateAsync(userBranch);
+ await _repository.UpdateAsync(userBranch).ConfigureAwait(false);
}
else
{
- await _repository.UpdateAsync(userBranch, true);
+ await _repository.UpdateAsync(userBranch, true).ConfigureAwait(false);
}
ObjectMapper.Map(userBranch);
}
}
-
//public virtual async Task CreateAsync(CreateOrUpdateUserBranchDto input)
//{
// var exist = await _repository.FirstOrDefaultAsync(_ => _.UserId == input.UserId && _.BranchId == input.BranchId);
@@ -162,7 +160,7 @@ namespace BaseService.UserManagement
[Authorize(BaseServicePermissions.UserBranch.Delete)]
public virtual async Task DeleteUnitAsync(Guid userId, Guid branchId)
{
- await _repository.DeleteAsync(p => p.UserId == userId && p.BranchId == branchId);
+ await _repository.DeleteAsync(p => p.UserId == userId && p.BranchId == branchId).ConfigureAwait(false);
}
///
@@ -175,10 +173,9 @@ namespace BaseService.UserManagement
[Authorize(BaseServicePermissions.UserBranch.Delete)]
public virtual async Task DeleteUnitAsync(Guid userId)
{
- await _repository.DeleteAsync(p => p.UserId == userId);
+ await _repository.DeleteAsync(p => p.UserId == userId).ConfigureAwait(false);
}
-
///
/// 批量删除
///
@@ -191,7 +188,7 @@ namespace BaseService.UserManagement
{
foreach (var id in ids)
{
- await _repository.DeleteAsync(_ => _.Id == id);
+ await _repository.DeleteAsync(_ => _.Id == id).ConfigureAwait(false);
}
}
@@ -206,7 +203,7 @@ namespace BaseService.UserManagement
[Authorize(BaseServicePermissions.UserBranch.Update)]
public virtual async Task UpdateAsync(Guid id, CreateOrUpdateUserBranchDto input)
{
- var userBranch = await _repository.FirstOrDefaultAsync(_ => _.UserId == input.UserId && _.BranchId == input.BranchId);
+ var userBranch = await _repository.FirstOrDefaultAsync(_ => _.UserId == input.UserId && _.BranchId == input.BranchId).ConfigureAwait(false);
userBranch.UserId = input.UserId;
userBranch.BranchId = input.BranchId;
//修改角色信息
@@ -229,8 +226,6 @@ namespace BaseService.UserManagement
return ObjectMapper.Map(userBranch);
}
-
-
///
/// 查单条数据
///
@@ -240,7 +235,7 @@ namespace BaseService.UserManagement
[Route("{id}")]
public virtual async Task GetAsync(Guid id)
{
- var result = await _repository.GetAsync(id);
+ var result = await _repository.GetAsync(id).ConfigureAwait(false);
return ObjectMapper.Map(result);
}
@@ -258,8 +253,8 @@ namespace BaseService.UserManagement
var items = await query
.Skip(input.SkipCount)
.Take(input.MaxResultCount)
- .ToListAsync();
- var totalCount = await query.CountAsync();
+ .ToListAsync().ConfigureAwait(false);
+ var totalCount = await query.CountAsync().ConfigureAwait(false);
var dtos = ObjectMapper.Map, List>(items);
return new PagedResultDto(totalCount, dtos);
@@ -276,16 +271,16 @@ namespace BaseService.UserManagement
public virtual async Task> GetUserBranchsAsync(Guid userId)
{
var dtos = new List();
- await GetBranchList(userId, dtos);
+ await GetBranchList(userId, dtos).ConfigureAwait(false);
return dtos;
}
- private async Task GetBranchList(Guid userId, List dtos)
+ private async Task GetBranchList(Guid userId, List dtos)
{
var userBranches = _repository.Where(_ => _.UserId == userId);
foreach (var query in userBranches)
{
- var branch = await _branchAppService.GetAsync(query.BranchId);
+ var branch = await _branchAppService.GetAsync(query.BranchId).ConfigureAwait(false);
dtos.Add(new UserBranchDto()
{
BranchId = query.BranchId,
@@ -294,7 +289,6 @@ namespace BaseService.UserManagement
}
}
-
///
/// 分支列表(当前登录用户)
///
@@ -305,7 +299,7 @@ namespace BaseService.UserManagement
public virtual async Task> GetCurrentUserBranchesAsync()
{
var dtos = new List();
- await GetBranchList(CurrentUser.GetId(), dtos);
+ await GetBranchList(CurrentUser.GetId(), dtos).ConfigureAwait(false);
return dtos;
}
@@ -324,12 +318,11 @@ namespace BaseService.UserManagement
{
throw new BusinessException("当前登录用户不存在!");
}
- var branch = await _branchAppService.GetAsync(userBranche.BranchId);
+ var branch = await _branchAppService.GetAsync(userBranche.BranchId).ConfigureAwait(false);
dto.BranchId = branch.Id;
return dto;
}
-
///
/// 获取当前登录用户所在组织的所有权限信息
///
@@ -341,7 +334,7 @@ namespace BaseService.UserManagement
public virtual async Task GetAuthConfigAsync(Guid branchId)
{
var authConfig = new ApplicationAuthes();
- var policyNames = await _abpAuthorizationPolicyProvider.GetPoliciesNamesAsync();
+ var policyNames = await _abpAuthorizationPolicyProvider.GetPoliciesNamesAsync().ConfigureAwait(false);
foreach (var policyName in policyNames)
{
authConfig.Policies[policyName] = true;
@@ -349,13 +342,13 @@ namespace BaseService.UserManagement
var userId = CurrentUser.GetId();
//获取当前用户的所有权限信息
- var grantedPermuissions = await GetUserGrantedPermissionsAsync(userId, branchId);
+ var grantedPermuissions = await GetUserGrantedPermissionsAsync(userId, branchId).ConfigureAwait(false);
if (grantedPermuissions == null || grantedPermuissions.Count == 0)
{
throw new BusinessException("当前登录用户没有任何权限信息,请找管理员进行维护!");
}
//获取当前用户所在组织的所有角色名
- var userRoleName = await GetUserRoleNamesAsync(userId, branchId);
+ var userRoleName = await GetUserRoleNamesAsync(userId, branchId).ConfigureAwait(false);
if (userRoleName == null)
{
throw new BusinessException("当前登录用户没有任何组织信息,请找管理员进行维护!");
@@ -368,7 +361,10 @@ namespace BaseService.UserManagement
{
//GrantedPolicies的key键不能相同
if (authConfig.GrantedPolicies.ContainsKey(permission.Name))
+ {
continue;
+ }
+
authConfig.GrantedPolicies.Add(permission.Name, true);
}
}
@@ -380,15 +376,15 @@ namespace BaseService.UserManagement
///
///
///
- protected virtual async Task> GetUserGrantedPermissionsAsync(Guid userId,Guid branchId)
+ protected virtual async Task> GetUserGrantedPermissionsAsync(Guid userId, Guid branchId)
{
var permissionGrants = new List();
- var listRolesName = await GetUserRoleNamesAsync(userId, branchId);
+ var listRolesName = await GetUserRoleNamesAsync(userId, branchId).ConfigureAwait(false);
if (listRolesName != null)
{
foreach (var rolename in listRolesName)
{
- var permissionGrantsInRole = await PermissionGrantRepository.GetListAsync(RolePermissionValueProvider.ProviderName, rolename);
+ var permissionGrantsInRole = await PermissionGrantRepository.GetListAsync(RolePermissionValueProvider.ProviderName, rolename).ConfigureAwait(false);
if (permissionGrantsInRole != null)
{
foreach (var permiss in permissionGrantsInRole)
@@ -408,10 +404,10 @@ namespace BaseService.UserManagement
///
protected virtual async Task> GetUserRoleNamesAsync(Guid userId, Guid branchId)
{
- var userBranch = await _repository.GetAsync(_ => _.UserId == userId && _.BranchId == branchId);
+ var userBranch = await _repository.GetAsync(_ => _.UserId == userId && _.BranchId == branchId).ConfigureAwait(false);
var userRoles = userBranch.Roles.ToList();
//var userRoles = await GetUserRolesAsync(userId, branchId);
- var roles = await IdentityRoleRepository.GetListAsync();
+ var roles = await IdentityRoleRepository.GetListAsync().ConfigureAwait(false);
return userRoles.Select(role => roles.FirstOrDefault(p => p.Id == role.RoleId)?.Name)
.Where(roleName => !string.IsNullOrWhiteSpace(roleName)).ToList();
}
@@ -423,15 +419,15 @@ namespace BaseService.UserManagement
///
[HttpGet]
[Route("userRoles/{userId}/{branchId}")]
- public virtual async Task> GetUserRolesAsync(Guid userId,Guid branchId)
+ public virtual async Task> GetUserRolesAsync(Guid userId, Guid branchId)
{
var roleList = new List();
var isInRole = _repository.FirstOrDefault(_ => _.UserId == userId && _.BranchId == branchId);
if (isInRole != null)
{
- var userBranch = await _repository.GetAsync(_ => _.UserId == userId && _.BranchId == branchId);
+ var userBranch = await _repository.GetAsync(_ => _.UserId == userId && _.BranchId == branchId).ConfigureAwait(false);
var roles = userBranch.Roles.ToList();
- foreach(var role in roles)
+ foreach (var role in roles)
{
roleList.Add(new UserBranchRole() { RoleId = role.RoleId });
}
@@ -500,4 +496,4 @@ namespace BaseService.UserManagement
}
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/BaseService/BaseService.Domain/BaseData/Branch.cs b/code/src/Modules/BaseService/BaseService.Domain/BaseData/Branch.cs
index 94de8887..40b83e1a 100644
--- a/code/src/Modules/BaseService/BaseService.Domain/BaseData/Branch.cs
+++ b/code/src/Modules/BaseService/BaseService.Domain/BaseData/Branch.cs
@@ -1,12 +1,11 @@
-using BaseService.RelationBaseData;
-using JetBrains.Annotations;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
+using BaseService.RelationBaseData;
+using JetBrains.Annotations;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;
-using Volo.Abp.MultiTenancy;
namespace BaseService.BaseData
{
diff --git a/code/src/Modules/BaseService/BaseService.Domain/BaseData/UserBranch.cs b/code/src/Modules/BaseService/BaseService.Domain/BaseData/UserBranch.cs
index db35d3ff..aa73cdd8 100644
--- a/code/src/Modules/BaseService/BaseService.Domain/BaseData/UserBranch.cs
+++ b/code/src/Modules/BaseService/BaseService.Domain/BaseData/UserBranch.cs
@@ -1,14 +1,9 @@
-using System;
+using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
-using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using Volo.Abp;
-using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Entities.Auditing;
-using Volo.Abp.MultiTenancy;
namespace BaseService.BaseData
{
@@ -48,7 +43,6 @@ namespace BaseService.BaseData
public virtual ICollection Roles { get; set; }
-
public UserBranch(Guid id, Guid userId, Guid branchId) : base(id)
{
UserId = userId;
diff --git a/code/src/Modules/BaseService/BaseService.Domain/BaseData/UserBranchRole.cs b/code/src/Modules/BaseService/BaseService.Domain/BaseData/UserBranchRole.cs
index 97720be1..a3d0ab28 100644
--- a/code/src/Modules/BaseService/BaseService.Domain/BaseData/UserBranchRole.cs
+++ b/code/src/Modules/BaseService/BaseService.Domain/BaseData/UserBranchRole.cs
@@ -1,13 +1,6 @@
-using System;
+using System;
using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations.Schema;
-using System.Text;
-using Volo.Abp;
-using Volo.Abp.Domain.Entities;
-using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.Domain.Values;
-using Volo.Abp.Identity;
-using Volo.Abp.MultiTenancy;
namespace BaseService.BaseData
{
@@ -21,8 +14,6 @@ namespace BaseService.BaseData
///
public Guid RoleId { get; set; }
-
-
public UserBranchRole()
{
diff --git a/code/src/Modules/BaseService/BaseService.Domain/BaseServiceConsts.cs b/code/src/Modules/BaseService/BaseService.Domain/BaseServiceConsts.cs
index ed54812d..37b92bc3 100644
--- a/code/src/Modules/BaseService/BaseService.Domain/BaseServiceConsts.cs
+++ b/code/src/Modules/BaseService/BaseService.Domain/BaseServiceConsts.cs
@@ -1,4 +1,4 @@
-namespace BaseService
+namespace BaseService
{
public static class BaseServiceConsts
{
diff --git a/code/src/Modules/BaseService/BaseService.Domain/BaseServiceDomainModule.cs b/code/src/Modules/BaseService/BaseService.Domain/BaseServiceDomainModule.cs
index 04efcfc6..d308d4ef 100644
--- a/code/src/Modules/BaseService/BaseService.Domain/BaseServiceDomainModule.cs
+++ b/code/src/Modules/BaseService/BaseService.Domain/BaseServiceDomainModule.cs
@@ -1,4 +1,4 @@
-using BaseService.Localization;
+using BaseService.Localization;
using Volo.Abp.Localization;
using Volo.Abp.Modularity;
using Volo.Abp.PermissionManagement.Identity;
diff --git a/code/src/Modules/BaseService/BaseService.Domain/BaseServiceModuleExtensionConfigurator.cs b/code/src/Modules/BaseService/BaseService.Domain/BaseServiceModuleExtensionConfigurator.cs
index 3a0299cf..a25154cf 100644
--- a/code/src/Modules/BaseService/BaseService.Domain/BaseServiceModuleExtensionConfigurator.cs
+++ b/code/src/Modules/BaseService/BaseService.Domain/BaseServiceModuleExtensionConfigurator.cs
@@ -1,4 +1,4 @@
-using Volo.Abp.Threading;
+using Volo.Abp.Threading;
namespace BaseService
{
diff --git a/code/src/Modules/BaseService/BaseService.Domain/Localization/BaseServiceResource.cs b/code/src/Modules/BaseService/BaseService.Domain/Localization/BaseServiceResource.cs
index b9dbf58d..f0cd9a29 100644
--- a/code/src/Modules/BaseService/BaseService.Domain/Localization/BaseServiceResource.cs
+++ b/code/src/Modules/BaseService/BaseService.Domain/Localization/BaseServiceResource.cs
@@ -1,4 +1,4 @@
-using Volo.Abp.Localization;
+using Volo.Abp.Localization;
namespace BaseService.Localization
{
diff --git a/code/src/Modules/BaseService/BaseService.Domain/RelationBaseData/BranchRole.cs b/code/src/Modules/BaseService/BaseService.Domain/RelationBaseData/BranchRole.cs
index cf674132..3bf2849e 100644
--- a/code/src/Modules/BaseService/BaseService.Domain/RelationBaseData/BranchRole.cs
+++ b/code/src/Modules/BaseService/BaseService.Domain/RelationBaseData/BranchRole.cs
@@ -1,15 +1,11 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations.Schema;
-using System.Text;
+using System;
using Volo.Abp.Domain.Entities.Auditing;
-using Volo.Abp.MultiTenancy;
namespace BaseService.RelationBaseData
{
public class BranchRole : CreationAuditedEntity
{
-
+
///
/// Id of the Role.
///
@@ -31,7 +27,7 @@ namespace BaseService.RelationBaseData
///
/// Initializes a new instance of the BranchRole/> class.
///
-
+
/// Id of the Role.
/// Id of the Branch/>.
public BranchRole(Guid roleId, Guid branchId)
diff --git a/code/src/Modules/BaseService/BaseService.Domain/Users/AppUser.cs b/code/src/Modules/BaseService/BaseService.Domain/Users/AppUser.cs
index 625c0ff1..b02b8613 100644
--- a/code/src/Modules/BaseService/BaseService.Domain/Users/AppUser.cs
+++ b/code/src/Modules/BaseService/BaseService.Domain/Users/AppUser.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.Users;
@@ -32,7 +32,6 @@ namespace BaseService.Users
#endregion
-
//public Guid BranchId { get; set; }
//public bool Enable { get; set; }
diff --git a/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/EntityFrameworkCore/BaseDbContextModelCreatingExtensions.cs b/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/EntityFrameworkCore/BaseDbContextModelCreatingExtensions.cs
index 8fd4eb56..54e17bd7 100644
--- a/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/EntityFrameworkCore/BaseDbContextModelCreatingExtensions.cs
+++ b/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/EntityFrameworkCore/BaseDbContextModelCreatingExtensions.cs
@@ -1,4 +1,4 @@
-
+
using BaseService.BaseData;
using BaseService.RelationBaseData;
using Microsoft.EntityFrameworkCore;
@@ -26,7 +26,6 @@ namespace BaseService.EntityFrameworkCore
b.HasIndex(q => q.Pid);
});
-
builder.Entity(b =>
{
b.ToTable("base_user_branches");
@@ -34,9 +33,6 @@ namespace BaseService.EntityFrameworkCore
b.OwnsMany(p => p.Roles).ToTable("base_user_branch_role");
});
-
-
-
//分支-角色
builder.Entity(b =>
{
@@ -44,7 +40,7 @@ namespace BaseService.EntityFrameworkCore
b.ConfigureByConvention();
- b.HasKey(ou => new { ou.BranchId, ou.RoleId });
+ b.HasKey(ou => new { ou.BranchId, ou.RoleId });
//b.HasOne().WithMany().HasForeignKey(ou => ou.RoleId).IsRequired();
});
diff --git a/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/EntityFrameworkCore/BaseEfCoreEntityExtensionMappings.cs b/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/EntityFrameworkCore/BaseEfCoreEntityExtensionMappings.cs
index 71aa980e..6ac2f3c4 100644
--- a/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/EntityFrameworkCore/BaseEfCoreEntityExtensionMappings.cs
+++ b/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/EntityFrameworkCore/BaseEfCoreEntityExtensionMappings.cs
@@ -1,15 +1,9 @@
-using Microsoft.EntityFrameworkCore;
-using System;
-using Volo.Abp.Identity;
-using Volo.Abp.ObjectExtending;
using Volo.Abp.Threading;
namespace BaseService.EntityFrameworkCore
{
public class BaseEfCoreEntityExtensionMappings
{
- private static readonly OneTimeRunner OneTimeRunner = new OneTimeRunner();
-
public static void Configure()
{
BaseServiceModuleExtensionConfigurator.Configure();
diff --git a/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/EntityFrameworkCore/BaseServiceDbContext.cs b/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/EntityFrameworkCore/BaseServiceDbContext.cs
index 16c4c5a3..1bc587d0 100644
--- a/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/EntityFrameworkCore/BaseServiceDbContext.cs
+++ b/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/EntityFrameworkCore/BaseServiceDbContext.cs
@@ -1,13 +1,9 @@
-
+
using BaseService.BaseData;
using BaseService.RelationBaseData;
-using BaseService.Users;
using Microsoft.EntityFrameworkCore;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;
-using Volo.Abp.EntityFrameworkCore.Modeling;
-using Volo.Abp.Identity;
-using Volo.Abp.Users.EntityFrameworkCore;
namespace BaseService.EntityFrameworkCore
{
@@ -42,7 +38,6 @@ namespace BaseService.EntityFrameworkCore
{
base.OnModelCreating(builder);
-
//builder.Entity(b =>
//{
// b.ToTable(AbpIdentityDbProperties.DbTablePrefix + "Users"); //Sharing the same table "AbpUsers" with the IdentityUser
diff --git a/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/EntityFrameworkCore/BaseServiceEntityFrameworkCoreModule.cs b/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/EntityFrameworkCore/BaseServiceEntityFrameworkCoreModule.cs
index 0daa2d62..ffbef881 100644
--- a/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/EntityFrameworkCore/BaseServiceEntityFrameworkCoreModule.cs
+++ b/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/EntityFrameworkCore/BaseServiceEntityFrameworkCoreModule.cs
@@ -1,4 +1,4 @@
-using Microsoft.Extensions.DependencyInjection;
+using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore.SqlServer;
using Volo.Abp.Identity.EntityFrameworkCore;
diff --git a/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/Migrations/20230822033456_202308220001.cs b/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/Migrations/20230822033456_202308220001.cs
index cd5d02e0..e812eef6 100644
--- a/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/Migrations/20230822033456_202308220001.cs
+++ b/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/Migrations/20230822033456_202308220001.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace BaseService.Migrations
diff --git a/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/Migrations/20230822034321_2023082200001.cs b/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/Migrations/20230822034321_2023082200001.cs
index d46d45a6..6f6af258 100644
--- a/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/Migrations/20230822034321_2023082200001.cs
+++ b/code/src/Modules/BaseService/BaseService.EntityFrameworkCore/Migrations/20230822034321_2023082200001.cs
@@ -1,4 +1,4 @@
-using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Migrations;
namespace BaseService.Migrations
{
diff --git a/code/src/Modules/BaseService/BaseService.HttpApi/BaseData/OrganizationController.cs b/code/src/Modules/BaseService/BaseService.HttpApi/BaseData/OrganizationController.cs
index e02abfc9..8b137891 100644
--- a/code/src/Modules/BaseService/BaseService.HttpApi/BaseData/OrganizationController.cs
+++ b/code/src/Modules/BaseService/BaseService.HttpApi/BaseData/OrganizationController.cs
@@ -1 +1 @@
-
+
diff --git a/code/src/Modules/BaseService/BaseService.HttpApi/BaseData/UserBranchRoleController.cs b/code/src/Modules/BaseService/BaseService.HttpApi/BaseData/UserBranchRoleController.cs
index cf257abf..547b027c 100644
--- a/code/src/Modules/BaseService/BaseService.HttpApi/BaseData/UserBranchRoleController.cs
+++ b/code/src/Modules/BaseService/BaseService.HttpApi/BaseData/UserBranchRoleController.cs
@@ -1,4 +1,4 @@
-//using BaseService.Controllers;
+//using BaseService.Controllers;
//using Microsoft.AspNetCore.Mvc;
//using System;
//using System.Collections.Generic;
diff --git a/code/src/Modules/BaseService/BaseService.HttpApi/BaseServiceHttpApiModule.cs b/code/src/Modules/BaseService/BaseService.HttpApi/BaseServiceHttpApiModule.cs
index 2975081b..b6e89bb5 100644
--- a/code/src/Modules/BaseService/BaseService.HttpApi/BaseServiceHttpApiModule.cs
+++ b/code/src/Modules/BaseService/BaseService.HttpApi/BaseServiceHttpApiModule.cs
@@ -1,4 +1,4 @@
-using Microsoft.Extensions.DependencyInjection;
+using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.AspNetCore.Mvc;
using Volo.Abp.Modularity;
diff --git a/code/src/Modules/BaseService/BaseService.HttpApi/Controllers/BaseServiceController.cs b/code/src/Modules/BaseService/BaseService.HttpApi/Controllers/BaseServiceController.cs
index 625d8284..75782ef6 100644
--- a/code/src/Modules/BaseService/BaseService.HttpApi/Controllers/BaseServiceController.cs
+++ b/code/src/Modules/BaseService/BaseService.HttpApi/Controllers/BaseServiceController.cs
@@ -1,4 +1,4 @@
-using BaseService.Localization;
+using BaseService.Localization;
using Volo.Abp.AspNetCore.Mvc;
namespace BaseService.Controllers
diff --git a/code/src/Modules/BaseService/BaseService.HttpApi/Systems/UserController.cs b/code/src/Modules/BaseService/BaseService.HttpApi/Systems/UserController.cs
index 8f37f7f2..cb51d0b7 100644
--- a/code/src/Modules/BaseService/BaseService.HttpApi/Systems/UserController.cs
+++ b/code/src/Modules/BaseService/BaseService.HttpApi/Systems/UserController.cs
@@ -1,4 +1,4 @@
-//using BaseService.Controllers;
+//using BaseService.Controllers;
//using BaseService.Systems.UserManagement;
//using Microsoft.AspNetCore.Mvc;
//using System;
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/AuthServer/AuthServerDataSeeder.cs b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/AuthServer/AuthServerDataSeeder.cs
index 4007ab31..e06e4e10 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/AuthServer/AuthServerDataSeeder.cs
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/AuthServer/AuthServerDataSeeder.cs
@@ -1,7 +1,6 @@
-using IdentityServer4.Models;
-using System.Collections.Generic;
-using System.Linq;
+using System.Collections.Generic;
using System.Threading.Tasks;
+using IdentityServer4.Models;
using Volo.Abp.Authorization.Permissions;
using Volo.Abp.Data;
using Volo.Abp.DependencyInjection;
@@ -47,22 +46,22 @@ namespace AuthServer.Host
[UnitOfWork]
public virtual async Task SeedAsync(DataSeedContext context)
{
- await _identityResourceDataSeeder.CreateStandardResourcesAsync();
- await CreateApiResourcesAsync();
- await CreateApiScopesAsync();
- await CreateClientsAsync();
+ await _identityResourceDataSeeder.CreateStandardResourcesAsync().ConfigureAwait(false);
+ await CreateApiResourcesAsync().ConfigureAwait(false);
+ await CreateApiScopesAsync().ConfigureAwait(false);
+ await CreateClientsAsync().ConfigureAwait(false);
}
private async Task CreateApiScopesAsync()
{
- await CreateApiScopeAsync("BaseService");
- await CreateApiScopeAsync("InternalGateway");
- await CreateApiScopeAsync("WebAppGateway");
- await CreateApiScopeAsync("TenantService");
- await CreateApiScopeAsync("BusinessService");
- await CreateApiScopeAsync("FileStorageService");
- await CreateApiScopeAsync("IdentityService");
- await CreateApiScopeAsync("SettleAccount");
+ await CreateApiScopeAsync("BaseService").ConfigureAwait(false);
+ await CreateApiScopeAsync("InternalGateway").ConfigureAwait(false);
+ await CreateApiScopeAsync("WebAppGateway").ConfigureAwait(false);
+ await CreateApiScopeAsync("TenantService").ConfigureAwait(false);
+ await CreateApiScopeAsync("BusinessService").ConfigureAwait(false);
+ await CreateApiScopeAsync("FileStorageService").ConfigureAwait(false);
+ await CreateApiScopeAsync("IdentityService").ConfigureAwait(false);
+ await CreateApiScopeAsync("SettleAccount").ConfigureAwait(false);
}
private async Task CreateApiResourcesAsync()
@@ -77,19 +76,19 @@ namespace AuthServer.Host
"phone_number_verified",
"role"
};
- await CreateApiResourceAsync("IdentityService", commonApiUserClaims);
- await CreateApiResourceAsync("BaseService", commonApiUserClaims);
- await CreateApiResourceAsync("InternalGateway", commonApiUserClaims);
- await CreateApiResourceAsync("WebAppGateway", commonApiUserClaims);
- await CreateApiResourceAsync("TenantService", commonApiUserClaims);
- await CreateApiResourceAsync("BusinessService", commonApiUserClaims);
- await CreateApiResourceAsync("FileStorageService", commonApiUserClaims);
- await CreateApiResourceAsync("SettleAccount", commonApiUserClaims);
+ await CreateApiResourceAsync("IdentityService", commonApiUserClaims).ConfigureAwait(false);
+ await CreateApiResourceAsync("BaseService", commonApiUserClaims).ConfigureAwait(false);
+ await CreateApiResourceAsync("InternalGateway", commonApiUserClaims).ConfigureAwait(false);
+ await CreateApiResourceAsync("WebAppGateway", commonApiUserClaims).ConfigureAwait(false);
+ await CreateApiResourceAsync("TenantService", commonApiUserClaims).ConfigureAwait(false);
+ await CreateApiResourceAsync("BusinessService", commonApiUserClaims).ConfigureAwait(false);
+ await CreateApiResourceAsync("FileStorageService", commonApiUserClaims).ConfigureAwait(false);
+ await CreateApiResourceAsync("SettleAccount", commonApiUserClaims).ConfigureAwait(false);
}
private async Task CreateApiResourceAsync(string name, IEnumerable claims)
{
- var apiResource = await _apiResourceRepository.FindByNameAsync(name);
+ var apiResource = await _apiResourceRepository.FindByNameAsync(name).ConfigureAwait(false);
if (apiResource == null)
{
apiResource = await _apiResourceRepository.InsertAsync(
@@ -99,7 +98,7 @@ namespace AuthServer.Host
name + " API"
),
autoSave: true
- );
+ ).ConfigureAwait(false);
}
foreach (var claim in claims)
@@ -110,12 +109,12 @@ namespace AuthServer.Host
}
}
- return await _apiResourceRepository.UpdateAsync(apiResource);
+ return await _apiResourceRepository.UpdateAsync(apiResource).ConfigureAwait(false);
}
private async Task CreateApiScopeAsync(string name)
{
- var apiScope = await _apiScopeRepository.GetByNameAsync(name);
+ var apiScope = await _apiScopeRepository.GetByNameAsync(name).ConfigureAwait(false);
if (apiScope == null)
{
apiScope = await _apiScopeRepository.InsertAsync(
@@ -125,7 +124,7 @@ namespace AuthServer.Host
name + " API"
),
autoSave: true
- );
+ ).ConfigureAwait(false);
}
return apiScope;
@@ -150,7 +149,7 @@ namespace AuthServer.Host
new[] { "IdentityService", "BaseService", "WebAppGateway", "FileStorageService", "TenantService", "BusinessService", "SettleAccount" },
new[] { "password" },
"1q2w3e*".Sha256()
- );
+ ).ConfigureAwait(false);
//BaseDataService
await CreateClientAsync(
@@ -159,7 +158,7 @@ namespace AuthServer.Host
new[] { "client_credentials" },
"1q2w3e*".Sha256(),
permissions: new[] { IdentityPermissions.Users.Default }
- );
+ ).ConfigureAwait(false);
//FileStorge
await CreateClientAsync(
"file-app",
@@ -167,7 +166,7 @@ namespace AuthServer.Host
new[] { "client_credentials" },
"1q2w3e*".Sha256(),
permissions: new[] { IdentityPermissions.Users.Default }
- );
+ ).ConfigureAwait(false);
}
private async Task CreateClientAsync(
@@ -179,7 +178,7 @@ namespace AuthServer.Host
string postLogoutRedirectUri = null,
IEnumerable permissions = null)
{
- var client = await _clientRepository.FindByClientIdAsync(name);
+ var client = await _clientRepository.FindByClientIdAsync(name).ConfigureAwait(false);
if (client == null)
{
client = await _clientRepository.InsertAsync(
@@ -200,7 +199,7 @@ namespace AuthServer.Host
RequireConsent = false
},
autoSave: true
- );
+ ).ConfigureAwait(false);
}
foreach (var scope in scopes)
@@ -246,10 +245,10 @@ namespace AuthServer.Host
ClientPermissionValueProvider.ProviderName,
name,
permissions
- );
+ ).ConfigureAwait(false);
}
- return await _clientRepository.UpdateAsync(client);
+ return await _clientRepository.UpdateAsync(client).ConfigureAwait(false);
}
}
}
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/AuthServer/AuthServerHostModule.cs b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/AuthServer/AuthServerHostModule.cs
index c7f6e4bb..ecd8ebba 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/AuthServer/AuthServerHostModule.cs
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/AuthServer/AuthServerHostModule.cs
@@ -1,11 +1,6 @@
using AuthServer.Host.EntityFrameworkCore;
using Microsoft.AspNetCore.Builder;
-using Microsoft.AspNetCore.Cors;
-using Microsoft.AspNetCore.DataProtection;
using Microsoft.Extensions.DependencyInjection;
-using StackExchange.Redis;
-using System;
-using System.Linq;
using Volo.Abp;
using Volo.Abp.Account;
using Volo.Abp.Account.Web;
@@ -116,7 +111,7 @@ namespace AuthServer.Host
{
await scope.ServiceProvider
.GetRequiredService()
- .SeedAsync();
+ .SeedAsync().ConfigureAwait(false);
}
});
}
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/AuthServer/EntityFrameworkCore/AuthServerDbContext.cs b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/AuthServer/EntityFrameworkCore/AuthServerDbContext.cs
index 6f577a0b..9eba6205 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/AuthServer/EntityFrameworkCore/AuthServerDbContext.cs
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/AuthServer/EntityFrameworkCore/AuthServerDbContext.cs
@@ -1,4 +1,4 @@
-using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.IdentityServer.EntityFrameworkCore;
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/AuthServer/EntityFrameworkCore/AuthServerDbContextFactory.cs b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/AuthServer/EntityFrameworkCore/AuthServerDbContextFactory.cs
index 2a001134..b60e31c9 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/AuthServer/EntityFrameworkCore/AuthServerDbContextFactory.cs
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/AuthServer/EntityFrameworkCore/AuthServerDbContextFactory.cs
@@ -1,4 +1,4 @@
-using System.IO;
+using System.IO;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/BaseServiceHostModule.cs b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/BaseServiceHostModule.cs
index 478eac50..6cdf124d 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/BaseServiceHostModule.cs
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/BaseServiceHostModule.cs
@@ -1,17 +1,12 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Security.Claims;
using BaseService.EntityFrameworkCore;
-using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
-using Microsoft.AspNetCore.Cors;
-using Microsoft.AspNetCore.DataProtection;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
-using Microsoft.OpenApi.Models;
-using StackExchange.Redis;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Security.Claims;
using Volo.Abp;
using Volo.Abp.AspNetCore.MultiTenancy;
using Volo.Abp.AspNetCore.Mvc;
@@ -112,28 +107,6 @@ namespace BaseService
});
}
- private static void ConfigureCros(ServiceConfigurationContext context, IConfiguration configuration)
- {
- context.Services.AddCors(options =>
- {
- options.AddPolicy(DefaultCorsPolicyName, builder =>
- {
- builder
- .WithOrigins(
- configuration["App:CorsOrigins"]
- .Split(",", StringSplitOptions.RemoveEmptyEntries)
- .Select(o => o.RemovePostFix("/"))
- .ToArray()
- )
- .WithAbpExposedHeaders()
- .SetIsOriginAllowedToAllowWildcardSubdomains()
- .AllowAnyHeader()
- .AllowAnyMethod()
- .AllowCredentials();
- });
- });
- }
-
private void ConfigureAuditing()
{
Configure(options =>
@@ -160,35 +133,6 @@ namespace BaseService
Configure(options => { options.UseSqlServer(); });
}
- private static void ConfigureSwagger(ServiceConfigurationContext context)
- {
- context.Services.AddSwaggerGen(options =>
- {
- options.SwaggerDoc("v1", new OpenApiInfo { Title = "BaseService Service API", Version = "v1" });
- options.DocInclusionPredicate((docName, description) => true);
- options.CustomSchemaIds(type => type.FullName);
- options.AddSecurityDefinition("Bearer", new OpenApiSecurityScheme
- {
- Description = "请输入 JWT Token",
- Name = "Authorization",
- In = ParameterLocation.Header,
- Type = SecuritySchemeType.Http,
- Scheme = "Bearer"
- });
-
- options.AddSecurityRequirement(new OpenApiSecurityRequirement()
- {
- {
- new OpenApiSecurityScheme
- {
- Reference = new OpenApiReference {Type = ReferenceType.SecurityScheme, Id = "Bearer"}
- },
- new string[] { }
- }
- });
- });
- }
-
private static void ConfigureJwt(ServiceConfigurationContext context, IConfiguration configuration)
{
//context.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
@@ -217,7 +161,7 @@ namespace BaseService
.ConventionalControllers
.Create(typeof(BaseServiceApplicationModule).Assembly, opts
=>
- { opts.RootPath = "base"; })
+ { opts.RootPath = "base"; })
;
});
}
@@ -243,9 +187,9 @@ namespace BaseService
{ "email", AbpClaimTypes.Email },
{ "name", AbpClaimTypes.UserName },
};
- var mapClaims = currentPrincipalAccessor.Principal.Claims.Where(p => map.Keys.Contains(p.Type)).ToList();
+ var mapClaims = currentPrincipalAccessor.Principal.Claims.Where(p => map.ContainsKey(p.Type)).ToList();
currentPrincipalAccessor.Principal.AddIdentity(new ClaimsIdentity(mapClaims.Select(p => new Claim(map[p.Type], p.Value, p.ValueType, p.Issuer))));
- await next();
+ await next().ConfigureAwait(false);
});
app.UseAbpRequestLocalization();
@@ -266,7 +210,7 @@ namespace BaseService
{
await scope.ServiceProvider
.GetRequiredService()
- .SeedAsync();
+ .SeedAsync().ConfigureAwait(false);
}
});
}
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Exception.cs b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Exception.cs
index dfd38404..be335275 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Exception.cs
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Exception.cs
@@ -1,14 +1,4 @@
-using Microsoft.AspNetCore.Mvc.Filters;
-using System.Threading.Tasks;
-using Volo.Abp;
-using Volo.Abp.AspNetCore.Mvc.ExceptionHandling;
-using Volo.Abp.Authorization;
-using Volo.Abp.Validation;
-
namespace Win.Sfs.SettleAccount
{
-
-
-
}
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs
index 679ab321..8e90d366 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs
@@ -4,56 +4,57 @@ using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Serilog;
-namespace Win.Sfs.SettleAccount;
-
-public class Program
+namespace Win.Sfs.SettleAccount
{
- public static int Main(string[] args)
+ public class Program
{
- var configuration = new ConfigurationBuilder()
- .AddJsonFile("appsettings.json", optional: true, reloadOnChange: true)
- .AddJsonFile($"appsettings.{Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT")}.json", optional: true, reloadOnChange: true)
- .Build();
+ public static int Main(string[] args)
+ {
+ var configuration = new ConfigurationBuilder()
+ .AddJsonFile("appsettings.json", optional: true, reloadOnChange: true)
+ .AddJsonFile($"appsettings.{Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT")}.json", optional: true, reloadOnChange: true)
+ .Build();
- Log.Logger = new LoggerConfiguration()
- .WriteTo.Async(c => c.Console())
- .WriteTo.Async(c => c.File("Logs/logs.txt"
- , rollingInterval: RollingInterval.Day
- , rollOnFileSizeLimit: true
- , fileSizeLimitBytes: 30 * 1024 * 1024))
- .CreateLogger();
+ Log.Logger = new LoggerConfiguration()
+ .WriteTo.Async(c => c.Console())
+ .WriteTo.Async(c => c.File("Logs/logs.txt"
+ , rollingInterval: RollingInterval.Day
+ , rollOnFileSizeLimit: true
+ , fileSizeLimitBytes: 30 * 1024 * 1024))
+ .CreateLogger();
- try
- {
- Log.Information("Starting web host.");
- CreateHostBuilder(args).UseSerilog().Build().Run();
- return 0;
- }
- catch (Exception ex)
- {
- Log.Fatal(ex, "Host terminated unexpectedly!");
- return 1;
- }
- finally
- {
- Log.CloseAndFlush();
+ try
+ {
+ Log.Information("Starting web host.");
+ CreateHostBuilder(args).UseSerilog().Build().Run();
+ return 0;
+ }
+ catch (Exception ex)
+ {
+ Log.Fatal(ex, "Host terminated unexpectedly!");
+ return 1;
+ }
+ finally
+ {
+ Log.CloseAndFlush();
+ }
}
- }
- internal static IHostBuilder CreateHostBuilder(string[] args) =>
- Host.CreateDefaultBuilder(args)
- .ConfigureWebHostDefaults(webBuilder =>
- {
- webBuilder.ConfigureKestrel((context, options) =>
+ internal static IHostBuilder CreateHostBuilder(string[] args) =>
+ Host.CreateDefaultBuilder(args)
+ .ConfigureWebHostDefaults(webBuilder =>
{
- //设置应用服务器Kestrel请求体最大为50MB
- options.Limits.MaxRequestBodySize = long.MaxValue;
- options.Limits.MaxRequestBufferSize = long.MaxValue;
- options.Limits.MaxRequestLineSize = int.MaxValue;
- options.Limits.KeepAliveTimeout = TimeSpan.MaxValue;
- });
- webBuilder.UseStartup();
- })
- .UseAutofac()
- .UseSerilog();
+ webBuilder.ConfigureKestrel((context, options) =>
+ {
+ //设置应用服务器Kestrel请求体最大为50MB
+ options.Limits.MaxRequestBodySize = long.MaxValue;
+ options.Limits.MaxRequestBufferSize = long.MaxValue;
+ options.Limits.MaxRequestLineSize = int.MaxValue;
+ options.Limits.KeepAliveTimeout = TimeSpan.MaxValue;
+ });
+ webBuilder.UseStartup();
+ })
+ .UseAutofac()
+ .UseSerilog();
+ }
}
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccountHttpApiHostModule.cs b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccountHttpApiHostModule.cs
index 3c7a6c92..f0dbc377 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccountHttpApiHostModule.cs
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccountHttpApiHostModule.cs
@@ -7,13 +7,11 @@ using BaseService;
using Hangfire;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
-using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
-using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.SwaggerUI;
@@ -37,8 +35,6 @@ using Volo.Abp.MultiTenancy;
using Volo.Abp.PermissionManagement.EntityFrameworkCore;
using Volo.Abp.SettingManagement.EntityFrameworkCore;
using Volo.Abp.Threading;
-using Volo.Abp.VirtualFileSystem;
-using Win.Sfs.SettleAccount.ImportExcelCommon;
using Win.Sfs.Shared.Constant;
using Win.Utils;
@@ -197,52 +193,6 @@ namespace Win.Sfs.SettleAccount
});
}
- ///
- /// 大众-存储二配实际输出表
- ///
- ///
- private void ConfigureBLOBSecSummaryServices(IConfiguration configPath)
- {
- Configure(options =>
- {
- options.Containers.Configure(configuration =>
- {
- configuration.UseFileSystem(fileSystem =>
- {
- var filestreampath = Environment.CurrentDirectory + @"\wwwroot\secsummary\files";
- if (!Directory.Exists(filestreampath))
- {
- Directory.CreateDirectory(filestreampath);
- }
- fileSystem.BasePath = filestreampath;
- });
- });
- });
- }
-
- ///
- /// 奔腾-二配实际输出打印表的保存路径
- ///
- ///
- private void ConfigureBLOBTSecSummaryServices(IConfiguration configPath)
- {
- Configure(options =>
- {
- options.Containers.Configure(configuration =>
- {
- configuration.UseFileSystem(fileSystem =>
- {
- var filestreampath = Environment.CurrentDirectory + @"\wwwroot\btsecsummary\files";
- if (!Directory.Exists(filestreampath))
- {
- Directory.CreateDirectory(filestreampath);
- }
- fileSystem.BasePath = filestreampath;
- });
- });
- });
- }
-
private static void ConfigureJson(ServiceConfigurationContext context)
{
//null: DTO的属性首字母保持大写
@@ -299,21 +249,6 @@ namespace Win.Sfs.SettleAccount
});
}
- private void ConfigureVirtualFileSystem(ServiceConfigurationContext context)
- {
- var hostingEnvironment = context.Services.GetHostingEnvironment();
-
- if (hostingEnvironment.IsDevelopment())
- {
- Configure(options =>
- {
- options.FileSets.ReplaceEmbeddedByPhysical(Path.Combine(hostingEnvironment.ContentRootPath, $"..{Path.DirectorySeparatorChar}SettleAccount.Domain"));
- options.FileSets.ReplaceEmbeddedByPhysical(Path.Combine(hostingEnvironment.ContentRootPath, $"..{Path.DirectorySeparatorChar}SettleAccount.Application.Contracts"));
- options.FileSets.ReplaceEmbeddedByPhysical(Path.Combine(hostingEnvironment.ContentRootPath, $"..{Path.DirectorySeparatorChar}SettleAccount.Application"));
- });
- }
- }
-
private void ConfigureAuthentication(ServiceConfigurationContext context, IConfiguration configuration)
{
var isAlwaysAllowAuthorization = configuration.GetValue("AuthServer:AlwaysAllowAuthorization");
@@ -381,7 +316,7 @@ namespace Win.Sfs.SettleAccount
{
Reference = new OpenApiReference {Type = ReferenceType.SecurityScheme, Id = "Bearer"}
},
- new string[] { }
+ Array.Empty()
}
});
});
@@ -427,28 +362,6 @@ namespace Win.Sfs.SettleAccount
});
}
- private void ConfigureCors(ServiceConfigurationContext context, IConfiguration configuration)
- {
- context.Services.AddCors(options =>
- {
- options.AddPolicy(DefaultCorsPolicyName, builder =>
- {
- builder
- .WithOrigins(
- configuration["App:CorsOrigins"]
- .Split(",", StringSplitOptions.RemoveEmptyEntries)
- .Select(o => o.RemovePostFix("/"))
- .ToArray()
- )
- .WithAbpExposedHeaders()
- .SetIsOriginAllowedToAllowWildcardSubdomains()
- .AllowAnyHeader()
- .AllowAnyMethod()
- .AllowCredentials();
- });
- });
- }
-
public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
var app = context.GetApplicationBuilder();
@@ -482,7 +395,7 @@ namespace Win.Sfs.SettleAccount
{
await scope.ServiceProvider
.GetRequiredService()
- .SeedAsync();
+ .SeedAsync().ConfigureAwait(false);
}
});
}
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Startup.cs b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Startup.cs
index 1c6494da..7c0464ce 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Startup.cs
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Startup.cs
@@ -19,85 +19,86 @@ using Win.Sfs.SettleAccount.Entities.BQ;
using Win.Sfs.SettleAccount.Entities.BQ.Syncs;
using Win.Sfs.SettleAccount.ExcelImporter;
-namespace Win.Sfs.SettleAccount;
-
-public class Startup
+namespace Win.Sfs.SettleAccount
{
- public Startup(IConfiguration configuration)
+ public class Startup
{
- Configuration = configuration;
- }
+ public Startup(IConfiguration configuration)
+ {
+ Configuration = configuration;
+ }
- public IConfiguration Configuration { get; }
+ public IConfiguration Configuration { get; }
- public void ConfigureServices(IServiceCollection services)
- {
- services.Configure(options => options.Level = CompressionLevel.Fastest);
- services.AddResponseCompression(options =>
- {
- options.EnableForHttps = true;
- options.Providers.Add();
- options.MimeTypes = ResponseCompressionDefaults.MimeTypes.Concat(new[] { "image/svg+xml" });
- });
- services.AddScheduler();
- services.AddCors(options =>
+ public void ConfigureServices(IServiceCollection services)
{
- options.AddPolicy("Default", builder =>
+ services.Configure(options => options.Level = CompressionLevel.Fastest);
+ services.AddResponseCompression(options =>
{
- builder.SetIsOriginAllowed(isOriginAllowed => true)
- .AllowAnyMethod()
- .AllowAnyHeader()
- .AllowCredentials();
+ options.EnableForHttps = true;
+ options.Providers.Add();
+ options.MimeTypes = ResponseCompressionDefaults.MimeTypes.Concat(new[] { "image/svg+xml" });
});
- });
- services.AddSingleton();
- services.AddSingleton();
- services.AddSignalR(o => o.EnableDetailedErrors = true);
- JobHostdService.AddService(services);
- services.AddSingleton();
- services.AddHostedService(o => o.GetRequiredService());
- services.AddRouting(options => options.ConstraintMap["slugify"] = typeof(SlugifyParameterTransformer));
- services.AddMvc(options => options.Conventions.Add(new RouteTokenTransformerConvention(new SlugifyParameterTransformer())));
- services.AddApplication();
- services.Configure(options =>
- {
- // Set the limit to 256 MB
- options.Limits.MaxRequestBodySize = 268435456;
- });
- //上传文件大小限制IIS设置
- services.Configure(options =>
- {
- options.MaxRequestBodySize = 268435456;
- options.AllowSynchronousIO = true;
- });
- }
+ services.AddScheduler();
+ services.AddCors(options =>
+ {
+ options.AddPolicy("Default", builder =>
+ {
+ builder.SetIsOriginAllowed(isOriginAllowed => true)
+ .AllowAnyMethod()
+ .AllowAnyHeader()
+ .AllowCredentials();
+ });
+ });
+ services.AddSingleton();
+ services.AddSingleton();
+ services.AddSignalR(o => o.EnableDetailedErrors = true);
+ JobHostdService.AddService(services);
+ services.AddSingleton();
+ services.AddHostedService(o => o.GetRequiredService());
+ services.AddRouting(options => options.ConstraintMap["slugify"] = typeof(SlugifyParameterTransformer));
+ services.AddMvc(options => options.Conventions.Add(new RouteTokenTransformerConvention(new SlugifyParameterTransformer())));
+ services.AddApplication();
+ services.Configure(options =>
+ {
+ // Set the limit to 256 MB
+ options.Limits.MaxRequestBodySize = 268435456;
+ });
+ //上传文件大小限制IIS设置
+ services.Configure(options =>
+ {
+ options.MaxRequestBodySize = 268435456;
+ options.AllowSynchronousIO = true;
+ });
+ }
- public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerFactory loggerFactory)
- {
- ExportImporter.ServiceProvider = app.ApplicationServices;
- app.UseCors("Default");
- app.UseResponseCompression();
- app.UseRouting();
- app.UseEndpoints(endpoints => endpoints.MapHub("/api/hub"));
- app.ApplicationServices.UseScheduler(scheduler =>
+ public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerFactory loggerFactory)
{
- scheduler.Schedule().EveryMinute();
- scheduler.Schedule().EveryMinute();
- });
- var contentTypeProvider = new FileExtensionContentTypeProvider();
- contentTypeProvider.Mappings.Add(".mjs", "text/javascript");
- app.UseStaticFiles(new StaticFileOptions { ContentTypeProvider = contentTypeProvider });
- app.InitializeApplication();
- }
+ ExportImporter.ServiceProvider = app.ApplicationServices;
+ app.UseCors("Default");
+ app.UseResponseCompression();
+ app.UseRouting();
+ app.UseEndpoints(endpoints => endpoints.MapHub("/api/hub"));
+ app.ApplicationServices.UseScheduler(scheduler =>
+ {
+ scheduler.Schedule().EveryMinute();
+ scheduler.Schedule().EveryMinute();
+ });
+ var contentTypeProvider = new FileExtensionContentTypeProvider();
+ contentTypeProvider.Mappings.Add(".mjs", "text/javascript");
+ app.UseStaticFiles(new StaticFileOptions { ContentTypeProvider = contentTypeProvider });
+ app.InitializeApplication();
+ }
- public class SlugifyParameterTransformer : IOutboundParameterTransformer
- {
- public string TransformOutbound(object value)
+ public class SlugifyParameterTransformer : IOutboundParameterTransformer
{
- if (value == null) { return null; }
- var str = value.ToString();
- if (string.IsNullOrEmpty(str)) { return null; }
- return Regex.Replace(str?.ToString(), "([a-z])([A-Z])", "$1-$2").ToLowerInvariant();
+ public string TransformOutbound(object value)
+ {
+ if (value == null) { return null; }
+ var str = value.ToString();
+ if (string.IsNullOrEmpty(str)) { return null; }
+ return Regex.Replace(str?.ToString(), "([a-z])([A-Z])", "$1-$2").ToLowerInvariant();
+ }
}
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Attributes/ExcelImporterHeadDescAttribute.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Attributes/ExcelImporterHeadDescAttribute.cs
index c0f8a911..a892b4cb 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Attributes/ExcelImporterHeadDescAttribute.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Attributes/ExcelImporterHeadDescAttribute.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
namespace Win.Sfs.SettleAccount.Attributes
{
@@ -12,7 +12,7 @@ namespace Win.Sfs.SettleAccount.Attributes
/// 行数
///
public int Row { get; set; }
-
+
///
/// 列数
///
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Bases/RequestInputBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Bases/RequestInputBase.cs
index 9e1496a0..59629f7f 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Bases/RequestInputBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Bases/RequestInputBase.cs
@@ -1,11 +1,11 @@
-using System.Collections.Generic;
+using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;
using Win.Sfs.Shared.Filter;
namespace Win.Sfs.SettleAccount.Bases
{
- public class RequestInputBase: PagedAndSortedResultRequestDto
+ public class RequestInputBase : PagedAndSortedResultRequestDto
{
///
/// 导出文件类型
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_CAN_SA_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_CAN_SA_DTO.cs
index d4dd2911..a52905aa 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_CAN_SA_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_CAN_SA_DTO.cs
@@ -1,13 +1,8 @@
-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 Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Bases;
-using Win.Sfs.Shared.Filter;
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
{
@@ -49,13 +44,13 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
[ExporterHeader(DisplayName = "下线日期")] //全部业务都显示
public DateTime SettleDate { get; set; }
[ExporterHeader(DisplayName = "发票号")] //全部业务都显示
- public string InvBillNum { get; set; }
+ public string InvBillNum { get; set; }
[ExporterHeader(DisplayName = "客户零件号")] //全部业务都显示
public string LU { get; set; }
[ExporterHeader(DisplayName = "厂内零件号")] //全部业务都显示 (查询条件)
public string PartCode { get; set; }
[ExporterHeader(DisplayName = "零件描述")] //全部业务都显示
- public string MaterialDesc { get; set; }
+ public string MaterialDesc { get; set; }
[ExporterHeader(DisplayName = "生产码")] //全部业务都显示 JIS业务叫生产码,其他业务叫标识号 (查询条件)
public string PN { get; set; }
[ExporterHeader(DisplayName = "结算数量")] //全部业务都显示
@@ -70,7 +65,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
[ExporterHeader(DisplayName = "SA号")]
public string ContractDocID { set; get; }
-
///
/// 版本
///
@@ -82,7 +76,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
///
/// 结算单号(发票分组号)
///
-
+
public string InvGroupNum { get; set; }
///
/// 金额
@@ -92,7 +86,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
public class BBAC_CAN_SA_DETAIL_EXP_DTO
{
-
[ExporterHeader(DisplayName = "关联结算单号")] //全部业务都有显示
public string SettleBillNum { get; set; }
[ExporterHeader(DisplayName = "发票分组号")] //全部业务都显示 (默认)
@@ -183,24 +176,20 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
public class BBAC_CAN_SA_DETAIL_REQ_DTO : RequestInputBase
{
-
//[Display(Name = "发票分组号")]
//public string BillNum { get; set; }
-
-
+
//[Display(Name = "LU")]
//public string LU { get; set; }
//[Display(Name = "生产码")]
//public string PN { get; set; }
-
+
//[Display(Name = "结算数量")]
//public decimal Qty { get; set; }
//[Display(Name = "结算分组号")]
//public string GroupNum { get; set; }
-
- }
-
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_NOT_SA_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_NOT_SA_DTO.cs
index 2894400f..5845e3a0 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_NOT_SA_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_NOT_SA_DTO.cs
@@ -1,17 +1,11 @@
-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 Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Bases;
-using Win.Sfs.Shared.Filter;
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
{
-
+
public class BBAC_NOT_SA_DETAIL_DTO : EntityDto
{
///
@@ -21,8 +15,8 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
///
///工厂地点
///
-
- public string Site { get; set; }
+
+ public string Site { get; set; }
///
/// 版本
///
@@ -65,9 +59,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
///
public string PartCode { get; set; }
-
-
-
}
public class BBAC_NOT_SA_DETAIL_EXP_DTO
{
@@ -110,7 +101,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
[ExporterHeader(DisplayName = "物料描述")]
public string MaterialDesc { get; set; }
-
[ExporterHeader(DisplayName = "生产码")]
public string PN { get; set; }
public string KeyCode { get; set; }
@@ -130,7 +120,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
//[Display(Name = "关联结算单号")]
//public string SettleBillNum { get; set; }
-
+
////[Display(Name = "业务类别")]
////public string Category { get; set; }
////[Display(Name = "是否退货")]
@@ -159,9 +149,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
//[Display(Name = "结算分组号")]
//public string GroupNum { get; set; }
-
- }
-
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_PD_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_PD_DTO.cs
index 38f59960..6075dff5 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_PD_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_PD_DTO.cs
@@ -1,10 +1,8 @@
-using Magicodes.ExporterAndImporter.Core;
using System;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
+using Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Bases;
-using Win.Sfs.Shared.Filter;
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
{
@@ -39,12 +37,9 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
[Display(Name = "地点")]
public string Site { get; set; }
-
- [Display(Name="状态")]
+ [Display(Name = "状态")]
public EnumBillState State { set; get; }
-
-
}
public class BBAC_PD_EXP_DTO
{
@@ -142,8 +137,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
/// 替换生产码
///
public string REPN { get; set; }
-
-
+
///
/// 客户零件号
///
@@ -240,9 +234,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
///
public string BillNum { get; set; }
-
}
}
-
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_SA_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_SA_DTO.cs
index fd220de2..b1e1669e 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_SA_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_SA_DTO.cs
@@ -1,239 +1,238 @@
using System;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using System.Linq;
using Magicodes.ExporterAndImporter.Core;
using Microsoft.AspNetCore.Http;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Domain.Entities.Auditing;
-namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos;
-
-///
-/// BBAC结算单
-///
-public class BBAC_SA_DTO : EntityDto
-{
- ///
- /// 期间
- ///
- [Display(Name = "期间")]
- public int Version { get; set; }
-
- ///
- /// 结算单据
- ///
- [Display(Name = "结算单据")]
- public string BillNum { get; set; }
-
- ///
- /// 出库单号
- ///
- [Display(Name = "出库单号")]
- public string DNBillNum { get; set; }
-
- ///
- /// 1、新建 2、已有出库3、已有扣减寄售库
- ///
- [Display(Name = "状态")]
- public string State { get; set; }
-
- ///
- /// 明细记录行数
- ///
- [Display(Name = "明细记录行数")]
- public string RecordCount { get; set; }
-
- ///
- /// 工厂地点
- ///
- [Display(Name = "工厂地点")]
- public string Site { get; set; }
-
- ///
- /// 业务类型
- ///
- [Display(Name = "业务类型")]
- public EnumBusinessType BusinessType { get; set; }
-}
-
-///
-/// BBAC结算明细
-///
-public class BBAC_SA_DETAIL_DTO : AuditedAggregateRoot
-{
- ///
- /// 结算单
- ///
- public string BillNum { set; get; }
- ///
- /// 期间
- ///
- public int Version { set; get; }
- ///
- /// 结算分组号
- ///
- public string GroupNum { get; set; }
- ///
- /// 生产号
- ///
- public string PN { get; set; }
- ///
- /// 客户物料号
- ///
- public string LU { get; set; }
- ///
- /// 数量
- ///
- public string Qty { get; set; }
- ///
- /// 结算日期
- ///
- public string SettleDate { set; get; }
- ///
- /// 单价
- ///
- public decimal Price { set; get; }
- ///
- /// 厂内物料号
- ///
- public string PartCode { get; set; }
-}
-
-///
-/// BBAC结算导入请求
-///
-public class BBACSaImportRequestDto
-{
- ///
- /// 文件
- ///
- public IFormFileCollection Files { get; set; }
- ///
- /// 期间
- ///
- [Display(Name = "期间")]
- public int Version { get; set; }
- ///
- /// 地点
- ///
- [Display(Name = "地点")]
- [Required(ErrorMessage = "{0}必须填写")]
- public string Site { get; set; }
-}
-
-///
-/// BBAC结算明细导入
-///
-[Importer(HeaderRowIndex = 3)]
-public class BBAC_SA_DETAIL_IMPORT_DTO
-{
- ///
- /// 结算日期
- ///
- [Display(Name = "Posting Date")]
- [ImporterHeader(Name = "Posting Date")]
- public string SettleDate { set; get; }
- ///
- /// 结算分组号
- ///
- [Display(Name = "Reference")]
- [Required(ErrorMessage = "{0}不能为空")]
- [ImporterHeader(Name = "Reference")]
- public string GroupNum { get; set; }
- ///
- /// 客户零件号
- ///
- [Display(Name = "Material")]
- [Required(ErrorMessage = "{0}不能为空")]
- [ImporterHeader(Name = "Material")]
- public string LU { get; set; }
- ///
- /// 数量
- ///
- [Display(Name = "结算数量")]
- [ImporterHeader(Name = "GR Quantity")]
- public decimal Qty { get; set; }
- ///
- /// 生产号
- ///
- [Display(Name = "External Call Number")]
- [Required(ErrorMessage = "{0}不能为空")]
- [ImporterHeader(Name = "External Call Number")]
- public string PN { get; set; }
- ///
- /// Movement Type
- /// MovementType = 967,代表退货需要标记为负数
- /// MovementType = 966,代表正常发货标记正数
- ///
- [Display(Name = "Movement Type")]
- [ImporterHeader(Name = "Movement Type")]
- public string MovementType { get; set; }
- ///
- /// Contract Doc ID
- ///
- [Display(Name = "Contract Doc ID")]
- [ImporterHeader(Name = "Contract Doc ID")]
- public string ContractDocID { get; set; }
-}
-
-///
-/// 结算明细导出请求
-///
-public class BBAC_SA_DETAIL_EXPORT_REQUEST_DTO
-{
- ///
- /// 结算单号
- ///
- [Display(Name = "结算单号")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string BillNum { set; get; }
-}
-
-///
-/// 结算明细导出
-///
-public class BBAC_SA_DETAIL_EXPORT_DTO
+namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
{
///
- /// 结算单号
- ///
- [Display(Name = "结算单号")]
- [ExporterHeader(DisplayName = "结算单号")]
- public string BillNum { set; get; }
-
- ///
- /// 结算日期
- ///
- [Display(Name = "结算日期")]
- [ExporterHeader(DisplayName = "结算日期")]
- public DateTime SettleDate { set; get; }
-
- ///
- /// 发货单号
- ///
- [Display(Name = "发货单号")]
- [ExporterHeader(DisplayName = "发货单号")]
- public string PN { get; set; }
-
- ///
- /// 零件号
- ///
- [Display(Name = "零件号")]
- [ExporterHeader(DisplayName = "零件号")]
- public string LU { get; set; }
-
- ///
- /// 数量
- ///
- [Display(Name = "数量")]
- [ExporterHeader(DisplayName = "数量")]
- public decimal Qty { get; set; }
-
- ///
- /// 结算分组
- ///
- [Display(Name = "结算分组")]
- [ExporterHeader(DisplayName = "结算分组")]
- public string GroupNum { get; set; }
+ /// BBAC结算单
+ ///
+ public class BBAC_SA_DTO : EntityDto
+ {
+ ///
+ /// 期间
+ ///
+ [Display(Name = "期间")]
+ public int Version { get; set; }
+
+ ///
+ /// 结算单据
+ ///
+ [Display(Name = "结算单据")]
+ public string BillNum { get; set; }
+
+ ///
+ /// 出库单号
+ ///
+ [Display(Name = "出库单号")]
+ public string DNBillNum { get; set; }
+
+ ///
+ /// 1、新建 2、已有出库3、已有扣减寄售库
+ ///
+ [Display(Name = "状态")]
+ public string State { get; set; }
+
+ ///
+ /// 明细记录行数
+ ///
+ [Display(Name = "明细记录行数")]
+ public string RecordCount { get; set; }
+
+ ///
+ /// 工厂地点
+ ///
+ [Display(Name = "工厂地点")]
+ public string Site { get; set; }
+
+ ///
+ /// 业务类型
+ ///
+ [Display(Name = "业务类型")]
+ public EnumBusinessType BusinessType { get; set; }
+ }
+
+ ///
+ /// BBAC结算明细
+ ///
+ public class BBAC_SA_DETAIL_DTO : AuditedAggregateRoot
+ {
+ ///
+ /// 结算单
+ ///
+ public string BillNum { set; get; }
+ ///
+ /// 期间
+ ///
+ public int Version { set; get; }
+ ///
+ /// 结算分组号
+ ///
+ public string GroupNum { get; set; }
+ ///
+ /// 生产号
+ ///
+ public string PN { get; set; }
+ ///
+ /// 客户物料号
+ ///
+ public string LU { get; set; }
+ ///
+ /// 数量
+ ///
+ public string Qty { get; set; }
+ ///
+ /// 结算日期
+ ///
+ public string SettleDate { set; get; }
+ ///
+ /// 单价
+ ///
+ public decimal Price { set; get; }
+ ///
+ /// 厂内物料号
+ ///
+ public string PartCode { get; set; }
+ }
+
+ ///
+ /// BBAC结算导入请求
+ ///
+ public class BBACSaImportRequestDto
+ {
+ ///
+ /// 文件
+ ///
+ public IFormFileCollection Files { get; set; }
+ ///
+ /// 期间
+ ///
+ [Display(Name = "期间")]
+ public int Version { get; set; }
+ ///
+ /// 地点
+ ///
+ [Display(Name = "地点")]
+ [Required(ErrorMessage = "{0}必须填写")]
+ public string Site { get; set; }
+ }
+
+ ///
+ /// BBAC结算明细导入
+ ///
+ [Importer(HeaderRowIndex = 3)]
+ public class BBAC_SA_DETAIL_IMPORT_DTO
+ {
+ ///
+ /// 结算日期
+ ///
+ [Display(Name = "Posting Date")]
+ [ImporterHeader(Name = "Posting Date")]
+ public string SettleDate { set; get; }
+ ///
+ /// 结算分组号
+ ///
+ [Display(Name = "Reference")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ [ImporterHeader(Name = "Reference")]
+ public string GroupNum { get; set; }
+ ///
+ /// 客户零件号
+ ///
+ [Display(Name = "Material")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ [ImporterHeader(Name = "Material")]
+ public string LU { get; set; }
+ ///
+ /// 数量
+ ///
+ [Display(Name = "结算数量")]
+ [ImporterHeader(Name = "GR Quantity")]
+ public decimal Qty { get; set; }
+ ///
+ /// 生产号
+ ///
+ [Display(Name = "External Call Number")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ [ImporterHeader(Name = "External Call Number")]
+ public string PN { get; set; }
+ ///
+ /// Movement Type
+ /// MovementType = 967,代表退货需要标记为负数
+ /// MovementType = 966,代表正常发货标记正数
+ ///
+ [Display(Name = "Movement Type")]
+ [ImporterHeader(Name = "Movement Type")]
+ public string MovementType { get; set; }
+ ///
+ /// Contract Doc ID
+ ///
+ [Display(Name = "Contract Doc ID")]
+ [ImporterHeader(Name = "Contract Doc ID")]
+ public string ContractDocID { get; set; }
+ }
+
+ ///
+ /// 结算明细导出请求
+ ///
+ public class BBAC_SA_DETAIL_EXPORT_REQUEST_DTO
+ {
+ ///
+ /// 结算单号
+ ///
+ [Display(Name = "结算单号")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string BillNum { set; get; }
+ }
+
+ ///
+ /// 结算明细导出
+ ///
+ public class BBAC_SA_DETAIL_EXPORT_DTO
+ {
+ ///
+ /// 结算单号
+ ///
+ [Display(Name = "结算单号")]
+ [ExporterHeader(DisplayName = "结算单号")]
+ public string BillNum { set; get; }
+
+ ///
+ /// 结算日期
+ ///
+ [Display(Name = "结算日期")]
+ [ExporterHeader(DisplayName = "结算日期")]
+ public DateTime SettleDate { set; get; }
+
+ ///
+ /// 发货单号
+ ///
+ [Display(Name = "发货单号")]
+ [ExporterHeader(DisplayName = "发货单号")]
+ public string PN { get; set; }
+
+ ///
+ /// 零件号
+ ///
+ [Display(Name = "零件号")]
+ [ExporterHeader(DisplayName = "零件号")]
+ public string LU { get; set; }
+
+ ///
+ /// 数量
+ ///
+ [Display(Name = "数量")]
+ [ExporterHeader(DisplayName = "数量")]
+ public decimal Qty { get; set; }
+
+ ///
+ /// 结算分组
+ ///
+ [Display(Name = "结算分组")]
+ [ExporterHeader(DisplayName = "结算分组")]
+ public string GroupNum { get; set; }
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_SE_DETAIL_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_SE_DETAIL_DTO.cs
index 89f9ae0d..4f272903 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_SE_DETAIL_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_SE_DETAIL_DTO.cs
@@ -1,436 +1,437 @@
-using Magicodes.ExporterAndImporter.Core;
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
+using Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Entities.BQ.Syncs;
-namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos;
-
-///
-/// BBAC发运
-///
-public class BBAC_SE_DETAIL_DTO : EntityDto
+namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
{
///
- /// 期间
- ///
- public int Version { set; get; }
- ///
- /// 发货时间
- ///
- public DateTime ShippingDate { set; get; }
- ///
- /// 发运单号
- ///
- public string WmsBillNum { set; get; }
- ///
- /// 客户零件号
- ///
- public string LU { get; set; }
- ///
- /// 厂内零件号
- ///
- public string FactoryPartCode { get; set; }
- ///
- /// 生产号
- ///
- public string PN { get; set; }
- ///
- /// 组合键值(PN+LU)
- ///
- public string KeyCode { get; set; }
- ///
- /// 数量
- ///
- public decimal Qty { get; set; }
- ///
- /// UID
- ///
- [Display(Name = "UID")]
- [DisplayName("UID")]
- public long UID { get; set; }
- ///
- /// JIT订单号
- ///
- [Display(Name = "JIT订单号")]
- [DisplayName("JIT订单号")]
- public string JISNum { get; set; }
- ///
- /// JIT排序生产码
- ///
- [Display(Name = "JIT排序生产码")]
- public string VinCode { get; set; }
- ///
- /// JIT排序生产码类型
- ///
- [Display(Name = "JIT排序生产码类型")]
- public string CodeType { get; set; }
- ///
- /// 订单零件号
- ///
- [Display(Name = "订单零件号")]
- public string PartCode { get; set; }
- ///
- /// 订单零件号
- ///
- [Display(Name = "订单零件号")]
- public string RealPartCode { get; set; }
- ///
- /// 批次
- ///
- [Display(Name = "批次")]
- public string Batch { get; set; }
- ///
- /// 客户零件号
- ///
- [Display(Name = "客户零件号")]
- public string CustPartCode { get; set; }
- ///
- /// 订单序号
- ///
- [Display(Name = "订单序号")]
- public string Seq { get; set; }
- ///
- /// 订单时间
- ///
- [Display(Name = "订单时间")]
- public DateTime AssembleData { get; set; }
- ///
- /// 发货条码
- ///
- [Display(Name = "发货条码")]
- public string DeliverCode { get; set; }
- ///
- /// 发货单号
- ///
- [Display(Name = "发货单号")]
- public string BillNum { get; set; }
- ///
- /// 发货时间
- ///
- [Display(Name = "发货时间")]
- public DateTime? BillTime { get; set; }
- ///
- /// 发货人
- ///
- [Display(Name = "发货人")]
- public string Oper { get; set; }
- ///
- /// 客户位置
- ///
- [Display(Name = "客户位置")]
- public string Position { get; set; }
- ///
- /// 工厂
- ///
- [Display(Name = "工厂")]
- public string Factory { get; set; }
- ///
- /// MES配置码
- ///
- [Display(Name = "MES配置码")]
- public string MESConfigCode { get; set; }
- ///
- /// 目标库位
- ///
- [Display(Name = "目标库位")]
- public string ToLoc { get; set; }
- ///
- /// 单据类型
- ///
- public EnumBillType BillType { get; set; }
- ///
- /// 子单据类型
- ///
- [Display(Name = "子单据类型")]
- public EnumSubBillType SubBillType { get; set; }
- ///
- /// 事务类型
- ///
- [Display(Name = "事务类型")]
- public EnumDelTransType TransType { get; set; }
- ///
- /// 发运主类型
- ///
- [Display(Name = "发运主类型")]
- public EnumDeliverBjBmpBillType DeliverBillType { get; set; }
- ///
- /// 发运子类型
- ///
- [Display(Name = "发运子类型")]
- public EnumDeliverSubBillType DeliverSubBillType { get; set; }
- ///
- /// 单据性质
- ///
- [Display(Name = "单据性质")]
- public string BillCharacter { get; set; }
- ///
- /// 原生产码
- ///
- [Display(Name = "原生产码")]
- public string OrigiCode { get; set; }
- ///
- /// 描述
- ///
- [Display(Name = "描述")]
- public string PartDesc { get; set; }
- ///
- /// 备注
- ///
- [Display(Name = "备注")]
- public string Remark { get; set; }
- ///
- /// 业务类型
- ///
- [Display(Name = "业务类型")]
- public EnumProTpe ProType { get; set; }
- ///
- /// JIS排序单号
- ///
- [Display(Name = "JIS排序单号")]
- public string OrderNum { get; set; }
- ///
- /// JIS实际生产码
- ///
- [Display(Name = "JIS实际生产码")]
- public string RealCode { get; set; }
- ///
- /// 来源库位
- ///
- [Display(Name = "来源库位")]
- public string FromLoc { get; set; }
- ///
- /// 参照订单生产码
- ///
- [Display(Name = "参照订单生产码")]
- public string RefVinCode { get; set; }
- ///
- /// 发货关联单号
- ///
- [Display(Name = "发货关联单号")]
- public string RefBillNum { get; set; }
- ///
- /// Erp目标库位
- ///
- [Display(Name = "Erp目标库位")]
- public string ErpToLoc { get; set; }
- ///
- /// 塑件唯一码
- ///
- [Display(Name = "塑件唯一码")]
- public string UniqueCode { get; set; }
- ///
- /// PJS顺序号
- ///
- [Display(Name = "PJS顺序号")]
- public string PjsNum { get; set; }
- ///
- /// 虚拟小总成
- ///
- [Display(Name = "虚拟小总成")]
- public string MatchNumber { get; set; }
- ///
- /// 状态
- ///
- [Display(Name = "状态")]
- public EnumBillState State { get; set; }
- ///
- /// 创建时间
- ///
- [Display(Name = "创建时间")]
- public DateTime CreateTime { get; set; }
- ///
- /// 是否有EDI数据
- ///
- [Display(Name = "是否有EDI数据")]
- public bool IsHaveEdiData { get; set; }
-}
+ /// BBAC发运
+ ///
+ public class BBAC_SE_DETAIL_DTO : EntityDto
+ {
+ ///
+ /// 期间
+ ///
+ public int Version { set; get; }
+ ///
+ /// 发货时间
+ ///
+ public DateTime ShippingDate { set; get; }
+ ///
+ /// 发运单号
+ ///
+ public string WmsBillNum { set; get; }
+ ///
+ /// 客户零件号
+ ///
+ public string LU { get; set; }
+ ///
+ /// 厂内零件号
+ ///
+ public string FactoryPartCode { get; set; }
+ ///
+ /// 生产号
+ ///
+ public string PN { get; set; }
+ ///
+ /// 组合键值(PN+LU)
+ ///
+ public string KeyCode { get; set; }
+ ///
+ /// 数量
+ ///
+ public decimal Qty { get; set; }
+ ///
+ /// UID
+ ///
+ [Display(Name = "UID")]
+ [DisplayName("UID")]
+ public long UID { get; set; }
+ ///
+ /// JIT订单号
+ ///
+ [Display(Name = "JIT订单号")]
+ [DisplayName("JIT订单号")]
+ public string JISNum { get; set; }
+ ///
+ /// JIT排序生产码
+ ///
+ [Display(Name = "JIT排序生产码")]
+ public string VinCode { get; set; }
+ ///
+ /// JIT排序生产码类型
+ ///
+ [Display(Name = "JIT排序生产码类型")]
+ public string CodeType { get; set; }
+ ///
+ /// 订单零件号
+ ///
+ [Display(Name = "订单零件号")]
+ public string PartCode { get; set; }
+ ///
+ /// 订单零件号
+ ///
+ [Display(Name = "订单零件号")]
+ public string RealPartCode { get; set; }
+ ///
+ /// 批次
+ ///
+ [Display(Name = "批次")]
+ public string Batch { get; set; }
+ ///
+ /// 客户零件号
+ ///
+ [Display(Name = "客户零件号")]
+ public string CustPartCode { get; set; }
+ ///
+ /// 订单序号
+ ///
+ [Display(Name = "订单序号")]
+ public string Seq { get; set; }
+ ///
+ /// 订单时间
+ ///
+ [Display(Name = "订单时间")]
+ public DateTime AssembleData { get; set; }
+ ///
+ /// 发货条码
+ ///
+ [Display(Name = "发货条码")]
+ public string DeliverCode { get; set; }
+ ///
+ /// 发货单号
+ ///
+ [Display(Name = "发货单号")]
+ public string BillNum { get; set; }
+ ///
+ /// 发货时间
+ ///
+ [Display(Name = "发货时间")]
+ public DateTime? BillTime { get; set; }
+ ///
+ /// 发货人
+ ///
+ [Display(Name = "发货人")]
+ public string Oper { get; set; }
+ ///
+ /// 客户位置
+ ///
+ [Display(Name = "客户位置")]
+ public string Position { get; set; }
+ ///
+ /// 工厂
+ ///
+ [Display(Name = "工厂")]
+ public string Factory { get; set; }
+ ///
+ /// MES配置码
+ ///
+ [Display(Name = "MES配置码")]
+ public string MESConfigCode { get; set; }
+ ///
+ /// 目标库位
+ ///
+ [Display(Name = "目标库位")]
+ public string ToLoc { get; set; }
+ ///
+ /// 单据类型
+ ///
+ public EnumBillType BillType { get; set; }
+ ///
+ /// 子单据类型
+ ///
+ [Display(Name = "子单据类型")]
+ public EnumSubBillType SubBillType { get; set; }
+ ///
+ /// 事务类型
+ ///
+ [Display(Name = "事务类型")]
+ public EnumDelTransType TransType { get; set; }
+ ///
+ /// 发运主类型
+ ///
+ [Display(Name = "发运主类型")]
+ public EnumDeliverBjBmpBillType DeliverBillType { get; set; }
+ ///
+ /// 发运子类型
+ ///
+ [Display(Name = "发运子类型")]
+ public EnumDeliverSubBillType DeliverSubBillType { get; set; }
+ ///
+ /// 单据性质
+ ///
+ [Display(Name = "单据性质")]
+ public string BillCharacter { get; set; }
+ ///
+ /// 原生产码
+ ///
+ [Display(Name = "原生产码")]
+ public string OrigiCode { get; set; }
+ ///
+ /// 描述
+ ///
+ [Display(Name = "描述")]
+ public string PartDesc { get; set; }
+ ///
+ /// 备注
+ ///
+ [Display(Name = "备注")]
+ public string Remark { get; set; }
+ ///
+ /// 业务类型
+ ///
+ [Display(Name = "业务类型")]
+ public EnumProTpe ProType { get; set; }
+ ///
+ /// JIS排序单号
+ ///
+ [Display(Name = "JIS排序单号")]
+ public string OrderNum { get; set; }
+ ///
+ /// JIS实际生产码
+ ///
+ [Display(Name = "JIS实际生产码")]
+ public string RealCode { get; set; }
+ ///
+ /// 来源库位
+ ///
+ [Display(Name = "来源库位")]
+ public string FromLoc { get; set; }
+ ///
+ /// 参照订单生产码
+ ///
+ [Display(Name = "参照订单生产码")]
+ public string RefVinCode { get; set; }
+ ///
+ /// 发货关联单号
+ ///
+ [Display(Name = "发货关联单号")]
+ public string RefBillNum { get; set; }
+ ///
+ /// Erp目标库位
+ ///
+ [Display(Name = "Erp目标库位")]
+ public string ErpToLoc { get; set; }
+ ///
+ /// 塑件唯一码
+ ///
+ [Display(Name = "塑件唯一码")]
+ public string UniqueCode { get; set; }
+ ///
+ /// PJS顺序号
+ ///
+ [Display(Name = "PJS顺序号")]
+ public string PjsNum { get; set; }
+ ///
+ /// 虚拟小总成
+ ///
+ [Display(Name = "虚拟小总成")]
+ public string MatchNumber { get; set; }
+ ///
+ /// 状态
+ ///
+ [Display(Name = "状态")]
+ public EnumBillState State { get; set; }
+ ///
+ /// 创建时间
+ ///
+ [Display(Name = "创建时间")]
+ public DateTime CreateTime { get; set; }
+ ///
+ /// 是否有EDI数据
+ ///
+ [Display(Name = "是否有EDI数据")]
+ public bool IsHaveEdiData { get; set; }
+ }
-///
-/// 导出
-///
-public class BBAC_SE_DETAIL_EXPORT_DTO
-{
///
- /// 发货单号
+ /// 导出
///
- [Display(Name = "发货单号")]
- [ExporterHeader(DisplayName = "发货单号")]
- public string WmsBillNum { get; set; }
+ public class BBAC_SE_DETAIL_EXPORT_DTO
+ {
+ ///
+ /// 发货单号
+ ///
+ [Display(Name = "发货单号")]
+ [ExporterHeader(DisplayName = "发货单号")]
+ public string WmsBillNum { get; set; }
- ///
- /// 单据编号
- ///
- [Display(Name = "单据编号")]
- [ExporterHeader(DisplayName = "单据编号")]
- public string Num { get; set; }
+ ///
+ /// 单据编号
+ ///
+ [Display(Name = "单据编号")]
+ [ExporterHeader(DisplayName = "单据编号")]
+ public string Num { get; set; }
- ///
- /// 发货时间
- ///
- [Display(Name = "发货时间")]
- [ExporterHeader(DisplayName = "发货时间")]
- public DateTime BillTime { get; set; }
+ ///
+ /// 发货时间
+ ///
+ [Display(Name = "发货时间")]
+ [ExporterHeader(DisplayName = "发货时间")]
+ public DateTime BillTime { get; set; }
- ///
- /// 发货人
- ///
- [Display(Name = "发货人")]
- [ExporterHeader(DisplayName = "发货人")]
- public string Oper { get; set; }
+ ///
+ /// 发货人
+ ///
+ [Display(Name = "发货人")]
+ [ExporterHeader(DisplayName = "发货人")]
+ public string Oper { get; set; }
- ///
- /// 排序单号
- ///
- [Display(Name = "排序单号")]
- [ExporterHeader(DisplayName = "排序单号")]
- public string OrderNum { get; set; }
+ ///
+ /// 排序单号
+ ///
+ [Display(Name = "排序单号")]
+ [ExporterHeader(DisplayName = "排序单号")]
+ public string OrderNum { get; set; }
- ///
- /// 订单序号
- ///
- [Display(Name = "订单序号")]
- [ExporterHeader(DisplayName = "订单序号")]
- public string Seq { get; set; }
+ ///
+ /// 订单序号
+ ///
+ [Display(Name = "订单序号")]
+ [ExporterHeader(DisplayName = "订单序号")]
+ public string Seq { get; set; }
- ///
- /// 实际生产码
- ///
- [Display(Name = "实际生产码")]
- [ExporterHeader(DisplayName = "实际生产码")]
- public string RealCode { get; set; }
+ ///
+ /// 实际生产码
+ ///
+ [Display(Name = "实际生产码")]
+ [ExporterHeader(DisplayName = "实际生产码")]
+ public string RealCode { get; set; }
- ///
- /// 订单生产码
- ///
- [Display(Name = "订单生产码")]
- [ExporterHeader(DisplayName = "订单生产码")]
- public string VinCode { get; set; }
+ ///
+ /// 订单生产码
+ ///
+ [Display(Name = "订单生产码")]
+ [ExporterHeader(DisplayName = "订单生产码")]
+ public string VinCode { get; set; }
- ///
- /// 生产码类型
- ///
- [Display(Name = "生产码类型")]
- [ExporterHeader(DisplayName = "生产码类型")]
- public string CodeType { get; set; }
+ ///
+ /// 生产码类型
+ ///
+ [Display(Name = "生产码类型")]
+ [ExporterHeader(DisplayName = "生产码类型")]
+ public string CodeType { get; set; }
- ///
- /// 实际零件号
- ///
- [Display(Name = "实际零件号")]
- [ExporterHeader(DisplayName = "实际零件号")]
- public string RealPartCode { get; set; }
+ ///
+ /// 实际零件号
+ ///
+ [Display(Name = "实际零件号")]
+ [ExporterHeader(DisplayName = "实际零件号")]
+ public string RealPartCode { get; set; }
- ///
- /// 零件号
- ///
- [Display(Name = "零件号")]
- [ExporterHeader(DisplayName = "零件号")]
- public string PartCode { get; set; }
+ ///
+ /// 零件号
+ ///
+ [Display(Name = "零件号")]
+ [ExporterHeader(DisplayName = "零件号")]
+ public string PartCode { get; set; }
- ///
- /// 批次
- ///
- [Display(Name = "批次")]
- [ExporterHeader(DisplayName = "批次")]
- public string Batch { get; set; }
+ ///
+ /// 批次
+ ///
+ [Display(Name = "批次")]
+ [ExporterHeader(DisplayName = "批次")]
+ public string Batch { get; set; }
- ///
- /// MES配置码
- ///
- [Display(Name = "MES配置码")]
- [ExporterHeader(DisplayName = "MES配置码")]
- public string MESConfigCode { get; set; }
+ ///
+ /// MES配置码
+ ///
+ [Display(Name = "MES配置码")]
+ [ExporterHeader(DisplayName = "MES配置码")]
+ public string MESConfigCode { get; set; }
- ///
- /// 来源库位
- ///
- [Display(Name = "来源库位")]
- [ExporterHeader(DisplayName = "来源库位")]
- public string FromLoc { get; set; }
+ ///
+ /// 来源库位
+ ///
+ [Display(Name = "来源库位")]
+ [ExporterHeader(DisplayName = "来源库位")]
+ public string FromLoc { get; set; }
- ///
- /// 目标库位
- ///
- [Display(Name = "目标库位")]
- [ExporterHeader(DisplayName = "目标库位")]
- public string ToLoc { get; set; }
+ ///
+ /// 目标库位
+ ///
+ [Display(Name = "目标库位")]
+ [ExporterHeader(DisplayName = "目标库位")]
+ public string ToLoc { get; set; }
- ///
- /// 参照订单生产码
- ///
- [Display(Name = "参照订单生产码")]
- [ExporterHeader(DisplayName = "参照订单生产码")]
- public string RefVinCode { get; set; }
+ ///
+ /// 参照订单生产码
+ ///
+ [Display(Name = "参照订单生产码")]
+ [ExporterHeader(DisplayName = "参照订单生产码")]
+ public string RefVinCode { get; set; }
- ///
- /// 单据性质
- ///
- [Display(Name = "单据性质")]
- [ExporterHeader(DisplayName = "单据性质")]
- public string BillCharacter { get; set; }
+ ///
+ /// 单据性质
+ ///
+ [Display(Name = "单据性质")]
+ [ExporterHeader(DisplayName = "单据性质")]
+ public string BillCharacter { get; set; }
- ///
- /// 发货关联单号
- ///
- [Display(Name = "发货关联单号")]
- [ExporterHeader(DisplayName = "发货关联单号")]
- public string RefBillNum { get; set; }
+ ///
+ /// 发货关联单号
+ ///
+ [Display(Name = "发货关联单号")]
+ [ExporterHeader(DisplayName = "发货关联单号")]
+ public string RefBillNum { get; set; }
- ///
- /// Erp目标库位
- ///
- [Display(Name = "Erp目标库位")]
- [ExporterHeader(DisplayName = "Erp目标库位")]
- public string ErpToLoc { get; set; }
+ ///
+ /// Erp目标库位
+ ///
+ [Display(Name = "Erp目标库位")]
+ [ExporterHeader(DisplayName = "Erp目标库位")]
+ public string ErpToLoc { get; set; }
- ///
- /// 原生产码
- ///
- [Display(Name = "原生产码")]
- [ExporterHeader(DisplayName = "原生产码")]
- public string OrigiCode { get; set; }
+ ///
+ /// 原生产码
+ ///
+ [Display(Name = "原生产码")]
+ [ExporterHeader(DisplayName = "原生产码")]
+ public string OrigiCode { get; set; }
- ///
- /// 备注
- ///
- [Display(Name = "备注")]
- [ExporterHeader(DisplayName = "备注")]
- public string Remark { get; set; }
+ ///
+ /// 备注
+ ///
+ [Display(Name = "备注")]
+ [ExporterHeader(DisplayName = "备注")]
+ public string Remark { get; set; }
- ///
- /// 塑件唯一码
- ///
- [Display(Name = "塑件唯一码")]
- [ExporterHeader(DisplayName = "塑件唯一码")]
- public string UniqueCode { get; set; }
+ ///
+ /// 塑件唯一码
+ ///
+ [Display(Name = "塑件唯一码")]
+ [ExporterHeader(DisplayName = "塑件唯一码")]
+ public string UniqueCode { get; set; }
- ///
- /// PJS顺序号
- ///
- [Display(Name = "PJS顺序号")]
- [ExporterHeader(DisplayName = "PJS顺序号")]
- public string PjsNum { get; set; }
+ ///
+ /// PJS顺序号
+ ///
+ [Display(Name = "PJS顺序号")]
+ [ExporterHeader(DisplayName = "PJS顺序号")]
+ public string PjsNum { get; set; }
- ///
- /// 虚拟小总成
- ///
- [Display(Name = "虚拟小总成")]
- [ExporterHeader(DisplayName = "虚拟小总成")]
- public string MatchNumber { get; set; }
+ ///
+ /// 虚拟小总成
+ ///
+ [Display(Name = "虚拟小总成")]
+ [ExporterHeader(DisplayName = "虚拟小总成")]
+ public string MatchNumber { get; set; }
- ///
- /// 发货条码
- ///
- [Display(Name = "发货条码")]
- [ExporterHeader(DisplayName = "发货条码")]
- public string DeliverCode { get; set; }
+ ///
+ /// 发货条码
+ ///
+ [Display(Name = "发货条码")]
+ [ExporterHeader(DisplayName = "发货条码")]
+ public string DeliverCode { get; set; }
- ///
- /// 客户位置
- ///
- [Display(Name = "客户位置")]
- [ExporterHeader(DisplayName = "客户位置")]
- public string Position { get; set; }
+ ///
+ /// 客户位置
+ ///
+ [Display(Name = "客户位置")]
+ [ExporterHeader(DisplayName = "客户位置")]
+ public string Position { get; set; }
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_SE_EDI_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_SE_EDI_DTO.cs
index e57cb582..aeb662ac 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_SE_EDI_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/BBAC_SE_EDI_DTO.cs
@@ -1,6 +1,6 @@
-using Magicodes.ExporterAndImporter.Core;
using System;
using System.ComponentModel.DataAnnotations;
+using Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
@@ -34,9 +34,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
[Display(Name = "生产码")]
public string PN { get; set; }
-
-
-
///
/// 日顺序号
///
@@ -71,7 +68,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
///
/// 导出
///
- public class BBAC_SE_EDI_EXPORT_DTO
+ public class BBAC_SE_EDI_EXPORT_DTO
{
///
/// LU+生产码
@@ -87,8 +84,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
[ExporterHeader(DisplayName = "期间")]
public int Version { get; set; }
-
-
[Display(Name = "原客户零件号")]
public string CustomerPartCodeNoSpace { set; get; }
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/EdiSeCompareRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/EdiSeCompareRequestDto.cs
index dd93d5f1..07451ee4 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/EdiSeCompareRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/EdiSeCompareRequestDto.cs
@@ -1,41 +1,42 @@
using System;
using System.ComponentModel.DataAnnotations;
-namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos;
-
-///
-/// Edi与发运对比请求Dto
-///
-public class EdiSeCompareRequestDto
+namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
{
///
- /// 期间
- ///
- [Display(Name = "期间")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string Version { get; set; }
- ///
- /// 零件号
- ///
- [Display(Name = "零件号")]
- public string LU { get; set; }
- ///
- /// 通用码
- ///
- [Display(Name = "通用码")]
- public string PN { get; set; }
- ///
- /// 发运开始时间
- ///
- [Display(Name = "发运开始时间")]
- public DateTime? SeStartDateTime { get; set; }
- ///
- /// 发运结束时间
- ///
- [Display(Name = "发运结束时间")]
- public DateTime? SeEndDateTime { get; set; }
- ///
- /// 业务类型
+ /// Edi与发运对比请求Dto
///
- public EnumBusinessType BusinessType { get; set; }
+ public class EdiSeCompareRequestDto
+ {
+ ///
+ /// 期间
+ ///
+ [Display(Name = "期间")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string Version { get; set; }
+ ///
+ /// 零件号
+ ///
+ [Display(Name = "零件号")]
+ public string LU { get; set; }
+ ///
+ /// 通用码
+ ///
+ [Display(Name = "通用码")]
+ public string PN { get; set; }
+ ///
+ /// 发运开始时间
+ ///
+ [Display(Name = "发运开始时间")]
+ public DateTime? SeStartDateTime { get; set; }
+ ///
+ /// 发运结束时间
+ ///
+ [Display(Name = "发运结束时间")]
+ public DateTime? SeEndDateTime { get; set; }
+ ///
+ /// 业务类型
+ ///
+ public EnumBusinessType BusinessType { get; set; }
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_CAN_SA_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_CAN_SA_DTO.cs
index 9e167ee0..8c861064 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_CAN_SA_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_CAN_SA_DTO.cs
@@ -1,13 +1,8 @@
-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 Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Bases;
-using Win.Sfs.Shared.Filter;
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
{
@@ -48,8 +43,8 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
///
///工厂地点
///
-
- public string Site { get; set; }
+
+ public string Site { get; set; }
///
/// 版本
///
@@ -95,20 +90,9 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
public decimal Amt { get; set; }
-
-
public string InvBillNum { get; set; }
-
public string PartCode { get; set; }
-
-
-
-
-
-
-
-
}
public class HBPO_CAN_SA_DETAIL_EXP_DTO
@@ -164,25 +148,25 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
public string PartCode { get; set; }
}
-
+
public class HBPO_CAN_SA_REQ_DTO : RequestInputBase
{
- //[Display(Name = "期间")]
- //public int Version { get; set; }
- //[Display(Name = "结算单据")]
- //public string BillNum { get; set; }
- //[Display(Name = "关联结算单号")]
- //public string SettleBillNum { get; set; }
- //[Display(Name = "状态")]
- //public string State { get; set; }
- }
+ //[Display(Name = "期间")]
+ //public int Version { get; set; }
+ //[Display(Name = "结算单据")]
+ //public string BillNum { get; set; }
+ //[Display(Name = "关联结算单号")]
+ //public string SettleBillNum { get; set; }
+ //[Display(Name = "状态")]
+ //public string State { get; set; }
+ }
public class HBPO_CAN_SA_DETAIL_REQ_DTO : RequestInputBase
{
//[Display(Name = "关联结算单号")]
//public string SettleBillNum { get; set; }
-
+
////[Display(Name = "业务类别")]
////public string Category { get; set; }
////[Display(Name = "是否退货")]
@@ -211,9 +195,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
//[Display(Name = "结算分组号")]
//public string GroupNum { get; set; }
-
- }
-
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_NOT_SA_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_NOT_SA_DTO.cs
index ee72c745..bd136af0 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_NOT_SA_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_NOT_SA_DTO.cs
@@ -1,17 +1,11 @@
-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 Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Bases;
-using Win.Sfs.Shared.Filter;
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
{
-
+
public class HBPO_NOT_SA_DETAIL_DTO : EntityDto
{
///
@@ -21,8 +15,8 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
///
///工厂地点
///
-
- public string Site { get; set; }
+
+ public string Site { get; set; }
///
/// 版本
///
@@ -119,14 +113,13 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
[ExporterHeader(DisplayName = "厂内零件号")]
public string PartCode { get; set; }
-
}
public class HBPO_NOT_SA_DETAIL_REQ_DTO : RequestInputBase
{
//[Display(Name = "关联结算单号")]
//public string SettleBillNum { get; set; }
-
+
////[Display(Name = "业务类别")]
////public string Category { get; set; }
////[Display(Name = "是否退货")]
@@ -156,11 +149,8 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
//[Display(Name = "结算分组号")]
//public string GroupNum { get; set; }
-
//public string PartCode { get; set; }
}
-
-
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_PD_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_PD_DTO.cs
index 6f21aac6..f34d9e22 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_PD_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_PD_DTO.cs
@@ -1,6 +1,6 @@
-using Magicodes.ExporterAndImporter.Core;
using System;
using System.ComponentModel.DataAnnotations;
+using Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Bases;
@@ -35,8 +35,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
[Display(Name = "地点")]
public string Site { get; set; }
-
-
[Display(Name = "状态")]
public EnumBillState State { set; get; }
@@ -215,7 +213,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
[ExporterHeader(DisplayName = "LU")]
public string LU { get; set; }
[ExporterHeader(DisplayName = "物料描述")]
- public string MaterialDesc{ get; set; }
+ public string MaterialDesc { get; set; }
///
/// 生产码
///
@@ -262,7 +260,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
///
public string BillNum { get; set; }
-
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_SA_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_SA_DTO.cs
index e7a64408..a073b62e 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_SA_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_SA_DTO.cs
@@ -5,276 +5,277 @@ using Microsoft.AspNetCore.Http;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Domain.Entities.Auditing;
-namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos;
-
-///
-/// HBPO结算单
-///
-public class HBPO_SA_DTO : EntityDto
+namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
{
///
- /// 期间
- ///
- [Display(Name = "期间")]
- public int Version { get; set; }
- ///
- /// 结算单据
- ///
- [Display(Name = "结算单据")]
- public string BillNum { get; set; }
- ///
- /// 出库单号
- ///
- [Display(Name = "出库单号")]
- public string DNBillNum { get; set; }
- ///
- /// 1、新建 2、已有出库3、已有扣减寄售库
- ///
- [Display(Name = "状态")]
- public string State { get; set; }
- ///
- /// 明细记录行数
- ///
- [Display(Name = "明细记录行数")]
- public string RecordCount { get; set; }
- ///
- /// 地点码
- ///
- [Display(Name = "地点码")]
- public string Site { get; set; }
- ///
- /// 地点
- ///
- [Display(Name = "地点")]
- public string Place { get; set; }
- ///
- /// 业务类型
- ///
- [Display(Name = "业务类型")]
- public EnumBusinessType BusinessType { get; set; }
-}
+ /// HBPO结算单
+ ///
+ public class HBPO_SA_DTO : EntityDto
+ {
+ ///
+ /// 期间
+ ///
+ [Display(Name = "期间")]
+ public int Version { get; set; }
+ ///
+ /// 结算单据
+ ///
+ [Display(Name = "结算单据")]
+ public string BillNum { get; set; }
+ ///
+ /// 出库单号
+ ///
+ [Display(Name = "出库单号")]
+ public string DNBillNum { get; set; }
+ ///
+ /// 1、新建 2、已有出库3、已有扣减寄售库
+ ///
+ [Display(Name = "状态")]
+ public string State { get; set; }
+ ///
+ /// 明细记录行数
+ ///
+ [Display(Name = "明细记录行数")]
+ public string RecordCount { get; set; }
+ ///
+ /// 地点码
+ ///
+ [Display(Name = "地点码")]
+ public string Site { get; set; }
+ ///
+ /// 地点
+ ///
+ [Display(Name = "地点")]
+ public string Place { get; set; }
+ ///
+ /// 业务类型
+ ///
+ [Display(Name = "业务类型")]
+ public EnumBusinessType BusinessType { get; set; }
+ }
-///
-/// HBPO结算明细
-///
-public class HBPO_SA_DETAIL_DTO : AuditedAggregateRoot
-{
- ///
- /// 结算单
- ///
- public string BillNum { set; get; }
- ///
- /// 期间
- ///
- public int Version { set; get; }
///
- /// 结算分组号
- ///
- public string GroupNum { get; set; }
- ///
- /// 生产号
- ///
- public string PN { get; set; }
- ///
- /// 客户物料号
- ///
- public string LU { get; set; }
- ///
- /// 数量
- ///
- public string Qty { get; set; }
- ///
- /// 结算日期
- ///
- public string SettleDate { set; get; }
- ///
- /// 单价
- ///
- public decimal Price { set; get; }
- ///
- /// 厂内物料号
- ///
- public string PartCode { get; set; }
-}
+ /// HBPO结算明细
+ ///
+ public class HBPO_SA_DETAIL_DTO : AuditedAggregateRoot
+ {
+ ///
+ /// 结算单
+ ///
+ public string BillNum { set; get; }
+ ///
+ /// 期间
+ ///
+ public int Version { set; get; }
+ ///
+ /// 结算分组号
+ ///
+ public string GroupNum { get; set; }
+ ///
+ /// 生产号
+ ///
+ public string PN { get; set; }
+ ///
+ /// 客户物料号
+ ///
+ public string LU { get; set; }
+ ///
+ /// 数量
+ ///
+ public string Qty { get; set; }
+ ///
+ /// 结算日期
+ ///
+ public string SettleDate { set; get; }
+ ///
+ /// 单价
+ ///
+ public decimal Price { set; get; }
+ ///
+ /// 厂内物料号
+ ///
+ public string PartCode { get; set; }
+ }
-///
-/// HBPO结算导入请求
-///
-public class HBPOSaImportRequestDto
-{
- ///
- /// 文件
- ///
- public IFormFileCollection Files { get; set; }
- ///
- /// 业务类别
- ///
- public EnumBusinessType BusinessType { get; set; }
///
- /// 期间
- ///
- [Display(Name = "期间")]
- public int Version { get; set; }
-}
+ /// HBPO结算导入请求
+ ///
+ public class HBPOSaImportRequestDto
+ {
+ ///
+ /// 文件
+ ///
+ public IFormFileCollection Files { get; set; }
+ ///
+ /// 业务类别
+ ///
+ public EnumBusinessType BusinessType { get; set; }
+ ///
+ /// 期间
+ ///
+ [Display(Name = "期间")]
+ public int Version { get; set; }
+ }
-///
-/// HBPO结算明细导入
-///
-public class HBPO_SA_DETAIL_IMPORT_DTO
-{
- ///
- /// 结算日期
- ///
- [Display(Name = "ReceiveDate")]
- [ImporterHeader(Name = "ReceiveDate", Format = "yyyy/MM/dd HH:mm:ss")]
- public DateTime SettleDate { set; get; }
- ///
- /// 结算分组号
- ///
- [Display(Name = "DeliveryNode")]
- [Required(ErrorMessage = "{0}不能为空")]
- [ImporterHeader(Name = "DeliveryNode")]
- public string GroupNum { get; set; }
- ///
- /// 到货日期
- ///
- [Display(Name = "DeliveryDate")]
- [Required(ErrorMessage = "{0}不能为空")]
- [ImporterHeader(Name = "DeliveryDate", Format = "MM/yyyy/dd HH:mm:ss")]
- public DateTime? DeliveryDate { get; set; }
- ///
- /// 客户零件号
- ///
- [Display(Name = "PartNumber")]
- [Required(ErrorMessage = "{0}不能为空")]
- [ImporterHeader(Name = "PartNumber")]
- public string LU { get; set; }
- ///
- /// 结算数量
- ///
- [Display(Name = "结算数量")]
- [ImporterHeader(Name = "Qty")]
- public decimal Qty { get; set; }
///
- /// 地点
- ///
- [Display(Name = "地点")]
- [Required(ErrorMessage = "{0}不能为空")]
- [ImporterHeader(Name = "filename")]
- public string Place { get; set; }
- ///
- /// 生产号
- ///
- [Display(Name = "productionNumber")]
- [Required(ErrorMessage = "{0}不能为空")]
- [ImporterHeader(Name = "productionNumber")]
- public string PN { get; set; }
-}
+ /// HBPO结算明细导入
+ ///
+ public class HBPO_SA_DETAIL_IMPORT_DTO
+ {
+ ///
+ /// 结算日期
+ ///
+ [Display(Name = "ReceiveDate")]
+ [ImporterHeader(Name = "ReceiveDate", Format = "yyyy/MM/dd HH:mm:ss")]
+ public DateTime SettleDate { set; get; }
+ ///
+ /// 结算分组号
+ ///
+ [Display(Name = "DeliveryNode")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ [ImporterHeader(Name = "DeliveryNode")]
+ public string GroupNum { get; set; }
+ ///
+ /// 到货日期
+ ///
+ [Display(Name = "DeliveryDate")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ [ImporterHeader(Name = "DeliveryDate", Format = "MM/yyyy/dd HH:mm:ss")]
+ public DateTime? DeliveryDate { get; set; }
+ ///
+ /// 客户零件号
+ ///
+ [Display(Name = "PartNumber")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ [ImporterHeader(Name = "PartNumber")]
+ public string LU { get; set; }
+ ///
+ /// 结算数量
+ ///
+ [Display(Name = "结算数量")]
+ [ImporterHeader(Name = "Qty")]
+ public decimal Qty { get; set; }
+ ///
+ /// 地点
+ ///
+ [Display(Name = "地点")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ [ImporterHeader(Name = "filename")]
+ public string Place { get; set; }
+ ///
+ /// 生产号
+ ///
+ [Display(Name = "productionNumber")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ [ImporterHeader(Name = "productionNumber")]
+ public string PN { get; set; }
+ }
-///
-/// 买单件HBPO导入
-///
-public class MaiDanJianHBPOImportDto
-{
- ///
- /// 结算日期
- ///
- [Display(Name = "买单日期")]
- [ImporterHeader(Name = "买单日期")]
- public DateTime SettleDate { set; get; }
- ///
- /// 客户零件号
- ///
- [Display(Name = "零件号")]
- [Required(ErrorMessage = "{0}不能为空")]
- [ImporterHeader(Name = "零件号")]
- public string LU { get; set; }
- ///
- /// 生产号
- ///
- [Display(Name = "现产品生产号")]
- [ImporterHeader(Name = "现产品生产号")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string PN { get; set; }
- ///
- /// 数量
- ///
- [Display(Name = "数量")]
- [ImporterHeader(Name = "数量")]
- public decimal Qty { get; set; }
///
- /// 结算分组号
- ///
- [Display(Name = "五联单号")]
- [ImporterHeader(Name = "五联单号")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string GroupNum { get; set; }
- ///
- /// 地点
- ///
- [Display(Name = "地点")]
- [ImporterHeader(Name = "地点")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string Place { get; set; }
-}
+ /// 买单件HBPO导入
+ ///
+ public class MaiDanJianHBPOImportDto
+ {
+ ///
+ /// 结算日期
+ ///
+ [Display(Name = "买单日期")]
+ [ImporterHeader(Name = "买单日期")]
+ public DateTime SettleDate { set; get; }
+ ///
+ /// 客户零件号
+ ///
+ [Display(Name = "零件号")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ [ImporterHeader(Name = "零件号")]
+ public string LU { get; set; }
+ ///
+ /// 生产号
+ ///
+ [Display(Name = "现产品生产号")]
+ [ImporterHeader(Name = "现产品生产号")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string PN { get; set; }
+ ///
+ /// 数量
+ ///
+ [Display(Name = "数量")]
+ [ImporterHeader(Name = "数量")]
+ public decimal Qty { get; set; }
+ ///
+ /// 结算分组号
+ ///
+ [Display(Name = "五联单号")]
+ [ImporterHeader(Name = "五联单号")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string GroupNum { get; set; }
+ ///
+ /// 地点
+ ///
+ [Display(Name = "地点")]
+ [ImporterHeader(Name = "地点")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string Place { get; set; }
+ }
-///
-/// 结算明细导出请求
-///
-public class HBPO_SA_DETAIL_EXPORT_REQUEST_DTO
-{
///
- /// 结算单号
- ///
- [Display(Name = "结算单号")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string BillNum { set; get; }
-}
+ /// 结算明细导出请求
+ ///
+ public class HBPO_SA_DETAIL_EXPORT_REQUEST_DTO
+ {
+ ///
+ /// 结算单号
+ ///
+ [Display(Name = "结算单号")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string BillNum { set; get; }
+ }
-///
-/// 结算明细导出
-///
-public class HBPO_SA_DETAIL_EXPORT_DTO
-{
///
- /// 结算单号
+ /// 结算明细导出
///
- [Display(Name = "结算单号")]
- [ExporterHeader(DisplayName = "结算单号")]
- public string BillNum { set; get; }
+ public class HBPO_SA_DETAIL_EXPORT_DTO
+ {
+ ///
+ /// 结算单号
+ ///
+ [Display(Name = "结算单号")]
+ [ExporterHeader(DisplayName = "结算单号")]
+ public string BillNum { set; get; }
- ///
- /// 结算日期
- ///
- [Display(Name = "结算日期")]
- [ExporterHeader(DisplayName = "结算日期")]
- public DateTime SettleDate { set; get; }
+ ///
+ /// 结算日期
+ ///
+ [Display(Name = "结算日期")]
+ [ExporterHeader(DisplayName = "结算日期")]
+ public DateTime SettleDate { set; get; }
- ///
- /// 发货单号
- ///
- [Display(Name = "发货单号")]
- [ExporterHeader(DisplayName = "发货单号")]
- public string PN { get; set; }
+ ///
+ /// 发货单号
+ ///
+ [Display(Name = "发货单号")]
+ [ExporterHeader(DisplayName = "发货单号")]
+ public string PN { get; set; }
- ///
- /// 零件号
- ///
- [Display(Name = "零件号")]
- [ExporterHeader(DisplayName = "零件号")]
- public string LU { get; set; }
+ ///
+ /// 零件号
+ ///
+ [Display(Name = "零件号")]
+ [ExporterHeader(DisplayName = "零件号")]
+ public string LU { get; set; }
- ///
- /// 数量
- ///
- [Display(Name = "数量")]
- [ExporterHeader(DisplayName = "数量")]
- public decimal Qty { get; set; }
+ ///
+ /// 数量
+ ///
+ [Display(Name = "数量")]
+ [ExporterHeader(DisplayName = "数量")]
+ public decimal Qty { get; set; }
- ///
- /// 结算分组
- ///
- [Display(Name = "结算分组")]
- [ExporterHeader(DisplayName = "结算分组")]
- public string GroupNum { get; set; }
+ ///
+ /// 结算分组
+ ///
+ [Display(Name = "结算分组")]
+ [ExporterHeader(DisplayName = "结算分组")]
+ public string GroupNum { get; set; }
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_SE_DETAIL_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_SE_DETAIL_DTO.cs
index 5762e9fa..507d2769 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_SE_DETAIL_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_SE_DETAIL_DTO.cs
@@ -5,432 +5,433 @@ using Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Entities.BQ.Syncs;
-namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos;
-
-///
-/// HBPO发运单
-///
-public class HBPO_SE_DETAIL_DTO : EntityDto
+namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
{
///
- /// 期间
- ///
- public int Version { set; get; }
- ///
- /// 发货时间
- ///
- public DateTime ShippingDate { set; get; }
- ///
- /// 发运单号
- ///
- public string WmsBillNum { set; get; }
- ///
- /// 客户零件号
- ///
- public string LU { get; set; }
- ///
- /// 厂内零件号
- ///
- public string FactoryPartCode { get; set; }
- ///
- /// 生产号
- ///
- public string PN { get; set; }
- ///
- /// 组合键值(PN+LU)
- ///
- public string KeyCode { get; set; }
- ///
- /// 数量
- ///
- public decimal Qty { get; set; }
- ///
- /// UID
- ///
- [Display(Name = "UID")]
- [DisplayName("UID")]
- public long UID { get; set; }
- ///
- /// JIT订单号
- ///
- [Display(Name = "JIT订单号")]
- [DisplayName("JIT订单号")]
- public string JISNum { get; set; }
- ///
- /// JIT排序生产码
- ///
- [Display(Name = "JIT排序生产码")]
- public string VinCode { get; set; }
- ///
- /// JIT排序生产码类型
- ///
- [Display(Name = "JIT排序生产码类型")]
- public string CodeType { get; set; }
- ///
- /// 订单零件号
- ///
- [Display(Name = "订单零件号")]
- public string PartCode { get; set; }
- ///
- /// 订单零件号
- ///
- [Display(Name = "订单零件号")]
- public string RealPartCode { get; set; }
- ///
- /// 批次
- ///
- [Display(Name = "批次")]
- public string Batch { get; set; }
- ///
- /// 客户零件号
- ///
- [Display(Name = "客户零件号")]
- public string CustPartCode { get; set; }
- ///
- /// 订单序号
- ///
- [Display(Name = "订单序号")]
- public string Seq { get; set; }
- ///
- /// 订单时间
- ///
- [Display(Name = "订单时间")]
- public DateTime AssembleData { get; set; }
- ///
- /// 发货条码
- ///
- [Display(Name = "发货条码")]
- public string DeliverCode { get; set; }
- ///
- /// 发货单号
- ///
- [Display(Name = "发货单号")]
- public string BillNum { get; set; }
- ///
- /// 发货时间
- ///
- [Display(Name = "发货时间")]
- public DateTime? BillTime { get; set; }
- ///
- /// 发货人
- ///
- [Display(Name = "发货人")]
- public string Oper { get; set; }
- ///
- /// 客户位置
- ///
- [Display(Name = "客户位置")]
- public string Position { get; set; }
- ///
- /// 工厂
- ///
- [Display(Name = "工厂")]
- public string Factory { get; set; }
- ///
- /// MES配置码
- ///
- [Display(Name = "MES配置码")]
- public string MESConfigCode { get; set; }
- ///
- /// 目标库位
- ///
- [Display(Name = "目标库位")]
- public string ToLoc { get; set; }
- ///
- /// 单据类型
- ///
- public EnumBillType BillType { get; set; }
- ///
- /// 子单据类型
- ///
- [Display(Name = "子单据类型")]
- public EnumSubBillType SubBillType { get; set; }
- ///
- /// 事务类型
- ///
- [Display(Name = "事务类型")]
- public EnumDelTransType TransType { get; set; }
- ///
- /// 发运主类型
- ///
- [Display(Name = "发运主类型")]
- public EnumDeliverBjBmpBillType DeliverBillType { get; set; }
- ///
- /// 发运子类型
- ///
- [Display(Name = "发运子类型")]
- public EnumDeliverSubBillType DeliverSubBillType { get; set; }
- ///
- /// 单据性质
- ///
- [Display(Name = "单据性质")]
- public string BillCharacter { get; set; }
- ///
- /// 原生产码
- ///
- [Display(Name = "原生产码")]
- public string OrigiCode { get; set; }
- ///
- /// 描述
- ///
- [Display(Name = "描述")]
- public string PartDesc { get; set; }
- ///
- /// 备注
- ///
- [Display(Name = "备注")]
- public string Remark { get; set; }
- ///
- /// 业务类型
- ///
- [Display(Name = "业务类型")]
- public EnumProTpe ProType { get; set; }
- ///
- /// JIS排序单号
- ///
- [Display(Name = "JIS排序单号")]
- public string OrderNum { get; set; }
- ///
- /// JIS实际生产码
- ///
- [Display(Name = "JIS实际生产码")]
- public string RealCode { get; set; }
- ///
- /// 来源库位
- ///
- [Display(Name = "来源库位")]
- public string FromLoc { get; set; }
- ///
- /// 参照订单生产码
- ///
- [Display(Name = "参照订单生产码")]
- public string RefVinCode { get; set; }
- ///
- /// 发货关联单号
- ///
- [Display(Name = "发货关联单号")]
- public string RefBillNum { get; set; }
- ///
- /// Erp目标库位
- ///
- [Display(Name = "Erp目标库位")]
- public string ErpToLoc { get; set; }
- ///
- /// 塑件唯一码
- ///
- [Display(Name = "塑件唯一码")]
- public string UniqueCode { get; set; }
- ///
- /// PJS顺序号
- ///
- [Display(Name = "PJS顺序号")]
- public string PjsNum { get; set; }
- ///
- /// 虚拟小总成
- ///
- [Display(Name = "虚拟小总成")]
- public string MatchNumber { get; set; }
- ///
- /// 状态
- ///
- [Display(Name = "状态")]
- public EnumBillState State { get; set; }
- ///
- /// 创建时间
- ///
- [Display(Name = "创建时间")]
- public DateTime CreateTime { get; set; }
- ///
- /// 是否有EDI数据
- ///
- [Display(Name = "是否有EDI数据")]
- public bool IsHaveEdiData { get; set; }
-}
+ /// HBPO发运单
+ ///
+ public class HBPO_SE_DETAIL_DTO : EntityDto
+ {
+ ///
+ /// 期间
+ ///
+ public int Version { set; get; }
+ ///
+ /// 发货时间
+ ///
+ public DateTime ShippingDate { set; get; }
+ ///
+ /// 发运单号
+ ///
+ public string WmsBillNum { set; get; }
+ ///
+ /// 客户零件号
+ ///
+ public string LU { get; set; }
+ ///
+ /// 厂内零件号
+ ///
+ public string FactoryPartCode { get; set; }
+ ///
+ /// 生产号
+ ///
+ public string PN { get; set; }
+ ///
+ /// 组合键值(PN+LU)
+ ///
+ public string KeyCode { get; set; }
+ ///
+ /// 数量
+ ///
+ public decimal Qty { get; set; }
+ ///
+ /// UID
+ ///
+ [Display(Name = "UID")]
+ [DisplayName("UID")]
+ public long UID { get; set; }
+ ///
+ /// JIT订单号
+ ///
+ [Display(Name = "JIT订单号")]
+ [DisplayName("JIT订单号")]
+ public string JISNum { get; set; }
+ ///
+ /// JIT排序生产码
+ ///
+ [Display(Name = "JIT排序生产码")]
+ public string VinCode { get; set; }
+ ///
+ /// JIT排序生产码类型
+ ///
+ [Display(Name = "JIT排序生产码类型")]
+ public string CodeType { get; set; }
+ ///
+ /// 订单零件号
+ ///
+ [Display(Name = "订单零件号")]
+ public string PartCode { get; set; }
+ ///
+ /// 订单零件号
+ ///
+ [Display(Name = "订单零件号")]
+ public string RealPartCode { get; set; }
+ ///
+ /// 批次
+ ///
+ [Display(Name = "批次")]
+ public string Batch { get; set; }
+ ///
+ /// 客户零件号
+ ///
+ [Display(Name = "客户零件号")]
+ public string CustPartCode { get; set; }
+ ///
+ /// 订单序号
+ ///
+ [Display(Name = "订单序号")]
+ public string Seq { get; set; }
+ ///
+ /// 订单时间
+ ///
+ [Display(Name = "订单时间")]
+ public DateTime AssembleData { get; set; }
+ ///
+ /// 发货条码
+ ///
+ [Display(Name = "发货条码")]
+ public string DeliverCode { get; set; }
+ ///
+ /// 发货单号
+ ///
+ [Display(Name = "发货单号")]
+ public string BillNum { get; set; }
+ ///
+ /// 发货时间
+ ///
+ [Display(Name = "发货时间")]
+ public DateTime? BillTime { get; set; }
+ ///
+ /// 发货人
+ ///
+ [Display(Name = "发货人")]
+ public string Oper { get; set; }
+ ///
+ /// 客户位置
+ ///
+ [Display(Name = "客户位置")]
+ public string Position { get; set; }
+ ///
+ /// 工厂
+ ///
+ [Display(Name = "工厂")]
+ public string Factory { get; set; }
+ ///
+ /// MES配置码
+ ///
+ [Display(Name = "MES配置码")]
+ public string MESConfigCode { get; set; }
+ ///
+ /// 目标库位
+ ///
+ [Display(Name = "目标库位")]
+ public string ToLoc { get; set; }
+ ///
+ /// 单据类型
+ ///
+ public EnumBillType BillType { get; set; }
+ ///
+ /// 子单据类型
+ ///
+ [Display(Name = "子单据类型")]
+ public EnumSubBillType SubBillType { get; set; }
+ ///
+ /// 事务类型
+ ///
+ [Display(Name = "事务类型")]
+ public EnumDelTransType TransType { get; set; }
+ ///
+ /// 发运主类型
+ ///
+ [Display(Name = "发运主类型")]
+ public EnumDeliverBjBmpBillType DeliverBillType { get; set; }
+ ///
+ /// 发运子类型
+ ///
+ [Display(Name = "发运子类型")]
+ public EnumDeliverSubBillType DeliverSubBillType { get; set; }
+ ///
+ /// 单据性质
+ ///
+ [Display(Name = "单据性质")]
+ public string BillCharacter { get; set; }
+ ///
+ /// 原生产码
+ ///
+ [Display(Name = "原生产码")]
+ public string OrigiCode { get; set; }
+ ///
+ /// 描述
+ ///
+ [Display(Name = "描述")]
+ public string PartDesc { get; set; }
+ ///
+ /// 备注
+ ///
+ [Display(Name = "备注")]
+ public string Remark { get; set; }
+ ///
+ /// 业务类型
+ ///
+ [Display(Name = "业务类型")]
+ public EnumProTpe ProType { get; set; }
+ ///
+ /// JIS排序单号
+ ///
+ [Display(Name = "JIS排序单号")]
+ public string OrderNum { get; set; }
+ ///
+ /// JIS实际生产码
+ ///
+ [Display(Name = "JIS实际生产码")]
+ public string RealCode { get; set; }
+ ///
+ /// 来源库位
+ ///
+ [Display(Name = "来源库位")]
+ public string FromLoc { get; set; }
+ ///
+ /// 参照订单生产码
+ ///
+ [Display(Name = "参照订单生产码")]
+ public string RefVinCode { get; set; }
+ ///
+ /// 发货关联单号
+ ///
+ [Display(Name = "发货关联单号")]
+ public string RefBillNum { get; set; }
+ ///
+ /// Erp目标库位
+ ///
+ [Display(Name = "Erp目标库位")]
+ public string ErpToLoc { get; set; }
+ ///
+ /// 塑件唯一码
+ ///
+ [Display(Name = "塑件唯一码")]
+ public string UniqueCode { get; set; }
+ ///
+ /// PJS顺序号
+ ///
+ [Display(Name = "PJS顺序号")]
+ public string PjsNum { get; set; }
+ ///
+ /// 虚拟小总成
+ ///
+ [Display(Name = "虚拟小总成")]
+ public string MatchNumber { get; set; }
+ ///
+ /// 状态
+ ///
+ [Display(Name = "状态")]
+ public EnumBillState State { get; set; }
+ ///
+ /// 创建时间
+ ///
+ [Display(Name = "创建时间")]
+ public DateTime CreateTime { get; set; }
+ ///
+ /// 是否有EDI数据
+ ///
+ [Display(Name = "是否有EDI数据")]
+ public bool IsHaveEdiData { get; set; }
+ }
-///
-/// 导出
-///
-public class HBPO_SE_DETAIL_EXPORT_DTO
-{
///
- /// 发货单号
+ /// 导出
///
- [Display(Name = "发货单号")]
- [ExporterHeader(DisplayName = "发货单号")]
- public string WmsBillNum { get; set; }
+ public class HBPO_SE_DETAIL_EXPORT_DTO
+ {
+ ///
+ /// 发货单号
+ ///
+ [Display(Name = "发货单号")]
+ [ExporterHeader(DisplayName = "发货单号")]
+ public string WmsBillNum { get; set; }
- ///
- /// 单据编号
- ///
- [Display(Name = "单据编号")]
- [ExporterHeader(DisplayName = "单据编号")]
- public string Num { get; set; }
+ ///
+ /// 单据编号
+ ///
+ [Display(Name = "单据编号")]
+ [ExporterHeader(DisplayName = "单据编号")]
+ public string Num { get; set; }
- ///
- /// 发货时间
- ///
- [Display(Name = "发货时间")]
- [ExporterHeader(DisplayName = "发货时间")]
- public DateTime BillTime { get; set; }
+ ///
+ /// 发货时间
+ ///
+ [Display(Name = "发货时间")]
+ [ExporterHeader(DisplayName = "发货时间")]
+ public DateTime BillTime { get; set; }
- ///
- /// 发货人
- ///
- [Display(Name = "发货人")]
- [ExporterHeader(DisplayName = "发货人")]
- public string Oper { get; set; }
+ ///
+ /// 发货人
+ ///
+ [Display(Name = "发货人")]
+ [ExporterHeader(DisplayName = "发货人")]
+ public string Oper { get; set; }
- ///
- /// 排序单号
- ///
- [Display(Name = "排序单号")]
- [ExporterHeader(DisplayName = "排序单号")]
- public string OrderNum { get; set; }
+ ///
+ /// 排序单号
+ ///
+ [Display(Name = "排序单号")]
+ [ExporterHeader(DisplayName = "排序单号")]
+ public string OrderNum { get; set; }
- ///
- /// 订单序号
- ///
- [Display(Name = "订单序号")]
- [ExporterHeader(DisplayName = "订单序号")]
- public string Seq { get; set; }
+ ///
+ /// 订单序号
+ ///
+ [Display(Name = "订单序号")]
+ [ExporterHeader(DisplayName = "订单序号")]
+ public string Seq { get; set; }
- ///
- /// 实际生产码
- ///
- [Display(Name = "实际生产码")]
- [ExporterHeader(DisplayName = "实际生产码")]
- public string RealCode { get; set; }
+ ///
+ /// 实际生产码
+ ///
+ [Display(Name = "实际生产码")]
+ [ExporterHeader(DisplayName = "实际生产码")]
+ public string RealCode { get; set; }
- ///
- /// 订单生产码
- ///
- [Display(Name = "订单生产码")]
- [ExporterHeader(DisplayName = "订单生产码")]
- public string VinCode { get; set; }
+ ///
+ /// 订单生产码
+ ///
+ [Display(Name = "订单生产码")]
+ [ExporterHeader(DisplayName = "订单生产码")]
+ public string VinCode { get; set; }
- ///
- /// 生产码类型
- ///
- [Display(Name = "生产码类型")]
- [ExporterHeader(DisplayName = "生产码类型")]
- public string CodeType { get; set; }
+ ///
+ /// 生产码类型
+ ///
+ [Display(Name = "生产码类型")]
+ [ExporterHeader(DisplayName = "生产码类型")]
+ public string CodeType { get; set; }
- ///
- /// 实际零件号
- ///
- [Display(Name = "实际零件号")]
- [ExporterHeader(DisplayName = "实际零件号")]
- public string RealPartCode { get; set; }
+ ///
+ /// 实际零件号
+ ///
+ [Display(Name = "实际零件号")]
+ [ExporterHeader(DisplayName = "实际零件号")]
+ public string RealPartCode { get; set; }
- ///
- /// 零件号
- ///
- [Display(Name = "零件号")]
- [ExporterHeader(DisplayName = "零件号")]
- public string PartCode { get; set; }
+ ///
+ /// 零件号
+ ///
+ [Display(Name = "零件号")]
+ [ExporterHeader(DisplayName = "零件号")]
+ public string PartCode { get; set; }
- ///
- /// 批次
- ///
- [Display(Name = "批次")]
- [ExporterHeader(DisplayName = "批次")]
- public string Batch { get; set; }
+ ///
+ /// 批次
+ ///
+ [Display(Name = "批次")]
+ [ExporterHeader(DisplayName = "批次")]
+ public string Batch { get; set; }
- ///
- /// MES配置码
- ///
- [Display(Name = "MES配置码")]
- [ExporterHeader(DisplayName = "MES配置码")]
- public string MESConfigCode { get; set; }
+ ///
+ /// MES配置码
+ ///
+ [Display(Name = "MES配置码")]
+ [ExporterHeader(DisplayName = "MES配置码")]
+ public string MESConfigCode { get; set; }
- ///
- /// 来源库位
- ///
- [Display(Name = "来源库位")]
- [ExporterHeader(DisplayName = "来源库位")]
- public string FromLoc { get; set; }
+ ///
+ /// 来源库位
+ ///
+ [Display(Name = "来源库位")]
+ [ExporterHeader(DisplayName = "来源库位")]
+ public string FromLoc { get; set; }
- ///
- /// 目标库位
- ///
- [Display(Name = "目标库位")]
- [ExporterHeader(DisplayName = "目标库位")]
- public string ToLoc { get; set; }
+ ///
+ /// 目标库位
+ ///
+ [Display(Name = "目标库位")]
+ [ExporterHeader(DisplayName = "目标库位")]
+ public string ToLoc { get; set; }
- ///
- /// 参照订单生产码
- ///
- [Display(Name = "参照订单生产码")]
- [ExporterHeader(DisplayName = "参照订单生产码")]
- public string RefVinCode { get; set; }
+ ///
+ /// 参照订单生产码
+ ///
+ [Display(Name = "参照订单生产码")]
+ [ExporterHeader(DisplayName = "参照订单生产码")]
+ public string RefVinCode { get; set; }
- ///
- /// 单据性质
- ///
- [Display(Name = "单据性质")]
- [ExporterHeader(DisplayName = "单据性质")]
- public string BillCharacter { get; set; }
+ ///
+ /// 单据性质
+ ///
+ [Display(Name = "单据性质")]
+ [ExporterHeader(DisplayName = "单据性质")]
+ public string BillCharacter { get; set; }
- ///
- /// 发货关联单号
- ///
- [Display(Name = "发货关联单号")]
- [ExporterHeader(DisplayName = "发货关联单号")]
- public string RefBillNum { get; set; }
+ ///
+ /// 发货关联单号
+ ///
+ [Display(Name = "发货关联单号")]
+ [ExporterHeader(DisplayName = "发货关联单号")]
+ public string RefBillNum { get; set; }
- ///
- /// Erp目标库位
- ///
- [Display(Name = "Erp目标库位")]
- [ExporterHeader(DisplayName = "Erp目标库位")]
- public string ErpToLoc { get; set; }
+ ///
+ /// Erp目标库位
+ ///
+ [Display(Name = "Erp目标库位")]
+ [ExporterHeader(DisplayName = "Erp目标库位")]
+ public string ErpToLoc { get; set; }
- ///
- /// 原生产码
- ///
- [Display(Name = "原生产码")]
- [ExporterHeader(DisplayName = "原生产码")]
- public string OrigiCode { get; set; }
+ ///
+ /// 原生产码
+ ///
+ [Display(Name = "原生产码")]
+ [ExporterHeader(DisplayName = "原生产码")]
+ public string OrigiCode { get; set; }
- ///
- /// 备注
- ///
- [Display(Name = "备注")]
- [ExporterHeader(DisplayName = "备注")]
- public string Remark { get; set; }
+ ///
+ /// 备注
+ ///
+ [Display(Name = "备注")]
+ [ExporterHeader(DisplayName = "备注")]
+ public string Remark { get; set; }
- ///
- /// 塑件唯一码
- ///
- [Display(Name = "塑件唯一码")]
- [ExporterHeader(DisplayName = "塑件唯一码")]
- public string UniqueCode { get; set; }
+ ///
+ /// 塑件唯一码
+ ///
+ [Display(Name = "塑件唯一码")]
+ [ExporterHeader(DisplayName = "塑件唯一码")]
+ public string UniqueCode { get; set; }
- ///
- /// PJS顺序号
- ///
- [Display(Name = "PJS顺序号")]
- [ExporterHeader(DisplayName = "PJS顺序号")]
- public string PjsNum { get; set; }
+ ///
+ /// PJS顺序号
+ ///
+ [Display(Name = "PJS顺序号")]
+ [ExporterHeader(DisplayName = "PJS顺序号")]
+ public string PjsNum { get; set; }
- ///
- /// 虚拟小总成
- ///
- [Display(Name = "虚拟小总成")]
- [ExporterHeader(DisplayName = "虚拟小总成")]
- public string MatchNumber { get; set; }
+ ///
+ /// 虚拟小总成
+ ///
+ [Display(Name = "虚拟小总成")]
+ [ExporterHeader(DisplayName = "虚拟小总成")]
+ public string MatchNumber { get; set; }
- ///
- /// 发货条码
- ///
- [Display(Name = "发货条码")]
- [ExporterHeader(DisplayName = "发货条码")]
- public string DeliverCode { get; set; }
+ ///
+ /// 发货条码
+ ///
+ [Display(Name = "发货条码")]
+ [ExporterHeader(DisplayName = "发货条码")]
+ public string DeliverCode { get; set; }
- ///
- /// 客户位置
- ///
- [Display(Name = "客户位置")]
- [ExporterHeader(DisplayName = "客户位置")]
- public string Position { get; set; }
+ ///
+ /// 客户位置
+ ///
+ [Display(Name = "客户位置")]
+ [ExporterHeader(DisplayName = "客户位置")]
+ public string Position { get; set; }
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_SE_EDI_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_SE_EDI_DTO.cs
index f6f4ed45..e650691e 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_SE_EDI_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/HBPO_SE_EDI_DTO.cs
@@ -1,6 +1,6 @@
-using Magicodes.ExporterAndImporter.Core;
using System;
using System.ComponentModel.DataAnnotations;
+using Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/INVOICE_GRP_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/INVOICE_GRP_DTO.cs
index 4e967ff6..0302785b 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/INVOICE_GRP_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/INVOICE_GRP_DTO.cs
@@ -1,11 +1,7 @@
-using Magicodes.ExporterAndImporter.Core;
-using SettleAccount.Domain.BQ;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Bases;
using Win.Sfs.Shared.Constant;
@@ -202,7 +198,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
public decimal PreTaxDiff { get; set; }
-
+
//[ImporterHeader(Name = "税后金额", FixAllSpace = true)]
//[Required(ErrorMessage = "{0}是必填项")]
@@ -275,7 +271,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
}
public class UNSETTLED_DETAIL_DTO
{
- [Display(Name ="结算分组号")]
+ [Display(Name = "结算分组号")]
public string GroupNum { set; get; }
[Display(Name = "零件号")]
public string LU { set; get; }
@@ -447,7 +443,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
///
[Display(Name = "业务分类")]
public string BussiessType { get; set; }
-
+
///
///扩展字段3
@@ -465,7 +461,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
- public class INVOICE_WAIT_DETAIL_DTO
+ public class INVOICE_WAIT_DETAIL_DTO
{
@@ -531,7 +527,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
///
//[Display(Name = "SA号")]
//public string Extend1 { get; set; }
-
+
///
///扩展字段3
///
@@ -543,7 +539,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
[Display(Name = "价格结束日期")]
public DateTime EndDate { get; set; }
[Display(Name = "扩展字段", AutoGenerateField = false)]
-
+
public Dictionary ExtraProperties { get; set; }
@@ -566,7 +562,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
}
- public class INVOICE_MAP_GROUP_DTO
+ public class INVOICE_MAP_GROUP_DTO
{
@@ -662,7 +658,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
public string InvGroupNum { get; set; }
}
- public class INVOICE_NOT_SETTLE_DTO
+ public class INVOICE_NOT_SETTLE_DTO
{
[Display(Name = "金税发票")]
public string RealInvBillNum { get; set; }
@@ -736,7 +732,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
[Display(Name = "不可结数量")]
public string Qty { get; set; }
-
+
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_ADJ_DETAIL_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_ADJ_DETAIL_DTO.cs
index 2f8d9f09..997fb967 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_ADJ_DETAIL_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_ADJ_DETAIL_DTO.cs
@@ -1,134 +1,117 @@
using System;
-using System.Collections;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Bases;
-using Win.Sfs.Shared.Filter;
-namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos;
-
-public class PUB_ADJ_DETAIL_DTO : EntityDto
-{
-
-
- [Display(Name = "金税发票")]
- public string RealInvBillNum { get; set; }
- /////
- /////作废发票号
- /////
- //[Display(Name = "作废发票号")]
- //public string OldInvBillNum { get; set; }
- ///
- ///发票号
- ///
- [Display(Name = "发票号")]
- public string InvBillNum { get; set; }
- ///
- /// 下线日期
- ///
- [Display(Name = "下线日期")]
- public DateTime SettleDate { get; set; }
-
- //[Display(Name = "发票分组号")]
- //public string InvGroupNum { get; set; }
- [Display(Name = "零件号")]
- public string LU { get; set; }
- [Display(Name = "标识号")]
- public string PN { get; set; }
- [Display(Name = "数量")]
- public decimal Qty { get; set; }
- [Display(Name = "结算分组")]
- public string GroupNum { get; set; }
-
- [Display(Name = "键值")]
- public string KeyCode { get; set; }
- [Display(Name = "价格")]
- public decimal Price { get; set; }
-
-
-
-}
-public class PUB_ADJ_DETAIL_EXP_DTO
+namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
{
- ///
- ///发票号
- ///
- [Display(Name = "发票号")]
- public string OldInvBillNum { get; set; }
-
- [Display(Name = "新发票号")]
- public string InvBillNum { get; set; }
-
- [Display(Name = "下线日期")]
- public DateTime SettleDate { get; set; }
-
- [Display(Name = "零件号")]
- public string LU { get; set; }
- [Display(Name = "标识号")]
- public string PN { get; set; }
- [Display(Name = "数量")]
- public decimal Qty { get; set; }
- [Display(Name = "结算分组号")]
- public string GroupNum { get; set; }
- public string PartCode { get; set; }
-
+ public class PUB_ADJ_DETAIL_DTO : EntityDto
+ {
+
+ [Display(Name = "金税发票")]
+ public string RealInvBillNum { get; set; }
+ /////
+ /////作废发票号
+ /////
+ //[Display(Name = "作废发票号")]
+ //public string OldInvBillNum { get; set; }
+ ///
+ ///发票号
+ ///
+ [Display(Name = "发票号")]
+ public string InvBillNum { get; set; }
+ ///
+ /// 下线日期
+ ///
+ [Display(Name = "下线日期")]
+ public DateTime SettleDate { get; set; }
+
+ //[Display(Name = "发票分组号")]
+ //public string InvGroupNum { get; set; }
+ [Display(Name = "零件号")]
+ public string LU { get; set; }
+ [Display(Name = "标识号")]
+ public string PN { get; set; }
+ [Display(Name = "数量")]
+ public decimal Qty { get; set; }
+ [Display(Name = "结算分组")]
+ public string GroupNum { get; set; }
+
+ [Display(Name = "键值")]
+ public string KeyCode { get; set; }
+ [Display(Name = "价格")]
+ public decimal Price { get; set; }
+
+ }
+ public class PUB_ADJ_DETAIL_EXP_DTO
+ {
+ ///
+ ///发票号
+ ///
+ [Display(Name = "发票号")]
+ public string OldInvBillNum { get; set; }
+
+ [Display(Name = "新发票号")]
+ public string InvBillNum { get; set; }
+
+ [Display(Name = "下线日期")]
+ public DateTime SettleDate { get; set; }
+
+ [Display(Name = "零件号")]
+ public string LU { get; set; }
+ [Display(Name = "标识号")]
+ public string PN { get; set; }
+ [Display(Name = "数量")]
+ public decimal Qty { get; set; }
+ [Display(Name = "结算分组号")]
+ public string GroupNum { get; set; }
+ public string PartCode { get; set; }
+
+ }
+
+ public class PUB_ADJ_DETAIL_IMP_DTO
+ {
+ ///
+ ///发票号
+ ///
+ [ImporterHeader(Name = "发票号")]
+ public string OldInvBillNum { get; set; }
+ [ImporterHeader(Name = "下线日期")]
+ public DateTime SettleDate { get; set; }
+ [ImporterHeader(Name = "零件号")]
+ public string LU { get; set; }
+
+ [ImporterHeader(Name = "厂内零件号")]
+ public string PartCode { get; set; }
+
+ [ImporterHeader(Name = "标识号")]
+ public string PN { get; set; }
+ [ImporterHeader(Name = "数量")]
+ public decimal Qty { get; set; }
+ [ImporterHeader(Name = "结算分组号")]
+ public string GroupNum { get; set; }
+
+ }
+
+ public class PUB_ADJ_DETAIL_REQ_DTO : RequestInputBase
+ {
+
+ ///
+ ///发票号
+ ///
+ [Display(Name = "发票号")]
+ public string OldInvBillNum { get; set; }
+ [Display(Name = "下线日期")]
+ public DateTime SettleDate { get; set; }
+ [Display(Name = "零件号")]
+ public string LU { get; set; }
+ [Display(Name = "标识号")]
+ public string PN { get; set; }
+ [Display(Name = "数量")]
+ public decimal Qty { get; set; }
+ [Display(Name = "结算分组号")]
+ public string GroupNum { get; set; }
+
+ }
}
-
-
-
-public class PUB_ADJ_DETAIL_IMP_DTO
-{
- ///
- ///发票号
- ///
- [ImporterHeader(Name = "发票号")]
- public string OldInvBillNum { get; set; }
- [ImporterHeader(Name = "下线日期")]
- public DateTime SettleDate { get; set; }
- [ImporterHeader(Name = "零件号")]
- public string LU { get; set; }
-
- [ImporterHeader(Name = "厂内零件号")]
- public string PartCode { get; set; }
-
- [ImporterHeader(Name = "标识号")]
- public string PN { get; set; }
- [ImporterHeader(Name = "数量")]
- public decimal Qty { get; set; }
- [ImporterHeader(Name = "结算分组号")]
- public string GroupNum { get; set; }
-
-}
-
-
-
-public class PUB_ADJ_DETAIL_REQ_DTO : RequestInputBase
-{
-
- ///
- ///发票号
- ///
- [Display(Name = "发票号")]
- public string OldInvBillNum { get; set; }
- [Display(Name = "下线日期")]
- public DateTime SettleDate { get; set; }
- [Display(Name = "零件号")]
- public string LU { get; set; }
- [Display(Name = "标识号")]
- public string PN { get; set; }
- [Display(Name = "数量")]
- public decimal Qty { get; set; }
- [Display(Name = "结算分组号")]
- public string GroupNum { get; set; }
-
-}
-
-
-
-
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_CAN_SA_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_CAN_SA_DTO.cs
index 8804488f..13630258 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_CAN_SA_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_CAN_SA_DTO.cs
@@ -1,14 +1,8 @@
-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 Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Bases;
-using Win.Sfs.SettleAccount.Entities.Materials;
-using Win.Sfs.Shared.Filter;
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
{
@@ -62,7 +56,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
[Display(Name = "发票分组号")]
public string InvGroupNum { get; set; }
-
}
public class PUB_CAN_SA_DETAIL_DTO : EntityDto
{
@@ -116,12 +109,8 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
[Display(Name = "行号")]
public int IndexNum { get; set; }
-
-
}
-
-
public class PUB_CAN_SA_DETAIL_EXP_DTO
{
@@ -162,20 +151,11 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
[ExporterHeader(DisplayName = "物料描述")]
public string MaterialDesc { set; get; }
- [ExporterHeader(DisplayName= "客户零件号")]
+ [ExporterHeader(DisplayName = "客户零件号")]
public string PartCode { get; set; }
-
-
-
}
-
-
-
-
-
-
public class PUB_CAN_SA_DETAIL_REQ_DTO : RequestInputBase
{
@@ -210,16 +190,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
[Display(Name = "发货单号、交付单号")]
public string PN { get; set; }
-
-
}
-
-
}
-
-
-
-
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_NOT_SA_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_NOT_SA_DTO.cs
index da7906a4..c25e75e3 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_NOT_SA_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_NOT_SA_DTO.cs
@@ -1,13 +1,7 @@
-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 Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Bases;
-using Win.Sfs.Shared.Filter;
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
{
@@ -55,8 +49,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
}
-
-
public class PUB_NOT_SA_DETAIL_EXP_DTO
{
@@ -103,40 +95,26 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
}
-
-
-
-
-
-
public class PUB_NOT_SA_DETAIL_REQ_DTO : RequestInputBase
{
//[Display(Name = "工厂地点")]
//public string Site { get; set; }
-
+
//[Display(Name = "业务分类")]
//public EnumBusinessType BusinessType { get; set; }
-
+
//public int Version { get; set; }
//public string SettleBillNum { get; set; }
-
+
//public string InvGroupNum { get; set; }
//public string LU { get; set; }
//public string PN { get; set; }
-
+
//public string GroupNum { get; set; }
-
-
+
}
}
-
-
-
-
-
-
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_PD_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_PD_DTO.cs
index 6c82bf2a..21a54602 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_PD_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_PD_DTO.cs
@@ -1,6 +1,6 @@
-using Magicodes.ExporterAndImporter.Core;
using System;
using System.ComponentModel.DataAnnotations;
+using Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Bases;
@@ -37,9 +37,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
[Display(Name = "业务类型")]
public EnumBusinessType BusinessType { get; set; }
-
-
-
[Display(Name = "状态")]
public EnumBillState State { set; get; }
@@ -165,8 +162,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
}
-
-
public class PUB_PD_DETAIL_EXP_DTO
{
@@ -264,7 +259,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
///
public string BillNum { get; set; }
-
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_SA_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_SA_DTO.cs
index 5f5a5bd5..05c823fd 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_SA_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_SA_DTO.cs
@@ -5,529 +5,530 @@ using Microsoft.AspNetCore.Http;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Domain.Entities.Auditing;
-namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos;
-
-///
-/// PUB结算
-///
-public class PUB_SA_DTO : EntityDto
-{
- ///
- /// 期间
- ///
- [Display(Name = "期间")]
- public string Version { get; set; }
- ///
- /// 结算单据
- ///
- [Display(Name = "结算单据")]
- public string BillNum { get; set; }
- ///
- /// 状态
- ///
- [Display(Name = "状态")]
- public string State { get; set; }
- ///
- /// 业务类型
- ///
- [Display(Name = "业务类型")]
- public BusinessType BusinessType { get; set; }
- ///
- /// 地点
- ///
- [Display(Name = "地点")]
- public string Place { get; set; }
-}
-
-///
-/// 查询
-///
-public class PUB_SARequestDto : RequestDto
-{
- ///
- /// 业务类别
- ///
- public EnumBusinessType BusinessType { get; set; }
-}
-
-///
-/// 导入请求
-///
-public class PUB_SAImportRequestDto
-{
- ///
- /// 文件
- ///
- public IFormFileCollection Files { get; set; }
- ///
- /// 业务类别
- ///
- public EnumBusinessType BusinessType { get; set; }
- ///
- /// 期间
- ///
- [Display(Name = "期间")]
- public int Version { get; set; }
- ///
- /// 地点
- ///
- [Display(Name = "地点")]
- public string Site { get; set; }
-}
-
-///
-/// 直供件BBAC导入
-///
-public class ZhiGongJianBBACImportDto
+namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
{
///
- /// 结算日期
- ///
- [Display(Name = "Pstng Date")]
- [ImporterHeader(Name = "Pstng Date")]
- public DateTime SettleDate { set; get; }
- ///
- /// 客户零件号
- ///
- [Display(Name = "Material")]
- [Required(ErrorMessage = "{0}不能为空")]
- [ImporterHeader(Name = "Material")]
- public string LU { get; set; }
- ///
- /// 生产号
- ///
- [Display(Name = "External Delivery ID")]
- [ImporterHeader(Name = "External Delivery ID")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string PN { get; set; }
- ///
- /// 数量
- ///
- [Display(Name = "Quantity")]
- [ImporterHeader(Name = "Quantity")]
- public decimal Qty { get; set; }
- ///
- /// 结算分组号
- ///
- [Display(Name = "External Delivery ID")]
- [ImporterHeader(Name = "External Delivery ID")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string GroupNum { get; set; }
- ///
- /// 根据Vendor=15663496过滤数据
- ///
- [Display(Name = "Vendor")]
- [ImporterHeader(Name = "Vendor")]
- public string Vendor { get; set; }
-}
-
-///
-/// 直供件HBPO导入
-///
-public class ZhiGongJianHBPOImportDto
-{
- ///
- /// 结算日期
- ///
- [Display(Name = "结算日期")]
- [ImporterHeader(IsIgnore = true)]
- public DateTime SettleDate { set; get; }
- ///
- /// 客户零件号
- ///
- [Display(Name = "零件号")]
- [Required(ErrorMessage = "{0}不能为空")]
- [ImporterHeader(Name = "零件号")]
- public string LU { get; set; }
- ///
- /// 生产号
- ///
- [Display(Name = "订单编号")]
- [ImporterHeader(Name = "订单编号")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string PN { get; set; }
- ///
- /// 数量
- ///
- [Display(Name = "数量")]
- [ImporterHeader(Name = "数量")]
- public decimal Qty { get; set; }
- ///
- /// 结算分组号
- ///
- [Display(Name = "订单编号")]
- [ImporterHeader(Name = "订单编号")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string GroupNum { get; set; }
- ///
- /// 地点
- ///
- [Display(Name = "地点")]
- [ImporterHeader(Name = "地点")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string Place { get; set; }
-}
-
-///
-/// 备件导入
-///
-public class BeiJianImportDto : BeiJianExtraImportDto
-{
- ///
- /// 结算日期
- ///
- [Display(Name = "结算日期")]
- [ImporterHeader(Name = "零件时间")]
- public DateTime SettleDate { set; get; }
-
- ///
- /// 客户零件号
- ///
- [Display(Name = "零件号")]
- [Required(ErrorMessage = "{0}不能为空")]
- [ImporterHeader(Name = "零件号")]
- public string LU { get; set; }
-
- ///
- /// 生产号
- ///
- [Display(Name = "交付识别号")]
- [ImporterHeader(Name = "交付识别号")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string PN { get; set; }
-
- ///
- /// 数量
- ///
- [Display(Name = "数量")]
- [ImporterHeader(Name = "数量")]
- public decimal Qty { get; set; }
-
- ///
- /// 结算分组号
- ///
- [Display(Name = "凭证号")]
- [ImporterHeader(Name = "凭证号")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string GroupNum { get; set; }
-
- ///
- /// 采购订单号
- ///
- [Display(Name = "采购订单号")]
- [ImporterHeader(Name = "采购订单号")]
- public string Extend3 { get; set; }
-}
-
-///
-/// 备件扩展
-///
-public class BeiJianExtraImportDto
-{
- ///
- /// 交货号
- ///
- [Display(Name = "交货号")]
- [ImporterHeader(Name = "交货号")]
- public string DeliveryNumber { set; get; }
-
- ///
- /// 发票号
- ///
- [Display(Name = "发票号")]
- [ImporterHeader(Name = "发票号")]
- public string InvoiceNumber { set; get; }
-
- ///
- /// 开票日期
- ///
- [Display(Name = "开票日期")]
- [ImporterHeader(Name = "开票日期")]
- public DateTime? MakeDate { set; get; }
-
- ///
- /// 供应商代码
- ///
- [Display(Name = "供应商代码")]
- [ImporterHeader(Name = "供应商代码")]
- public string VendorCode { set; get; }
-
- ///
- /// 供应商名称
- ///
- [Display(Name = "供应商名称")]
- [ImporterHeader(Name = "供应商名称")]
- public string VendorName { set; get; }
-
- ///
- /// 交付索引号
- ///
- [Display(Name = "交付索引号")]
- [ImporterHeader(Name = "交付索引号")]
- public string DeliveryIndexNumber { set; get; }
-
- ///
- /// 零件名称
- ///
- [Display(Name = "零件名称")]
- [ImporterHeader(Name = "零件名称")]
- public string PartName { set; get; }
-
- ///
- /// 价格
- ///
- [Display(Name = "价格")]
- [ImporterHeader(Name = "价格")]
- public decimal? Price { set; get; }
-
- ///
- /// 金额
- ///
- [Display(Name = "金额")]
- [ImporterHeader(Name = "金额")]
- public decimal? Amount { set; get; }
-
- ///
- /// 税额
- ///
- [Display(Name = "税额")]
- [ImporterHeader(Name = "税额")]
- public decimal? Tallage { set; get; }
-
- ///
- /// 价税合计
- ///
- [Display(Name = "价税合计")]
- [ImporterHeader(Name = "价税合计")]
- public decimal? Total { set; get; }
-
- ///
- /// 协议编号
- ///
- [Display(Name = "协议编号")]
- [ImporterHeader(Name = "协议编号")]
- public string ProtocolNumber { set; get; }
-
- ///
- /// 备注
- ///
- [Display(Name = "备注")]
- [ImporterHeader(Name = "备注")]
- public string Remark { set; get; }
-
- ///
- /// 商品组
- ///
- [Display(Name = "商品组")]
- [ImporterHeader(Name = "商品组")]
- public string CommodityGroup { set; get; }
-}
-
-///
-/// 印度件导入
-///
-public class YinDuJianImportDto
-{
- ///
- /// 结算日期
- ///
- [Display(Name = "Delivery Date")]
- [ImporterHeader(Name = "Delivery Date")]
- public DateTime SettleDate { set; get; }
-
- ///
- /// 客户零件号
- ///
- [Display(Name = "Material")]
- [Required(ErrorMessage = "{0}不能为空")]
- [ImporterHeader(Name = "Material")]
- public string LU { get; set; }
-
- ///
- /// 生产号
- ///
- [Display(Name = "External Delivery ID")]
- [ImporterHeader(Name = "External Delivery ID")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string PN { get; set; }
-
- ///
- /// 数量
- ///
- [Display(Name = "数量")]
- [ImporterHeader(Name = "Item")]
- public decimal Qty { get; set; }
-
- ///
- /// 结算分组号
- ///
- [Display(Name = "External Delivery ID")]
- [ImporterHeader(Name = "External Delivery ID")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string GroupNum { get; set; }
-
- ///
- /// Supplier
- ///
- [Display(Name = "Supplier")]
- [ImporterHeader(Name = "Supplier")]
- public string Supplier { get; set; }
-}
-
-///
-/// PUB结算明细
-///
-public class PUB_SA_DETAIL_DTO : AuditedAggregateRoot
-{
- ///
- /// 结算单
- ///
- public string BillNum { set; get; }
- ///
- /// 期间
- ///
- public int Version { set; get; }
- ///
- /// 结算分组号
- ///
- public string GroupNum { get; set; }
- ///
- /// 生产号
- ///
- public string PN { get; set; }
- ///
- /// 客户物料号
- ///
- public string LU { get; set; }
- ///
- /// 数量
- ///
- public string Qty { get; set; }
- ///
- /// 结算日期
- ///
- public string SettleDate { set; get; }
- ///
- /// 单价
- ///
- public decimal Price { set; get; }
- ///
- /// 厂内物料号
- ///
- public string PartCode { get; set; }
-}
-
-///
-/// 结算明细导出请求
-///
-public class PUB_SA_DETAIL_EXPORT_REQUEST_DTO
-{
- ///
- /// 结算单号
- ///
- [Display(Name = "结算单号")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string BillNum { set; get; }
-}
-
-///
-/// 结算明细导出
-///
-public class PUB_SA_DETAIL_EXPORT_DTO
-{
- ///
- /// 结算单号
- ///
- [Display(Name = "结算单号")]
- [ExporterHeader(DisplayName = "结算单号")]
- public string BillNum { set; get; }
-
- ///
- /// 结算日期(收货日期)
- ///
- [Display(Name = "结算日期(收货日期)")]
- [ExporterHeader(DisplayName = "Pstng Date")]
- public DateTime SettleDate { set; get; }
-
- ///
- /// 零件号
- ///
- [Display(Name = "零件号")]
- [ExporterHeader(DisplayName = "Material")]
- public string LU { get; set; }
-
- ///
- /// 数量
- ///
- [Display(Name = "数量")]
- [ExporterHeader(DisplayName = "Quantity")]
- public decimal Qty { get; set; }
-
- ///
- /// 发货单号
- ///
- [Display(Name = "发货单号")]
- [ExporterHeader(DisplayName = "External Delivery ID")]
- public string PN { get; set; }
-
- ///
- /// 结算分组
- ///
- [Display(Name = "结算分组")]
- [ExporterHeader(DisplayName = "Delivery")]
- public string GroupNum { get; set; }
-}
-
-///
-/// Pub结算与发运对比请求
-///
-public class PubSaSeCompareRequestDto
-{
- ///
- /// 期间
- ///
- [Display(Name = "期间")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string Version { get; set; }
-
- ///
- /// 零件号
- ///
- [Display(Name = "零件号")]
- public string LU { get; set; }
-
- ///
- /// 通用码
- ///
- [Display(Name = "通用码")]
- public string PN { get; set; }
-
- ///
- /// 业务类型
- ///
- public EnumBusinessType BusinessType { get; set; }
-
- ///
- /// 发运开始时间
- ///
- public DateTime? SeStartDateTime { get; set; }
-
- ///
- /// 发运结束时间
- ///
- public DateTime? SeEndDateTime { get; set; }
-}
-
-public class JobRequestDto
-{
- ///
- /// 业务类别
- ///
- public EnumBusinessType BusinessType { get; set; }
-
- //public Guid Id { get; set; }
-
- //public List ExportName { get; set; }
-
- //public List Propert { get; set; }
+ /// PUB结算
+ ///
+ public class PUB_SA_DTO : EntityDto
+ {
+ ///
+ /// 期间
+ ///
+ [Display(Name = "期间")]
+ public string Version { get; set; }
+ ///
+ /// 结算单据
+ ///
+ [Display(Name = "结算单据")]
+ public string BillNum { get; set; }
+ ///
+ /// 状态
+ ///
+ [Display(Name = "状态")]
+ public string State { get; set; }
+ ///
+ /// 业务类型
+ ///
+ [Display(Name = "业务类型")]
+ public BusinessType BusinessType { get; set; }
+ ///
+ /// 地点
+ ///
+ [Display(Name = "地点")]
+ public string Place { get; set; }
+ }
+
+ ///
+ /// 查询
+ ///
+ public class PUB_SARequestDto : RequestDto
+ {
+ ///
+ /// 业务类别
+ ///
+ public EnumBusinessType BusinessType { get; set; }
+ }
+
+ ///
+ /// 导入请求
+ ///
+ public class PUB_SAImportRequestDto
+ {
+ ///
+ /// 文件
+ ///
+ public IFormFileCollection Files { get; set; }
+ ///
+ /// 业务类别
+ ///
+ public EnumBusinessType BusinessType { get; set; }
+ ///
+ /// 期间
+ ///
+ [Display(Name = "期间")]
+ public int Version { get; set; }
+ ///
+ /// 地点
+ ///
+ [Display(Name = "地点")]
+ public string Site { get; set; }
+ }
+
+ ///
+ /// 直供件BBAC导入
+ ///
+ public class ZhiGongJianBBACImportDto
+ {
+ ///
+ /// 结算日期
+ ///
+ [Display(Name = "Pstng Date")]
+ [ImporterHeader(Name = "Pstng Date")]
+ public DateTime SettleDate { set; get; }
+ ///
+ /// 客户零件号
+ ///
+ [Display(Name = "Material")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ [ImporterHeader(Name = "Material")]
+ public string LU { get; set; }
+ ///
+ /// 生产号
+ ///
+ [Display(Name = "External Delivery ID")]
+ [ImporterHeader(Name = "External Delivery ID")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string PN { get; set; }
+ ///
+ /// 数量
+ ///
+ [Display(Name = "Quantity")]
+ [ImporterHeader(Name = "Quantity")]
+ public decimal Qty { get; set; }
+ ///
+ /// 结算分组号
+ ///
+ [Display(Name = "External Delivery ID")]
+ [ImporterHeader(Name = "External Delivery ID")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string GroupNum { get; set; }
+ ///
+ /// 根据Vendor=15663496过滤数据
+ ///
+ [Display(Name = "Vendor")]
+ [ImporterHeader(Name = "Vendor")]
+ public string Vendor { get; set; }
+ }
+
+ ///
+ /// 直供件HBPO导入
+ ///
+ public class ZhiGongJianHBPOImportDto
+ {
+ ///
+ /// 结算日期
+ ///
+ [Display(Name = "结算日期")]
+ [ImporterHeader(IsIgnore = true)]
+ public DateTime SettleDate { set; get; }
+ ///
+ /// 客户零件号
+ ///
+ [Display(Name = "零件号")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ [ImporterHeader(Name = "零件号")]
+ public string LU { get; set; }
+ ///
+ /// 生产号
+ ///
+ [Display(Name = "订单编号")]
+ [ImporterHeader(Name = "订单编号")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string PN { get; set; }
+ ///
+ /// 数量
+ ///
+ [Display(Name = "数量")]
+ [ImporterHeader(Name = "数量")]
+ public decimal Qty { get; set; }
+ ///
+ /// 结算分组号
+ ///
+ [Display(Name = "订单编号")]
+ [ImporterHeader(Name = "订单编号")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string GroupNum { get; set; }
+ ///
+ /// 地点
+ ///
+ [Display(Name = "地点")]
+ [ImporterHeader(Name = "地点")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string Place { get; set; }
+ }
+
+ ///
+ /// 备件导入
+ ///
+ public class BeiJianImportDto : BeiJianExtraImportDto
+ {
+ ///
+ /// 结算日期
+ ///
+ [Display(Name = "结算日期")]
+ [ImporterHeader(Name = "零件时间")]
+ public DateTime SettleDate { set; get; }
+
+ ///
+ /// 客户零件号
+ ///
+ [Display(Name = "零件号")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ [ImporterHeader(Name = "零件号")]
+ public string LU { get; set; }
+
+ ///
+ /// 生产号
+ ///
+ [Display(Name = "交付识别号")]
+ [ImporterHeader(Name = "交付识别号")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string PN { get; set; }
+
+ ///
+ /// 数量
+ ///
+ [Display(Name = "数量")]
+ [ImporterHeader(Name = "数量")]
+ public decimal Qty { get; set; }
+
+ ///
+ /// 结算分组号
+ ///
+ [Display(Name = "凭证号")]
+ [ImporterHeader(Name = "凭证号")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string GroupNum { get; set; }
+
+ ///
+ /// 采购订单号
+ ///
+ [Display(Name = "采购订单号")]
+ [ImporterHeader(Name = "采购订单号")]
+ public string Extend3 { get; set; }
+ }
+
+ ///
+ /// 备件扩展
+ ///
+ public class BeiJianExtraImportDto
+ {
+ ///
+ /// 交货号
+ ///
+ [Display(Name = "交货号")]
+ [ImporterHeader(Name = "交货号")]
+ public string DeliveryNumber { set; get; }
+
+ ///
+ /// 发票号
+ ///
+ [Display(Name = "发票号")]
+ [ImporterHeader(Name = "发票号")]
+ public string InvoiceNumber { set; get; }
+
+ ///
+ /// 开票日期
+ ///
+ [Display(Name = "开票日期")]
+ [ImporterHeader(Name = "开票日期")]
+ public DateTime? MakeDate { set; get; }
+
+ ///
+ /// 供应商代码
+ ///
+ [Display(Name = "供应商代码")]
+ [ImporterHeader(Name = "供应商代码")]
+ public string VendorCode { set; get; }
+
+ ///
+ /// 供应商名称
+ ///
+ [Display(Name = "供应商名称")]
+ [ImporterHeader(Name = "供应商名称")]
+ public string VendorName { set; get; }
+
+ ///
+ /// 交付索引号
+ ///
+ [Display(Name = "交付索引号")]
+ [ImporterHeader(Name = "交付索引号")]
+ public string DeliveryIndexNumber { set; get; }
+
+ ///
+ /// 零件名称
+ ///
+ [Display(Name = "零件名称")]
+ [ImporterHeader(Name = "零件名称")]
+ public string PartName { set; get; }
+
+ ///
+ /// 价格
+ ///
+ [Display(Name = "价格")]
+ [ImporterHeader(Name = "价格")]
+ public decimal? Price { set; get; }
+
+ ///
+ /// 金额
+ ///
+ [Display(Name = "金额")]
+ [ImporterHeader(Name = "金额")]
+ public decimal? Amount { set; get; }
+
+ ///
+ /// 税额
+ ///
+ [Display(Name = "税额")]
+ [ImporterHeader(Name = "税额")]
+ public decimal? Tallage { set; get; }
+
+ ///
+ /// 价税合计
+ ///
+ [Display(Name = "价税合计")]
+ [ImporterHeader(Name = "价税合计")]
+ public decimal? Total { set; get; }
+
+ ///
+ /// 协议编号
+ ///
+ [Display(Name = "协议编号")]
+ [ImporterHeader(Name = "协议编号")]
+ public string ProtocolNumber { set; get; }
+
+ ///
+ /// 备注
+ ///
+ [Display(Name = "备注")]
+ [ImporterHeader(Name = "备注")]
+ public string Remark { set; get; }
+
+ ///
+ /// 商品组
+ ///
+ [Display(Name = "商品组")]
+ [ImporterHeader(Name = "商品组")]
+ public string CommodityGroup { set; get; }
+ }
+
+ ///
+ /// 印度件导入
+ ///
+ public class YinDuJianImportDto
+ {
+ ///
+ /// 结算日期
+ ///
+ [Display(Name = "Delivery Date")]
+ [ImporterHeader(Name = "Delivery Date")]
+ public DateTime SettleDate { set; get; }
+
+ ///
+ /// 客户零件号
+ ///
+ [Display(Name = "Material")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ [ImporterHeader(Name = "Material")]
+ public string LU { get; set; }
+
+ ///
+ /// 生产号
+ ///
+ [Display(Name = "External Delivery ID")]
+ [ImporterHeader(Name = "External Delivery ID")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string PN { get; set; }
+
+ ///
+ /// 数量
+ ///
+ [Display(Name = "数量")]
+ [ImporterHeader(Name = "Item")]
+ public decimal Qty { get; set; }
+
+ ///
+ /// 结算分组号
+ ///
+ [Display(Name = "External Delivery ID")]
+ [ImporterHeader(Name = "External Delivery ID")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string GroupNum { get; set; }
+
+ ///
+ /// Supplier
+ ///
+ [Display(Name = "Supplier")]
+ [ImporterHeader(Name = "Supplier")]
+ public string Supplier { get; set; }
+ }
+
+ ///
+ /// PUB结算明细
+ ///
+ public class PUB_SA_DETAIL_DTO : AuditedAggregateRoot
+ {
+ ///
+ /// 结算单
+ ///
+ public string BillNum { set; get; }
+ ///
+ /// 期间
+ ///
+ public int Version { set; get; }
+ ///
+ /// 结算分组号
+ ///
+ public string GroupNum { get; set; }
+ ///
+ /// 生产号
+ ///
+ public string PN { get; set; }
+ ///
+ /// 客户物料号
+ ///
+ public string LU { get; set; }
+ ///
+ /// 数量
+ ///
+ public string Qty { get; set; }
+ ///
+ /// 结算日期
+ ///
+ public string SettleDate { set; get; }
+ ///
+ /// 单价
+ ///
+ public decimal Price { set; get; }
+ ///
+ /// 厂内物料号
+ ///
+ public string PartCode { get; set; }
+ }
+
+ ///
+ /// 结算明细导出请求
+ ///
+ public class PUB_SA_DETAIL_EXPORT_REQUEST_DTO
+ {
+ ///
+ /// 结算单号
+ ///
+ [Display(Name = "结算单号")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string BillNum { set; get; }
+ }
+
+ ///
+ /// 结算明细导出
+ ///
+ public class PUB_SA_DETAIL_EXPORT_DTO
+ {
+ ///
+ /// 结算单号
+ ///
+ [Display(Name = "结算单号")]
+ [ExporterHeader(DisplayName = "结算单号")]
+ public string BillNum { set; get; }
+
+ ///
+ /// 结算日期(收货日期)
+ ///
+ [Display(Name = "结算日期(收货日期)")]
+ [ExporterHeader(DisplayName = "Pstng Date")]
+ public DateTime SettleDate { set; get; }
+
+ ///
+ /// 零件号
+ ///
+ [Display(Name = "零件号")]
+ [ExporterHeader(DisplayName = "Material")]
+ public string LU { get; set; }
+
+ ///
+ /// 数量
+ ///
+ [Display(Name = "数量")]
+ [ExporterHeader(DisplayName = "Quantity")]
+ public decimal Qty { get; set; }
+
+ ///
+ /// 发货单号
+ ///
+ [Display(Name = "发货单号")]
+ [ExporterHeader(DisplayName = "External Delivery ID")]
+ public string PN { get; set; }
+
+ ///
+ /// 结算分组
+ ///
+ [Display(Name = "结算分组")]
+ [ExporterHeader(DisplayName = "Delivery")]
+ public string GroupNum { get; set; }
+ }
+
+ ///
+ /// Pub结算与发运对比请求
+ ///
+ public class PubSaSeCompareRequestDto
+ {
+ ///
+ /// 期间
+ ///
+ [Display(Name = "期间")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string Version { get; set; }
+
+ ///
+ /// 零件号
+ ///
+ [Display(Name = "零件号")]
+ public string LU { get; set; }
+
+ ///
+ /// 通用码
+ ///
+ [Display(Name = "通用码")]
+ public string PN { get; set; }
+
+ ///
+ /// 业务类型
+ ///
+ public EnumBusinessType BusinessType { get; set; }
+
+ ///
+ /// 发运开始时间
+ ///
+ public DateTime? SeStartDateTime { get; set; }
+
+ ///
+ /// 发运结束时间
+ ///
+ public DateTime? SeEndDateTime { get; set; }
+ }
+
+ public class JobRequestDto
+ {
+ ///
+ /// 业务类别
+ ///
+ public EnumBusinessType BusinessType { get; set; }
+
+ //public Guid Id { get; set; }
+
+ //public List ExportName { get; set; }
+
+ //public List Propert { get; set; }
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_SE_DETAIL_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_SE_DETAIL_DTO.cs
index c2313e59..7f9a0da7 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_SE_DETAIL_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_SE_DETAIL_DTO.cs
@@ -5,385 +5,386 @@ using Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Entities.BQ.Syncs;
-namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos;
-
-///
-/// PUB发运数据
-///
-public class PUB_SE_DETAIL_DTO : EntityDto
+namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
{
///
- /// 期间
- ///
- public int Version { set; get; }
- ///
- /// 发货时间
- ///
- public DateTime ShippingDate { set; get; }
- ///
- /// 发运单号
- ///
- public string WmsBillNum { set; get; }
- ///
- /// 客户零件号
- ///
- public string LU { get; set; }
- ///
- /// 厂内零件号
- ///
- public string FactoryPartCode { get; set; }
- ///
- /// 生产号
- ///
- public string PN { get; set; }
- ///
- /// 组合键值(PN+LU)
- ///
- public string KeyCode { get; set; }
- ///
- /// 数量
- ///
- public decimal Qty { get; set; }
- ///
- /// UID
- ///
- [Display(Name = "UID")]
- [DisplayName("UID")]
- public long UID { get; set; }
- ///
- /// 发货单号
- ///
- [Display(Name = "发货单号")]
- public string BillNum { get; set; }
- ///
- /// 发货时间
- ///
- [Display(Name = "发货时间")]
- public DateTime BillTime { get; set; }
- ///
- /// 订单时间
- ///
- [Display(Name = "订单时间")]
- public DateTime AssembleData { get; set; }
- ///
- /// 零件号
- ///
- [Display(Name = "零件号")]
- public string PartCode { get; set; }
- ///
- /// 批次
- ///
- [Display(Name = "批次")]
- public string Batch { get; set; }
- ///
- /// 客户零件号
- ///
- [Display(Name = "客户零件号")]
- public string CustPartCode { get; set; }
- ///
- /// 发货人
- ///
- [Display(Name = "发货人")]
- public string Oper { get; set; }
- ///
- /// DN单据号
- ///
- [Display(Name = "DN单据号")]
- public string DnBillNum { get; set; }
- ///
- /// DN单据时间
- ///
- [Display(Name = "DN单据时间")]
- public DateTime DnBillTime { get; set; }
- ///
- /// DN单添加人
- ///
- [Display(Name = "DN单添加人")]
- public string DnOper { get; set; }
- ///
- /// 交付索引
- ///
- [Display(Name = "交付索引")]
- public string DeliveryIndex { get; set; }
- ///
- /// 客户
- ///
- [Display(Name = "客户")]
- public string CustId { get; set; }
- ///
- /// 发货仓库
- ///
- [Display(Name = "发货仓库")]
- public string DeliveryHose { get; set; }
- ///
- /// 来源库位
- ///
- [Display(Name = "来源库位")]
- public string FromLocCode { get; set; }
- ///
- /// 来源仓库
- ///
- [Display(Name = "来源仓库")]
- public string FromHose { get; set; }
- ///
- /// 来源ERP库存
- ///
- [Display(Name = "来源ERP库存")]
- public string FromErpLocCode { get; set; }
- ///
- /// 目标库位
- ///
- [Display(Name = "目标库位")]
- public string ToLocCode { get; set; }
- ///
- /// 目标仓库
- ///
- [Display(Name = "目标仓库")]
- public string ToHose { get; set; }
- ///
- /// 目标Erp库位
- ///
- [Display(Name = "目标Erp库位")]
- public string ToErpLocCode { get; set; }
- ///
- /// 状态
- ///
- [Display(Name = "状态")]
- public EnumBillState State { get; set; }
- ///
- /// 备注
- ///
- [Display(Name = "备注")]
- public string Remark { get; set; }
- ///
- /// 单据类型
- ///
- [Display(Name = "单据类型")]
- public EnumBillType BillType { get; set; }
- ///
- /// 子单据类型
- ///
- [Display(Name = "子单据类型")]
- public EnumSubBillType SubBillType { get; set; }
- ///
- /// 业务类型
- ///
- [Display(Name = "业务类型")]
- public EnumProTpe ProType { get; set; }
- ///
- /// 事务类型
- ///
- [Display(Name = "事务类型")]
- public EnumDelTransType TransType { get; set; }
- ///
- /// 发运主类型
- ///
- [Display(Name = "发运主类型")]
- public EnumDeliverBjBmpBillType DeliverBillType { get; set; }
- ///
- /// 发运子类型
- ///
- [Display(Name = "发运子类型")]
- public EnumDeliverSubBillType DeliverSubBillType { get; set; }
- ///
- /// 创建时间
- ///
- [Display(Name = "创建时间")]
- public DateTime CreateTime { get; set; }
-}
+ /// PUB发运数据
+ ///
+ public class PUB_SE_DETAIL_DTO : EntityDto
+ {
+ ///
+ /// 期间
+ ///
+ public int Version { set; get; }
+ ///
+ /// 发货时间
+ ///
+ public DateTime ShippingDate { set; get; }
+ ///
+ /// 发运单号
+ ///
+ public string WmsBillNum { set; get; }
+ ///
+ /// 客户零件号
+ ///
+ public string LU { get; set; }
+ ///
+ /// 厂内零件号
+ ///
+ public string FactoryPartCode { get; set; }
+ ///
+ /// 生产号
+ ///
+ public string PN { get; set; }
+ ///
+ /// 组合键值(PN+LU)
+ ///
+ public string KeyCode { get; set; }
+ ///
+ /// 数量
+ ///
+ public decimal Qty { get; set; }
+ ///
+ /// UID
+ ///
+ [Display(Name = "UID")]
+ [DisplayName("UID")]
+ public long UID { get; set; }
+ ///
+ /// 发货单号
+ ///
+ [Display(Name = "发货单号")]
+ public string BillNum { get; set; }
+ ///
+ /// 发货时间
+ ///
+ [Display(Name = "发货时间")]
+ public DateTime BillTime { get; set; }
+ ///
+ /// 订单时间
+ ///
+ [Display(Name = "订单时间")]
+ public DateTime AssembleData { get; set; }
+ ///
+ /// 零件号
+ ///
+ [Display(Name = "零件号")]
+ public string PartCode { get; set; }
+ ///
+ /// 批次
+ ///
+ [Display(Name = "批次")]
+ public string Batch { get; set; }
+ ///
+ /// 客户零件号
+ ///
+ [Display(Name = "客户零件号")]
+ public string CustPartCode { get; set; }
+ ///
+ /// 发货人
+ ///
+ [Display(Name = "发货人")]
+ public string Oper { get; set; }
+ ///
+ /// DN单据号
+ ///
+ [Display(Name = "DN单据号")]
+ public string DnBillNum { get; set; }
+ ///
+ /// DN单据时间
+ ///
+ [Display(Name = "DN单据时间")]
+ public DateTime DnBillTime { get; set; }
+ ///
+ /// DN单添加人
+ ///
+ [Display(Name = "DN单添加人")]
+ public string DnOper { get; set; }
+ ///
+ /// 交付索引
+ ///
+ [Display(Name = "交付索引")]
+ public string DeliveryIndex { get; set; }
+ ///
+ /// 客户
+ ///
+ [Display(Name = "客户")]
+ public string CustId { get; set; }
+ ///
+ /// 发货仓库
+ ///
+ [Display(Name = "发货仓库")]
+ public string DeliveryHose { get; set; }
+ ///
+ /// 来源库位
+ ///
+ [Display(Name = "来源库位")]
+ public string FromLocCode { get; set; }
+ ///
+ /// 来源仓库
+ ///
+ [Display(Name = "来源仓库")]
+ public string FromHose { get; set; }
+ ///
+ /// 来源ERP库存
+ ///
+ [Display(Name = "来源ERP库存")]
+ public string FromErpLocCode { get; set; }
+ ///
+ /// 目标库位
+ ///
+ [Display(Name = "目标库位")]
+ public string ToLocCode { get; set; }
+ ///
+ /// 目标仓库
+ ///
+ [Display(Name = "目标仓库")]
+ public string ToHose { get; set; }
+ ///
+ /// 目标Erp库位
+ ///
+ [Display(Name = "目标Erp库位")]
+ public string ToErpLocCode { get; set; }
+ ///
+ /// 状态
+ ///
+ [Display(Name = "状态")]
+ public EnumBillState State { get; set; }
+ ///
+ /// 备注
+ ///
+ [Display(Name = "备注")]
+ public string Remark { get; set; }
+ ///
+ /// 单据类型
+ ///
+ [Display(Name = "单据类型")]
+ public EnumBillType BillType { get; set; }
+ ///
+ /// 子单据类型
+ ///
+ [Display(Name = "子单据类型")]
+ public EnumSubBillType SubBillType { get; set; }
+ ///
+ /// 业务类型
+ ///
+ [Display(Name = "业务类型")]
+ public EnumProTpe ProType { get; set; }
+ ///
+ /// 事务类型
+ ///
+ [Display(Name = "事务类型")]
+ public EnumDelTransType TransType { get; set; }
+ ///
+ /// 发运主类型
+ ///
+ [Display(Name = "发运主类型")]
+ public EnumDeliverBjBmpBillType DeliverBillType { get; set; }
+ ///
+ /// 发运子类型
+ ///
+ [Display(Name = "发运子类型")]
+ public EnumDeliverSubBillType DeliverSubBillType { get; set; }
+ ///
+ /// 创建时间
+ ///
+ [Display(Name = "创建时间")]
+ public DateTime CreateTime { get; set; }
+ }
-///
-/// 查询
-///
-public class PUB_SE_DETAIL_RequestDto : RequestDto
-{
///
- /// 业务类别
+ /// 查询
///
- public EnumBusinessType BusinessType { get; set; }
-}
+ public class PUB_SE_DETAIL_RequestDto : RequestDto
+ {
+ ///
+ /// 业务类别
+ ///
+ public EnumBusinessType BusinessType { get; set; }
+ }
-///
-/// 导出
-///
-public class PUB_SE_DETAIL_EXPORT_DTO
-{
- ///
- /// 期间
- ///
- [ExporterHeader(DisplayName = "期间")]
- public int Version { set; get; }
- ///
- /// 发货时间
- ///
- [ExporterHeader(DisplayName = "发货时间")]
- public DateTime ShippingDate { set; get; }
- ///
- /// 发运单号
- ///
- [ExporterHeader(DisplayName = "发运单号")]
- public string WmsBillNum { set; get; }
- ///
- /// 客户零件号
- ///
- [ExporterHeader(DisplayName = "客户零件号")]
- public string LU { get; set; }
- ///
- /// 厂内零件号
- ///
- [ExporterHeader(DisplayName = "厂内零件号")]
- public string FactoryPartCode { get; set; }
///
- /// 生产号
- ///
- [ExporterHeader(DisplayName = "生产号")]
- public string PN { get; set; }
- ///
- /// 组合键值(PN+LU)
- ///
- [ExporterHeader(DisplayName = "组合键值")]
- public string KeyCode { get; set; }
- ///
- /// 数量
- ///
- [ExporterHeader(DisplayName = "数量")]
- public decimal Qty { get; set; }
- ///
- /// UID
- ///
- [Display(Name = "UID")]
- [ExporterHeader(DisplayName = "UID")]
- public long UID { get; set; }
- ///
- /// 发货单号
- ///
- [Display(Name = "发货单号")]
- [ExporterHeader(DisplayName = "发货单号")]
- public string BillNum { get; set; }
- ///
- /// 发货时间
- ///
- [Display(Name = "发货时间")]
- [ExporterHeader(DisplayName = "发货时间")]
- public DateTime BillTime { get; set; }
- ///
- /// 订单时间
- ///
- [Display(Name = "订单时间")]
- [ExporterHeader(DisplayName = "订单时间")]
- public DateTime AssembleData { get; set; }
- ///
- /// 零件号
- ///
- [Display(Name = "零件号")]
- [ExporterHeader(DisplayName = "零件号")]
- public string PartCode { get; set; }
- ///
- /// 批次
- ///
- [Display(Name = "批次")]
- [ExporterHeader(DisplayName = "批次")]
- public string Batch { get; set; }
- ///
- /// 客户零件号
- ///
- [Display(Name = "客户零件号")]
- [ExporterHeader(DisplayName = "客户零件号")]
- public string CustPartCode { get; set; }
- ///
- /// 发货人
- ///
- [Display(Name = "发货人")]
- [ExporterHeader(DisplayName = "发货人")]
- public string Oper { get; set; }
- ///
- /// DN单据号
- ///
- [Display(Name = "DN单据号")]
- [ExporterHeader(DisplayName = "DN单据号")]
- public string DnBillNum { get; set; }
- ///
- /// DN单据时间
- ///
- [Display(Name = "DN单据时间")]
- [ExporterHeader(DisplayName = "DN单据时间")]
- public DateTime DnBillTime { get; set; }
- ///
- /// DN单添加人
- ///
- [Display(Name = "DN单添加人")]
- [ExporterHeader(DisplayName = "DN单添加人")]
- public string DnOper { get; set; }
- ///
- /// 交付索引
- ///
- [Display(Name = "交付索引")]
- [ExporterHeader(DisplayName = "交付索引")]
- public string DeliveryIndex { get; set; }
- ///
- /// 客户
- ///
- [Display(Name = "客户")]
- [ExporterHeader(DisplayName = "客户")]
- public string CustId { get; set; }
- ///
- /// 发货仓库
- ///
- [Display(Name = "发货仓库")]
- [ExporterHeader(DisplayName = "发货仓库")]
- public string DeliveryHose { get; set; }
- ///
- /// 来源库位
- ///
- [Display(Name = "来源库位")]
- [ExporterHeader(DisplayName = "来源库位")]
- public string FromLocCode { get; set; }
- ///
- /// 来源仓库
- ///
- [Display(Name = "来源仓库")]
- [ExporterHeader(DisplayName = "来源仓库")]
- public string FromHose { get; set; }
- ///
- /// 来源ERP库存
- ///
- [Display(Name = "来源ERP库存")]
- [ExporterHeader(DisplayName = "来源ERP库存")]
- public string FromErpLocCode { get; set; }
- ///
- /// 目标库位
- ///
- [Display(Name = "目标库位")]
- [ExporterHeader(DisplayName = "目标库位")]
- public string ToLocCode { get; set; }
- ///
- /// 目标仓库
- ///
- [Display(Name = "目标仓库")]
- [ExporterHeader(DisplayName = "目标仓库")]
- public string ToHose { get; set; }
- ///
- /// 目标Erp库位
- ///
- [Display(Name = "目标Erp库位")]
- [ExporterHeader(DisplayName = "目标Erp库位")]
- public string ToErpLocCode { get; set; }
- ///
- /// 状态
- ///
- [Display(Name = "状态")]
- [ExporterHeader(DisplayName = "状态")]
- public EnumBillState State { get; set; }
- ///
- /// 备注
- ///
- [Display(Name = "备注")]
- [ExporterHeader(DisplayName = "备注")]
- public string Remark { get; set; }
- ///
- /// 创建时间
- ///
- [Display(Name = "创建时间")]
- [ExporterHeader(DisplayName = "创建时间")]
- public DateTime CreateTime { get; set; }
+ /// 导出
+ ///
+ public class PUB_SE_DETAIL_EXPORT_DTO
+ {
+ ///
+ /// 期间
+ ///
+ [ExporterHeader(DisplayName = "期间")]
+ public int Version { set; get; }
+ ///
+ /// 发货时间
+ ///
+ [ExporterHeader(DisplayName = "发货时间")]
+ public DateTime ShippingDate { set; get; }
+ ///
+ /// 发运单号
+ ///
+ [ExporterHeader(DisplayName = "发运单号")]
+ public string WmsBillNum { set; get; }
+ ///
+ /// 客户零件号
+ ///
+ [ExporterHeader(DisplayName = "客户零件号")]
+ public string LU { get; set; }
+ ///
+ /// 厂内零件号
+ ///
+ [ExporterHeader(DisplayName = "厂内零件号")]
+ public string FactoryPartCode { get; set; }
+ ///
+ /// 生产号
+ ///
+ [ExporterHeader(DisplayName = "生产号")]
+ public string PN { get; set; }
+ ///
+ /// 组合键值(PN+LU)
+ ///
+ [ExporterHeader(DisplayName = "组合键值")]
+ public string KeyCode { get; set; }
+ ///
+ /// 数量
+ ///
+ [ExporterHeader(DisplayName = "数量")]
+ public decimal Qty { get; set; }
+ ///
+ /// UID
+ ///
+ [Display(Name = "UID")]
+ [ExporterHeader(DisplayName = "UID")]
+ public long UID { get; set; }
+ ///
+ /// 发货单号
+ ///
+ [Display(Name = "发货单号")]
+ [ExporterHeader(DisplayName = "发货单号")]
+ public string BillNum { get; set; }
+ ///
+ /// 发货时间
+ ///
+ [Display(Name = "发货时间")]
+ [ExporterHeader(DisplayName = "发货时间")]
+ public DateTime BillTime { get; set; }
+ ///
+ /// 订单时间
+ ///
+ [Display(Name = "订单时间")]
+ [ExporterHeader(DisplayName = "订单时间")]
+ public DateTime AssembleData { get; set; }
+ ///
+ /// 零件号
+ ///
+ [Display(Name = "零件号")]
+ [ExporterHeader(DisplayName = "零件号")]
+ public string PartCode { get; set; }
+ ///
+ /// 批次
+ ///
+ [Display(Name = "批次")]
+ [ExporterHeader(DisplayName = "批次")]
+ public string Batch { get; set; }
+ ///
+ /// 客户零件号
+ ///
+ [Display(Name = "客户零件号")]
+ [ExporterHeader(DisplayName = "客户零件号")]
+ public string CustPartCode { get; set; }
+ ///
+ /// 发货人
+ ///
+ [Display(Name = "发货人")]
+ [ExporterHeader(DisplayName = "发货人")]
+ public string Oper { get; set; }
+ ///
+ /// DN单据号
+ ///
+ [Display(Name = "DN单据号")]
+ [ExporterHeader(DisplayName = "DN单据号")]
+ public string DnBillNum { get; set; }
+ ///
+ /// DN单据时间
+ ///
+ [Display(Name = "DN单据时间")]
+ [ExporterHeader(DisplayName = "DN单据时间")]
+ public DateTime DnBillTime { get; set; }
+ ///
+ /// DN单添加人
+ ///
+ [Display(Name = "DN单添加人")]
+ [ExporterHeader(DisplayName = "DN单添加人")]
+ public string DnOper { get; set; }
+ ///
+ /// 交付索引
+ ///
+ [Display(Name = "交付索引")]
+ [ExporterHeader(DisplayName = "交付索引")]
+ public string DeliveryIndex { get; set; }
+ ///
+ /// 客户
+ ///
+ [Display(Name = "客户")]
+ [ExporterHeader(DisplayName = "客户")]
+ public string CustId { get; set; }
+ ///
+ /// 发货仓库
+ ///
+ [Display(Name = "发货仓库")]
+ [ExporterHeader(DisplayName = "发货仓库")]
+ public string DeliveryHose { get; set; }
+ ///
+ /// 来源库位
+ ///
+ [Display(Name = "来源库位")]
+ [ExporterHeader(DisplayName = "来源库位")]
+ public string FromLocCode { get; set; }
+ ///
+ /// 来源仓库
+ ///
+ [Display(Name = "来源仓库")]
+ [ExporterHeader(DisplayName = "来源仓库")]
+ public string FromHose { get; set; }
+ ///
+ /// 来源ERP库存
+ ///
+ [Display(Name = "来源ERP库存")]
+ [ExporterHeader(DisplayName = "来源ERP库存")]
+ public string FromErpLocCode { get; set; }
+ ///
+ /// 目标库位
+ ///
+ [Display(Name = "目标库位")]
+ [ExporterHeader(DisplayName = "目标库位")]
+ public string ToLocCode { get; set; }
+ ///
+ /// 目标仓库
+ ///
+ [Display(Name = "目标仓库")]
+ [ExporterHeader(DisplayName = "目标仓库")]
+ public string ToHose { get; set; }
+ ///
+ /// 目标Erp库位
+ ///
+ [Display(Name = "目标Erp库位")]
+ [ExporterHeader(DisplayName = "目标Erp库位")]
+ public string ToErpLocCode { get; set; }
+ ///
+ /// 状态
+ ///
+ [Display(Name = "状态")]
+ [ExporterHeader(DisplayName = "状态")]
+ public EnumBillState State { get; set; }
+ ///
+ /// 备注
+ ///
+ [Display(Name = "备注")]
+ [ExporterHeader(DisplayName = "备注")]
+ public string Remark { get; set; }
+ ///
+ /// 创建时间
+ ///
+ [Display(Name = "创建时间")]
+ [ExporterHeader(DisplayName = "创建时间")]
+ public DateTime CreateTime { get; set; }
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PURCHASE_PRICE_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PURCHASE_PRICE_DTO.cs
index a139c935..5ef27817 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PURCHASE_PRICE_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PURCHASE_PRICE_DTO.cs
@@ -3,63 +3,64 @@ using System.ComponentModel.DataAnnotations;
using Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
-namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos;
-
-///
-/// 采购价格单
-///
-public class PURCHASE_PRICE_DTO : EntityDto
+namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
{
///
- /// 零件号
+ /// 采购价格单
///
- [Display(Name = "零件号")]
- public string LU { get; set; }
+ public class PURCHASE_PRICE_DTO : EntityDto
+ {
+ ///
+ /// 零件号
+ ///
+ [Display(Name = "零件号")]
+ public string LU { get; set; }
- ///
- /// 价格
- ///
- [Display(Name = "价格")]
- public decimal Price { get; set; }
-}
+ ///
+ /// 价格
+ ///
+ [Display(Name = "价格")]
+ public decimal Price { get; set; }
+ }
-///
-/// 导入
-///
-public class PURCHASE_PRICE_IMPORT_DTO
-{
///
- /// 零件号
+ /// 导入
///
- [Display(Name = "零件号")]
- [Required(ErrorMessage = "{0}是必填项")]
- [ImporterHeader(Name = "零件号")]
- public string LU { get; set; }
+ public class PURCHASE_PRICE_IMPORT_DTO
+ {
+ ///
+ /// 零件号
+ ///
+ [Display(Name = "零件号")]
+ [Required(ErrorMessage = "{0}是必填项")]
+ [ImporterHeader(Name = "零件号")]
+ public string LU { get; set; }
- ///
- /// 价格
- ///
- [Display(Name = "价格")]
- [ImporterHeader(Name = "价格")]
- public decimal Price { get; set; }
-}
+ ///
+ /// 价格
+ ///
+ [Display(Name = "价格")]
+ [ImporterHeader(Name = "价格")]
+ public decimal Price { get; set; }
+ }
-///
-/// 导出
-///
-public class PURCHASE_PRICE_EXPORT_DTO
-{
///
- /// 零件号
+ /// 导出
///
- [Display(Name = "零件号")]
- [ExporterHeader(DisplayName = "零件号")]
- public string LU { get; set; }
+ public class PURCHASE_PRICE_EXPORT_DTO
+ {
+ ///
+ /// 零件号
+ ///
+ [Display(Name = "零件号")]
+ [ExporterHeader(DisplayName = "零件号")]
+ public string LU { get; set; }
- ///
- /// 价格
- ///
- [Display(Name = "价格")]
- [ExporterHeader(DisplayName = "价格")]
- public decimal Price { get; set; }
+ ///
+ /// 价格
+ ///
+ [Display(Name = "价格")]
+ [ExporterHeader(DisplayName = "价格")]
+ public decimal Price { get; set; }
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/RequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/RequestDto.cs
index d01a0557..46248a9d 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/RequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/RequestDto.cs
@@ -1,4 +1,4 @@
-using Win.Sfs.Shared.DtoBase;
+using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
{
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/SaSeCompareRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/SaSeCompareRequestDto.cs
index 0636012c..a9c63ec7 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/SaSeCompareRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/SaSeCompareRequestDto.cs
@@ -1,51 +1,52 @@
using System;
using System.ComponentModel.DataAnnotations;
-namespace Win.Sfs.SettleAccount.Entities.BQ;
-
-///
-/// 结算与发运对比请求Dto
-///
-public class SaSeCompareRequestDto
+namespace Win.Sfs.SettleAccount.Entities.BQ
{
///
- /// 期间
- ///
- [Display(Name = "期间")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string Version { get; set; }
- ///
- /// 零件号
- ///
- [Display(Name = "零件号")]
- public string LU { get; set; }
- ///
- /// 通用码
- ///
- [Display(Name = "通用码")]
- public string PN { get; set; }
- ///
- /// 发运开始时间
- ///
- [Display(Name = "发运开始时间")]
- public DateTime? SeStartDateTime { get; set; }
- ///
- /// 发运结束时间
- ///
- [Display(Name = "发运结束时间")]
- public DateTime? SeEndDateTime { get; set; }
- ///
- /// 下线开始时间
- ///
- [Display(Name = "下线开始时间")]
- public DateTime? DownLineStartDateTime { get; set; }
- ///
- /// 下线结束时间
- ///
- [Display(Name = "下线结束时间")]
- public DateTime? DownLineEndDateTime { get; set; }
- ///
- /// 业务类型
- ///
- public EnumBusinessType BusinessType { get; set; }
+ /// 结算与发运对比请求Dto
+ ///
+ public class SaSeCompareRequestDto
+ {
+ ///
+ /// 期间
+ ///
+ [Display(Name = "期间")]
+ [Required(ErrorMessage = "{0}不能为空")]
+ public string Version { get; set; }
+ ///
+ /// 零件号
+ ///
+ [Display(Name = "零件号")]
+ public string LU { get; set; }
+ ///
+ /// 通用码
+ ///
+ [Display(Name = "通用码")]
+ public string PN { get; set; }
+ ///
+ /// 发运开始时间
+ ///
+ [Display(Name = "发运开始时间")]
+ public DateTime? SeStartDateTime { get; set; }
+ ///
+ /// 发运结束时间
+ ///
+ [Display(Name = "发运结束时间")]
+ public DateTime? SeEndDateTime { get; set; }
+ ///
+ /// 下线开始时间
+ ///
+ [Display(Name = "下线开始时间")]
+ public DateTime? DownLineStartDateTime { get; set; }
+ ///
+ /// 下线结束时间
+ ///
+ [Display(Name = "下线结束时间")]
+ public DateTime? DownLineEndDateTime { get; set; }
+ ///
+ /// 业务类型
+ ///
+ public EnumBusinessType BusinessType { get; set; }
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/TB_RePartsRelationship_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/TB_RePartsRelationship_DTO.cs
index ab4bb7b7..abb14131 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/TB_RePartsRelationship_DTO.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/TB_RePartsRelationship_DTO.cs
@@ -1,6 +1,6 @@
-using Magicodes.ExporterAndImporter.Core;
using System;
using System.ComponentModel.DataAnnotations;
+using Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_BA_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_BA_SERVICE.cs
index 90e2de45..c3d52baf 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_BA_SERVICE.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_BA_SERVICE.cs
@@ -1,10 +1,5 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
-using Win.Sfs.SettleAccount.Boms;
using Win.Sfs.SettleAccount.Entities.BQ.Dtos;
namespace Win.Sfs.SettleAccount.Entities.BQ
@@ -12,7 +7,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
public interface IBBAC_BA_SERVICE
{
-
Task GenerateInvoice(INVOICE_GRP_REQ_DTO input);
Task> MainQueryAsync(INVOICE_GRP_REQ_DTO input);
@@ -21,15 +15,5 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
Task RejectAsync(INVOICE_GRP_REQ_DTO input);
-
-
-
-
-
-
-
-
-
-
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_CAN_SA_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_CAN_SA_SERVICE.cs
index 11fc8be3..101f4b6b 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_CAN_SA_SERVICE.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_CAN_SA_SERVICE.cs
@@ -1,7 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.DependencyInjection;
@@ -9,14 +5,12 @@ using Win.Sfs.SettleAccount.Entities.BQ.Dtos;
namespace Win.Sfs.SettleAccount.Entities.BQ
{
- public interface IBBAC_CAN_SA_SERVICE:ITransientDependency
+ public interface IBBAC_CAN_SA_SERVICE : ITransientDependency
{
Task GenerateInvoice(BBAC_CAN_SA_REQ_DTO input);
Task> MainQueryAsync(BBAC_CAN_SA_REQ_DTO input);
Task> DetailQueryAsync(BBAC_CAN_SA_DETAIL_REQ_DTO input);
Task ExportAsync(BBAC_CAN_SA_REQ_DTO input);
-
-
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_NOT_SA_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_NOT_SA_SERVICE.cs
index d8cae972..464524a3 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_NOT_SA_SERVICE.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_NOT_SA_SERVICE.cs
@@ -1,7 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Entities.BQ.Dtos;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_PD_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_PD_SERVICE.cs
index a2eb34a6..c575b5aa 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_PD_SERVICE.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_PD_SERVICE.cs
@@ -1,17 +1,8 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-using Win.Sfs.SettleAccount.Entities.BQ.Dtos;
-
namespace Win.Sfs.SettleAccount.Entities.BQ
{
public interface IBBAC_PD_SERVICE
{
-
//Task GenerateInvoice(BBAC_CAN_SA_REQ_DTO input);
//Task> MainQueryAsync(BBAC_CAN_SA_REQ_DTO input);
//Task> DetailQueryAsync(BBAC_CAN_SA_DETAIL_REQ_DTO input);
@@ -20,10 +11,5 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
//Task ExportAsync(BBAC_CAN_SA_REQ_DTO input);
-
-
-
-
-
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_SE_EDI_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_SE_EDI_SERVICE.cs
index 1f9ab0d4..cef33586 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_SE_EDI_SERVICE.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IBBAC_SE_EDI_SERVICE.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
namespace Win.Sfs.SettleAccount.Entities.BQ
{
public interface IBBAC_SE_EDI_SERVICE
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_BA_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_BA_SERVICE.cs
index 67473c61..eaa4c584 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_BA_SERVICE.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_BA_SERVICE.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
namespace Win.Sfs.SettleAccount.Entities.BQ
{
public interface IHBPO_BA_SERVICE
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_CAN_SA_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_CAN_SA_SERVICE.cs
index 6c43009e..16a0a4e3 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_CAN_SA_SERVICE.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_CAN_SA_SERVICE.cs
@@ -1,23 +1,18 @@
-using SettleAccount.Bases;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Threading.Tasks;
+using SettleAccount.Bases;
using Volo.Abp.Application.Dtos;
-using Volo.Abp.Domain.Entities;
-using Win.Sfs.SettleAccount.Bases;
using Win.Sfs.SettleAccount.Entities.BQ.Dtos;
namespace Win.Sfs.SettleAccount.Entities.BQ
{
public interface ICAN_SA_SERVICE
- where TEntity : SA_CAN_BASE
+ where TEntity : SA_CAN_BASE
where TEntityDto : class, IEntityDto, new()
where TEntityDetailDto : class, IEntityDto, new()
where TRequestMainInput : PagedAndSortedResultRequestDto
where TRequestDetailInput : PagedAndSortedResultRequestDto
-
+
{
Task GenerateInvoice(TRequestMainInput input);
@@ -25,13 +20,8 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
Task> DetailQueryAsync(TRequestDetailInput input);
Task ExportAsync(TRequestMainInput input);
-
-
- // List ISettlementOrderCheckRule(List p_list, Configuation config) where TEntity : ISABASE
- //bList ISettlementOrderCheckState(List p_list) where TEntity:ISABASE
-
-
-
+ // List ISettlementOrderCheckRule(List p_list, Configuation config) where TEntity : ISABASE
+ //bList ISettlementOrderCheckState(List p_list) where TEntity:ISABASE
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_NOT_SA_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_NOT_SA_SERVICE.cs
index 973f3927..b7215f1d 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_NOT_SA_SERVICE.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_NOT_SA_SERVICE.cs
@@ -1,7 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Entities.BQ.Dtos;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_PD_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_PD_SERVICE.cs
index bb4aa48b..a71235d0 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_PD_SERVICE.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_PD_SERVICE.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
namespace Win.Sfs.SettleAccount.Entities.BQ
{
public interface IHBPO_PD_SERVICE
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_SE_EDI_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_SE_EDI_SERVICE.cs
index 5388cebb..9f5fe71b 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_SE_EDI_SERVICE.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IHBPO_SE_EDI_SERVICE.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
namespace Win.Sfs.SettleAccount.Entities.BQ
{
public interface IHBPO_SE_EDI_SERVICE
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IINVOICE_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IINVOICE_SERVICE.cs
index adf9dfb2..737a1146 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IINVOICE_SERVICE.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IINVOICE_SERVICE.cs
@@ -1,7 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Entities.BQ.Dtos;
@@ -16,7 +12,5 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
Task DetailQueryAsync(INVOICE_GRP_REQ_DTO input);
Task ExportAsync(INVOICE_GRP_REQ_DTO input);
-
-
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IPUB_BA_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IPUB_BA_SERVICE.cs
index d0d5d692..04fe8072 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IPUB_BA_SERVICE.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IPUB_BA_SERVICE.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
namespace Win.Sfs.SettleAccount.Entities.BQ
{
public interface IPUB_BA_SERVICE
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IPUB_CAN_SA_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IPUB_CAN_SA_SERVICE.cs
index 6c50ad2a..4f4c605d 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IPUB_CAN_SA_SERVICE.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IPUB_CAN_SA_SERVICE.cs
@@ -1,7 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Entities.BQ.Dtos;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IPUB_NOT_SA_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IPUB_NOT_SA_SERVICE.cs
index 1f284a5f..5a368519 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IPUB_NOT_SA_SERVICE.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IPUB_NOT_SA_SERVICE.cs
@@ -1,7 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Entities.BQ.Dtos;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IPUB_PD_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IPUB_PD_SERVICE.cs
index 10bce60c..1fa8b6a5 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IPUB_PD_SERVICE.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/IPUB_PD_SERVICE.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
namespace Win.Sfs.SettleAccount.Entities.BQ
{
public interface IPUB_PD_SERVICE
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomCreateDto.cs
index fd3fa78c..95738ad3 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomCreateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomCreateDto.cs
@@ -1,16 +1,15 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
namespace Win.Sfs.SettleAccount.Boms
{
public class BomCreateDto : BomCreateOrUpdateDtoBase, IBranch
{
-
+
[Display(Name = "分支Id")]
[Required(ErrorMessage = "{0}是必填项")]
public Guid BranchId { set; get; }
@@ -21,6 +20,6 @@ namespace Win.Sfs.SettleAccount.Boms
[Display(Name = "组件编码")]
[Required(ErrorMessage = "{0}是必填项")]
- public string ChildItemCode { get; set; }
+ public string ChildItemCode { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomCreateOrUpdateDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomCreateOrUpdateDtoBase.cs
index cbfd6e8b..8bcc09a7 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomCreateOrUpdateDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomCreateOrUpdateDtoBase.cs
@@ -1,4 +1,4 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
@@ -8,23 +8,20 @@ using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Boms
{
- public class BomCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
+ public class BomCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
{
[Display(Name = "父物料描述")]
[MaxLength(CommonConsts.MaxDescriptionLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string ParentItemDesc { get; set; }
-
[Display(Name = "组件描述")]
[MaxLength(CommonConsts.MaxDescriptionLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string ChildItemDesc { get; set; }
-
[Display(Name = "组件计量单位")]
public string ChildItemUom { get; set; }
-
[Display(Name = "组件数量")]
[Required(ErrorMessage = "{0}是必填项")]
public decimal Qty { get; set; }
@@ -32,7 +29,6 @@ namespace Win.Sfs.SettleAccount.Boms
[Display(Name = "工序")]
public int OperateProcess { get; set; }
-
[Display(Name = "废品率")]
public decimal ScrapPercent { get; set; }
@@ -55,4 +51,4 @@ namespace Win.Sfs.SettleAccount.Boms
public bool Enabled { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomDto.cs
index 26537991..a0b760bf 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomDto.cs
@@ -2,76 +2,77 @@ using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;
-namespace Win.Sfs.SettleAccount.Boms;
-
-///
-/// Bom
-///
-public class BomDto : EntityDto
+namespace Win.Sfs.SettleAccount.Boms
{
///
- /// 父物料编码
+ /// Bom
///
- [Display(Name = "父物料编码")]
- public string ParentItemCode { get; set; }
+ public class BomDto : EntityDto
+ {
+ ///
+ /// 父物料编码
+ ///
+ [Display(Name = "父物料编码")]
+ public string ParentItemCode { get; set; }
- ///
- /// 父物料描述
- ///
- [Display(Name = "父物料描述")]
- public string ParentItemDesc { get; set; }
+ ///
+ /// 父物料描述
+ ///
+ [Display(Name = "父物料描述")]
+ public string ParentItemDesc { get; set; }
- ///
- /// 组件编码
- ///
- [Display(Name = "组件编码")]
- public string ChildItemCode { get; set; }
+ ///
+ /// 组件编码
+ ///
+ [Display(Name = "组件编码")]
+ public string ChildItemCode { get; set; }
- ///
- /// 组件描述
- ///
- [Display(Name = "组件描述")]
- public string ChildItemDesc { get; set; }
+ ///
+ /// 组件描述
+ ///
+ [Display(Name = "组件描述")]
+ public string ChildItemDesc { get; set; }
- ///
- /// 组件计量单位
- ///
- [Display(Name = "组件计量单位")]
- public string ChildItemUom { get; set; }
+ ///
+ /// 组件计量单位
+ ///
+ [Display(Name = "组件计量单位")]
+ public string ChildItemUom { get; set; }
- ///
- /// 组件数量
- ///
- [Display(Name = "组件数量")]
- public decimal Qty { get; set; }
+ ///
+ /// 组件数量
+ ///
+ [Display(Name = "组件数量")]
+ public decimal Qty { get; set; }
- ///
- /// 结构类型
- ///
- [Display(Name = "结构类型")]
- public string BomType { get; set; }
+ ///
+ /// 结构类型
+ ///
+ [Display(Name = "结构类型")]
+ public string BomType { get; set; }
- ///
- /// 工序
- ///
- [Display(Name = "工序")]
- public int OperateProcess { get; set; }
+ ///
+ /// 工序
+ ///
+ [Display(Name = "工序")]
+ public int OperateProcess { get; set; }
- ///
- /// 废品率
- ///
- [Display(Name = "废品率")]
- public decimal ScrapPercent { get; set; }
+ ///
+ /// 废品率
+ ///
+ [Display(Name = "废品率")]
+ public decimal ScrapPercent { get; set; }
- ///
- /// 子物品消耗位置
- ///
- [Display(Name = "子物品消耗位置")]
- public string IssuePosition { get; set; }
+ ///
+ /// 子物品消耗位置
+ ///
+ [Display(Name = "子物品消耗位置")]
+ public string IssuePosition { get; set; }
- ///
- /// 结构层级
- ///
- [Display(Name = "结构层级")]
- public int BomLevel { get; set; }
+ ///
+ /// 结构层级
+ ///
+ [Display(Name = "结构层级")]
+ public int BomLevel { get; set; }
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomExportDto.cs
index 1f2e1f56..6a478f49 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomExportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomExportDto.cs
@@ -1,87 +1,88 @@
using System.ComponentModel.DataAnnotations;
using Magicodes.ExporterAndImporter.Core;
-namespace Win.Sfs.SettleAccount.Entities.Boms;
-
-///
-/// Bom导出
-///
-public class BomExportDto
+namespace Win.Sfs.SettleAccount.Entities.Boms
{
///
- /// 父物料编码
+ /// Bom导出
///
- [Display(Name = "父物料编码")]
- [ExporterHeader(DisplayName = "父物料编码")]
- public string ParentItemCode { get; set; }
+ public class BomExportDto
+ {
+ ///
+ /// 父物料编码
+ ///
+ [Display(Name = "父物料编码")]
+ [ExporterHeader(DisplayName = "父物料编码")]
+ public string ParentItemCode { get; set; }
- ///
- /// 父物料描述
- ///
- [Display(Name = "父物料描述")]
- [ExporterHeader(DisplayName = "父物料描述")]
- public string ParentItemDesc { get; set; }
+ ///
+ /// 父物料描述
+ ///
+ [Display(Name = "父物料描述")]
+ [ExporterHeader(DisplayName = "父物料描述")]
+ public string ParentItemDesc { get; set; }
- ///
- /// 组件编码
- ///
- [Display(Name = "组件编码")]
- [ExporterHeader(DisplayName = "组件编码")]
- public string ChildItemCode { get; set; }
+ ///
+ /// 组件编码
+ ///
+ [Display(Name = "组件编码")]
+ [ExporterHeader(DisplayName = "组件编码")]
+ public string ChildItemCode { get; set; }
- ///
- /// 组件描述
- ///
- [Display(Name = "组件描述")]
- [ExporterHeader(DisplayName = "组件描述")]
- public string ChildItemDesc { get; set; }
+ ///
+ /// 组件描述
+ ///
+ [Display(Name = "组件描述")]
+ [ExporterHeader(DisplayName = "组件描述")]
+ public string ChildItemDesc { get; set; }
- ///
- /// 组件计量单位
- ///
- [Display(Name = "组件计量单位")]
- [ExporterHeader(DisplayName = "组件计量单位")]
- public string ChildItemUom { get; set; }
+ ///
+ /// 组件计量单位
+ ///
+ [Display(Name = "组件计量单位")]
+ [ExporterHeader(DisplayName = "组件计量单位")]
+ public string ChildItemUom { get; set; }
- ///
- /// 组件数量
- ///
- [Display(Name = "组件数量")]
- [ExporterHeader(DisplayName = "组件数量")]
- public decimal Qty { get; set; }
+ ///
+ /// 组件数量
+ ///
+ [Display(Name = "组件数量")]
+ [ExporterHeader(DisplayName = "组件数量")]
+ public decimal Qty { get; set; }
- ///
- /// 结构类型
- ///
- [Display(Name = "结构类型")]
- [ExporterHeader(DisplayName = "结构类型")]
- public string BomType { get; set; }
+ ///
+ /// 结构类型
+ ///
+ [Display(Name = "结构类型")]
+ [ExporterHeader(DisplayName = "结构类型")]
+ public string BomType { get; set; }
- ///
- /// 工序
- ///
- [Display(Name = "工序")]
- [ExporterHeader(DisplayName = "工序")]
- public int OperateProcess { get; set; }
+ ///
+ /// 工序
+ ///
+ [Display(Name = "工序")]
+ [ExporterHeader(DisplayName = "工序")]
+ public int OperateProcess { get; set; }
- ///
- /// 废品率
- ///
- [Display(Name = "废品率")]
- [ExporterHeader(DisplayName = "废品率")]
- public decimal ScrapPercent { get; set; }
+ ///
+ /// 废品率
+ ///
+ [Display(Name = "废品率")]
+ [ExporterHeader(DisplayName = "废品率")]
+ public decimal ScrapPercent { get; set; }
- ///
- /// 子物品消耗位置
- ///
- [Display(Name = "子物品消耗位置")]
- [ExporterHeader(DisplayName = "子物品消耗位置")]
- public string IssuePosition { get; set; }
+ ///
+ /// 子物品消耗位置
+ ///
+ [Display(Name = "子物品消耗位置")]
+ [ExporterHeader(DisplayName = "子物品消耗位置")]
+ public string IssuePosition { get; set; }
- ///
- /// 结构层级
- ///
- [Display(Name = "结构层级")]
- [ExporterHeader(DisplayName = "结构层级")]
- public int BomLevel { get; set; }
+ ///
+ /// 结构层级
+ ///
+ [Display(Name = "结构层级")]
+ [ExporterHeader(DisplayName = "结构层级")]
+ public int BomLevel { get; set; }
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomRequestDto.cs
index 588bf3d5..3a64ed49 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomRequestDto.cs
@@ -1,4 +1,4 @@
-using Win.Sfs.Shared.DtoBase;
+using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Boms
{
@@ -6,4 +6,4 @@ namespace Win.Sfs.SettleAccount.Boms
{
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomUpdateDto.cs
index 41e145ce..3321bba9 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomUpdateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomUpdateDto.cs
@@ -1,16 +1,12 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using System;
-using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities;
-using Volo.Abp.ObjectExtending;
-using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Boms
{
- public class BomUpdateDto : BomCreateOrUpdateDtoBase, IHasConcurrencyStamp
+ public class BomUpdateDto : BomCreateOrUpdateDtoBase, IHasConcurrencyStamp
{
public string ConcurrencyStamp { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomVersionDtoBase.cs
index 1e960aed..67ec7ef1 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomVersionDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/BomVersionDtoBase.cs
@@ -1,16 +1,14 @@
-
+
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.Boms
-{
+{
///
/// BomVersion
///
-public class BomVersionDtoBase :CreateOrUpdateEntityDtoBase
+ public class BomVersionDtoBase : CreateOrUpdateEntityDtoBase
{
public string Year { get; private set; }
@@ -28,31 +26,27 @@ public class BomVersionDtoBase :CreateOrUpdateEntityDtoBase
///
public string CustomerCode { private set; get; }
-
}
-
-
public class BomVersionDto : AuditedEntityDtoBase, IBranch
{
public string Year { get; set; }
///
/// 期间
///
- public string Period { get; set; }
+ public string Period { get; set; }
///
/// 版本号
///
- public string Version { get; set; }
+ public string Version { get; set; }
///
/// 客户号
///
public string CustomerCode { set; get; }
-
public string Factory { set; get; }
- public Guid BranchId { get ; set; }
+ public Guid BranchId { get; set; }
}
public class BomVersionCreateDto : BomVersionDtoBase
@@ -76,10 +70,10 @@ public class BomVersionDtoBase :CreateOrUpdateEntityDtoBase
/// 客户号
///
public string CustomerCode { private set; get; }
- public Guid BranchId { get ; set ; }
+ public Guid BranchId { get; set; }
}
- public class BomVersionImportDto
+ public class BomVersionImportDto
{
public string Year { get; private set; }
@@ -97,8 +91,6 @@ public class BomVersionDtoBase :CreateOrUpdateEntityDtoBase
///
public string CustomerCode { private set; get; }
-
}
-
}
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 aa60d416..df5391f5 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
@@ -1,125 +1,101 @@
-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 Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
using Win.Sfs.SettleAccount.Entities.Boms;
-using Win.Sfs.Shared.ApplicationBase;
namespace Win.Sfs.SettleAccount.Boms
{
- public interface IBomAppService
+ public interface IBomAppService
{
///
- /// 빦
+ /// 导入功能
///
- /// ϴļ(ǰѾֻϴһ)
+ /// 上传的文件(前端已经限制只能上传一个附件)
///
- Task BomUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode,string factory);
-
-
-
+ Task BomUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory);
///
- /// IDȡΨһʵ
+ /// 按ID获取唯一实体
///
///
- /// ʵȫ
+ /// 返回实体全部属性
///
/// ID
- /// ʵDTO
+ /// 实体DTO
Task GetAsync(Guid id);
///
- /// ɸѡȡʵб
+ /// 根据筛选条件获取实体列表
///
///
- /// :ɸѡб,,,ҳ
+ /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
///
- ///
- /// ʵDTOб
+ /// 请求条件
+ /// 实体DTO列表
Task> GetListAsync(Guid parentId, BomRequestDto input);
-
-
-
///
- /// ɸѡȡʵб
+ /// 根据筛选条件获取实体列表
///
///
- /// :ɸѡб,,,ҳ
+ /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
///
- ///
- /// ʵDTOб
+ /// 请求条件
+ /// 实体DTO列表
Task> GetVersionListAsync(BomVersionRequestDto input);
-
-
-
///
- /// ȡʵ
+ /// 获取实体总数
///
- /// ʵ
+ /// 实体总数
Task GetTotalCountAsync(Guid branchId);
-
///
- /// ȡȫʵб
+ /// 获取全部实体列表
///
- /// ʵDTOб
+ /// 实体DTO列表
//Task> GetAllAsync(Guid branchId);
-
-
-
-
/////
- ///// ʵ
+ ///// 新增实体
/////
- ///// ʵDTO
- ///// ʵDTO
-
+ ///// 新增实体DTO
+ ///// 实体DTO
//Task CreateAsync(BomCreateDto input);
-
/////
- ///// ʵ
+ ///// 修改实体
/////
///// ID
- ///// ʵDTO
- ///// ʵDTO
+ ///// 修改实体DTO
+ ///// 实体DTO
//Task UpdateAsync(Guid id, BomUpdateDto input);
-
-
-
/////
- ///// ɾʵ
+ ///// 删除实体
/////
///// ID
- /////
+ ///// 无
//Task DeleteAsync(Guid id);
-
///
- /// IDsɾʵб
+ /// 按IDs删除实体列表
///
/// IDs
- /// Ƿִгɹ
+ /// 是否执行成功
Task DeleteListAsync(List ids);
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/ImportBomDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/ImportBomDto.cs
index d95038dd..d67a70f1 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/ImportBomDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/ImportBomDto.cs
@@ -1,13 +1,10 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
+using System.ComponentModel.DataAnnotations;
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.Boms
{
@@ -18,7 +15,7 @@ namespace Win.Sfs.SettleAccount.Boms
///
[ImportProject(Name = SettleAccountModuleName.Bom)]
[ExcelImporter(IsLabelingError = true, MaxCount = int.MaxValue)]
- public class ImportBomDto
+ public class ImportBomDto
{
/////
///// 分支id
@@ -42,13 +39,10 @@ namespace Win.Sfs.SettleAccount.Boms
[MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string ParentItemCode { get; set; }
-
-
- [ImporterHeader(Name = "父物料描述")]
+ [ImporterHeader(Name = "父物料描述")]
[MaxLength(CommonConsts.MaxDescriptionLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string ParentItemDesc { get; set; }
-
[ImporterHeader(Name = "组件", FixAllSpace = true)]
[Required(ErrorMessage = "{0}是必填项")]
[MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
@@ -58,12 +52,10 @@ namespace Win.Sfs.SettleAccount.Boms
[MaxLength(CommonConsts.MaxDescriptionLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string ChildItemDesc { get; set; }
-
[ImporterHeader(Name = "组件数量")]
[Required(ErrorMessage = "{0}是必填项")]
-
- public decimal Qty { get; set; }
+ public decimal Qty { get; set; }
//[Display(Name = "工序")]
//[Required(ErrorMessage = "{0}是必填项")]
@@ -93,7 +85,5 @@ namespace Win.Sfs.SettleAccount.Boms
public string ChildItemUom { get; set; }
-
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/CodeSettingTables/CodeSettingDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/CodeSettingTables/CodeSettingDtoBase.cs
index 09750315..3b4190f4 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/CodeSettingTables/CodeSettingDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/CodeSettingTables/CodeSettingDtoBase.cs
@@ -1,21 +1,16 @@
-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 Magicodes.ExporterAndImporter.Core;
using Win.Sfs.Shared;
using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.CodeSettings
{
-
- public class CodeSettingDtoBase : CreateOrUpdateEntityDtoBase
+
+ public class CodeSettingDtoBase : CreateOrUpdateEntityDtoBase
{
///
/// 项目
@@ -44,7 +39,7 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettings
}
public class CodeSettingUpdateDto : CodeSettingDtoBase
{
-
+
@@ -67,11 +62,11 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettings
/// 描述
///
public virtual string Description { set; get; }
- public virtual Guid BranchId { get ; set ; }
+ public virtual Guid BranchId { get; set; }
}
public class CodeSettingDto : AuditedEntityDtoBase, IBranch
{
-
+
///
/// 项目
///
@@ -87,11 +82,11 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettings
/// 描述
///
public virtual string Description { set; get; }
- public Guid BranchId { get ; set ; }
+ public Guid BranchId { get; set; }
}
- [ImportProject(Name= SettleAccountModuleName.CodeSetting)]
- public class CodeSettingImportDto
+ [ImportProject(Name = SettleAccountModuleName.CodeSetting)]
+ public class CodeSettingImportDto
{
///
/// 项目
@@ -117,13 +112,13 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettings
/// 描述
///
[ImporterHeader(Name = "描述")]
-
+
[MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
-
+
public virtual string Description { set; get; }
-
-
+
+
}
@@ -132,14 +127,14 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettings
public class CodeSettingExportDto
{
-
+
/// 项目
///
- [ExporterHeader(DisplayName = "项目")]
+ [ExporterHeader(DisplayName = "项目")]
[Required(ErrorMessage = "{0}是必填项")]
[MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
@@ -149,7 +144,7 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettings
/// 值
///
/// 描述
///
- [ExporterHeader(DisplayName = "描述")]
+ [ExporterHeader(DisplayName = "描述")]
[MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/CodeSettingTables/ICodeSettingAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/CodeSettingTables/ICodeSettingAppService.cs
index c0e1aa89..5f6ea8f7 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/CodeSettingTables/ICodeSettingAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/CodeSettingTables/ICodeSettingAppService.cs
@@ -1,15 +1,11 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System;
using Volo.Abp.Application.Services;
using Win.Sfs.SettleAccount.Entities.CodeSettings;
using Win.Sfs.Shared.ApplicationBase;
namespace Win.Sfs.SettleAccount.Entities.CodeSettingTables
{
-
+
public interface ICodeSettingAppService : ICrudAppService
///年度
///
- public string Year { get; set; }
+ public string Year { get; set; }
///
/// 期间
@@ -71,7 +67,7 @@ namespace Win.Sfs.SettleAccount.Entities.Controls
/// 是否开放状态
///
public bool State { set; get; }
- public Guid BranchId { get ; set ; }
+ public Guid BranchId { get; set; }
}
public class CentralizedControlImportDto
{
@@ -100,7 +96,7 @@ namespace Win.Sfs.SettleAccount.Entities.Controls
///
/// 导出Dto
///
- public class CentralizedControlExportDto
+ public class CentralizedControlExportDto
{
///
/// 年度
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Controls/ICentralizedControlAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Controls/ICentralizedControlAppService.cs
index 79f6c19c..6e2a9bdd 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Controls/ICentralizedControlAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Controls/ICentralizedControlAppService.cs
@@ -1,12 +1,8 @@
-using System;
+using System;
using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
-using Win.Sfs.Shared;
using Win.Sfs.Shared.ApplicationBase;
-using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.Controls
{
@@ -21,18 +17,10 @@ namespace Win.Sfs.SettleAccount.Entities.Controls
{
Task OpenVersion(List ids);
-
Task ClosedVersion(List ids);
-
-
Task> GetOpenVersionList();
-
-
-
}
-
-
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ERPShpping/ERPShppingDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ERPShpping/ERPShppingDto.cs
index 60d87115..8725fbff 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ERPShpping/ERPShppingDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ERPShpping/ERPShppingDto.cs
@@ -1,18 +1,13 @@
-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 Magicodes.ExporterAndImporter.Core;
using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.ERPShpping
{
- public class ERPShippingDetailDto
+ public class ERPShippingDetailDto
{
-
[ImporterHeader(Name = "保管")]
public string Person { set; get; }
@@ -52,10 +47,9 @@ namespace Win.Sfs.SettleAccount.Entities.ERPShpping
[ImporterHeader(Name = "期间")]
public string Version { get; set; }
}
- public class ERPShippingDetailRequestDto: RequestDtoBase, IBranch
+ public class ERPShippingDetailRequestDto : RequestDtoBase, IBranch
{
-
[ImporterHeader(Name = "保管")]
public string Person { set; get; }
[ImporterHeader(Name = "成本")]
@@ -70,12 +64,12 @@ namespace Win.Sfs.SettleAccount.Entities.ERPShpping
public decimal Qty { set; get; }
[ImporterHeader(Name = "调出仓库")]
public string Output { set; get; }
- [ImporterHeader(Name = "调出仓库代码",IsIgnore =true)]
+ [ImporterHeader(Name = "调出仓库代码", IsIgnore = true)]
public string OutputCode { set; get; }
[ImporterHeader(Name = "调入仓库")]
public string Input { set; get; }
- [ImporterHeader(Name = "调入仓库代码",IsIgnore =true)]
+ [ImporterHeader(Name = "调入仓库代码", IsIgnore = true)]
public string InputCode { set; get; }
[ImporterHeader(Name = "辅助出库关联数量")]
public decimal OutputAssQty { set; get; }
@@ -98,7 +92,6 @@ namespace Win.Sfs.SettleAccount.Entities.ERPShpping
public class ERPShippingDetailExportDto
{
-
[Display(Name = "保管")]
public string Person { set; get; }
[Display(Name = "成本")]
@@ -138,8 +131,6 @@ namespace Win.Sfs.SettleAccount.Entities.ERPShpping
public string Version { get; set; }
}
-
-
public class ERPShippingVersionRequestDto : RequestDtoBase, IBranch
{
@@ -160,7 +151,6 @@ namespace Win.Sfs.SettleAccount.Entities.ERPShpping
public Guid BranchId { get; set; }
}
-
public class ERPShippingVersionDto
{
public string Year { get; set; }
@@ -178,10 +168,8 @@ namespace Win.Sfs.SettleAccount.Entities.ERPShpping
///
public string CustomerCode { set; get; }
-
public string Factory { set; get; }
-
- }
+ }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/FISes/FISDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/FISes/FISDtoBase.cs
index 8fdac47e..7bf9b842 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/FISes/FISDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/FISes/FISDtoBase.cs
@@ -1,12 +1,7 @@
-using Magicodes.ExporterAndImporter.Core;
-using Magicodes.ExporterAndImporter.Excel;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using Magicodes.ExporterAndImporter.Core;
+using Magicodes.ExporterAndImporter.Excel;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
using Win.Sfs.Shared.Enums.SettleAccount;
@@ -15,7 +10,7 @@ namespace Win.Sfs.SettleAccount.FISes
///
/// FIS
///
- public class FISDtoBase :CreateOrUpdateEntityDtoBase
+ public class FISDtoBase : CreateOrUpdateEntityDtoBase
{
///
@@ -47,8 +42,6 @@ namespace Win.Sfs.SettleAccount.FISes
///
public string Model { set; get; }
-
-
public string Extend1 { set; get; }
///
/// 底盘号
@@ -68,45 +61,31 @@ namespace Win.Sfs.SettleAccount.FISes
///
public string SequenceNumber { set; get; }
-
///
/// 底盘号2
///
public string ChassisNumber2 { set; get; }
-
-
///
/// CP7时间
///
public DateTime CP7Time { set; get; }
-
///
/// 结算数量
///
public decimal SettledQty { get; set; }
-
-
-
-
}
-
-
public class FISDto : AuditedEntityDtoBase, IBranch
{
-
///
/// KENEN号
///
public string KENNCode { set; get; }
-
-
-
public string Version { set; get; }
///
///年度
@@ -146,29 +125,23 @@ namespace Win.Sfs.SettleAccount.FISes
///
public decimal Qty { set; get; }
-
///
/// CP5时间
///
public DateTime CP5Time { set; get; }
-
///
/// 顺序号
///
public string SequenceNumber { set; get; }
-
public string ChassisNumber2 { set; get; }
-
-
///
/// CP7时间
///
public DateTime CP7Time { set; get; }
-
///
/// 结算数量
///
@@ -184,9 +157,8 @@ namespace Win.Sfs.SettleAccount.FISes
///
public DateTime EndTime { set; get; }
-
public EnumSettleStatus State { set; get; }
- public Guid BranchId { get; set ; }
+ public Guid BranchId { get; set; }
}
public class FISCreateDto : FISDtoBase
@@ -204,7 +176,6 @@ namespace Win.Sfs.SettleAccount.FISes
///
public string Version { get; set; }
-
///
///年度
///
@@ -227,12 +198,10 @@ namespace Win.Sfs.SettleAccount.FISes
///
public string ItemCode { set; get; }
-
///
/// 车型
///
- public string Model { set; get; }
-
+ public string Model { set; get; }
public string Extend1 { set; get; }
///
@@ -244,13 +213,11 @@ namespace Win.Sfs.SettleAccount.FISes
///
public decimal Qty { set; get; }
-
///
/// CP5时间
///
public DateTime CP5Time { set; get; }
-
///
/// 顺序号
///
@@ -261,18 +228,15 @@ namespace Win.Sfs.SettleAccount.FISes
///
public string ChassisNumber2 { set; get; }
-
-
///
/// CP7时间
///
public DateTime CP7Time { set; get; }
-
///
/// 结算数量
///
- public decimal SettledQty { get; set; }
+ public decimal SettledQty { get; set; }
///
/// 状态
@@ -282,7 +246,7 @@ namespace Win.Sfs.SettleAccount.FISes
public virtual Guid ParentId { get; set; }
}
- public class FISImportDto
+ public class FISImportDto
{
///
@@ -290,7 +254,6 @@ namespace Win.Sfs.SettleAccount.FISes
///
///
-
public string Year { get; set; }
///
@@ -303,7 +266,6 @@ namespace Win.Sfs.SettleAccount.FISes
/////
//public string Version { set; get; }
-
///
///FIS年度
///
@@ -323,9 +285,6 @@ namespace Win.Sfs.SettleAccount.FISes
///
public string Model { set; get; }
-
-
-
public string Extend1 { set; get; }
///
/// 底盘号
@@ -336,20 +295,17 @@ namespace Win.Sfs.SettleAccount.FISes
///
public decimal Qty { set; get; }
-
///
/// CP5时间
///
public DateTime CP5Time { set; get; }
-
///
/// 顺序号
///
public string SequenceNumber { set; get; }
-
- }
+ }
[ExcelExporter(AutoFitAllColumn = true, MaxRowNumberOnASheet = 500000)]
public class FISExportDto
@@ -366,7 +322,6 @@ namespace Win.Sfs.SettleAccount.FISes
[ExporterHeader(DisplayName = "期间")]
public string Version { set; get; }
-
/////
/////FIS年度
/////
@@ -392,7 +347,6 @@ namespace Win.Sfs.SettleAccount.FISes
//[ExporterHeader(DisplayName = "产线")]
//public string Model { set; get; }
-
///
/// 车型
///
@@ -413,8 +367,6 @@ namespace Win.Sfs.SettleAccount.FISes
public string ChassisNumber2 { set; get; }
-
-
///
/// 用量
///
@@ -422,7 +374,6 @@ namespace Win.Sfs.SettleAccount.FISes
public decimal Qty { set; get; }
-
///
/// CP5时间
///
@@ -435,22 +386,18 @@ namespace Win.Sfs.SettleAccount.FISes
[ExporterHeader(DisplayName = "CP7时间")]
public DateTime CP7Time { set; get; }
-
///
/// 结算数量
///
[ExporterHeader(DisplayName = "结算数量")]
public decimal SettledQty { get; set; }
-
///
/// 顺序号
///
[ExporterHeader(DisplayName = "顺序号")]
public string SequenceNumber { set; get; }
-
-
///
/// 开始时间
///
@@ -463,15 +410,12 @@ namespace Win.Sfs.SettleAccount.FISes
[ExporterHeader(DisplayName = "结束时间")]
public DateTime EndTime { set; get; }
-
-
///
/// 状态
///
[ExporterHeader(DisplayName = "状态")]
public EnumSettleStatus State { set; get; }
-
///
/// Erp总成号
///
@@ -483,12 +427,4 @@ namespace Win.Sfs.SettleAccount.FISes
}
-
-
-
-
-
-
-
-
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/FISes/FISVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/FISes/FISVersionDtoBase.cs
index 4d5dd820..93273750 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/FISes/FISVersionDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/FISes/FISVersionDtoBase.cs
@@ -1,10 +1,5 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.FISes
@@ -12,14 +7,14 @@ namespace Win.Sfs.SettleAccount.FISes
///
/// FISVersion
///
- public class FISVersionDtoBase :CreateOrUpdateEntityDtoBase
+ public class FISVersionDtoBase : CreateOrUpdateEntityDtoBase
{
- public string Year { get;set; }
+ public string Year { get; set; }
///
/// 期间
///
- public string Period { get; set; }
+ public string Period { get; set; }
///
/// 版本号
///
@@ -28,7 +23,7 @@ namespace Win.Sfs.SettleAccount.FISes
///
/// 客户号
///
- public string CustomerCode { set; get; }
+ public string CustomerCode { set; get; }
///
/// 车型
@@ -45,29 +40,25 @@ namespace Win.Sfs.SettleAccount.FISes
///
public DateTime EndDate { set; get; }
-
}
-
-
public class FISVersionDto : AuditedEntityDtoBase, IBranch
{
- public string Year { get; set; }
+ public string Year { get; set; }
///
/// 期间
///
- public string Period { get;set; }
+ public string Period { get; set; }
///
/// 版本号
///
- public string Version { get; set; }
+ public string Version { get; set; }
///
/// 客户号
///
public string CustomerCode { set; get; }
-
///
/// 车型
///
@@ -82,7 +73,7 @@ namespace Win.Sfs.SettleAccount.FISes
/// 结束时间
///
public DateTime EndDate { set; get; }
- public Guid BranchId { get ; set; }
+ public Guid BranchId { get; set; }
}
public class FISVersionCreateDto : FISVersionDtoBase
@@ -96,7 +87,7 @@ namespace Win.Sfs.SettleAccount.FISes
///
/// 期间
///
- public string Period { get;set; }
+ public string Period { get; set; }
///
/// 版本号
///
@@ -107,7 +98,6 @@ namespace Win.Sfs.SettleAccount.FISes
///
public string CustomerCode { set; get; }
-
///
/// 车型
///
@@ -122,28 +112,27 @@ namespace Win.Sfs.SettleAccount.FISes
/// 结束时间
///
public DateTime EndDate { set; get; }
- public Guid BranchId { get ; set ; }
+ public Guid BranchId { get; set; }
}
- public class FISVersionImportDto
+ public class FISVersionImportDto
{
public string Year { get; set; }
///
/// 期间
///
- public string Period { get; set; }
+ public string Period { get; set; }
///
/// 版本号
///
- public string Version { get; set; }
+ public string Version { get; set; }
///
/// 客户号
///
public string CustomerCode { set; get; }
-
///
/// 车型
///
@@ -159,8 +148,6 @@ namespace Win.Sfs.SettleAccount.FISes
///
public DateTime EndDate { set; get; }
-
}
-
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/FISes/FIS_THDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/FISes/FIS_THDtoBase.cs
index bc383f53..9e6e613a 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/FISes/FIS_THDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/FISes/FIS_THDtoBase.cs
@@ -1,11 +1,6 @@
-using Magicodes.ExporterAndImporter.Core;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using Magicodes.ExporterAndImporter.Core;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
using Win.Sfs.Shared.Enums.SettleAccount;
@@ -14,7 +9,7 @@ namespace Win.Sfs.SettleAccount.FISes
///
/// FIS
///
- public class FIS_THDtoBase :CreateOrUpdateEntityDtoBase
+ public class FIS_THDtoBase : CreateOrUpdateEntityDtoBase
{
///
@@ -86,8 +81,8 @@ namespace Win.Sfs.SettleAccount.FISes
///
public decimal SettledQty { get; set; }
-
-
+
+
}
@@ -185,7 +180,7 @@ namespace Win.Sfs.SettleAccount.FISes
public EnumSettleStatus State { set; get; }
- public Guid BranchId { get; set ; }
+ public Guid BranchId { get; set; }
}
public class FIS_THCreateDto : FISDtoBase
@@ -230,7 +225,7 @@ namespace Win.Sfs.SettleAccount.FISes
///
/// 车型
///
- public string Model { set; get; }
+ public string Model { set; get; }
public string Extend1 { set; get; }
@@ -271,7 +266,7 @@ namespace Win.Sfs.SettleAccount.FISes
///
/// 结算数量
///
- public decimal SettledQty { get; set; }
+ public decimal SettledQty { get; set; }
///
/// 状态
@@ -281,7 +276,7 @@ namespace Win.Sfs.SettleAccount.FISes
public virtual Guid ParentId { get; set; }
}
- public class FIS_THImportDto
+ public class FIS_THImportDto
{
///
@@ -346,7 +341,7 @@ namespace Win.Sfs.SettleAccount.FISes
/// 顺序号
///
public string SequenceNumber { set; get; }
-
+
}
public class FIS_THExportDto
{
@@ -363,7 +358,7 @@ namespace Win.Sfs.SettleAccount.FISes
public string Version { set; get; }
-
+
///
/// 订单编号
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/FISes/IFISAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/FISes/IFISAppService.cs
index dcb931c6..0a02bd51 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/FISes/IFISAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/FISes/IFISAppService.cs
@@ -1,19 +1,13 @@
-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 Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-
-using Win.Sfs.Shared.ApplicationBase;
namespace Win.Sfs.SettleAccount.FISes
{
- public interface IFISAppService
-
+ public interface IFISAppService
{
@@ -23,10 +17,7 @@ namespace Win.Sfs.SettleAccount.FISes
/// 上传的文件(前端已经限制只能上传一个附件)
///
- Task FISUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode,string factory, string model, DateTime? beginDate, DateTime? endDate);
-
-
-
+ Task FISUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory, string model, DateTime? beginDate, DateTime? endDate);
///
/// 按ID获取唯一实体
@@ -48,10 +39,7 @@ namespace Win.Sfs.SettleAccount.FISes
/// 请求条件
/// 实体DTO列表
- Task> GetListAsync(Guid parentId,FISRequestDto input);
-
-
-
+ Task> GetListAsync(Guid parentId, FISRequestDto input);
///
/// 根据筛选条件获取实体列表
@@ -64,9 +52,6 @@ namespace Win.Sfs.SettleAccount.FISes
Task> GetVersionListAsync(FISVersionRequestDto input);
-
-
-
///
/// 获取实体总数
///
@@ -74,7 +59,6 @@ namespace Win.Sfs.SettleAccount.FISes
Task GetTotalCountAsync(Guid branchId);
-
/////
///// 获取全部实体列表
/////
@@ -82,20 +66,14 @@ namespace Win.Sfs.SettleAccount.FISes
//Task> GetAllAsync(Guid branchId);
-
-
-
-
/////
///// 新增实体
/////
///// 新增实体DTO
///// 实体DTO
-
//Task CreateAsync(FISCreateDto input);
-
/////
///// 修改实体
/////
@@ -105,9 +83,6 @@ namespace Win.Sfs.SettleAccount.FISes
//Task UpdateAsync(Guid id, FISUpdateDto input);
-
-
-
/////
///// 删除实体
/////
@@ -116,7 +91,6 @@ namespace Win.Sfs.SettleAccount.FISes
//Task DeleteAsync(Guid id);
-
///
/// 按IDs删除实体列表
///
@@ -124,8 +98,6 @@ namespace Win.Sfs.SettleAccount.FISes
/// 是否执行成功
Task DeleteListAsync(List ids);
-
-
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Factories/FactoryDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Factories/FactoryDtoBase.cs
index 77ef5261..b6fa0a33 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Factories/FactoryDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Factories/FactoryDtoBase.cs
@@ -1,13 +1,7 @@
-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 Magicodes.ExporterAndImporter.Core;
using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
@@ -24,10 +18,10 @@ namespace Win.Sfs.SettleAccount.Entities.Factories
/// 编码
///
public string Code { set; get; }
- ///
- /// 描述
- ///
- public string Desc { set; get; }
+ ///
+ /// 描述
+ ///
+ public string Desc { set; get; }
}
public class FactoryCreateDto : FactoryDtoBase
@@ -54,7 +48,7 @@ namespace Win.Sfs.SettleAccount.Entities.Factories
///
public string Desc { set; get; }
- public Guid BranchId{set;get;}
+ public Guid BranchId { set; get; }
///
/// 用户IID
@@ -64,7 +58,7 @@ namespace Win.Sfs.SettleAccount.Entities.Factories
}
-
+
public class FactoryDto : AuditedEntityDtoBase
{
public string CustomerCode { set; get; }
@@ -76,9 +70,9 @@ namespace Win.Sfs.SettleAccount.Entities.Factories
/// 描述
///
public string Desc { set; get; }
-
+
}
- [ImportProject(Name ="工厂")]
+ [ImportProject(Name = "工厂")]
public class FactoryImportDto
{
[ImporterHeader(Name = "客户编码")]
@@ -92,7 +86,7 @@ namespace Win.Sfs.SettleAccount.Entities.Factories
[Required(ErrorMessage = "{0}是必填项")]
[MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string Desc { set; get; }
-
+
}
public class FactoryExportDto
{
@@ -101,14 +95,14 @@ namespace Win.Sfs.SettleAccount.Entities.Factories
public string CustomerCode { set; get; }
[ExporterHeader(DisplayName = "编码")]
-
+
public string Code { set; get; }
[ExporterHeader(DisplayName = "描述")]
-
+
public string Desc { set; get; }
-
+
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Factories/IFactoryAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Factories/IFactoryAppService.cs
index 7f50353c..17dbcde6 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Factories/IFactoryAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Factories/IFactoryAppService.cs
@@ -1,17 +1,6 @@
-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 Volo.Abp.Application.Services;
-using Win.Sfs.Shared;
using Win.Sfs.Shared.ApplicationBase;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-
namespace Win.Sfs.SettleAccount.Entities.Factories
{
@@ -26,11 +15,4 @@ namespace Win.Sfs.SettleAccount.Entities.Factories
{
}
-
-
-
-
-
-
-
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ImportColumnMaps/ImportColumnMapDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ImportColumnMaps/ImportColumnMapDtoBase.cs
index 399754ff..4fc4a895 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ImportColumnMaps/ImportColumnMapDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ImportColumnMaps/ImportColumnMapDtoBase.cs
@@ -1,8 +1,5 @@
-using System;
+using System;
using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Win.Sfs.Shared.Filter;
@@ -19,8 +16,6 @@ namespace Win.Sfs.SettleAccount.Entities.ImportColumnMaps
}
-
-
public class ImportColumnMapExportDto
{
@@ -32,8 +27,6 @@ namespace Win.Sfs.SettleAccount.Entities.ImportColumnMaps
}
-
-
public class ImportColumnMapImportDto
{
@@ -45,8 +38,6 @@ namespace Win.Sfs.SettleAccount.Entities.ImportColumnMaps
}
-
-
public class ImportColumnMapRequestDto : PagedAndSortedResultRequestDto
{
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ImportColumnMaps/ImportColumnMapHelper.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ImportColumnMaps/ImportColumnMapHelper.cs
index 8318998f..3d035aff 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ImportColumnMaps/ImportColumnMapHelper.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ImportColumnMaps/ImportColumnMapHelper.cs
@@ -1,15 +1,12 @@
-using System;
using System.Collections.Generic;
using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using Win.Sfs.SettleAccount.Entities.ImportMap;
namespace Win.Sfs.SettleAccount.Entities.ImportColumnMaps
{
public class ImportColumnMapHelper
{
- private static List CurrentColumnList = new List();
+ private static readonly List CurrentColumnList = new List();
public static void Init(List p_list)
{
@@ -39,9 +36,7 @@ namespace Win.Sfs.SettleAccount.Entities.ImportColumnMaps
return column;
-
}
-
}
}
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 0b2e5d47..cce64760 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
@@ -1,20 +1,16 @@
-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 Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
using Win.Sfs.SettleAccount.Entities.InventoryDetialVersion;
using Win.Sfs.SettleAccount.Inventories;
-using Win.Sfs.Shared.ApplicationBase;
namespace Win.Sfs.SettleAccount.Entities.Inventories
{
public interface IInventoryDetailAppService
-
+
{
///
@@ -23,10 +19,7 @@ namespace Win.Sfs.SettleAccount.Entities.Inventories
/// 上传的文件(前端已经限制只能上传一个附件)
///
- Task InventoryDetailUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode,string factory);
-
-
-
+ Task InventoryDetailUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory);
///
/// 按ID获取唯一实体
@@ -50,9 +43,6 @@ namespace Win.Sfs.SettleAccount.Entities.Inventories
Task> GetListAsync(Guid parentId, InventoryDetailRequestDto input);
-
-
-
///
/// 根据筛选条件获取实体列表
///
@@ -64,9 +54,6 @@ namespace Win.Sfs.SettleAccount.Entities.Inventories
Task> GetVersionListAsync(InventoryDetialVersionRequestDto input);
-
-
-
///
/// 获取实体总数
///
@@ -74,7 +61,6 @@ namespace Win.Sfs.SettleAccount.Entities.Inventories
Task GetTotalCountAsync(Guid branchId);
-
/////
///// 获取全部实体列表
/////
@@ -82,20 +68,14 @@ namespace Win.Sfs.SettleAccount.Entities.Inventories
//Task> GetAllAsync(Guid branchId);
-
-
-
-
/////
///// 新增实体
/////
///// 新增实体DTO
///// 实体DTO
-
//Task CreateAsync(InventoryDetailCreateDto input);
-
/////
///// 修改实体
/////
@@ -105,9 +85,6 @@ namespace Win.Sfs.SettleAccount.Entities.Inventories
//Task UpdateAsync(Guid id, InventoryDetailUpdateDto input);
-
-
-
/////
///// 删除实体
/////
@@ -116,7 +93,6 @@ namespace Win.Sfs.SettleAccount.Entities.Inventories
//Task DeleteAsync(Guid id);
-
///
/// 按IDs删除实体列表
///
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailCreateDto.cs
index 29514958..91312046 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailCreateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailCreateDto.cs
@@ -1,17 +1,10 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
+using System;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.Inventories
{
public class InventoryDetailCreateDto : InventoryDetailDtoBase, IBranch
{
- public virtual Guid BranchId { 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/Inventories/InventoryDetailDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailDto.cs
index 8e4d1884..a0c4f4c3 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailDto.cs
@@ -1,16 +1,10 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
+using System;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.Inventories
{
- public class InventoryDetailDto : AuditedEntityDtoBase, IBranch
+ public class InventoryDetailDto : AuditedEntityDtoBase, IBranch
{
///
///年度
@@ -21,12 +15,11 @@ namespace Win.Sfs.SettleAccount.Inventories
/// 期间
///
public string Period { set; get; }
-
+
///
/// 物料编号
///
- public virtual string MaterialCode { get; set; }
-
+ public virtual string MaterialCode { get; set; }
///
/// 物料描述
@@ -76,11 +69,10 @@ namespace Win.Sfs.SettleAccount.Inventories
/// 价格
///
public virtual decimal Price { get; set; }
- public virtual Guid BranchId { get ; set; }
-
+ public virtual Guid BranchId { get; set; }
public string Factory { get; set; }
public string Version { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailDtoBase.cs
index 8e28f82d..f67233f5 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailDtoBase.cs
@@ -1,15 +1,9 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using Win.Sfs.Shared.DomainBase;
+using System;
using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.Inventories
{
- public class InventoryDetailDtoBase : CreateOrUpdateEntityDtoBase
+ public class InventoryDetailDtoBase : CreateOrUpdateEntityDtoBase
{
///
///年度
@@ -24,8 +18,7 @@ namespace Win.Sfs.SettleAccount.Inventories
///
/// 物料编号
///
- public virtual string MaterialCode { get; set; }
-
+ public virtual string MaterialCode { get; set; }
///
/// 物料描述
@@ -76,8 +69,5 @@ namespace Win.Sfs.SettleAccount.Inventories
///
public virtual decimal Price { get; set; }
-
-
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailExportDto.cs
index 680075fd..262e920d 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailExportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailExportDto.cs
@@ -1,18 +1,8 @@
-
using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.Inventories
{
- public class InventoryDetailExportDto
+ public class InventoryDetailExportDto
{
[ExporterHeader(DisplayName = "工厂")]
@@ -22,16 +12,12 @@ namespace Win.Sfs.SettleAccount.Inventories
public string Version { set; get; }
-
-
///
/// 物料号
///
[ExporterHeader(DisplayName = "物料号")]
-
-
- public virtual string MaterialCode { get; set; }
+ public virtual string MaterialCode { get; set; }
///
/// 物料描述
@@ -44,44 +30,43 @@ namespace Win.Sfs.SettleAccount.Inventories
/// 入库数量
///
[ExporterHeader(DisplayName = "入库数量")]
-
-
+
public virtual decimal InputQty { get; set; }
///
/// 出库数量
///
[ExporterHeader(DisplayName = "出库数量")]
-
+
public virtual decimal OutputQty { get; set; }
///
/// 期初库存数
///
[ExporterHeader(DisplayName = "期初库存数")]
-
+
public virtual decimal OpeningInventoryQty { get; set; }
///
/// 期末库存数
///
[ExporterHeader(DisplayName = "期末库存数")]
-
+
public virtual decimal EndingInventoryQty { get; set; }
///
/// 估价类
///
[ExporterHeader(DisplayName = "估价类")]
-
+
public virtual string AppraisalCategory { get; set; }
///
/// 估价描述
///
[ExporterHeader(DisplayName = "估价描述")]
-
+
public virtual string AppraisalDesc { get; set; }
///
/// 存储地點
///
[ExporterHeader(DisplayName = "存储地点")]
-
+
public virtual string StorageLocation { get; set; }
/////
@@ -96,7 +81,7 @@ namespace Win.Sfs.SettleAccount.Inventories
/// 基本计量单位
///
[ExporterHeader(DisplayName = "基本计量单位")]
-
+
public virtual string Unit { get; set; }
///
@@ -107,7 +92,5 @@ namespace Win.Sfs.SettleAccount.Inventories
//[MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
//public virtual decimal Price { get; set; }
-
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailImportDto.cs
index 6acbb99d..f5a01a26 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailImportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailImportDto.cs
@@ -1,36 +1,26 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
+using Magicodes.ExporterAndImporter.Core;
using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.Inventories
{
[ImportProject(Name = "库存明细")]
- public class InventoryDetailImportDto
+ public class InventoryDetailImportDto
{
-
-
///
/// 物料号
///
[ImporterHeader(Name = "物料号")]
[Required(ErrorMessage = "{0}是必填项")]
[MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
- public virtual string MaterialCode { get; set; }
-
+ public virtual string MaterialCode { get; set; }
/////
///// 物料描述
/////
//[ImporterHeader(Name = "描述",IsIgnore =true)]
-
+
//public virtual string MaterialDesc { get; set; }
///
/// 入库数量
@@ -105,7 +95,5 @@ namespace Win.Sfs.SettleAccount.Inventories
//[MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
//public virtual decimal Price { get; set; }
-
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailRequestDto.cs
index f7790b0c..08bae026 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailRequestDto.cs
@@ -1,24 +1,16 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
+using System;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.Inventories
{
- public class InventoryDetailRequestDto : RequestDtoBase, IBranch
+ public class InventoryDetailRequestDto : RequestDtoBase, IBranch
{
-
///
/// 物料编号
///
- public virtual string MaterialCode { get; set; }
-
+ public virtual string MaterialCode { get; set; }
///
/// 物料描述
@@ -69,12 +61,11 @@ namespace Win.Sfs.SettleAccount.Inventories
///
public virtual decimal Price { get; set; }
-
public virtual Guid ParentId { get; set; }
- public Guid BranchId { get ; set ; }
+ public 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/Inventories/InventoryDetailUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailUpdateDto.cs
index 46e0d038..885e63b6 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailUpdateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailUpdateDto.cs
@@ -1,21 +1,7 @@
-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.Inventories
{
- public class InventoryDetailUpdateDto : InventoryDetailDtoBase
+ public class InventoryDetailUpdateDto : InventoryDetailDtoBase
{
-
-
-
-
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailVersionDtoBase.cs
index e07e635d..bd78bc33 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailVersionDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/InventoryDetailVersionDtoBase.cs
@@ -1,10 +1,5 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.InventoryDetialVersion
@@ -12,7 +7,7 @@ namespace Win.Sfs.SettleAccount.Entities.InventoryDetialVersion
///
/// InventoryDetialVersion
///
- public class InventoryDetialVersionDtoBase :CreateOrUpdateEntityDtoBase
+ public class InventoryDetialVersionDtoBase : CreateOrUpdateEntityDtoBase
{
public string Year { get; private set; }
@@ -30,31 +25,27 @@ namespace Win.Sfs.SettleAccount.Entities.InventoryDetialVersion
///
public string CustomerCode { private set; get; }
-
}
-
-
public class InventoryDetialVersionDto : AuditedEntityDtoBase, IBranch
{
- public string Year { get; set; }
+ public string Year { get; set; }
///
/// 期间
///
- public string Period { get; set; }
+ public string Period { get; set; }
///
/// 版本号
///
- public string Version { get; set; }
+ public string Version { get; set; }
///
/// 客户号
///
- public string CustomerCode { set; get; }
-
+ public string CustomerCode { set; get; }
public string Factory { set; get; }
- public Guid BranchId { get ; set; }
+ public Guid BranchId { get; set; }
}
public class InventoryDetialVersionCreateDto : InventoryDetialVersionDtoBase
@@ -78,10 +69,10 @@ namespace Win.Sfs.SettleAccount.Entities.InventoryDetialVersion
/// 客户号
///
public string CustomerCode { private set; get; }
- public Guid BranchId { get ; set ; }
+ public Guid BranchId { get; set; }
}
- public class InventoryDetialVersionImportDto
+ public class InventoryDetialVersionImportDto
{
public string Year { get; private set; }
@@ -99,8 +90,6 @@ namespace Win.Sfs.SettleAccount.Entities.InventoryDetialVersion
///
public string CustomerCode { private set; get; }
-
}
-
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/InvoiceSettledDiffs/InvoiceSettledDiff.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/InvoiceSettledDiffs/InvoiceSettledDiff.cs
index 503f61f2..05e12c54 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/InvoiceSettledDiffs/InvoiceSettledDiff.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/InvoiceSettledDiffs/InvoiceSettledDiff.cs
@@ -1,9 +1,6 @@
-using Magicodes.ExporterAndImporter.Core;
using System;
using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
using Win.Sfs.Shared.Filter;
@@ -16,18 +13,14 @@ namespace Win.Sfs.SettleAccount.Reports.InvoiceSettledDiffs
public string MaterialCode { get; set; }
public decimal InvoiceQty { get; set; }
public decimal SettleQty { get; set; }
-
- }
-
+ }
public class InvoiceSettledDiffExportDto
{
-
-
- // 期间 发运类型 物料组 SAP编码 工厂 零件号 零件号格式整理 零件名称 开票数量 开票 金额 开票单价 结算数量 CP7报废 索赔/退货 数量差异 定价 价格差异
+ // 期间 发运类型 物料组 SAP编码 工厂 零件号 零件号格式整理 零件名称 开票数量 开票 金额 开票单价 结算数量 CP7报废 索赔/退货 数量差异 定价 价格差异
[ExporterHeader(DisplayName = "期间")]
public string Version { get; set; }
@@ -37,7 +30,7 @@ namespace Win.Sfs.SettleAccount.Reports.InvoiceSettledDiffs
public string SapMaterialCode { get; set; }
[ExporterHeader(DisplayName = "工厂")]
public string Factory { get; set; }
- [ExporterHeader(DisplayName ="零件编号")]
+ [ExporterHeader(DisplayName = "零件编号")]
public string MaterialCode { get; set; }
[ExporterHeader(DisplayName = "零件名称")]
public string MaterialDesc { get; set; }
@@ -47,7 +40,7 @@ namespace Win.Sfs.SettleAccount.Reports.InvoiceSettledDiffs
public decimal InvoiceAmt { get; set; }
[ExporterHeader(DisplayName = "开票单价")]
public decimal InvoicePrice { get; set; }
- [ExporterHeader(DisplayName ="结算数量")]
+ [ExporterHeader(DisplayName = "结算数量")]
public decimal SettleQty { get; set; }
[ExporterHeader(DisplayName = "数量差")]
public decimal DiffQty { get; set; }
@@ -62,8 +55,6 @@ namespace Win.Sfs.SettleAccount.Reports.InvoiceSettledDiffs
}
-
-
public class InvoiceSettledDiffImportDto
{
@@ -71,10 +62,8 @@ namespace Win.Sfs.SettleAccount.Reports.InvoiceSettledDiffs
public string MaterialCode { get; set; }
public decimal InvoiceQty { get; set; }
public decimal SettleQty { get; set; }
-
- }
-
+ }
public class InvoiceSettledDiffRequestDto : PagedAndSortedResultRequestDto
@@ -83,12 +72,9 @@ namespace Win.Sfs.SettleAccount.Reports.InvoiceSettledDiffs
public string MaterialCode { get; set; }
public decimal InvoiceQty { get; set; }
public decimal SettleQty { get; set; }
-
+
public virtual List Filters { get; set; } = new List();
}
-
-
-
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/InvoiceSettledDiffs/InvoiceSettledDiffVersion.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/InvoiceSettledDiffs/InvoiceSettledDiffVersion.cs
index 85293f42..55861e91 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/InvoiceSettledDiffs/InvoiceSettledDiffVersion.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/InvoiceSettledDiffs/InvoiceSettledDiffVersion.cs
@@ -1,8 +1,5 @@
-using System;
+using System;
using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Win.Sfs.Shared.Filter;
@@ -19,10 +16,8 @@ namespace Win.Sfs.SettleAccount.Reports.InvoiceSettledDiffs
public string CustomName { get; set; }
public string CreatorName { get; set; }
public string ProjectName { get; set; }
-
- }
-
+ }
public class InvoiceSettledDiffVersionExportDto
@@ -35,10 +30,8 @@ namespace Win.Sfs.SettleAccount.Reports.InvoiceSettledDiffs
public string CustomName { get; set; }
public string CreatorName { get; set; }
public string ProjectName { get; set; }
-
- }
-
+ }
public class InvoiceSettledDiffVersionImportDto
@@ -51,10 +44,8 @@ namespace Win.Sfs.SettleAccount.Reports.InvoiceSettledDiffs
public string CustomName { get; set; }
public string CreatorName { get; set; }
public string ProjectName { get; set; }
-
- }
-
+ }
public class InvoiceSettledDiffVersionRequestDto : PagedAndSortedResultRequestDto
@@ -67,12 +58,9 @@ namespace Win.Sfs.SettleAccount.Reports.InvoiceSettledDiffs
public string CustomName { get; set; }
public string CreatorName { get; set; }
public string ProjectName { get; set; }
-
+
public virtual List Filters { get; set; } = new List();
}
-
-
-
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Invoices/IInvoiceAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Invoices/IInvoiceAppService.cs
index ba7bd5cd..3f881332 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Invoices/IInvoiceAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Invoices/IInvoiceAppService.cs
@@ -1,10 +1,8 @@
-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 Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
using Volo.Abp.Application.Dtos;
using Win.Sfs.SettleAccount.Entities.Invoices.Win.Sfs.SettleAccount.Entities.Invoices;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Invoices/InvoiceDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Invoices/InvoiceDtoBase.cs
index 8645ef8e..51085964 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Invoices/InvoiceDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Invoices/InvoiceDtoBase.cs
@@ -1,10 +1,7 @@
-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 Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
using Win.Sfs.Shared.Filter;
@@ -43,7 +40,6 @@ namespace Win.Sfs.SettleAccount.Entities.Invoices
[ImporterHeader(Name = "金额")]
public decimal Amt { get; set; }
-
}
public class InvoiceTHExportDto
@@ -59,7 +55,7 @@ namespace Win.Sfs.SettleAccount.Entities.Invoices
///
[Display(Name = "工厂")]
public string Factory { get; set; }
-
+
///
///零件号
///
@@ -81,12 +77,9 @@ namespace Win.Sfs.SettleAccount.Entities.Invoices
///
[Display(Name = "金额")]
public decimal Amt { get; set; }
-
}
-
-
public class InvoiceDto : EntityDto
{
///
@@ -105,7 +98,6 @@ namespace Win.Sfs.SettleAccount.Entities.Invoices
[Display(Name = "版本号")]
public string Version { set; get; }
-
///
///工厂
///
@@ -156,17 +148,13 @@ namespace Win.Sfs.SettleAccount.Entities.Invoices
/////
//[Display(Name = "记账日期")]
//public DateTime AccountDate { get; set; }
-
- }
-
+ }
public class InvoiceExportDto
{
-
-
[Display(Name = "版本号")]
public string Version { set; get; }
@@ -220,10 +208,8 @@ namespace Win.Sfs.SettleAccount.Entities.Invoices
/////
//[ExporterHeader(DisplayName = "记账日期")]
//public DateTime AccountDate { get; set; }
-
- }
-
+ }
public class InvoiceImportDto
@@ -279,10 +265,8 @@ namespace Win.Sfs.SettleAccount.Entities.Invoices
/////
//[ImporterHeader(Name = "记账日期")]
//public DateTime AccountDate { get; set; }
-
- }
-
+ }
public class InvoiceRequestDto : PagedAndSortedResultRequestDto
@@ -330,12 +314,9 @@ namespace Win.Sfs.SettleAccount.Entities.Invoices
public virtual int FileType { get; set; }
public string Site { get; set; }
-
+
public virtual List Filters { get; set; } = new List();
}
-
-
-
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Invoices/InvoiceVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Invoices/InvoiceVersionDtoBase.cs
index b0558ec3..447399be 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Invoices/InvoiceVersionDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Invoices/InvoiceVersionDtoBase.cs
@@ -1,8 +1,5 @@
-using System;
+using System;
using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Win.Sfs.Shared.Filter;
@@ -19,10 +16,8 @@ namespace Win.Sfs.SettleAccount.Entities.Invoices
public string Version { get; set; }
public string CustomerCode { get; set; }
public string Factory { get; set; }
-
- }
-
+ }
public class InvoiceVersionExportDto
@@ -33,10 +28,8 @@ namespace Win.Sfs.SettleAccount.Entities.Invoices
public string Version { get; set; }
public string CustomerCode { get; set; }
public string Factory { get; set; }
-
- }
-
+ }
public class InvoiceVersionImportDto
@@ -47,10 +40,8 @@ namespace Win.Sfs.SettleAccount.Entities.Invoices
public string Version { get; set; }
public string CustomerCode { get; set; }
public string Factory { get; set; }
-
- }
-
+ }
public class InvoiceVersionRequestDto : PagedAndSortedResultRequestDto
@@ -61,13 +52,10 @@ namespace Win.Sfs.SettleAccount.Entities.Invoices
public string Version { get; set; }
public string CustomerCode { get; set; }
public string Factory { get; set; }
-
+
public virtual List Filters { get; set; } = new List();
}
-
-
-
}
}
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 e4c2b1c9..a900412d 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
@@ -1,125 +1,101 @@
-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 Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
using Win.Sfs.SettleAccount.Entities.ItemInvoicePrices;
-using Win.Sfs.Shared.ApplicationBase;
namespace Win.Sfs.SettleAccount.ItemInvoicePrices
{
public interface IItemInvoicePriceAppService
{
///
- /// 빦
+ /// 导入功能
///
- /// ϴļ(ǰѾֻϴһ)
+ /// 上传的文件(前端已经限制只能上传一个附件)
///
Task ItemInvoicePriceUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory);
-
-
-
///
- /// IDȡΨһʵ
+ /// 按ID获取唯一实体
///
///
- /// ʵȫ
+ /// 返回实体全部属性
///
/// ID
- /// ʵDTO
+ /// 实体DTO
Task GetAsync(Guid id);
///
- /// ɸѡȡʵб
+ /// 根据筛选条件获取实体列表
///
///
- /// :ɸѡб,,,ҳ
+ /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
///
- ///
- /// ʵDTOб
-
- Task> GetListAsync( ItemInvoicePriceRequestDto input);
-
-
+ /// 请求条件
+ /// 实体DTO列表
+ Task> GetListAsync(ItemInvoicePriceRequestDto input);
///
- /// ɸѡȡʵб
+ /// 根据筛选条件获取实体列表
///
///
- /// :ɸѡб,,,ҳ
+ /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
///
- ///
- /// ʵDTOб
+ /// 请求条件
+ /// 实体DTO列表
Task> GetVersionListAsync(ItemInvoicePriceVersionRequestDto input);
-
-
-
///
- /// ȡʵ
+ /// 获取实体总数
///
- /// ʵ
+ /// 实体总数
Task GetTotalCountAsync(Guid branchId);
-
///
- /// ȡȫʵб
+ /// 获取全部实体列表
///
- /// ʵDTOб
+ /// 实体DTO列表
//Task> GetAllAsync(Guid branchId);
-
-
-
-
/////
- ///// ʵ
+ ///// 新增实体
/////
- ///// ʵDTO
- ///// ʵDTO
-
+ ///// 新增实体DTO
+ ///// 实体DTO
//Task CreateAsync(ItemInvoicePriceCreateDto input);
-
/////
- ///// ʵ
+ ///// 修改实体
/////
///// ID
- ///// ʵDTO
- ///// ʵDTO
+ ///// 修改实体DTO
+ ///// 实体DTO
//Task UpdateAsync(Guid id, ItemInvoicePriceUpdateDto input);
-
-
-
/////
- ///// ɾʵ
+ ///// 删除实体
/////
///// ID
- /////
+ ///// 无
//Task DeleteAsync(Guid id);
-
///
- /// IDsɾʵб
+ /// 按IDs删除实体列表
///
/// IDs
- /// Ƿִгɹ
+ /// 是否执行成功
Task DeleteListAsync(List ids);
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ImportItemInvoicePriceDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ImportItemInvoicePriceDto.cs
index 1c13d4c3..94a234ef 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ImportItemInvoicePriceDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ImportItemInvoicePriceDto.cs
@@ -1,13 +1,9 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
+using System.ComponentModel.DataAnnotations;
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.ItemInvoicePrices
{
@@ -18,15 +14,11 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
///
[ImportProject(Name = SettleAccountModuleName.ItemInvoicePrice)]
[ExcelImporter(IsLabelingError = true, MaxCount = int.MaxValue)]
- public class ImportItemInvoicePriceDto
+ public class ImportItemInvoicePriceDto
{
-
//Ln Item Number UM Sales Sub-Acct CC Backorder Price Extended Price Extended Margin
-
-
-
///
/// 零件号
///
@@ -55,7 +47,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[Display(Name = "销售订单")]
public string Sales { set; get; }
-
///
/// SubAcct
///
@@ -63,7 +54,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[Display(Name = "SubAcct")]
public string SubAcct { set; get; }
-
///
/// 销售客户
///
@@ -71,7 +61,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[Display(Name = "销售客户")]
public string CC { set; get; }
-
///
/// 开票数量
///
@@ -79,7 +68,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[Display(Name = "开票数量")]
public string Backorder { set; get; }
-
///
/// 开票单价
///
@@ -87,8 +75,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[Display(Name = "开票单价")]
public decimal Price { set; get; }
-
-
///
/// 总金额
///
@@ -103,16 +89,13 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[Display(Name = "ExtendedMargin")]
public decimal ExtendedMargin { set; get; }
-
}
public class ExportItemInvoicePriceDto
{
-
//Ln Item Number UM Sales Sub-Acct CC Backorder Price Extended Price Extended Margin
-
///
///年
///
@@ -137,7 +120,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[Display(Name = "工厂")]
public string Factory { set; get; }
-
///
/// 零件号
///
@@ -166,7 +148,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[Display(Name = "销售订单")]
public string Sales { set; get; }
-
///
/// SubAcct
///
@@ -174,7 +155,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[Display(Name = "SubAcct")]
public string SubAcct { set; get; }
-
///
/// 销售客户
///
@@ -182,7 +162,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[Display(Name = "销售客户")]
public string CC { set; get; }
-
///
/// 开票数量
///
@@ -190,7 +169,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[Display(Name = "开票数量")]
public string Backorder { set; get; }
-
///
/// 开票单价
///
@@ -198,8 +176,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[Display(Name = "开票单价")]
public decimal Price { set; get; }
-
-
///
/// 总金额
///
@@ -214,8 +190,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[Display(Name = "ExtendedMargin")]
public decimal ExtendedMargin { set; get; }
-
}
-
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceCreateDto.cs
index bb02a8f3..56a99d36 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceCreateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceCreateDto.cs
@@ -1,22 +1,19 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
{
public class ItemInvoicePriceCreateDto : ItemInvoicePriceCreateOrUpdateDtoBase, IBranch
{
-
+
[Display(Name = "分支Id")]
[Required(ErrorMessage = "{0}是必填项")]
public Guid BranchId { set; get; }
-
-
///
///年
///
@@ -34,4 +31,4 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
public string Version { set; get; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceCreateOrUpdateDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceCreateOrUpdateDtoBase.cs
index ed947aff..8d270f39 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceCreateOrUpdateDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceCreateOrUpdateDtoBase.cs
@@ -1,14 +1,13 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared.Constant;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
{
- public class ItemInvoicePriceCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
+ public class ItemInvoicePriceCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
{
///
@@ -17,7 +16,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[Display(Name = "工厂")]
public string Factory { set; get; }
-
///
/// 零件号
///
@@ -42,54 +40,43 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[Display(Name = "销售订单")]
public string Sales { set; get; }
-
///
/// SubAcct
///
[Display(Name = "SubAcct")]
public string SubAcct { set; get; }
-
///
/// 销售客户
///
[Display(Name = "销售客户")]
public string CC { set; get; }
-
///
/// 开票数量
///
[Display(Name = "开票数量")]
public string Backorder { set; get; }
-
///
/// 开票单价
///
[Display(Name = "开票单价")]
public decimal Price { set; get; }
-
-
///
/// 总金额
///
[Display(Name = "总金额")]
public decimal ExtendedPrice { set; get; }
-
-
-
-
///
/// ExtendedMargin
///
[Display(Name = "ExtendedMargin")]
public decimal ExtendedMargin { set; get; }
-
public bool Enabled { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceDto.cs
index 73157e5f..51b23577 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceDto.cs
@@ -1,12 +1,11 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// 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.ItemInvoicePrices
{
public class ItemInvoicePriceDto : AuditedEntityDtoBase, IBranch
@@ -19,7 +18,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
public Guid BranchId { get; set; }
-
///
///年
///
@@ -41,7 +39,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[Display(Name = "工厂")]
public string Factory { set; get; }
-
///
/// 零件号
///
@@ -66,53 +63,41 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[Display(Name = "销售订单")]
public string Sales { set; get; }
-
///
/// SubAcct
///
[Display(Name = "SubAcct")]
public string SubAcct { set; get; }
-
///
/// 销售客户
///
[Display(Name = "销售客户")]
public string CC { set; get; }
-
///
/// 开票数量
///
[Display(Name = "开票数量")]
public string Backorder { set; get; }
-
///
/// 开票单价
///
[Display(Name = "开票单价")]
public decimal Price { set; get; }
-
-
///
/// 总金额
///
[Display(Name = "总金额")]
public decimal ExtendedPrice { set; get; }
-
-
-
-
///
/// ExtendedMargin
///
[Display(Name = "ExtendedMargin")]
public decimal ExtendedMargin { set; get; }
-
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceExportDto.cs
index 49e064d5..4766f449 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceExportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceExportDto.cs
@@ -1,22 +1,11 @@
-using Magicodes.ExporterAndImporter.Core;
-using Magicodes.ExporterAndImporter.Core.Filters;
-using Magicodes.ExporterAndImporter.Core.Models;
-using Magicodes.ExporterAndImporter.Excel;
-using System;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using Magicodes.ExporterAndImporter.Core;
namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
{
-
+
public class ItemInvoicePriceExportDto
{
-
-
-
/////
///// 期间
@@ -24,16 +13,13 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
//[ExporterHeader(DisplayName = "期间")]
//public string Period { set; get; }
-
-
///
/// 版本
///
-
+
[ExporterHeader(DisplayName = "版本")]
public string Version { set; get; }
-
///
/// 零件号
///
@@ -49,8 +35,8 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
public string MaterialDesc { get; set; }
///
- /// 单位
- ///
+ /// 单位
+ ///
//[Display(Name = "单位")]
[ExporterHeader(DisplayName = "单位")]
public string UM { get; set; }
@@ -62,7 +48,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[ExporterHeader(DisplayName = "销售订单")]
public string Sales { set; get; }
-
///
/// SubAcct
///
@@ -70,7 +55,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[ExporterHeader(DisplayName = "SubAcct")]
public string SubAcct { set; get; }
-
///
/// 销售客户
///
@@ -78,7 +62,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[ExporterHeader(DisplayName = "销售客户")]
public string CC { set; get; }
-
///
/// 开票数量
///
@@ -86,7 +69,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[ExporterHeader(DisplayName = "开票数量")]
public string Backorder { set; get; }
-
///
/// 开票单价
///
@@ -94,8 +76,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[ExporterHeader(DisplayName = "开票单价")]
public decimal Price { set; get; }
-
-
///
/// 总金额
///
@@ -103,10 +83,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[ExporterHeader(DisplayName = "总金额")]
public decimal ExtendedPrice { set; get; }
-
-
-
-
///
/// ExtendedMargin
///
@@ -114,9 +90,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[ExporterHeader(DisplayName = "ExtendedMargin")]
public decimal ExtendedMargin { set; get; }
-
-
-
///
/// ExtendedMargin
///
@@ -131,7 +104,6 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
[ExporterHeader(DisplayName = "价差")]
public decimal DiffPrice { set; get; }
-
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceRequestDto.cs
index 5b77ebce..3921b37e 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceRequestDto.cs
@@ -1,15 +1,13 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
{
- public class ItemInvoicePriceRequestDto : RequestDtoBase,IBranch
+ public class ItemInvoicePriceRequestDto : RequestDtoBase, IBranch
{
//public Guid ParentId { set; get; }
public Guid BranchId { get; set; }
@@ -17,13 +15,11 @@ namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
///
/// 版本号
///
- public string Version { get; set; }
-
+ public string Version { 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/ItemInvoicePrices/ItemInvoicePriceUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceUpdateDto.cs
index 4d379765..c2834204 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceUpdateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceUpdateDto.cs
@@ -1,16 +1,12 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using System;
-using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities;
-using Volo.Abp.ObjectExtending;
-using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.ItemInvoicePrices
{
- public class ItemInvoicePriceUpdateDto : ItemInvoicePriceCreateOrUpdateDtoBase, IHasConcurrencyStamp
+ public class ItemInvoicePriceUpdateDto : ItemInvoicePriceCreateOrUpdateDtoBase, IHasConcurrencyStamp
{
public string ConcurrencyStamp { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceVersionDtoBase.cs
index 414e53f5..ffb5058b 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceVersionDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/ItemInvoicePriceVersionDtoBase.cs
@@ -1,16 +1,14 @@
-
+
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.ItemInvoicePrices
-{
+{
///
/// ItemInvoicePriceVersion
///
-public class ItemInvoicePriceVersionDtoBase :CreateOrUpdateEntityDtoBase
+ public class ItemInvoicePriceVersionDtoBase : CreateOrUpdateEntityDtoBase
{
public string Year { get; private set; }
@@ -23,26 +21,21 @@ public class ItemInvoicePriceVersionDtoBase :CreateOrUpdateEntityDtoBase
///
public string Version { get; private set; }
-
-
}
-
-
public class ItemInvoicePriceVersionDto : AuditedEntityDtoBase, IBranch
{
public string Year { get; set; }
///
/// 期间
///
- public string Period { get; set; }
+ public string Period { get; set; }
///
/// 版本号
///
- public string Version { get; set; }
+ public string Version { get; set; }
-
- public Guid BranchId { get ; set; }
+ public Guid BranchId { get; set; }
}
public class ItemInvoicePriceVersionCreateDto : ItemInvoicePriceVersionDtoBase
@@ -62,11 +55,10 @@ public class ItemInvoicePriceVersionDtoBase :CreateOrUpdateEntityDtoBase
///
public string Version { get; private set; }
-
- public Guid BranchId { get ; set ; }
+ public Guid BranchId { get; set; }
}
- public class ItemInvoicePriceVersionImportDto
+ public class ItemInvoicePriceVersionImportDto
{
public string Year { get; private set; }
@@ -79,9 +71,6 @@ public class ItemInvoicePriceVersionDtoBase :CreateOrUpdateEntityDtoBase
///
public string Version { get; private set; }
-
-
}
-
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/IItemAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/IItemAppService.cs
index a0214580..8e0464cb 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/IItemAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/IItemAppService.cs
@@ -15,4 +15,4 @@ namespace Win.Sfs.SettleAccount.Items
{
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemCreateDto.cs
index 3105c0dc..42541438 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemCreateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemCreateDto.cs
@@ -1,4 +1,4 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
@@ -8,7 +8,7 @@ using Win.Sfs.Shared.Constant;
namespace Win.Sfs.SettleAccount.Items
{
- public class ItemCreateDto: ItemCreateOrUpdateDtoBase, IBranch
+ public class ItemCreateDto : ItemCreateOrUpdateDtoBase, IBranch
{
[Display(Name = "分支Id")]
[Required(ErrorMessage = "{0}是必填项")]
@@ -23,4 +23,4 @@ namespace Win.Sfs.SettleAccount.Items
public string Code { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemCreateOrUpdateDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemCreateOrUpdateDtoBase.cs
index 34231e07..b2fdc4b3 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemCreateOrUpdateDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemCreateOrUpdateDtoBase.cs
@@ -1,4 +1,4 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
@@ -7,7 +7,7 @@ using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Items
{
- public class ItemCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
+ public class ItemCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
{
///
@@ -51,23 +51,18 @@ namespace Win.Sfs.SettleAccount.Items
[Display(Name = "基本计量单位Id")]
public string BasicUomCode { get; internal set; }
-
-
-
///
/// 产品类
///
[Display(Name = "产品类")]
public string ProductLine { get; internal set; }
-
///
/// 项目ID
///
[Display(Name = "项目编码")]
public string ProjectCode { get; internal set; }
-
///
/// 是否关键物品
///
@@ -79,12 +74,10 @@ namespace Win.Sfs.SettleAccount.Items
[Display(Name = "是否虚拟物品")]
public bool? IsVirtualItem { get; internal set; }
-
[Display(Name = "名称")]
public string Name { get; internal set; }
public Guid? TenantId { set; get; }
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemDto.cs
index b2e1ba20..33af0eb6 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemDto.cs
@@ -1,4 +1,4 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
@@ -62,23 +62,18 @@ namespace Win.Sfs.SettleAccount.Items
[Display(Name = "基本计量单位Id")]
public string BasicUomCode { get; internal set; }
-
-
-
///
/// 产品类
///
[Display(Name = "产品类")]
public string ProductLine { get; internal set; }
-
///
/// 项目ID
///
[Display(Name = "项目编码")]
public string ProjectCode { get; internal set; }
-
///
/// 是否关键物品
///
@@ -90,13 +85,10 @@ namespace Win.Sfs.SettleAccount.Items
[Display(Name = "是否虚拟物品")]
public bool? IsVirtualItem { get; internal set; }
-
[Display(Name = "名称")]
public string Name { get; internal set; }
public Guid? TenantId { set; get; }
-
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemRequestDto.cs
index a89df84c..3ec1baaa 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemRequestDto.cs
@@ -1,16 +1,14 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Items
{
- public class ItemRequestDto : RequestDtoBase,IBranch
+ public class ItemRequestDto : RequestDtoBase, IBranch
{
public Guid BranchId { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemUpdateDto.cs
index 560c7f91..4f1a8667 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemUpdateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Items/ItemUpdateDto.cs
@@ -1,16 +1,12 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using System;
-using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities;
-using Volo.Abp.ObjectExtending;
-using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Items
{
- public class ItemUpdateDto : ItemCreateOrUpdateDtoBase, IHasConcurrencyStamp
+ public class ItemUpdateDto : ItemCreateOrUpdateDtoBase, IHasConcurrencyStamp
{
public string ConcurrencyStamp { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/MaterialRelationship/IMaterialRelationshipAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/MaterialRelationship/IMaterialRelationshipAppService.cs
index 1e08ca1c..76e24399 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/MaterialRelationship/IMaterialRelationshipAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/MaterialRelationship/IMaterialRelationshipAppService.cs
@@ -1,4 +1,4 @@
-namespace Win.Sfs.SettleAccount.Entities.MaterialRelationships
+namespace Win.Sfs.SettleAccount.Entities.MaterialRelationships
{
public interface IMaterialRelationshipAppService
{
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/MaterialRelationship/MaterialRelationshipDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/MaterialRelationship/MaterialRelationshipDtoBase.cs
index 263a90b8..513cb1f6 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/MaterialRelationship/MaterialRelationshipDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/MaterialRelationship/MaterialRelationshipDtoBase.cs
@@ -1,27 +1,24 @@
using System;
+using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared.DomainBase;
-
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
using Magicodes.ExporterAndImporter.Core;
-using Win.Sfs.Shared;
+using Microsoft.AspNetCore.Http;
using Volo.Abp.Application.Dtos;
+using Win.Sfs.Shared.Constant;
+using Win.Sfs.Shared.DtoBase;
using Win.Sfs.Shared.Filter;
-using System.Collections.Generic;
-using Microsoft.AspNetCore.Http;
namespace Win.Sfs.SettleAccount.MaterialRelationships
{
///
/// FIS
///
- public class MaterialRelationshipDtoBase : CreateOrUpdateEntityDtoBase
+ public class MaterialRelationshipDtoBase : CreateOrUpdateEntityDtoBase
{
///
/// ERP物料号
///
- public virtual string ErpMaterialCode { get; set; }
+ public virtual string ErpMaterialCode { get; set; }
///
/// 物料描述
///
@@ -31,13 +28,11 @@ namespace Win.Sfs.SettleAccount.MaterialRelationships
///
public virtual string MaterialProperty { get; set; }
-
///
/// 结算物料号
///
public virtual string SettleMaterialCode { get; set; }
-
///
/// 发货看板物料号
///
@@ -49,24 +44,19 @@ namespace Win.Sfs.SettleAccount.MaterialRelationships
///
public virtual string AppraisalCategory { get; set; }
-
-
}
///
/// 产品结构
///
public class MaterialRelationshipCreateDto : MaterialRelationshipDtoBase
{
-
-
-
}
///
/// 产品结构
///
public class MaterialRelationshipUpdateDto : MaterialRelationshipDtoBase
- {
+ {
}
///
@@ -102,12 +92,12 @@ namespace Win.Sfs.SettleAccount.MaterialRelationships
///
/// 导出
///
- public class MaterialRelationshipExportDto
+ public class MaterialRelationshipExportDto
{
///
/// 厂内物料号
///
- [ExporterHeaderAttribute(DisplayName = "厂内物料号")]
+ [ExporterHeaderAttribute(DisplayName = "厂内物料号")]
public string ErpMaterialCode { get; set; }
///
@@ -193,23 +183,19 @@ namespace Win.Sfs.SettleAccount.MaterialRelationships
public string ShipMaterailCode { get; set; }
public string AppraisalCategory { get; set; }
public decimal Qty { get; set; }
-
- }
-
+ }
public class MaterialRelationshipDetailExportDto
{
-
[ExporterHeaderAttribute(DisplayName = "版本号")]
public virtual string Version { get; set; }
//[ExporterHeaderAttribute(DisplayName = "客户代码")]
//public virtual string CustomerCode { get; set; }
-
[ExporterHeaderAttribute(DisplayName = "ERP物料号")]
public virtual string ErpMaterialCode { get; set; }
@@ -238,26 +224,22 @@ namespace Win.Sfs.SettleAccount.MaterialRelationships
public virtual string SettleMaterialCode { get; set; }
-
/////
///// 发货看板物料号
/////
//[ExporterHeaderAttribute(DisplayName = "发货看板物料号")]
//public virtual string ShipMaterailCode { get; set; }
-
+
[ExporterHeaderAttribute(DisplayName = "数量")]
public virtual decimal Qty { get; set; }
-
- }
-
+ }
public class MaterialRelationshipDetailImportDto
{
-
///
/// ERP物料号
///
@@ -288,7 +270,6 @@ namespace Win.Sfs.SettleAccount.MaterialRelationships
[MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
public virtual string SettleMaterialCode { get; set; }
-
///
/// 发货看板物料号
///
@@ -297,7 +278,6 @@ namespace Win.Sfs.SettleAccount.MaterialRelationships
[MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
public virtual string ShipMaterailCode { get; set; }
-
[ImporterHeader(Name = "估价类")]
///
/// 估价类
@@ -311,10 +291,8 @@ namespace Win.Sfs.SettleAccount.MaterialRelationships
[ImporterHeader(Name = "数量")]
public decimal Qty { get; set; }
-
- }
-
+ }
public class MaterialRelationshipDetailRequestDto : PagedAndSortedResultRequestDto
@@ -329,7 +307,7 @@ namespace Win.Sfs.SettleAccount.MaterialRelationships
public string ShipMaterailCode { get; set; }
public string AppraisalCategory { get; set; }
public decimal Qty { get; set; }
-
+
public virtual List Filters { get; set; } = new List();
}
@@ -342,10 +320,8 @@ namespace Win.Sfs.SettleAccount.MaterialRelationships
public string Version { get; set; }
public string CustomerCode { get; set; }
public string Factory { get; set; }
-
- }
-
+ }
public class MaterialRelationshipVersionExportDto
@@ -356,10 +332,8 @@ namespace Win.Sfs.SettleAccount.MaterialRelationships
public string Version { get; set; }
public string CustomerCode { get; set; }
public string Factory { get; set; }
-
- }
-
+ }
public class MaterialRelationshipVersionImportDto
@@ -370,10 +344,8 @@ namespace Win.Sfs.SettleAccount.MaterialRelationships
public string Version { get; set; }
public string CustomerCode { get; set; }
public string Factory { get; set; }
-
- }
-
+ }
public class MaterialRelationshipVersionRequestDto : PagedAndSortedResultRequestDto
@@ -384,13 +356,8 @@ namespace Win.Sfs.SettleAccount.MaterialRelationships
public string Version { get; set; }
public string CustomerCode { get; set; }
public string Factory { get; set; }
-
+
public virtual List Filters { get; set; } = new List();
}
-
-
-
-
-
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Materials/IMaterialAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Materials/IMaterialAppService.cs
index be1b3ab5..5fcf3552 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Materials/IMaterialAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Materials/IMaterialAppService.cs
@@ -1,14 +1,10 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System;
using Volo.Abp.Application.Services;
using Win.Sfs.Shared.ApplicationBase;
namespace Win.Sfs.SettleAccount.Entities.Materials
{
-
+
public interface IMaterialAppService : ICrudAppService
///错误单据号
///
- [ImporterHeader(Name = "底盘|看板号|订单号")]
+ [ImporterHeader(Name = "底盘|看板号|订单号")]
public string BillNum { get; set; }
///
/// 物料号
@@ -125,10 +121,10 @@ namespace Win.Sfs.SettleAccount.Entities.Materials
{
public class MaterialImportDtoTH
{
- [ImporterHeader(Name= "PART NUMBER COMP")]
- public virtual string ChildMaterialCode
+ [ImporterHeader(Name = "PART NUMBER COMP")]
+ public virtual string ChildMaterialCode
{
- set;get;
+ set; get;
}
[ImporterHeader(Name = "Description1")]
@@ -182,15 +178,15 @@ namespace Win.Sfs.SettleAccount.Entities.Materials
/// 基础计量单位
///
//[ImporterHeader(Name = "基本计量单位")]
-
-
+
+
//public virtual string Unit { set; get; }
///
/// 估价类
///
[ImporterHeader(Name = "ITEM TYPE FG")]
-
+
[MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
public virtual string EstimateType { set; get; }
@@ -211,7 +207,7 @@ namespace Win.Sfs.SettleAccount.Entities.Materials
///
/// 物料主数据
///
- public class MaterialDtoBase: CreateOrUpdateEntityDtoBase
+ public class MaterialDtoBase : CreateOrUpdateEntityDtoBase
{
///
///工厂
@@ -234,8 +230,10 @@ namespace Win.Sfs.SettleAccount.Entities.Materials
///物料描述
///
[ImporterHeader(Name = "物料描述")]
-
- public virtual string MaterialDesc { set; get;
+
+ public virtual string MaterialDesc
+ {
+ set; get;
}
///
/// 基础计量单位
@@ -269,12 +267,12 @@ namespace Win.Sfs.SettleAccount.Entities.Materials
}
public class MaterialUpdateDto : MaterialDtoBase
{
-
+
}
public class MaterialRequestDto : RequestDtoBase
{
-
+
}
///
@@ -296,7 +294,7 @@ namespace Win.Sfs.SettleAccount.Entities.Materials
}
[ImportProject(Name = SettleAccountModuleName.Material)]
- public class MaterialImportDto
+ public class MaterialImportDto
{
///
///工厂
@@ -343,10 +341,10 @@ namespace Win.Sfs.SettleAccount.Entities.Materials
/// 估价类描述
///
[ImporterHeader(Name = "估价类描述")]
-
+
public virtual string EstimateTypeDesc { set; get; }
-
+
}
///
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prebatches/IPrebatchAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prebatches/IPrebatchAppService.cs
index ae98254d..8dabb129 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prebatches/IPrebatchAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prebatches/IPrebatchAppService.cs
@@ -1,16 +1,6 @@
-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 Volo.Abp.Application.Services;
-using Win.Sfs.Shared;
using Win.Sfs.Shared.ApplicationBase;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Prebatches
{
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prebatches/PrebatchDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prebatches/PrebatchDtoBase.cs
index 74bf6d34..e8da07ba 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prebatches/PrebatchDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prebatches/PrebatchDtoBase.cs
@@ -1,19 +1,12 @@
-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 Magicodes.ExporterAndImporter.Core;
using Win.Sfs.Shared;
using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
-using Win.Sfs.Shared.Enums.SettleAccount;
namespace Win.Sfs.SettleAccount.Prebatches
-{
+{
public class PrebatchDtoBase : CreateOrUpdateEntityDtoBase
{
///
@@ -21,14 +14,11 @@ namespace Win.Sfs.SettleAccount.Prebatches
///
public string KENNCode { set; get; }
-
///
/// 状态
///
public int State { set; get; }
-
-
}
public class PrebatchCreateDto : PrebatchDtoBase
{
@@ -79,17 +69,14 @@ namespace Win.Sfs.SettleAccount.Prebatches
///
public string KENNCode { set; get; }
-
///
/// 状态
///
public int State { set; get; }
public Guid BranchId { get; set; }
-
public Guid UserId { get; set; }
-
///
/// 车型
///
@@ -112,12 +99,11 @@ namespace Win.Sfs.SettleAccount.Prebatches
///
public string KENNCode { set; get; }
-
///
/// 状态
///
public int State { set; get; }
- public Guid BranchId { get ; set; }
+ public Guid BranchId { get; set; }
///
/// 车型
@@ -134,11 +120,10 @@ namespace Win.Sfs.SettleAccount.Prebatches
///
public string Year { get; set; }
}
- [ImportProject(Name ="预批量")]
+ [ImportProject(Name = "预批量")]
public class PrebatchImportDto
{
-
///
/// KENEN号
///
@@ -155,7 +140,6 @@ namespace Win.Sfs.SettleAccount.Prebatches
///
public int State { set; get; }
-
[ImporterHeader(Name = "车型")]
[Required(ErrorMessage = "{0}是必填项")]
public string CarCode { get; set; }
@@ -164,12 +148,10 @@ namespace Win.Sfs.SettleAccount.Prebatches
[Required(ErrorMessage = "{0}是必填项")]
public string YearKennCode { get; set; }
-
[ImporterHeader(Name = "年份")]
[Required(ErrorMessage = "{0}是必填项")]
public string Year { get; set; }
-
}
public class PrebatchExportDto
{
@@ -177,18 +159,16 @@ namespace Win.Sfs.SettleAccount.Prebatches
/// KENEN号
///
[ExporterHeader(DisplayName = "KENN号")]
-
+
public string KENNCode { set; get; }
[ExporterHeader(DisplayName = "状态")]
-
-
+
///
/// 状态
///
public int State { set; get; }
-
[ExporterHeader(DisplayName = "车型")]
public string CarCode { get; set; }
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prices/PriceListDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prices/PriceListDtoBase.cs
index 788027af..7e809fcf 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prices/PriceListDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prices/PriceListDtoBase.cs
@@ -7,401 +7,402 @@ using Win.Sfs.SettleAccount.Attributes;
using Win.Sfs.SettleAccount.Bases;
using Win.Sfs.Shared.Filter;
-namespace Win.Sfs.SettleAccount.Entities.Prices;
-
-public class PriceListDto : EntityDto
-{
- ///
- /// 零件号
- ///
- [Display(Name = "零件号")]
- public string LU { get; set; }
- ///
- /// 价格
- ///
- [Display(Name = "价格")]
- public Decimal Price { set; get; }
- ///
- /// 开始时间
- ///
- [Display(Name = "开始时间")]
- public DateTime BeginTime { set; get; }
- ///
- /// 结束时间
- ///
- [Display(Name = "结束时间")]
- public DateTime EndTime { set; get; }
- ///
- /// 客户编码
- ///
- [Display(Name = "客户编码")]
- public string ClientCode { get; set; }
- ///
- /// 业务类别
- ///
- [Display(Name = "业务类别")]
- public EnumBusinessType BusinessType { get; set; }
- ///
- /// 版本
- ///
- [Display(Name = "版本")]
- public string Version { set; get; }
- ///
- /// 合同签订时间
- ///
- [Display(Name = "合同签订时间")]
- public string Date { get; set; }
- ///
- /// 合同号
- ///
- [Display(Name = "合同号")]
- public string ContractNo { get; set; }
- ///
- /// 是否作废
- ///
- [Display(Name = "是否作废")]
- public bool IsCancel { get; set; }
-}
-
-///
-/// 销售价格单导出
-///
-public class PriceListExportDto
-{
- ///
- /// 零件号
- ///
- [Display(Name = "零件号")]
- [ExporterHeader(DisplayName = "客户零件号")]
- public string LU { get; set; }
- ///
- /// 价格
- ///
- [Display(Name = "价格")]
- [ExporterHeader(DisplayName = "价格")]
- public Decimal Price { set; get; }
- ///
- /// 开始时间
- ///
- [Display(Name = "开始时间")]
- [ExporterHeader(DisplayName = "开始时间")]
- public DateTime BeginTime { set; get; }
- ///
- /// 结束时间
- ///
- [Display(Name = "结束时间")]
- [ExporterHeader(DisplayName = "结束时间")]
- public DateTime EndTime { set; get; }
- ///
- /// 客户编码
- ///
- [Display(Name = "客户编码")]
- [ExporterHeader(DisplayName = "客户编码")]
- public string ClientCode { get; set; }
- ///
- /// 合同签订时间
- ///
- [Display(Name = "合同签订时间")]
- [ExporterHeader(DisplayName = "合同签订时间")]
- public DateTime Date { get; set; }
- ///
- /// 合同号
- ///
- [Display(Name = "合同号")]
- [ExporterHeader(DisplayName = "合同号")]
- public string ContractNo { get; set; }
-}
-
-///
-/// 销售价格导入
-///
-[Importer(HeaderRowIndex = 22)]
-public class PriceListImportDto
-{
- ///
- /// 合同签订时间
- ///
- [ImporterHeader(IsIgnore = true)]
- [ExcelImporterHeadDesc(Row = 1, Cell = 1)]
- public string Date { get; set; }
- ///
- /// 合同号
- ///
- [ImporterHeader(IsIgnore = true)]
- [ExcelImporterHeadDesc(Row = 2, Cell = 1)]
- public string ContractNo { get; set; }
- ///
- /// 零件号
- ///
- [Display(Name = "零件号")]
- [Required(ErrorMessage = "{0}是必填项")]
- [ImporterHeader(Name = "Part No.")]
- public string PartNo { get; set; }
- ///
- /// 价格
- ///
- [ImporterHeader(Name = "Total Price")]
- public decimal TotalPrice { get; set; }
- ///
- /// 开始时间
- ///
- [ImporterHeader(Name = "Valid From")]
- public DateTime ValidFrom { get; set; }
- ///
- /// 结束时间
- ///
- [ImporterHeader(Name = "Valid To")]
- public DateTime ValidTo { get; set; }
- ///
- /// 客户编码
- ///
- [ImporterHeader(Name = "Plant")]
- public string Plant { get; set; }
- ///
- /// ES1
- ///
- [ImporterHeader(Name = "ES1")]
- public string ES1 { get; set; }
- ///
- /// ES2
- ///
- [ImporterHeader(Name = "ES2")]
- public string ES2 { get; set; }
-}
-
-public class PriceListRequestDto : PagedAndSortedResultRequestDto
-{
- [Display(Name = "开始时间")]
- public DateTime BeginDate { get; set; }
- [Display(Name = "结算时间")]
- public DateTime EndDate { get; set; }
- [Display(Name = "价格")]
- public decimal Price { get; set; }
- [Display(Name = "物料编号")]
- public string MaterialCode { get; set; }
- [Display(Name = "价格类型")]
- public int Type { get; set; }
-
- public Guid ParentId { set; get; }
-
- public int FileType { set; get; }
-
- public string Version { set; get; }
-
- public virtual List Filters { get; set; } = new List();
-}
-
-///
-/// UpdateDto
-///
-public class PriceListUpdateDto : EntityDto
-{
- ///
- /// 是否作废
- ///
- [Display(Name = "是否作废")]
- public bool IsCancel { get; set; }
-}
-
-#region 备件价格
-///
-/// 备件价格
-///
-public class PriceListBJDto : AuditedEntityDto
-{
- ///
- /// 客户零件号
- ///
- [Display(Name = "客户零件号")]
- public string LU { get; set; }
-
- ///
- /// 价格
- ///
- [Display(Name = "价格")]
- public decimal Price { get; set; }
-
- ///
- /// 开始时间
- ///
- [Display(Name = "开始时间")]
- public DateTime BeginDate { set; get; }
-
- ///
- /// 结束时间
- ///
- [Display(Name = "结束时间")]
- public DateTime EndDate { set; get; }
-
- ///
- /// 客户编码
- ///
- [Display(Name = "客户编码")]
- public string ClientCode { get; set; }
-
- ///
- /// 合同签订时间
- ///
- [Display(Name = "合同签订时间")]
- public DateTime Date { get; set; }
-
- ///
- /// 合同号
- ///
- [Display(Name = "合同号")]
- public string ContractNo { get; set; }
- ///
- /// 是否作废
- ///
- [Display(Name = "是否作废")]
- public bool IsCancel { get; set; }
-}
-
-///
-/// 备件价格导出
-///
-[Display(Name = "备件价格")]
-public class PriceListBJExportDto
-{
- ///
- /// 客户零件号
- ///
- [Display(Name = "客户零件号")]
- [ExporterHeader(DisplayName = "客户零件号")]
- public string LU { get; set; }
-
- ///
- /// 价格
- ///
- [Display(Name = "价格")]
- [ExporterHeader(DisplayName = "价格")]
- public decimal Price { get; set; }
-
- ///
- /// 开始时间
- ///
- [Display(Name = "开始时间")]
- [ExporterHeader(DisplayName = "开始时间")]
- public DateTime BeginDate { set; get; }
-
- ///
- /// 结束时间
- ///
- [Display(Name = "结束时间")]
- [ExporterHeader(DisplayName = "结束时间")]
- public DateTime EndDate { set; get; }
-
- ///
- /// 客户编码
- ///
- [Display(Name = "客户编码")]
- [ExporterHeader(DisplayName = "客户编码")]
- public string ClientCode { get; set; }
-
- ///
- /// 合同签订时间
- ///
- [Display(Name = "合同签订时间")]
- [ExporterHeader(DisplayName = "合同签订时间")]
- public DateTime Date { get; set; }
-
- ///
- /// 合同号
- ///
- [Display(Name = "合同号")]
- [ExporterHeader(DisplayName = "合同号")]
- public string ContractNo { get; set; }
-}
-
-///
-/// 客户备件价格导入
-///
-[Importer(HeaderRowIndex = 22)]
-public class PriceListBJImportDto
-{
- ///
- /// 合同签订时间
- ///
- [ImporterHeader(IsIgnore = true)]
- [ExcelImporterHeadDesc(Row = 1, Cell = 1)]
- public string Date { get; set; }
- ///
- /// 合同号
- ///
- [ImporterHeader(IsIgnore = true)]
- [ExcelImporterHeadDesc(Row = 2, Cell = 1)]
- public string ContractNo { get; set; }
- ///
- /// 零件号
- ///
- [Display(Name = "零件号")]
- [Required(ErrorMessage = "{0}是必填项")]
- [ImporterHeader(Name = "Part No.")]
- public string PartNo { get; set; }
- ///
- /// 价格
- ///
- [ImporterHeader(Name = "Total Price")]
- public decimal TotalPrice { get; set; }
- ///
- /// 开始时间
- ///
- [ImporterHeader(Name = "Valid From")]
- public DateTime ValidFrom { get; set; }
- ///
- /// 结束时间
- ///
- [ImporterHeader(Name = "Valid To")]
- public DateTime ValidTo { get; set; }
- ///
- /// 客户编码
- ///
- [ImporterHeader(Name = "Plant")]
- public string Plant { get; set; }
- ///
- /// ES1
- ///
- [ImporterHeader(Name = "ES1")]
- public string ES1 { get; set; }
- ///
- /// ES2
- ///
- [ImporterHeader(Name = "ES2")]
- public string ES2 { get; set; }
-}
-
-public class PriceListBJRequestDto : RequestInputBase
+namespace Win.Sfs.SettleAccount.Entities.Prices
{
- [Display(Name = "开始时间")]
- public DateTime BeginDate { get; set; }
- [Display(Name = "结算时间")]
- public DateTime EndDate { get; set; }
- [Display(Name = "价格")]
- public decimal Price { get; set; }
- [Display(Name = "物料编号")]
- public string MaterialCode { get; set; }
- [Display(Name = "价格类型")]
- public int Type { get; set; }
-
- public Guid ParentId { set; get; }
-
- public int FileType { set; get; }
-
- public string Version { set; get; }
-
- public virtual List Filters { get; set; } = new List();
-}
-
-///
-/// UpdateDto
-///
-public class PriceListBJUpdateDto : EntityDto
-{
- ///
- /// 是否作废
- ///
- [Display(Name = "是否作废")]
- public bool IsCancel { get; set; }
+ public class PriceListDto : EntityDto
+ {
+ ///
+ /// 零件号
+ ///
+ [Display(Name = "零件号")]
+ public string LU { get; set; }
+ ///
+ /// 价格
+ ///
+ [Display(Name = "价格")]
+ public Decimal Price { set; get; }
+ ///
+ /// 开始时间
+ ///
+ [Display(Name = "开始时间")]
+ public DateTime BeginTime { set; get; }
+ ///
+ /// 结束时间
+ ///
+ [Display(Name = "结束时间")]
+ public DateTime EndTime { set; get; }
+ ///
+ /// 客户编码
+ ///
+ [Display(Name = "客户编码")]
+ public string ClientCode { get; set; }
+ ///
+ /// 业务类别
+ ///
+ [Display(Name = "业务类别")]
+ public EnumBusinessType BusinessType { get; set; }
+ ///
+ /// 版本
+ ///
+ [Display(Name = "版本")]
+ public string Version { set; get; }
+ ///
+ /// 合同签订时间
+ ///
+ [Display(Name = "合同签订时间")]
+ public string Date { get; set; }
+ ///
+ /// 合同号
+ ///
+ [Display(Name = "合同号")]
+ public string ContractNo { get; set; }
+ ///
+ /// 是否作废
+ ///
+ [Display(Name = "是否作废")]
+ public bool IsCancel { get; set; }
+ }
+
+ ///
+ /// 销售价格单导出
+ ///
+ public class PriceListExportDto
+ {
+ ///
+ /// 零件号
+ ///
+ [Display(Name = "零件号")]
+ [ExporterHeader(DisplayName = "客户零件号")]
+ public string LU { get; set; }
+ ///
+ /// 价格
+ ///
+ [Display(Name = "价格")]
+ [ExporterHeader(DisplayName = "价格")]
+ public Decimal Price { set; get; }
+ ///
+ /// 开始时间
+ ///
+ [Display(Name = "开始时间")]
+ [ExporterHeader(DisplayName = "开始时间")]
+ public DateTime BeginTime { set; get; }
+ ///
+ /// 结束时间
+ ///
+ [Display(Name = "结束时间")]
+ [ExporterHeader(DisplayName = "结束时间")]
+ public DateTime EndTime { set; get; }
+ ///
+ /// 客户编码
+ ///
+ [Display(Name = "客户编码")]
+ [ExporterHeader(DisplayName = "客户编码")]
+ public string ClientCode { get; set; }
+ ///
+ /// 合同签订时间
+ ///
+ [Display(Name = "合同签订时间")]
+ [ExporterHeader(DisplayName = "合同签订时间")]
+ public DateTime Date { get; set; }
+ ///
+ /// 合同号
+ ///
+ [Display(Name = "合同号")]
+ [ExporterHeader(DisplayName = "合同号")]
+ public string ContractNo { get; set; }
+ }
+
+ ///
+ /// 销售价格导入
+ ///
+ [Importer(HeaderRowIndex = 22)]
+ public class PriceListImportDto
+ {
+ ///
+ /// 合同签订时间
+ ///
+ [ImporterHeader(IsIgnore = true)]
+ [ExcelImporterHeadDesc(Row = 1, Cell = 1)]
+ public string Date { get; set; }
+ ///
+ /// 合同号
+ ///
+ [ImporterHeader(IsIgnore = true)]
+ [ExcelImporterHeadDesc(Row = 2, Cell = 1)]
+ public string ContractNo { get; set; }
+ ///
+ /// 零件号
+ ///
+ [Display(Name = "零件号")]
+ [Required(ErrorMessage = "{0}是必填项")]
+ [ImporterHeader(Name = "Part No.")]
+ public string PartNo { get; set; }
+ ///
+ /// 价格
+ ///
+ [ImporterHeader(Name = "Total Price")]
+ public decimal TotalPrice { get; set; }
+ ///
+ /// 开始时间
+ ///
+ [ImporterHeader(Name = "Valid From")]
+ public DateTime ValidFrom { get; set; }
+ ///
+ /// 结束时间
+ ///
+ [ImporterHeader(Name = "Valid To")]
+ public DateTime ValidTo { get; set; }
+ ///
+ /// 客户编码
+ ///
+ [ImporterHeader(Name = "Plant")]
+ public string Plant { get; set; }
+ ///
+ /// ES1
+ ///
+ [ImporterHeader(Name = "ES1")]
+ public string ES1 { get; set; }
+ ///
+ /// ES2
+ ///
+ [ImporterHeader(Name = "ES2")]
+ public string ES2 { get; set; }
+ }
+
+ public class PriceListRequestDto : PagedAndSortedResultRequestDto
+ {
+ [Display(Name = "开始时间")]
+ public DateTime BeginDate { get; set; }
+ [Display(Name = "结算时间")]
+ public DateTime EndDate { get; set; }
+ [Display(Name = "价格")]
+ public decimal Price { get; set; }
+ [Display(Name = "物料编号")]
+ public string MaterialCode { get; set; }
+ [Display(Name = "价格类型")]
+ public int Type { get; set; }
+
+ public Guid ParentId { set; get; }
+
+ public int FileType { set; get; }
+
+ public string Version { set; get; }
+
+ public virtual List Filters { get; set; } = new List();
+ }
+
+ ///
+ /// UpdateDto
+ ///
+ public class PriceListUpdateDto : EntityDto
+ {
+ ///
+ /// 是否作废
+ ///
+ [Display(Name = "是否作废")]
+ public bool IsCancel { get; set; }
+ }
+
+ #region 备件价格
+ ///
+ /// 备件价格
+ ///
+ public class PriceListBJDto : AuditedEntityDto
+ {
+ ///
+ /// 客户零件号
+ ///
+ [Display(Name = "客户零件号")]
+ public string LU { get; set; }
+
+ ///
+ /// 价格
+ ///
+ [Display(Name = "价格")]
+ public decimal Price { get; set; }
+
+ ///
+ /// 开始时间
+ ///
+ [Display(Name = "开始时间")]
+ public DateTime BeginDate { set; get; }
+
+ ///
+ /// 结束时间
+ ///
+ [Display(Name = "结束时间")]
+ public DateTime EndDate { set; get; }
+
+ ///
+ /// 客户编码
+ ///
+ [Display(Name = "客户编码")]
+ public string ClientCode { get; set; }
+
+ ///
+ /// 合同签订时间
+ ///
+ [Display(Name = "合同签订时间")]
+ public DateTime Date { get; set; }
+
+ ///
+ /// 合同号
+ ///
+ [Display(Name = "合同号")]
+ public string ContractNo { get; set; }
+ ///
+ /// 是否作废
+ ///
+ [Display(Name = "是否作废")]
+ public bool IsCancel { get; set; }
+ }
+
+ ///
+ /// 备件价格导出
+ ///
+ [Display(Name = "备件价格")]
+ public class PriceListBJExportDto
+ {
+ ///
+ /// 客户零件号
+ ///
+ [Display(Name = "客户零件号")]
+ [ExporterHeader(DisplayName = "客户零件号")]
+ public string LU { get; set; }
+
+ ///
+ /// 价格
+ ///
+ [Display(Name = "价格")]
+ [ExporterHeader(DisplayName = "价格")]
+ public decimal Price { get; set; }
+
+ ///
+ /// 开始时间
+ ///
+ [Display(Name = "开始时间")]
+ [ExporterHeader(DisplayName = "开始时间")]
+ public DateTime BeginDate { set; get; }
+
+ ///
+ /// 结束时间
+ ///
+ [Display(Name = "结束时间")]
+ [ExporterHeader(DisplayName = "结束时间")]
+ public DateTime EndDate { set; get; }
+
+ ///
+ /// 客户编码
+ ///
+ [Display(Name = "客户编码")]
+ [ExporterHeader(DisplayName = "客户编码")]
+ public string ClientCode { get; set; }
+
+ ///
+ /// 合同签订时间
+ ///
+ [Display(Name = "合同签订时间")]
+ [ExporterHeader(DisplayName = "合同签订时间")]
+ public DateTime Date { get; set; }
+
+ ///
+ /// 合同号
+ ///
+ [Display(Name = "合同号")]
+ [ExporterHeader(DisplayName = "合同号")]
+ public string ContractNo { get; set; }
+ }
+
+ ///
+ /// 客户备件价格导入
+ ///
+ [Importer(HeaderRowIndex = 22)]
+ public class PriceListBJImportDto
+ {
+ ///
+ /// 合同签订时间
+ ///
+ [ImporterHeader(IsIgnore = true)]
+ [ExcelImporterHeadDesc(Row = 1, Cell = 1)]
+ public string Date { get; set; }
+ ///
+ /// 合同号
+ ///
+ [ImporterHeader(IsIgnore = true)]
+ [ExcelImporterHeadDesc(Row = 2, Cell = 1)]
+ public string ContractNo { get; set; }
+ ///
+ /// 零件号
+ ///
+ [Display(Name = "零件号")]
+ [Required(ErrorMessage = "{0}是必填项")]
+ [ImporterHeader(Name = "Part No.")]
+ public string PartNo { get; set; }
+ ///
+ /// 价格
+ ///
+ [ImporterHeader(Name = "Total Price")]
+ public decimal TotalPrice { get; set; }
+ ///
+ /// 开始时间
+ ///
+ [ImporterHeader(Name = "Valid From")]
+ public DateTime ValidFrom { get; set; }
+ ///
+ /// 结束时间
+ ///
+ [ImporterHeader(Name = "Valid To")]
+ public DateTime ValidTo { get; set; }
+ ///
+ /// 客户编码
+ ///
+ [ImporterHeader(Name = "Plant")]
+ public string Plant { get; set; }
+ ///
+ /// ES1
+ ///
+ [ImporterHeader(Name = "ES1")]
+ public string ES1 { get; set; }
+ ///
+ /// ES2
+ ///
+ [ImporterHeader(Name = "ES2")]
+ public string ES2 { get; set; }
+ }
+
+ public class PriceListBJRequestDto : RequestInputBase
+ {
+ [Display(Name = "开始时间")]
+ public DateTime BeginDate { get; set; }
+ [Display(Name = "结算时间")]
+ public DateTime EndDate { get; set; }
+ [Display(Name = "价格")]
+ public decimal Price { get; set; }
+ [Display(Name = "物料编号")]
+ public string MaterialCode { get; set; }
+ [Display(Name = "价格类型")]
+ public int Type { get; set; }
+
+ public Guid ParentId { set; get; }
+
+ public int FileType { set; get; }
+
+ public string Version { set; get; }
+
+ public virtual List Filters { get; set; } = new List();
+ }
+
+ ///
+ /// UpdateDto
+ ///
+ public class PriceListBJUpdateDto : EntityDto
+ {
+ ///
+ /// 是否作废
+ ///
+ [Display(Name = "是否作废")]
+ public bool IsCancel { get; set; }
+ }
}
#endregion
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prices/PriceListVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prices/PriceListVersionDtoBase.cs
index d9d6823d..cbe4fd42 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prices/PriceListVersionDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prices/PriceListVersionDtoBase.cs
@@ -1,8 +1,5 @@
-using System;
+using System;
using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Win.Sfs.Shared.Filter;
@@ -16,10 +13,8 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
public string Period { get; set; }
public string Version { get; set; }
public string Factory { get; set; }
-
- }
-
+ }
public class PriceListVersionExportDto
@@ -29,10 +24,8 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
public string Period { get; set; }
public string Version { get; set; }
public string Factory { get; set; }
-
- }
-
+ }
public class PriceListVersionImportDto
@@ -42,10 +35,8 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
public string Period { get; set; }
public string Version { get; set; }
public string Factory { get; set; }
-
- }
-
+ }
public class PriceListVersionRequestDto : PagedAndSortedResultRequestDto
@@ -55,24 +46,10 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
public string Period { get; set; }
public string Version { get; set; }
public string Factory { get; set; }
-
+
public virtual List Filters { get; set; } = new List();
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
public class PriceListVersionBJDto : EntityDto
{
@@ -84,8 +61,6 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
}
-
-
public class PriceListVersionBJExportDto
{
@@ -97,8 +72,6 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
}
-
-
public class PriceListVersionBJImportDto
{
@@ -110,8 +83,6 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
}
-
-
public class PriceListVersionBJRequestDto : PagedAndSortedResultRequestDto
{
@@ -124,11 +95,5 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
public virtual List Filters { get; set; } = new List();
}
-
-
-
-
-
-
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/ISettleAccountAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/ISettleAccountAppService.cs
index 628eaf74..62f1a6fa 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/ISettleAccountAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/ISettleAccountAppService.cs
@@ -1,23 +1,16 @@
-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 Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
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 ISettleAccountAppService
-
- {
-
+ {
///
/// 导入功能
@@ -25,10 +18,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
/// 上传的文件(前端已经限制只能上传一个附件)
///
- Task SettleAccountUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode,string factory);
-
-
-
+ Task SettleAccountUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory);
///
/// 按ID获取唯一实体
@@ -52,9 +42,6 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
Task> GetListAsync(Guid parentId, SettleAccountRequestDto input);
-
-
-
///
/// 根据筛选条件获取实体列表
///
@@ -66,9 +53,6 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
Task> GetVersionListAsync(SettleAccountVersionRequestDto input);
-
-
-
///
/// 获取实体总数
///
@@ -76,7 +60,6 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
Task GetTotalCountAsync(Guid branchId);
-
/////
///// 获取全部实体列表
/////
@@ -84,20 +67,14 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
//Task> GetAllAsync(Guid branchId);
-
-
-
-
/////
///// 新增实体
/////
///// 新增实体DTO
///// 实体DTO
-
//Task CreateAsync(SettleAccountCreateDto input);
-
/////
///// 修改实体
/////
@@ -107,9 +84,6 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
//Task UpdateAsync(Guid id, SettleAccountUpdateDto input);
-
-
-
/////
///// 删除实体
/////
@@ -118,7 +92,6 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
//Task DeleteAsync(Guid id);
-
///
/// 按IDs删除实体列表
///
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountCreateDto.cs
index ebc61729..5f80bfdf 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountCreateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountCreateDto.cs
@@ -1,15 +1,10 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
{
public class SettleAccountCreateDto : SettleAccountDtoBase, IBranch
{
- public virtual Guid BranchId { get ; set ; }
+ public virtual Guid BranchId { get; set; }
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountDto.cs
index c941492b..17415263 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountDto.cs
@@ -1,33 +1,18 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
{
-
-
-
-
-
-
- public class SettleAccountDto: AuditedEntityDtoBase, IBranch
+ public class SettleAccountDto : AuditedEntityDtoBase, IBranch
{
-
-
///
/// 期间
///
public string Period { set; get; }
-
-
///
/// 年份
///
@@ -36,52 +21,50 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
///
/// 年份
///
- public virtual string Year { set; get; }
+ public virtual string Year { set; get; }
///
/// KENEN号
///
- public virtual string KENNCode { set; get; }
+ public virtual string KENNCode { set; get; }
///
/// 底盘号
///
- public virtual string ChassisNumber { set; get; }
+ public virtual string ChassisNumber { set; get; }
///
/// 车型
///
- public virtual string Model { set; get; }
+ public virtual string Model { set; get; }
///
/// CP5A日期
///
- public virtual DateTime CP5A { set; get; }
+ public virtual DateTime CP5A { set; get; }
///
/// CP7
///
- public virtual DateTime CP7 { set; get; }
+ public virtual DateTime CP7 { set; get; }
///
/// 零件号
///
- public virtual string MaterialCode { get; set; }
+ public virtual string MaterialCode { get; set; }
///
/// 数量
///
- public virtual decimal Qty { get; set; }
+ public virtual decimal Qty { get; set; }
///
/// 结算标识
///
- public virtual string SettlementID { get; set; }
+ public virtual string SettlementID { get; set; }
///
/// 结算供应商
///
- public virtual string SettlementSupplier { get; set; }
-
+ public virtual string SettlementSupplier { get; set; }
public virtual string State { get; set; }
- public virtual Guid BranchId { get ; set ; }
-
+ public virtual Guid BranchId { get; set; }
public virtual string Version { get; set; }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountDtoBase.cs
index 2965f8b2..c467f186 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountDtoBase.cs
@@ -1,14 +1,9 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DomainBase;
+using System;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
{
- public class SettleAccountDtoBase: CreateOrUpdateEntityDtoBase
+ public class SettleAccountDtoBase : CreateOrUpdateEntityDtoBase
{
///
@@ -16,8 +11,6 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
///
public string Period { set; get; }
-
-
///
/// 年份
///
@@ -25,7 +18,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
///
/// 年份
///
- public virtual string Year { set; get; }
+ public virtual string Year { set; get; }
///
/// KENEN号
///
@@ -66,6 +59,5 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
///
public virtual string SettlementSupplier { get; set; }
-
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountExportDto.cs
index 6cb9cbb1..913366e0 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountExportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountExportDto.cs
@@ -1,25 +1,18 @@
-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;
+using Magicodes.ExporterAndImporter.Core;
namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
{
- public class SettleAccountExportDto
+ public class SettleAccountExportDto
{
[ExporterHeader(DisplayName = "版本")]
public string Version { set; get; }
-
///
/// 期间
///
-
//[ExporterHeader(DisplayName = "期间")]
//public string Period { set; get; }
@@ -33,53 +26,53 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
/// KENEN号
///
[ExporterHeader(DisplayName = "KENN号")]
- public virtual string KENNCode { set; get; }
+ public virtual string KENNCode { set; get; }
///
/// 底盘号
///
[ExporterHeader(DisplayName = "底盘号")]
- public virtual string ChassisNumber { set; get; }
+ public virtual string ChassisNumber { set; get; }
///
/// 车型
///
[ExporterHeader(DisplayName = "车型")]
- public virtual string Model { set; get; }
+ public virtual string Model { set; get; }
///
/// CP5A日期
///
[ExporterHeader(DisplayName = "CP5日期")]
- public virtual DateTime CP5A { set; get; }
+ public virtual DateTime CP5A { set; get; }
///
/// CP7
///
[ExporterHeader(DisplayName = "CP7日期")]
- public virtual DateTime CP7 { set; get; }
+ public virtual DateTime CP7 { set; get; }
///
/// 零件号
///
[ExporterHeader(DisplayName = "零件号")]
- public virtual string MaterialCode { get; set; }
+ public virtual string MaterialCode { get; set; }
///
/// 数量
///
[ExporterHeader(DisplayName = "数量")]
- public virtual decimal Qty { get; set; }
+ public virtual decimal Qty { get; set; }
///
/// 结算标识
///
[ExporterHeader(DisplayName = "R3结算数据")]
- public virtual string SettlementID { get; set; }
+ public virtual string SettlementID { get; set; }
///
/// 结算供应商
///
[ExporterHeader(DisplayName = "结算供应商")]
- public virtual string SettlementSupplier { get; set; }
+ public virtual string SettlementSupplier { get; set; }
//[ExporterHeader(DisplayName = "结算状态")]
//public virtual int State { get; set; }
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountImportDto.cs
index addcbd64..2eba7a4a 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountImportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountImportDto.cs
@@ -1,80 +1,71 @@
-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;
+using Magicodes.ExporterAndImporter.Core;
namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
{
- public class SettleAccountImportDto
+ public class SettleAccountImportDto
{
// 年份 KENN号 底盘号 车型 CP5A日期 CP7日期 零件号 数量 结算标识 结算供应商
//过账日期 物料 物料描述 数量 单位 金额 工厂 工厂名称 物料凭证 物料凭证的年份 货币 项目
-
-
- // 年份 KENN号 底盘号 车型 CP5A日期 CP7日期 零件号 数量 结算标识 结算供应商
-
+ // 年份 KENN号 底盘号 车型 CP5A日期 CP7日期 零件号 数量 结算标识 结算供应商
///
/// 年份
///
- [ImporterHeader(Name= "年份")]
+ [ImporterHeader(Name = "年份")]
public string SettleYear { set; get; }
///
/// KENEN号
///
[ImporterHeader(Name = "KENN号")]
- public virtual string KENNCode { set; get; }
+ public virtual string KENNCode { set; get; }
///
/// 底盘号
///
[ImporterHeader(Name = "底盘号")]
- public virtual string ChassisNumber { set; get; }
+ public virtual string ChassisNumber { set; get; }
///
/// 车型
///
[ImporterHeader(Name = "车型")]
- public virtual string Model { set; get; }
+ public virtual string Model { set; get; }
///
/// CP5A日期
///
[ImporterHeader(Name = "CP5A日期")]
- public virtual DateTime CP5A { set; get; }
+ public virtual DateTime CP5A { set; get; }
///
/// CP7日期
///
[ImporterHeader(Name = "CP7日期")]
- public virtual DateTime CP7 { set; get; }
+ public virtual DateTime CP7 { set; get; }
///
/// 零件号
///
[ImporterHeader(Name = "零件号")]
- public virtual string MaterialCode { get; set; }
+ public virtual string MaterialCode { get; set; }
///
/// 数量
///
[ImporterHeader(Name = "数量")]
- public virtual decimal Qty { get; set; }
+ public virtual decimal Qty { get; set; }
///
/// 结算标识
///
[ImporterHeader(Name = "结算标识")]
- public virtual string SettlementID { get; set; }
+ public virtual string SettlementID { get; set; }
///
/// 结算供应商
///
[ImporterHeader(Name = "结算供应商")]
- public virtual string SettlementSupplier { get; set; }
-
+ public virtual string SettlementSupplier { get; set; }
}
-
+
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountRequestDto.cs
index 32ab4e7b..aba90d9f 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountRequestDto.cs
@@ -1,15 +1,10 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
{
- public class SettleAccountRequestDto: RequestDtoBase, IBranch
+ public class SettleAccountRequestDto : RequestDtoBase, IBranch
{
///
@@ -17,8 +12,6 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
///
public string Period { set; get; }
-
-
///
/// 年份
///
@@ -26,50 +19,49 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
///
/// 年份
///
- public virtual string Year { set; get; }
+ public virtual string Year { set; get; }
///
/// KENEN号
///
- public virtual string KENNCode { set; get; }
+ public virtual string KENNCode { set; get; }
///
/// 底盘号
///
- public virtual string ChassisNumber { set; get; }
+ public virtual string ChassisNumber { set; get; }
///
/// 车型
///
- public virtual string Model { set; get; }
+ public virtual string Model { set; get; }
///
/// CP5A日期
///
- public virtual DateTime CP5A { set; get; }
+ public virtual DateTime CP5A { set; get; }
///
/// CP7
///
- public virtual DateTime CP7 { set; get; }
+ public virtual DateTime CP7 { set; get; }
///
/// 零件号
///
- public virtual string MaterialCode { get; set; }
+ public virtual string MaterialCode { get; set; }
///
/// 数量
///
- public virtual decimal Qty { get; set; }
+ public virtual decimal Qty { get; set; }
///
/// 结算标识
///
- public virtual string SettlementID { get; set; }
+ public virtual string SettlementID { get; set; }
///
/// 结算供应商
///
- public virtual string SettlementSupplier { get; set; }
-
+ public virtual string SettlementSupplier { get; set; }
public virtual Guid ParentId { get; set; }
- public virtual Guid BranchId { get; set ; }
+ public virtual Guid BranchId { get; set; }
public virtual Guid UserId { get; set; }
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountUpdateDto.cs
index 0feef813..a4768850 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountUpdateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountUpdateDto.cs
@@ -1,16 +1,7 @@
-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 SettleAccountUpdateDto: SettleAccountDtoBase
+ public class SettleAccountUpdateDto : SettleAccountDtoBase
{
-
-
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountVersionDtoBase.cs
index 19efeb8e..400ab9d5 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountVersionDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettleAccounts/SettleAccountVersionDtoBase.cs
@@ -1,10 +1,5 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.SettleAccountVersion
@@ -30,14 +25,11 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccountVersion
///
public string CustomerCode { private set; get; }
-
}
-
-
public class SettleAccountVersionDto : AuditedEntityDtoBase, IBranch
{
- public string Year { get; set; }
+ public string Year { get; set; }
///
/// 期间
///
@@ -50,8 +42,8 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccountVersion
///
/// 客户号
///
- public string CustomerCode { set; get; }
- public Guid BranchId { get ; set; }
+ public string CustomerCode { set; get; }
+ public Guid BranchId { get; set; }
}
public class SettleAccountVersionCreateDto : SettleAccountVersionDtoBase
@@ -75,10 +67,10 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccountVersion
/// 客户号
///
public string CustomerCode { private set; get; }
- public Guid BranchId { get ; set ; }
+ public Guid BranchId { get; set; }
}
- public class SettleAccountVersionImportDto
+ public class SettleAccountVersionImportDto
{
public string Year { get; private set; }
@@ -96,8 +88,6 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccountVersion
///
public string CustomerCode { private set; get; }
-
}
-
}
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 cd9e3e49..f74537e8 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
@@ -1,17 +1,8 @@
-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.InventoryDetialVersion;
-using Win.Sfs.SettleAccount.Entities.SettlementParts;
using Win.Sfs.SettleAccount.Entities.SettlementPartss;
-using Win.Sfs.SettleAccount.Inventories;
-using Win.Sfs.Shared.ApplicationBase;
namespace Win.Sfs.SettleAccount.Entities.SettlementPakAndSparePartss
{
@@ -19,90 +10,75 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementPakAndSparePartss
{
///
- /// IDȡΨһʵ
+ /// 按ID获取唯一实体
///
///
- /// ʵȫ
+ /// 返回实体全部属性
///
/// ID
- /// ʵDTO
+ /// 实体DTO
Task GetAsync(Guid id);
///
- /// ɸѡȡʵб
+ /// 根据筛选条件获取实体列表
///
///
- /// :ɸѡб,,,ҳ
+ /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
///
- ///
- /// ʵDTOб
+ /// 请求条件
+ /// 实体DTO列表
Task> GetListAsync(SettlementPakAndSparePartsRequestDto input);
-
-
///
- /// ɸѡȡʵб
+ /// 根据筛选条件获取实体列表
///
///
- /// :ɸѡб,,,ҳ
+ /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
///
- ///
- /// ʵDTOб
+ /// 请求条件
+ /// 实体DTO列表
Task> GetVersionListAsync(SettlementPakAndSparePartsVersionRequestDto input);
-
-
-
/////
- ///// ȡȫʵб
+ ///// 获取全部实体列表
/////
- ///// ʵDTOб
+ ///// 实体DTO列表
//Task> GetAllAsync(Guid branchId);
-
-
-
-
/////
- ///// ʵ
+ ///// 新增实体
/////
- ///// ʵDTO
- ///// ʵDTO
-
+ ///// 新增实体DTO
+ ///// 实体DTO
//Task CreateAsync(SettlementPartCreateDto input);
-
/////
- ///// ʵ
+ ///// 修改实体
/////
///// ID
- ///// ʵDTO
- ///// ʵDTO
+ ///// 修改实体DTO
+ ///// 实体DTO
//Task UpdateAsync(Guid id, SettlementPartUpdateDto input);
-
-
-
/////
- ///// ɾʵ
+ ///// 删除实体
/////
///// ID
- /////
+ ///// 无
//Task DeleteAsync(Guid id);
-
///
- /// IDsɾʵб
+ /// 按IDs删除实体列表
///
/// IDs
- /// Ƿִгɹ
+ /// 是否执行成功
Task DeleteListAsync(List ids);
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsCreateDto.cs
index e40c3daf..b23a34f9 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsCreateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsCreateDto.cs
@@ -1,26 +1,24 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
namespace Win.Sfs.SettleAccount.Entities.SettlementPakAndSparePartss
{
public class SettlementPakAndSparePartsCreateDto : SettlementPakAndSparePartsCreateOrUpdateDtoBase, IBranch
{
-
+
[Display(Name = "分支Id")]
[Required(ErrorMessage = "{0}是必填项")]
public Guid BranchId { set; get; }
-
///
///年度
///
[Display(Name = "年度")]
- public string Year { get; set; }
+ public string Year { get; set; }
///
/// 期间
@@ -28,15 +26,12 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementPakAndSparePartss
[Display(Name = "期间")]
public string Period { set; get; }
-
///
/// 版本
///
[Display(Name = "版本")]
public string Version { set; get; }
-
-
///
/// 用户代码
///
@@ -44,4 +39,4 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementPakAndSparePartss
public string CustomerCode { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsCreateOrUpdateDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsCreateOrUpdateDtoBase.cs
index 83138a2d..3b7e7ecc 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsCreateOrUpdateDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsCreateOrUpdateDtoBase.cs
@@ -1,4 +1,4 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
@@ -8,10 +8,9 @@ using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.SettlementPakAndSparePartss
{
- public class SettlementPakAndSparePartsCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
+ public class SettlementPakAndSparePartsCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
{
-
///
/// 工厂
///
@@ -24,13 +23,10 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementPakAndSparePartss
[Display(Name = "车型")]
public string Model { set; get; }
-
-
[Display(Name = "结算件代码")]
[Required(ErrorMessage = "{0}是必填项")]
public string SettlementPartCode { get; set; }
-
[Display(Name = "结算件描述")]
[MaxLength(CommonConsts.MaxDescriptionLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string SettlementPartDesc { get; set; }
@@ -41,8 +37,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementPakAndSparePartss
[Display(Name = "计量单位")]
public string Uom { get; set; }
-
public bool Enabled { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsDto.cs
index d4ea6205..0ebef861 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsDto.cs
@@ -1,10 +1,9 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// 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.SettlementPartss
@@ -28,14 +27,12 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementPartss
[Display(Name = "期间")]
public string Period { set; get; }
-
///
/// 适用功能
///
[Display(Name = "适用功能")]
public string ApplicableFunction { get; protected set; }
-
///
/// 结算件编码
///
@@ -43,7 +40,6 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementPartss
//[Required(ErrorMessage = "{0}是必填项")]
public string SettlementPartCode { get; set; }
-
///
/// 结算件描述
///
@@ -51,77 +47,66 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementPartss
//[MaxLength(CommonConsts.MaxDescriptionLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string SettlementPartDesc { get; set; }
-
///
/// (Erp散件)零件号
///
[Display(Name = "(Erp散件)零件号")]
public string ErpSparePartCode { get; set; }
-
///
/// (Erp散件)零件名称
///
[Display(Name = "(Erp散件)零件名称")]
public string ErpSparePartName { get; set; }
-
///
/// 零件类型
///
[Display(Name = "零件类型")]
public string PartType { set; get; }
-
///
/// QAD代码
///
[Display(Name = "QAD代码")]
public string QADCode { set; get; }
-
///
/// 供应商代码
///
[Display(Name = "供应商代码")]
public string SupplierCode { set; get; }
-
///
/// 供应商名称
///
[Display(Name = "供应商名称")]
public string SupplierName { set; get; }
-
///
/// 产品类
///
[Display(Name = "产品类")]
public string ProductLine { get; internal set; }
-
///
/// 每车数量
///
[Display(Name = "每车数量")]
public decimal PerCarNum { get; internal set; }
-
///
/// 单价
///
[Display(Name = "单价")]
public decimal Price { get; set; }
-
///
/// 供货比例
///
[Display(Name = "供货比例")]
public string SupplyProportion { get; set; }
-
///
/// 辆份价格
///
@@ -136,6 +121,5 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementPartss
public string Version { get; set; }
public string CustomerCode { get; set; }
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsExportDto.cs
index d987a00d..1669d54c 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsExportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsExportDto.cs
@@ -1,38 +1,23 @@
-using Magicodes.ExporterAndImporter.Core;
-using Magicodes.ExporterAndImporter.Core.Filters;
-using Magicodes.ExporterAndImporter.Core.Models;
-using Magicodes.ExporterAndImporter.Excel;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using Magicodes.ExporterAndImporter.Core;
namespace Win.Sfs.SettleAccount.Entities.SettlementPakAndSparePartss
{
-
+
public class SettlementPakAndSparePartsExportDto
{
-
-
-
/////
///// 期间
/////
//[ExporterHeader(DisplayName = "期间")]
//public string Period { set; get; }
-
-
-
/////
///// 用户代码
/////
//[ExporterHeader(DisplayName = "用户代码")]
//public string CustomerCode { get; set; }
-
///
/// 工厂
///
@@ -45,7 +30,6 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementPakAndSparePartss
[ExporterHeader(DisplayName = "车型")]
public string Model { set; get; }
-
///
/// 版本
///
@@ -53,34 +37,24 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementPakAndSparePartss
[ExporterHeader(DisplayName = "版本")]
public string Version { set; get; }
-
-
///
/// 车型
///
//[ExporterHeader(DisplayName = "ERP总成物料号")]
//public string Model { set; get; }
-
-
[ExporterHeader(DisplayName = "结算件代码")]
public string SettlementPartCode { get; set; }
-
-
[ExporterHeader(DisplayName = "结算件描述")]
public string SettlementPartDesc { get; set; }
-
[ExporterHeader(DisplayName = "价格")]
public decimal Price { get; set; }
-
+
[ExporterHeader(DisplayName = "计量单位")]
public string Uom { get; set; }
-
-
-
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsRequestDto.cs
index 77705146..b17a55a2 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsRequestDto.cs
@@ -1,8 +1,7 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
@@ -25,14 +24,12 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementPakAndSparePartss
[Display(Name = "期间")]
public string Period { set; get; }
-
///
/// 适用功能
///
[Display(Name = "适用功能")]
public string ApplicableFunction { get; protected set; }
-
///
/// 结算件编码
///
@@ -40,84 +37,72 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementPakAndSparePartss
//[Required(ErrorMessage = "{0}是必填项")]
public string SettlementPartCode { get; set; }
-
///
/// 结算件描述
///
[Display(Name = "结算件描述")]
public string SettlementPartDesc { get; set; }
-
///
/// (Erp散件)零件号
///
[Display(Name = "(Erp散件)零件号")]
public string ErpSparePartCode { get; set; }
-
///
/// (Erp散件)零件名称
///
[Display(Name = "(Erp散件)零件名称")]
public string ErpSparePartName { get; set; }
-
///
/// 零件类型
///
[Display(Name = "零件类型")]
public string PartType { set; get; }
-
///
/// QAD代码
///
[Display(Name = "QAD代码")]
public string QADCode { set; get; }
-
///
/// 供应商代码
///
[Display(Name = "供应商代码")]
public string SupplierCode { set; get; }
-
///
/// 供应商名称
///
[Display(Name = "供应商名称")]
public string SupplierName { set; get; }
-
///
/// 产品类
///
[Display(Name = "产品类")]
public string ProductLine { get; internal set; }
-
///
/// 每车数量
///
[Display(Name = "每车数量")]
public decimal PerCarNum { get; internal set; }
-
///
/// 单价
///
[Display(Name = "单价")]
public decimal Price { get; set; }
-
///
/// 供货比例
///
[Display(Name = "供货比例")]
public string SupplyProportion { get; set; }
-
///
/// 辆份价格
///
@@ -137,4 +122,4 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementPakAndSparePartss
public string CustomerCode { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsUpdateDto.cs
index 63f8b45a..686f17dc 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsUpdateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsUpdateDto.cs
@@ -1,11 +1,7 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using System;
-using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities;
-using Volo.Abp.ObjectExtending;
-using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.SettlementPakAndSparePartss
{
@@ -13,4 +9,4 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementPakAndSparePartss
{
public string ConcurrencyStamp { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsVersionDtoBase.cs
index a945be0c..f69b0d4b 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsVersionDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/SettlementPakAndSparePartsVersionDtoBase.cs
@@ -1,58 +1,52 @@
-
+
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.SettlementPakAndSparePartss
-{
+{
///
/// SettlementPartVersion
///
-public class SettlementPakAndSparePartsVersionDtoBase : CreateOrUpdateEntityDtoBase
+ public class SettlementPakAndSparePartsVersionDtoBase : CreateOrUpdateEntityDtoBase
{
- public string Year { get; set; }
+ public string Year { get; set; }
///
/// 期间
///
- public string Period { get; set; }
+ public string Period { get; set; }
///
/// 版本号
///
- public string Version { get; set; }
+ public string Version { get; set; }
///
/// 客户号
///
- public string CustomerCode { set; get; }
-
+ public string CustomerCode { set; get; }
}
-
-
public class SettlementPakAndSparePartsVersionDto : AuditedEntityDtoBase, IBranch
{
public string Year { get; set; }
///
/// 期间
///
- public string Period { get; set; }
+ public string Period { get; set; }
///
/// 版本号
///
- public string Version { get; set; }
+ public string Version { get; set; }
///
/// 客户号
///
public string CustomerCode { set; get; }
-
public string Factory { set; get; }
- public Guid BranchId { get ; set; }
+ public Guid BranchId { get; set; }
}
public class SettlementPakAndSparePartsVersionCreateDto : SettlementPakAndSparePartsVersionDtoBase
@@ -62,43 +56,41 @@ public class SettlementPakAndSparePartsVersionDtoBase : CreateOrUpdateEntityDtoB
public class SettlementPakAndSparePartsVersionRequestDto : RequestDtoBase, IBranch
{
- public string Year { get; set; }
+ public string Year { get; set; }
///
/// 期间
///
- public string Period { get; set; }
+ public string Period { get; set; }
///
/// 版本号
///
- public string Version { get; set; }
+ public string Version { get; set; }
///
/// 客户号
///
- public string CustomerCode { set; get; }
- public Guid BranchId { get ; set ; }
+ public string CustomerCode { set; get; }
+ public Guid BranchId { get; set; }
}
public class SettlementPakAndSparePartsVersionImportDto
{
- public string Year { get; set; }
+ public string Year { get; set; }
///
/// 期间
///
- public string Period { get; set; }
+ public string Period { get; set; }
///
/// 版本号
///
- public string Version { get; set; }
+ public string Version { get; set; }
///
/// 客户号
///
- public string CustomerCode { set; get; }
-
+ public string CustomerCode { set; get; }
}
-
}
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 2a26f8c3..247f6fc1 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
@@ -1,15 +1,9 @@
-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 Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-using Win.Sfs.SettleAccount.Entities.InventoryDetialVersion;
-using Win.Sfs.SettleAccount.Inventories;
-using Win.Sfs.Shared.ApplicationBase;
namespace Win.Sfs.SettleAccount.Entities.SettlementParts
{
@@ -18,110 +12,90 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementParts
{
///
- /// 빦
+ /// 导入功能
///
- /// ϴļ(ǰѾֻϴһ)
+ /// 上传的文件(前端已经限制只能上传一个附件)
///
Task SettlementPartUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory);
-
-
-
///
- /// IDȡΨһʵ
+ /// 按ID获取唯一实体
///
///
- /// ʵȫ
+ /// 返回实体全部属性
///
/// ID
- /// ʵDTO
+ /// 实体DTO
Task GetAsync(Guid id);
///
- /// ɸѡȡʵб
+ /// 根据筛选条件获取实体列表
///
///
- /// :ɸѡб,,,ҳ
+ /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
///
- ///
- /// ʵDTOб
-
- Task> GetListAsync( SettlementPartRequestDto input);
-
-
+ /// 请求条件
+ /// 实体DTO列表
+ Task> GetListAsync(SettlementPartRequestDto input);
///
- /// ɸѡȡʵб
+ /// 根据筛选条件获取实体列表
///
///
- /// :ɸѡб,,,ҳ
+ /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
///
- ///
- /// ʵDTOб
+ /// 请求条件
+ /// 实体DTO列表
Task> GetVersionListAsync(SettlementPartVersionRequestDto input);
-
-
-
///
- /// ȡʵ
+ /// 获取实体总数
///
- /// ʵ
+ /// 实体总数
Task GetTotalCountAsync(Guid branchId);
-
/////
- ///// ȡȫʵб
+ ///// 获取全部实体列表
/////
- ///// ʵDTOб
+ ///// 实体DTO列表
//Task> GetAllAsync(Guid branchId);
-
-
-
-
/////
- ///// ʵ
+ ///// 新增实体
/////
- ///// ʵDTO
- ///// ʵDTO
-
+ ///// 新增实体DTO
+ ///// 实体DTO
//Task CreateAsync(SettlementPartCreateDto input);
-
/////
- ///// ʵ
+ ///// 修改实体
/////
///// ID
- ///// ʵDTO
- ///// ʵDTO
+ ///// 修改实体DTO
+ ///// 实体DTO
//Task UpdateAsync(Guid id, SettlementPartUpdateDto input);
-
-
-
/////
- ///// ɾʵ
+ ///// 删除实体
/////
///// ID
- /////
+ ///// 无
//Task DeleteAsync(Guid id);
-
///
- /// IDsɾʵб
+ /// 按IDs删除实体列表
///
/// IDs
- /// Ƿִгɹ
+ /// 是否执行成功
Task DeleteListAsync(List ids);
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/ImportSettlementPartDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/ImportSettlementPartDto.cs
index 1316ccb1..6fcb234b 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/ImportSettlementPartDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/ImportSettlementPartDto.cs
@@ -1,13 +1,10 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
+using System.ComponentModel.DataAnnotations;
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.SettlementParts
{
@@ -18,7 +15,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementParts
///
[ImportProject(Name = SettleAccountModuleName.SettlementPart)]
[ExcelImporter(IsLabelingError = true, MaxCount = int.MaxValue)]
- public class ImportSettlementPartDto
+ public class ImportSettlementPartDto
{
/////
///// 分支id
@@ -42,13 +39,10 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementParts
[MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string ParentItemCode { get; set; }
-
-
- [ImporterHeader(Name = "父物料描述")]
+ [ImporterHeader(Name = "父物料描述")]
[MaxLength(CommonConsts.MaxDescriptionLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string ParentItemDesc { get; set; }
-
[ImporterHeader(Name = "组件")]
[Required(ErrorMessage = "{0}是必填项")]
[MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
@@ -58,20 +52,15 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementParts
[MaxLength(CommonConsts.MaxDescriptionLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string ChildItemDesc { get; set; }
-
[ImporterHeader(Name = "组件数量")]
[Required(ErrorMessage = "{0}是必填项")]
-
- public decimal Qty { get; set; }
-
+ public decimal Qty { get; set; }
[ImporterHeader(Name = "组件计量单位")]
[MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string ChildItemUom { get; set; }
-
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartCreateDto.cs
index e7de77f4..6e8a3a99 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartCreateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartCreateDto.cs
@@ -1,26 +1,24 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
namespace Win.Sfs.SettleAccount.Entities.SettlementParts
{
public class SettlementPartCreateDto : SettlementPartCreateOrUpdateDtoBase, IBranch
{
-
+
[Display(Name = "分支Id")]
[Required(ErrorMessage = "{0}是必填项")]
public Guid BranchId { set; get; }
-
///
///年度
///
[Display(Name = "年度")]
- public string Year { get; set; }
+ public string Year { get; set; }
///
/// 期间
@@ -28,15 +26,12 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementParts
[Display(Name = "期间")]
public string Period { set; get; }
-
///
/// 版本
///
[Display(Name = "版本")]
public string Version { set; get; }
-
-
///
/// 用户代码
///
@@ -44,4 +39,4 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementParts
public string CustomerCode { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartCreateOrUpdateDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartCreateOrUpdateDtoBase.cs
index a604a0fa..87bb0f19 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartCreateOrUpdateDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartCreateOrUpdateDtoBase.cs
@@ -1,4 +1,4 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
@@ -8,10 +8,9 @@ using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.SettlementParts
{
- public class SettlementPartCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
+ public class SettlementPartCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
{
-
///
/// 工厂
///
@@ -24,13 +23,10 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementParts
[Display(Name = "车型")]
public string Model { set; get; }
-
-
[Display(Name = "结算件代码")]
[Required(ErrorMessage = "{0}是必填项")]
public string SettlementPartCode { get; set; }
-
[Display(Name = "结算件描述")]
[MaxLength(CommonConsts.MaxDescriptionLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string SettlementPartDesc { get; set; }
@@ -41,8 +37,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementParts
[Display(Name = "计量单位")]
public string Uom { get; set; }
-
public bool Enabled { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartDto.cs
index 5b12243b..87ac927b 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartDto.cs
@@ -1,4 +1,4 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
@@ -19,12 +19,11 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementParts
public Guid BranchId { get; set; }
-
///
///年度
///
[Display(Name = "年度")]
- public string Year { get; set; }
+ public string Year { get; set; }
///
/// 期间
@@ -32,7 +31,6 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementParts
[Display(Name = "期间")]
public string Period { set; get; }
-
///
/// 版本
///
@@ -45,7 +43,6 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementParts
[Display(Name = "用户代码")]
public string CustomerCode { get; set; }
-
///
/// 工厂
///
@@ -58,12 +55,10 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementParts
[Display(Name = "车型")]
public string Model { set; get; }
-
[Display(Name = "结算件代码")]
[Required(ErrorMessage = "{0}是必填项")]
public string SettlementPartCode { get; set; }
-
[Display(Name = "结算件描述")]
[MaxLength(CommonConsts.MaxDescriptionLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string SettlementPartDesc { get; set; }
@@ -74,8 +69,5 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementParts
[Display(Name = "计量单位")]
public string Uom { get; set; }
-
-
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartExportDto.cs
index 40c4c3de..135d745c 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartExportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartExportDto.cs
@@ -1,38 +1,23 @@
-using Magicodes.ExporterAndImporter.Core;
-using Magicodes.ExporterAndImporter.Core.Filters;
-using Magicodes.ExporterAndImporter.Core.Models;
-using Magicodes.ExporterAndImporter.Excel;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using Magicodes.ExporterAndImporter.Core;
namespace Win.Sfs.SettleAccount.Entities.SettlementParts
{
-
+
public class SettlementPartExportDto
{
-
-
-
/////
///// 期间
/////
//[ExporterHeader(DisplayName = "期间")]
//public string Period { set; get; }
-
-
-
/////
///// 用户代码
/////
//[ExporterHeader(DisplayName = "用户代码")]
//public string CustomerCode { get; set; }
-
///
/// 工厂
///
@@ -45,7 +30,6 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementParts
[ExporterHeader(DisplayName = "车型")]
public string Model { set; get; }
-
///
/// 版本
///
@@ -53,34 +37,24 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementParts
[ExporterHeader(DisplayName = "版本")]
public string Version { set; get; }
-
-
///
/// 车型
///
//[ExporterHeader(DisplayName = "ERP总成物料号")]
//public string Model { set; get; }
-
-
[ExporterHeader(DisplayName = "结算件代码")]
public string SettlementPartCode { get; set; }
-
-
[ExporterHeader(DisplayName = "结算件描述")]
public string SettlementPartDesc { get; set; }
-
[ExporterHeader(DisplayName = "价格")]
public decimal Price { get; set; }
-
+
[ExporterHeader(DisplayName = "计量单位")]
public string Uom { get; set; }
-
-
-
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartRequestDto.cs
index e163b1e5..99b8ab95 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartRequestDto.cs
@@ -1,15 +1,13 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.SettlementParts
{
- public class SettlementPartRequestDto : RequestDtoBase,IBranch
+ public class SettlementPartRequestDto : RequestDtoBase, IBranch
{
public Guid ParentId { set; get; }
public Guid BranchId { get; set; }
@@ -22,4 +20,4 @@ namespace Win.Sfs.SettleAccount.Entities.SettlementParts
public string CustomerCode { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartUpdateDto.cs
index 0519bfc5..d5f77c77 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartUpdateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartUpdateDto.cs
@@ -1,16 +1,12 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using System;
-using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities;
-using Volo.Abp.ObjectExtending;
-using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.SettlementParts
{
- public class SettlementPartUpdateDto : SettlementPartCreateOrUpdateDtoBase, IHasConcurrencyStamp
+ public class SettlementPartUpdateDto : SettlementPartCreateOrUpdateDtoBase, IHasConcurrencyStamp
{
public string ConcurrencyStamp { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartVersionDtoBase.cs
index 1504620e..a4ba282f 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartVersionDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/SettlementPartVersionDtoBase.cs
@@ -1,58 +1,52 @@
-
+
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.SettlementParts
-{
+{
///
/// SettlementPartVersion
///
-public class SettlementPartVersionDtoBase :CreateOrUpdateEntityDtoBase
+ public class SettlementPartVersionDtoBase : CreateOrUpdateEntityDtoBase
{
- public string Year { get; set; }
+ public string Year { get; set; }
///
/// 期间
///
- public string Period { get; set; }
+ public string Period { get; set; }
///
/// 版本号
///
- public string Version { get; set; }
+ public string Version { get; set; }
///
/// 客户号
///
- public string CustomerCode { set; get; }
-
+ public string CustomerCode { set; get; }
}
-
-
public class SettlementPartVersionDto : AuditedEntityDtoBase, IBranch
{
public string Year { get; set; }
///
/// 期间
///
- public string Period { get; set; }
+ public string Period { get; set; }
///
/// 版本号
///
- public string Version { get; set; }
+ public string Version { get; set; }
///
/// 客户号
///
public string CustomerCode { set; get; }
-
public string Factory { set; get; }
- public Guid BranchId { get ; set; }
+ public Guid BranchId { get; set; }
}
public class SettlementPartVersionCreateDto : SettlementPartVersionDtoBase
@@ -62,43 +56,41 @@ public class SettlementPartVersionDtoBase :CreateOrUpdateEntityDtoBase
public class SettlementPartVersionRequestDto : RequestDtoBase, IBranch
{
- public string Year { get; set; }
+ public string Year { get; set; }
///
/// 期间
///
- public string Period { get; set; }
+ public string Period { get; set; }
///
/// 版本号
///
- public string Version { get; set; }
+ public string Version { get; set; }
///
/// 客户号
///
- public string CustomerCode { set; get; }
- public Guid BranchId { get ; set ; }
+ public string CustomerCode { set; get; }
+ public Guid BranchId { get; set; }
}
- public class SettlementPartVersionImportDto
+ public class SettlementPartVersionImportDto
{
- public string Year { get; set; }
+ public string Year { get; set; }
///
/// 期间
///
- public string Period { get; set; }
+ public string Period { get; set; }
///
/// 版本号
///
- public string Version { get; set; }
+ public string Version { get; set; }
///
/// 客户号
///
- public string CustomerCode { set; get; }
-
+ public string CustomerCode { set; get; }
}
-
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/StorageLocations/CustomerStorageLocationDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/StorageLocations/CustomerStorageLocationDtoBase.cs
index a2016b5c..8c0b3091 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/StorageLocations/CustomerStorageLocationDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/StorageLocations/CustomerStorageLocationDtoBase.cs
@@ -1,18 +1,12 @@
-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 Magicodes.ExporterAndImporter.Core;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.StorageLocations
{
-
+
public class CustomerStorageLocationDtoBase : CreateOrUpdateEntityDtoBase
{
///
@@ -23,7 +17,7 @@ namespace Win.Sfs.SettleAccount.Entities.StorageLocations
/// 客户描述
///
public string CustomerDesc { set; get; }
-
+
///
/// 存储地点
///
@@ -34,8 +28,6 @@ namespace Win.Sfs.SettleAccount.Entities.StorageLocations
}
public virtual int State { set; get; }
-
-
}
public class CustomerStorageLocationCreateDto : CustomerStorageLocationDtoBase
{
@@ -46,9 +38,6 @@ namespace Win.Sfs.SettleAccount.Entities.StorageLocations
public class CustomerStorageLocationUpdateDto : CustomerStorageLocationDtoBase
{
-
-
-
}
public class CustomerStorageLocationRequestDto : RequestDtoBase, IBranch
@@ -61,7 +50,7 @@ namespace Win.Sfs.SettleAccount.Entities.StorageLocations
/// 客户描述
///
public string CustomerDesc { set; get; }
-
+
///
/// 存储地点
///
@@ -84,7 +73,7 @@ namespace Win.Sfs.SettleAccount.Entities.StorageLocations
/// 客户描述
///
public string CustomerDesc { set; get; }
-
+
///
/// 存储地点
///
@@ -94,20 +83,18 @@ namespace Win.Sfs.SettleAccount.Entities.StorageLocations
}
public virtual int State { get; set; }
-
+
public Guid BranchId { get; set; }
}
public class CustomerStorageLocationImportDto
{
-
///
/// 客户代码
///
[ImporterHeader(Name = "客户代码")]
[Required(ErrorMessage = "{0}是必填项")]
-
public virtual string CustomerCode { set; get; }
///
/// 客户描述
@@ -115,7 +102,7 @@ namespace Win.Sfs.SettleAccount.Entities.StorageLocations
[ImporterHeader(Name = "客户描述")]
[Required(ErrorMessage = "{0}是必填项")]
public virtual string CustomerDesc { set; get; }
-
+
///
/// 存储地点
///
@@ -138,7 +125,6 @@ namespace Win.Sfs.SettleAccount.Entities.StorageLocations
[ExporterHeader(DisplayName = "客户代码")]
[Required(ErrorMessage = "{0}是必填项")]
-
public string CustomerCode { set; get; }
///
/// 客户描述
@@ -160,9 +146,6 @@ namespace Win.Sfs.SettleAccount.Entities.StorageLocations
[ExporterHeader(DisplayName = "存储地点类型")]
public virtual int State { set; get; }
-
-
-
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/StorageLocations/ICustomerStorageLocationAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/StorageLocations/ICustomerStorageLocationAppService.cs
index 02e3ee9a..e0618f7c 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/StorageLocations/ICustomerStorageLocationAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/StorageLocations/ICustomerStorageLocationAppService.cs
@@ -1,21 +1,10 @@
-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 Volo.Abp.Application.Services;
-using Win.Sfs.Shared;
using Win.Sfs.Shared.ApplicationBase;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.StorageLocations
{
-
public interface ICustomerStorageLocationAppService : ICrudAppService
public string CustomerSupplierCode { get; set; }
-
///
/// 供应商代码
///
@@ -30,7 +24,6 @@ namespace Win.Sfs.SettleAccount.SupplierItemSetUps
public string CustomerCode { get; set; }
-
}
public class SupplierItemSetUpCreateDto : SupplierItemSetUpDtoBase
{
@@ -41,9 +34,6 @@ namespace Win.Sfs.SettleAccount.SupplierItemSetUps
public class SupplierItemSetUpUpdateDto : SupplierItemSetUpDtoBase
{
-
-
-
}
public class SupplierItemSetUpRequestDto : RequestDtoBase, IBranch
@@ -57,7 +47,6 @@ namespace Win.Sfs.SettleAccount.SupplierItemSetUps
///
public string CustomerSupplierCode { get; set; }
-
///
/// 供应商代码
///
@@ -86,7 +75,7 @@ namespace Win.Sfs.SettleAccount.SupplierItemSetUps
public Guid BranchId { get; set; }
}
- [ImportProject(Name =SettleAccountModuleName.SupplierItemSetUp)]
+ [ImportProject(Name = SettleAccountModuleName.SupplierItemSetUp)]
public class SupplierItemSetUpImportDto
{
///
@@ -101,21 +90,16 @@ namespace Win.Sfs.SettleAccount.SupplierItemSetUps
[ImporterHeader(Name = "客户供应商代码")]
[Required(ErrorMessage = "{0}是必填项")]
-
-
public string CustomerSupplierCode { get; set; }
-
///
/// 供应商代码
///
[ImporterHeader(Name = "ERP供应商代码")]
[Required(ErrorMessage = "{0}是必填项")]
-
public string ErpSupplierCode { get; set; }
-
///
/// 供应商代码
///
@@ -123,9 +107,6 @@ namespace Win.Sfs.SettleAccount.SupplierItemSetUps
[Required(ErrorMessage = "{0}是必填项")]
public string CustomerCode { get; set; }
-
-
-
}
public class SupplierItemSetUpExportDto
{
@@ -141,26 +122,18 @@ namespace Win.Sfs.SettleAccount.SupplierItemSetUps
///
[ExporterHeader(DisplayName = "客户供应商代码")]
-
-
-
public string CustomerSupplierCode { get; set; }
-
///
/// 供应商代码
///
[ExporterHeader(DisplayName = "ERP供应商代码")]
-
-
public string ErpSupplierCode { get; set; }
-
[ExporterHeader(DisplayName = "客户代码")]
-
- public string CustomerCode { get; set; }
+ public string CustomerCode { get; set; }
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/JobDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/JobDto.cs
index ad68db97..37e3f6e1 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/JobDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/JobDto.cs
@@ -1,8 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System;
namespace Win.Sfs.SettleAccount.Entities.TaskJobs
{
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/JobRequstDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/JobRequstDto.cs
index 688d5095..176fb4e4 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/JobRequstDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/JobRequstDto.cs
@@ -1,33 +1,28 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System;
namespace Win.Sfs.SettleAccount.Entities.TaskJobs
{
public class JobRequestDto
{
-
- public Guid Id { set; get; }
- public long StateId { set; get; }
- public string StateName { set; get; }
- public string InvocationData { set; get; }
- public string Arguments { set; get; }
- public DateTime CreatedAt { set; get; }
- public DateTime? ExpireAt { set; get; }
- public string TaskId { set; get; }
+ public Guid Id { set; get; }
+ public long StateId { set; get; }
+ public string StateName { set; get; }
+ public string InvocationData { set; get; }
+ public string Arguments { set; get; }
+ public DateTime CreatedAt { set; get; }
+ public DateTime? ExpireAt { set; get; }
-
- public string Name { set; get; }
- public string ActionName { set; get; }
- public string Error { set; get; }
- public string Creator { set; get; }
- public string Email { set; get; }
- public string FileName { set; get; }
- public string DownFileName { set; get; }
- public string ServiceName { set; get; }
+ public string TaskId { set; get; }
+
+ public string Name { set; get; }
+ public string ActionName { set; get; }
+ public string Error { set; get; }
+ public string Creator { set; get; }
+ public string Email { set; get; }
+ public string FileName { set; get; }
+ public string DownFileName { set; get; }
+ public string ServiceName { set; get; }
public string Type { set; get; }
public string Remark { set; get; }
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/TaskJobDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/TaskJobDto.cs
index 8c358c76..1f8becd6 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/TaskJobDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/TaskJobDto.cs
@@ -1,13 +1,7 @@
using System;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.TaskJobs
{
@@ -68,16 +62,7 @@ namespace Win.Sfs.SettleAccount.Entities.TaskJobs
///
[Display(Name = "上传文件")]
public string FileName { get; set; }
-
+
}
}
-
-
-
-
-
-
-
-
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/TaskJobExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/TaskJobExportDto.cs
index 78ee2890..c3ab1c36 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/TaskJobExportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/TaskJobExportDto.cs
@@ -1,13 +1,7 @@
-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;
+using Magicodes.ExporterAndImporter.Core;
namespace Win.Sfs.SettleAccount.Entities.TaskJobs
{
@@ -63,17 +57,8 @@ namespace Win.Sfs.SettleAccount.Entities.TaskJobs
///
[ExporterHeader(DisplayName = "完成时间")]
public DateTime CompleteTime { get; set; }
-
-
- }
-
-
+ }
}
-
-
-
-
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/TaskJobImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/TaskJobImportDto.cs
index 217f0b23..c88068d3 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/TaskJobImportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/TaskJobImportDto.cs
@@ -1,19 +1,11 @@
-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;
+using Magicodes.ExporterAndImporter.Core;
namespace Win.Sfs.SettleAccount.Entities.Controls
{
-
-
public class TaskJobImportDto
{
@@ -79,12 +71,5 @@ namespace Win.Sfs.SettleAccount.Entities.Controls
public string ConcurrencyStamp { get; set; }
}
-
-
-
}
-
-
-
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/TaskJobRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/TaskJobRequestDto.cs
index 69de0b29..7e67462a 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/TaskJobRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskJobs/TaskJobRequestDto.cs
@@ -2,19 +2,12 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
using Win.Sfs.Shared.Filter;
namespace Win.Sfs.SettleAccount.Entities.TaskJobs
{
-
-
public class TaskJobRequestDto : PagedAndSortedResultRequestDto
{
@@ -41,16 +34,9 @@ namespace Win.Sfs.SettleAccount.Entities.TaskJobs
public DateTime CompleteTime { get; set; }
[Display(Name = "上传文件")]
public string FileName { get; set; }
-
+
public virtual List Filters { get; set; } = new List();
}
}
-
-
-
-
-
-
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskListDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskListDto.cs
index 9816b795..f7e5e52c 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskListDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/TaskListDto.cs
@@ -1,10 +1,6 @@
-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 Magicodes.ExporterAndImporter.Core;
namespace Win.Sfs.SettleAccount.Entities
{
@@ -89,11 +85,8 @@ namespace Win.Sfs.SettleAccount.Entities
public ExporterStatus State { set; get; }
-
-
}
-
///
/// 大众看板出库单
///
@@ -174,8 +167,6 @@ namespace Win.Sfs.SettleAccount.Entities
[ImporterHeader(Name = "开票金额")]
public decimal Amt { set; get; }
-
-
}
///
@@ -239,7 +230,6 @@ namespace Win.Sfs.SettleAccount.Entities
}
-
///
/// 大众备件出库单
///
@@ -300,7 +290,6 @@ namespace Win.Sfs.SettleAccount.Entities
[ExporterHeader(DisplayName = "单据", IsIgnore = true)]
public string BillNum { set; get; }
-
[ExporterHeader(DisplayName = "任务代码", IsIgnore = true)]
public Guid TaskId { set; get; }
@@ -315,10 +304,8 @@ namespace Win.Sfs.SettleAccount.Entities
[ExporterHeader(DisplayName = "开票金额")]
public decimal Amt { set; get; }
-
}
-
///
/// 大众备件手工出库单,带条码号
///
@@ -400,7 +387,6 @@ namespace Win.Sfs.SettleAccount.Entities
[ExporterHeader(DisplayName = "单据", IsIgnore = true)]
public string BillNum { set; get; }
-
[ImporterHeader(Name = "任务代码", IsIgnore = true)]
[ExporterHeader(DisplayName = "任务代码", IsIgnore = true)]
public Guid TaskId { set; get; }
@@ -411,10 +397,8 @@ namespace Win.Sfs.SettleAccount.Entities
[ExporterHeader(DisplayName = "开票金额")]
public decimal Amt { set; get; }
-
}
-
///
/// 红旗数据手工出库单
///
@@ -476,7 +460,6 @@ namespace Win.Sfs.SettleAccount.Entities
public decimal Amt { set; get; }
}
-
///
///一次性寄售销售出库单
///
@@ -520,7 +503,6 @@ namespace Win.Sfs.SettleAccount.Entities
[ExporterHeader(DisplayName = "BillNum", IsIgnore = true)]
public string BillNum { set; get; }
-
[ExporterHeader(DisplayName = "状态")]
[ValueMapping("未处理", 0)]
[ValueMapping("申请出库", 1)]
@@ -630,7 +612,6 @@ namespace Win.Sfs.SettleAccount.Entities
[ExporterHeader(DisplayName = "结算金额")]
public decimal Amt { set; get; }
-
[ImporterHeader(Name = "单据号", IsIgnore = true)]
[ExporterHeader(DisplayName = "单据号", IsIgnore = true)]
public string BillNum { set; get; }
@@ -660,7 +641,7 @@ namespace Win.Sfs.SettleAccount.Entities
[ImporterHeader(Name = "结算数量")]
[ExporterHeader(DisplayName = "结算数量")]
public decimal Qty { set; get; }
-
+
[ImporterHeader(Name = "开票单价")]
[ExporterHeader(DisplayName = "开票单价")]
@@ -669,17 +650,13 @@ namespace Win.Sfs.SettleAccount.Entities
[ExporterHeader(DisplayName = "开票金额")]
public decimal Amt { set; get; }
-
-
[ImporterHeader(Name = "是否备件")]
[ExporterHeader(DisplayName = "是否备件")]
public string IsBack { set; get; }
-
-
+
[ImporterHeader(Name = "客户")]
[ExporterHeader(DisplayName = "客户")]
public string Extend { set; get; }
-
}
@@ -727,7 +704,6 @@ namespace Win.Sfs.SettleAccount.Entities
public class WmsSharePartOutPutDetialTemplateDTO
{
-
[ImporterHeader(Name = "SAP编码")]
[ExporterHeader(DisplayName = "SAP编码")]
//物料号
@@ -740,9 +716,7 @@ namespace Win.Sfs.SettleAccount.Entities
[ExporterHeader(DisplayName = "物料组(车型)")]
//物料组(车型)
public string MaterialGroup { set; get; }
-
-
-
+
[ImporterHeader(Name = "开票数量")]
[ExporterHeader(DisplayName = "开票数量")]
public decimal Qty { set; get; }
@@ -755,10 +729,8 @@ namespace Win.Sfs.SettleAccount.Entities
[ExporterHeader(DisplayName = "开票金额")]
public decimal Amt { set; get; }
-
}
-
public enum ExporterStatus
{
///
@@ -811,5 +783,3 @@ namespace Win.Sfs.SettleAccount.Entities
}
-
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/IUnHQSettleAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/IUnHQSettleAppService.cs
index ba7262bc..931aabf4 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/IUnHQSettleAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/IUnHQSettleAppService.cs
@@ -1,10 +1,8 @@
-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 Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
using Volo.Abp.Application.Dtos;
namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
@@ -43,9 +41,6 @@ namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
Task> GetListAsync(UnHQSettleRequestDto input);
-
-
-
///
/// 根据筛选条件获取实体列表
///
@@ -57,7 +52,6 @@ namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
Task> GetVersionListAsync(UnHQSettleVersionRequestDto input);
-
Task ExportAsync(UnHQSettleRequestDto input);
///
@@ -67,10 +61,6 @@ namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
Task GetTotalCountAsync(Guid branchId);
-
-
-
-
/////
///// 删除实体
/////
@@ -79,7 +69,6 @@ namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
Task DeleteAsync(Guid id);
-
///
/// 按IDs删除实体列表
///
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleCreateDto.cs
index b9e5f6e8..454863e2 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleCreateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleCreateDto.cs
@@ -1,8 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System;
using Win.Sfs.Shared;
namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleDto.cs
index 8dcb17f9..56696fbc 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleDto.cs
@@ -1,8 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
@@ -43,7 +39,6 @@ namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
///
public string HQHKanBan { set; get; }
-
///
/// 物料号
///
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleDtoBase.cs
index c5584c57..a78e46ed 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleDtoBase.cs
@@ -1,8 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
@@ -43,7 +39,6 @@ namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
///
public string HQHKanBan { set; get; }
-
///
/// 物料号
///
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleExportDto.cs
index dc532b15..83181099 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleExportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleExportDto.cs
@@ -1,9 +1,5 @@
-using Magicodes.ExporterAndImporter.Core;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using Magicodes.ExporterAndImporter.Core;
namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
{
@@ -51,7 +47,6 @@ namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
[ExporterHeader(DisplayName = "看板号")]
public string HQHKanBan { set; get; }
-
///
/// 物料号
///
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleImportDto.cs
index ceb4f942..9053ac1b 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleImportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleImportDto.cs
@@ -1,9 +1,5 @@
-using Magicodes.ExporterAndImporter.Core;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using Magicodes.ExporterAndImporter.Core;
namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
{
@@ -51,7 +47,6 @@ namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
[ImporterHeader(Name = "看板号")]
public string HQHKanBan { set; get; }
-
///
/// 物料号
///
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleRequestDto.cs
index 9efa6f6e..65d4419a 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleRequestDto.cs
@@ -1,8 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
@@ -44,7 +40,6 @@ namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
///
public string HQHKanBan { set; get; }
-
///
/// 物料号
///
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleVersionDtoBase.cs
index 1cba8b01..7f5ef340 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleVersionDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnHQSettleAccounts/UnHQSettleVersionDtoBase.cs
@@ -1,8 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System;
using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
@@ -29,11 +25,8 @@ namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
///
public string CustomerCode { private set; get; }
-
}
-
-
public class UnHQSettleVersionDto : AuditedEntityDtoBase, IBranch
{
public string Year { get; set; }
@@ -95,6 +88,5 @@ namespace Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts
///
public string CustomerCode { private set; get; }
-
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/IVWKanBanAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/IVWKanBanAppService.cs
index 9323c46f..52213acc 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/IVWKanBanAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/IVWKanBanAppService.cs
@@ -1,23 +1,16 @@
-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 Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
using Win.Sfs.SettleAccount.Entities.VWKanBanVersion;
-using Win.Sfs.Shared.ApplicationBase;
-
namespace Win.Sfs.SettleAccount.Entities.VWKanBan
{
public interface IVWKanBanAppService
-
- {
-
+ {
///
/// 导入功能
@@ -27,9 +20,6 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
Task VWKanBanUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode);
-
-
-
///
/// 按ID获取唯一实体
///
@@ -52,9 +42,6 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
Task> GetListAsync(VWKanBanRequestDto input);
-
-
-
///
/// 根据筛选条件获取实体列表
///
@@ -66,7 +53,6 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
Task> GetVersionListAsync(VWKanBanVersionRequestDto input);
-
Task ExportAsync(VWKanBanRequestDto input);
///
@@ -76,7 +62,6 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
Task GetTotalCountAsync(Guid branchId);
-
/////
///// 获取全部实体列表
/////
@@ -84,20 +69,14 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
//Task> GetAllAsync(Guid branchId);
-
-
-
-
/////
///// 新增实体
/////
///// 新增实体DTO
///// 实体DTO
-
//Task CreateAsync(SettleAccountCreateDto input);
-
/////
///// 修改实体
/////
@@ -107,9 +86,6 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
//Task UpdateAsync(Guid id, SettleAccountUpdateDto input);
-
-
-
/////
///// 删除实体
/////
@@ -118,7 +94,6 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
Task DeleteAsync(Guid id);
-
///
/// 按IDs删除实体列表
///
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanCreateDto.cs
index 7ae0eeca..758c8a51 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanCreateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanCreateDto.cs
@@ -1,16 +1,11 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System;
using Win.Sfs.SettleAccount.Entities.VWKanBan;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
{
public class VWKanBanCreateDto : VWKanBanDtoBase, IBranch
{
- public virtual Guid BranchId { get ; set ; }
+ public virtual Guid BranchId { get; set; }
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanDto.cs
index b54ce9f2..a9d17907 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanDto.cs
@@ -1,10 +1,4 @@
-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 System;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.VWKanBan
@@ -12,7 +6,7 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
///
/// 大众看板结算
///
- public class VWKanBanDto: AuditedEntityDtoBase
+ public class VWKanBanDto : AuditedEntityDtoBase
{
///
/// 期间
@@ -32,43 +26,42 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
///
/// 入库关联号
///
- public virtual string Relation { set; get; }
+ public virtual string Relation { set; get; }
///
/// 工厂
///
- public virtual string Factory { set; get; }
+ public virtual string Factory { set; get; }
///
/// 零件号
///
- public virtual string MaterialCode { set; get; }
+ public virtual string MaterialCode { set; get; }
///
/// 零件类型
///
- public virtual string PartType { set; get; }
+ public virtual string PartType { set; get; }
///
/// R3入库时间
///
- public virtual DateTime SettleInputDate { set; get; }
-
+ public virtual DateTime SettleInputDate { set; get; }
///
///供应商编码
///
- public virtual string SupplierCode { get; set; }
+ public virtual string SupplierCode { get; set; }
///
/// 数量
///
- public virtual decimal Qty { get; set; }
+ public virtual decimal Qty { get; set; }
///
/// 批次
///
- public virtual string Batch { get; set; }
+ public virtual string Batch { get; set; }
///
/// 入库结算标识
///
- public virtual string Flag { get; set; }
+ public virtual string Flag { get; set; }
///
/// 结算日期
@@ -78,7 +71,7 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
///
/// 结算状态
///
- public virtual string State { get ; set ; }
+ public virtual string State { get; set; }
///
/// 备注
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanDtoBase.cs
index 43aec274..2be37d6f 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanDtoBase.cs
@@ -1,14 +1,9 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DomainBase;
+using System;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.VWKanBan
{
- public class VWKanBanDtoBase: CreateOrUpdateEntityDtoBase
+ public class VWKanBanDtoBase : CreateOrUpdateEntityDtoBase
{
///
@@ -16,8 +11,6 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
///
public string Period { set; get; }
-
-
///
///看板条码号
///
@@ -44,7 +37,6 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
///
public virtual DateTime SettleInputDate { set; get; }
-
///
///供应商编码
///
@@ -74,13 +66,11 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
///
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/VWKanBan/VWKanBanExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanExportDto.cs
index 77a28a6c..50784516 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanExportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanExportDto.cs
@@ -1,14 +1,9 @@
-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;
+using Magicodes.ExporterAndImporter.Core;
namespace Win.Sfs.SettleAccount.Entities.VWKanBan
{
- public class VWKanBanExportDto
+ public class VWKanBanExportDto
{
///
@@ -55,7 +50,6 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
[ExporterHeader(DisplayName = "R3入库日期")]
public virtual DateTime SettleInputDate { set; get; }
-
///
///供应商编码
///
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanImportDto.cs
index b5494680..789c6945 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanImportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanImportDto.cs
@@ -1,14 +1,8 @@
-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;
+using Magicodes.ExporterAndImporter.Core;
namespace Win.Sfs.SettleAccount.Entities.VWKanBan
{
- public class VWKanBanImportDto
+ public class VWKanBanImportDto
{
/////
@@ -55,7 +49,6 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
[ImporterHeader(Name = "R3入库日期")]
public virtual string SettleInputDate { set; get; }
-
///
///供应商编码
///
@@ -91,5 +84,5 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
public virtual string State { get; set; }
}
-
+
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanImport_EmpDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanImport_EmpDto.cs
index e78e38bd..1defe879 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanImport_EmpDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanImport_EmpDto.cs
@@ -1,9 +1,4 @@
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using Magicodes.ExporterAndImporter.Core;
namespace Win.Sfs.SettleAccount.Entities.VWKanBan
{
@@ -54,7 +49,6 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
[ImporterHeader(Name = "R3入库日期")]
public virtual string SettleInputDate { set; get; }
-
///
///供应商编码
///
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanRequestDto.cs
index daa012a9..e764f3e6 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanRequestDto.cs
@@ -1,15 +1,9 @@
-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 System;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.VWKanBan
{
- public class VWKanBanRequestDto: RequestDtoBase
+ public class VWKanBanRequestDto : RequestDtoBase
{
///
@@ -48,7 +42,6 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan
///
public virtual DateTime SettleInputDate { set; get; }
-
///
///供应商编码
///
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanVersionDtoBase.cs
index 6c38e202..7c72a021 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanVersionDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBanVersionDtoBase.cs
@@ -1,10 +1,5 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.VWKanBanVersion
@@ -30,14 +25,11 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBanVersion
///
public string CustomerCode { private set; get; }
-
}
-
-
public class VWKanBanVersionDto : AuditedEntityDtoBase, IBranch
{
- public string Year { get; set; }
+ public string Year { get; set; }
///
/// 期间
///
@@ -50,8 +42,8 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBanVersion
///
/// 客户号
///
- public string CustomerCode { set; get; }
- public Guid BranchId { get ; set; }
+ public string CustomerCode { set; get; }
+ public Guid BranchId { get; set; }
}
public class VWKanBanVersionCreateDto : VWKanBanVersionDtoBase
@@ -75,7 +67,7 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBanVersion
/// 客户号
///
public string CustomerCode { private set; get; }
- public Guid BranchId { get ; set ; }
+ public Guid BranchId { get; set; }
}
public class VWKanBanVersionImportDto
@@ -96,8 +88,6 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBanVersion
///
public string CustomerCode { private set; get; }
-
}
-
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBantUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBantUpdateDto.cs
index 03951568..93ea5e94 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBantUpdateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWKanBan/VWKanBantUpdateDto.cs
@@ -1,16 +1,7 @@
-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.VWKanBan
{
- public class VWKanBantUpdateDto: VWKanBanDtoBase
+ public class VWKanBantUpdateDto : VWKanBanDtoBase
{
-
-
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Wms/WmsDetailReportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Wms/WmsDetailReportDto.cs
index e6b5fbcb..9ce2e1de 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Wms/WmsDetailReportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Wms/WmsDetailReportDto.cs
@@ -1,15 +1,11 @@
-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 Magicodes.ExporterAndImporter.Core;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.Entities.Wms.WmsSumOutput
{
- public class WmsRequestDetailReportDto: RequestDtoBase
+ public class WmsRequestDetailReportDto : RequestDtoBase
{
[Display(Name = "版本")]
public string Version { set; get; }
@@ -54,33 +50,26 @@ namespace Win.Sfs.SettleAccount.Entities.Wms.WmsSumOutput
[Display(Name = "备注")]
public string Remark1 { set; get; }
- [ExporterHeader(DisplayName = "状态",IsIgnore =true)]
+ [ExporterHeader(DisplayName = "状态", IsIgnore = true)]
public int State { set; get; }
- [ExporterHeader(DisplayName = "账期",IsIgnore =true)]
+ [ExporterHeader(DisplayName = "账期", IsIgnore = true)]
public DateTime AccountDate { set; get; }
}
-
-
- public class WmsDetailReportDto
+ public class WmsDetailReportDto
{
public WmsDetailReportDto()
{
-
-
}
-
-
[Display(Name = "行号")]
public int LineNumber { set; get; }
[Display(Name = "版本号")]
public string Version { set; get; }
-
[Display(Name = "客户")]
public string Client { set; get; }
[Display(Name = "出库类型")]
@@ -126,15 +115,12 @@ namespace Win.Sfs.SettleAccount.Entities.Wms.WmsSumOutput
public DateTime AccountDate { set; get; }
}
-
- public class WmsDetailDiffReportDto
+ public class WmsDetailDiffReportDto
{
public WmsDetailDiffReportDto()
{
}
-
-
[Display(Name = "版本号")]
public string Version { set; get; }
@@ -190,8 +176,6 @@ namespace Win.Sfs.SettleAccount.Entities.Wms.WmsSumOutput
{
}
-
-
[Display(Name = "版本号")]
public string Version { set; get; }
@@ -241,10 +225,6 @@ namespace Win.Sfs.SettleAccount.Entities.Wms.WmsSumOutput
}
-
-
-
-
///
/// 有条码业务
///
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Wms/WmsJitOutPutDetialDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Wms/WmsJitOutPutDetialDto.cs
index 16be3bb9..aa8de75d 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Wms/WmsJitOutPutDetialDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Wms/WmsJitOutPutDetialDto.cs
@@ -1,9 +1,6 @@
-using Magicodes.ExporterAndImporter.Core;
using System;
using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
using Win.Sfs.Shared.DtoBase;
@@ -15,8 +12,6 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
{
}
-
-
public string Version { set; get; }
public string BillNum { set; get; }
@@ -25,28 +20,21 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
public string SumContent { set; get; }
-
-
-
}
- public class WmsJitOutPutRequestDto: RequestDtoBase
+ public class WmsJitOutPutRequestDto : RequestDtoBase
{
public WmsJitOutPutRequestDto()
{
}
-
-
public string Version { set; get; }
public string BillNum { set; get; }
public string Creator { set; get; }
-
-
}
- public class WmsJitOutPutDetialDto: AuditedEntityDto
+ public class WmsJitOutPutDetialDto : AuditedEntityDto
{
[ImporterHeader(Name = "交货单号")]
public string WmsBillNum { set; get; }
@@ -72,14 +60,12 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
[ImporterHeader(Name = "物料组(车型)")]
//物料组(车型)
public string MaterialGroup { set; get; }
-
+
[ImporterHeader(Name = "结算数量")]
public decimal Qty { set; get; }
-
-
}
- public class WmsJitOutPutDetialRequestDto: RequestDtoBase
+ public class WmsJitOutPutDetialRequestDto : RequestDtoBase
{
[ImporterHeader(Name = "交货单号")]
public string WmsBillNum { set; get; }
@@ -108,11 +94,9 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
public string BillNum { set; get; }
-
-
}
- public class WmsJitRequestDto
+ public class WmsJitRequestDto
{
public DateTime AccountDate { set; get; }
@@ -120,20 +104,14 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
public string Version { set; get; }
public List Guids { set; get; }
-
-
}
-
-
- public class WmsKanbanOutPutDto: AuditedEntityDto
+ public class WmsKanbanOutPutDto : AuditedEntityDto
{
public WmsKanbanOutPutDto()
{
}
-
-
public string Version { set; get; }
public string BillNum { set; get; }
@@ -142,7 +120,6 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
public string SumContent { set; get; }
-
}
public class WmsKanbanOutPutRequestDto : RequestDtoBase
{
@@ -150,23 +127,18 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
{
}
-
-
public string Version { set; get; }
public string BillNum { set; get; }
public string Creator { set; get; }
-
-
}
- public class WmsKanbanOutPutDetialDto: AuditedEntityDto
+ public class WmsKanbanOutPutDetialDto : AuditedEntityDto
{
[ImporterHeader(Name = "交货单号")]
public string WmsBillNum { set; get; }
-
[ImporterHeader(Name = "订单号")]
//底盘号
public string Kanban { set; get; }
@@ -174,7 +146,6 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
//物料号
public string MaterialCode { set; get; }
-
[ImporterHeader(Name = "物料描述")]
//物料描述
public string MaterialDesc { set; get; }
@@ -186,11 +157,8 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
[ImporterHeader(Name = "交货数量")]
public decimal Qty { set; get; }
-
-
}
-
public class WmsOneTimeSaleOutPutDetialRequestDto : RequestDtoBase
{
[ImporterHeader(Name = "交货单号")]
@@ -206,9 +174,6 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
//物料号
public string MaterialCode { set; get; }
-
-
-
[ImporterHeader(Name = "物料描述")]
//物料描述
public string MaterialDesc { set; get; }
@@ -217,10 +182,6 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
//物料组(车型)
public string MaterialGroup { set; get; }
-
-
-
-
}
public class WmsKanbanOutPutDetialRequestDto : RequestDtoBase
@@ -228,7 +189,7 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
[ImporterHeader(Name = "交货单号")]
public string WmsBillNum { set; get; }
- [ImporterHeader(Name = "单号",IsIgnore =true)]
+ [ImporterHeader(Name = "单号", IsIgnore = true)]
public string BillNum { set; get; }
[ImporterHeader(Name = "订单号")]
//底盘号
@@ -238,9 +199,6 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
//物料号
public string MaterialCode { set; get; }
-
-
-
[ImporterHeader(Name = "物料描述")]
//物料描述
public string MaterialDesc { set; get; }
@@ -252,10 +210,6 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
[ImporterHeader(Name = "状态", IsIgnore = true)]
public int State { set; get; }
-
-
-
-
}
public class WmsSharePartOutPutDto
@@ -269,8 +223,6 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
public string Creator { set; get; }
-
-
}
public class WmsSharePartOutPutRequestDto : RequestDtoBase
{
@@ -283,15 +235,12 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
public string Creator { set; get; }
-
-
}
public class WmsSharePartOutPutDetialDto
{
[ImporterHeader(Name = "交货单号")]
public string WmsBillNum { set; get; }
-
[ImporterHeader(Name = "订单号")]
//底盘号
public string SharePart { set; get; }
@@ -299,7 +248,6 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
//物料号
public string MaterialCode { set; get; }
-
[ImporterHeader(Name = "物料描述")]
//物料描述
public string MaterialDesc { set; get; }
@@ -311,15 +259,12 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
[ImporterHeader(Name = "交货数量")]
public decimal Qty { set; get; }
-
-
}
public class WmsSharePartOutPutDetialRequestDto : RequestDtoBase
{
[ImporterHeader(Name = "交货单号")]
public string WmsBillNum { set; get; }
-
[ImporterHeader(Name = "订单号")]
//底盘号
public string Kanban { set; get; }
@@ -340,11 +285,6 @@ namespace Win.Sfs.SettleAccount.Entities.Wms
public string BillNum { set; get; }
-
-
-
}
-
-
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/ErrorExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/ErrorExportDto.cs
index 3c760e82..d56484b7 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/ErrorExportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/ErrorExportDto.cs
@@ -1,13 +1,8 @@
// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using Magicodes.ExporterAndImporter.Core;
-using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.ExportReports
{
@@ -39,7 +34,6 @@ namespace Win.Sfs.SettleAccount.ExportReports
[Display(Name = "版本")]
public string Version { set; get; }
-
///
/// 客户代码
///
@@ -89,12 +83,8 @@ namespace Win.Sfs.SettleAccount.ExportReports
[Display(Name = "备注")]
public string Remark { get; set; }
-
}
-
-
-
///
/// 错误信息说明
///
@@ -123,7 +113,6 @@ namespace Win.Sfs.SettleAccount.ExportReports
[Display(Name = "版本")]
public string Version { set; get; }
-
///
/// 客户代码
///
@@ -143,7 +132,7 @@ namespace Win.Sfs.SettleAccount.ExportReports
///
[Display(Name = "问题模块")]
- public string Model { get; set; }
+ public string Model { get; set; }
///
/// 物料号
@@ -173,6 +162,5 @@ namespace Win.Sfs.SettleAccount.ExportReports
[Display(Name = "备注")]
public string Remark { get; set; }
-
}
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/BTSeqKBDiffDetailDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/BTSeqKBDiffDetailDto.cs
index f3e5f50b..84d68877 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/BTSeqKBDiffDetailDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/BTSeqKBDiffDetailDto.cs
@@ -1,14 +1,10 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Constant;
-using Volo.Abp.Application.Dtos;
using Magicodes.ExporterAndImporter.Core;
+using Volo.Abp.Application.Dtos;
namespace Win.Sfs.SettleAccount.SecondaryExportReports
{
@@ -16,7 +12,7 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
/// 二配汇总输出表
///
public class BTSeqKBDiffDetail : EntityDto
- {
+ {
///
/// 年度
///
@@ -27,13 +23,13 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
/// 期间
///
[Display(Name = "期间")]
- public string Period { set; get; }
+ public string Period { set; get; }
///
/// 版本
///
[Display(Name = "版本")]
- public string Version { set; get; }
+ public string Version { set; get; }
///
/// 客户总成物料号
@@ -69,19 +65,17 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "车序数量")]
public int SeqQty { get; set; }
-
///
/// 看板数量
///
[Display(Name = "看板数量")]
public int KBQty { get; set; }
-
///
/// 数量差异
///
[Display(Name = "数量差异")]
- public int DiffQty { get; set; }
+ public int DiffQty { get; set; }
///
/// 备注
@@ -90,4 +84,4 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "备注")]
public string Remark { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/InvoicePriceListDiffDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/InvoicePriceListDiffDto.cs
index 580129de..77e1c19d 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/InvoicePriceListDiffDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/InvoicePriceListDiffDto.cs
@@ -1,66 +1,60 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace Win.Sfs.SettleAccount.ExportReports.SecondaryExportReports
{
-
- public class InvoicePriceListDiffDto
- {
-
- ///
- /// 年
- ///
- public string Year { set; get; }
- ///
- /// 期间
- ///
- public string Period { set; get; }
- ///
- /// 版本
- ///
- public string Version { set; get; }
- ///
- /// 状态
- ///
- public int State { set; get; }
-
- ///
- /// 工厂
- ///
- public string Factory { set; get; }
- ///
- ///
- ///
- public string TextCode { set; get; }
- ///
- /// 物料号
- ///
- public string MaterialCode { set; get; }
- ///
- /// 物料描述
- ///
- public string MaterialDesc { set; get; }
- public DateTime InputDate { set; get; }
- public decimal Qty { set; get; }
- public decimal Amt { set; get; }
- public string Number { set; get; }
- public string Accounting { set; get; }
- public DateTime? AccountDate { set; get; }
- public DateTime? BeginDate { set; get; }
- public DateTime? EndDate { set; get; }
- public decimal Price { set; get; }
- public int Type { set; get; }
- }
- public class InvoicePriceListDiffExportDto
+ public class InvoicePriceListDiffDto
{
+ ///
+ /// 年
+ ///
+ public string Year { set; get; }
+ ///
+ /// 期间
+ ///
+ public string Period { set; get; }
+ ///
+ /// 版本
+ ///
+ public string Version { set; get; }
+ ///
+ /// 状态
+ ///
+ public int State { set; get; }
+
+ ///
+ /// 工厂
+ ///
+ public string Factory { set; get; }
+ ///
+ ///
+ ///
+ public string TextCode { set; get; }
+ ///
+ /// 物料号
+ ///
+ public string MaterialCode { set; get; }
+ ///
+ /// 物料描述
+ ///
+ public string MaterialDesc { set; get; }
+ public DateTime InputDate { set; get; }
+ public decimal Qty { set; get; }
+ public decimal Amt { set; get; }
+ public string Number { set; get; }
+ public string Accounting { set; get; }
+ public DateTime? AccountDate { set; get; }
+ public DateTime? BeginDate { set; get; }
+ public DateTime? EndDate { set; get; }
+ public decimal Price { set; get; }
+ public int Type { set; get; }
+ }
+
+ public class InvoicePriceListDiffExportDto
+ {
-
///
/// 版本号
///
@@ -128,10 +122,9 @@ namespace Win.Sfs.SettleAccount.ExportReports.SecondaryExportReports
///
/// 状态
///
- [Display(Name ="状态")]
+ [Display(Name = "状态")]
public int State { set; get; }
-
//public DateTime? BeginDate { set; get; }
//public DateTime? EndDate { set; get; }
[Display(Name = "价格表价格")]
@@ -139,9 +132,5 @@ namespace Win.Sfs.SettleAccount.ExportReports.SecondaryExportReports
}
-
-
-
-
}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecActualDistributionDetailDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecActualDistributionDetailDto.cs
index 2e1aad83..832fd742 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecActualDistributionDetailDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecActualDistributionDetailDto.cs
@@ -1,14 +1,9 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using System;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Constant;
-using Volo.Abp.Application.Dtos;
using Magicodes.ExporterAndImporter.Core;
+using Volo.Abp.Application.Dtos;
namespace Win.Sfs.SettleAccount.SecondaryExportReports
{
@@ -16,7 +11,7 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
/// 实际二配明细输出表
///
public class SecActualDistributionDetailDto : EntityDto
- {
+ {
///
/// 年度
///
@@ -27,19 +22,19 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
/// 期间
///
[Display(Name = "期间")]
- public string Period { set; get; }
+ public string Period { set; get; }
///
/// 版本
///
[Display(Name = "版本")]
- public string Version { set; get; }
+ public string Version { set; get; }
///
/// 客户总成物料号
///
[Display(Name = "客户总成物料号")]
-
+
public string CustomItemCode { get; set; }
///
@@ -54,7 +49,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "下线数量")]
public decimal OfflineQty { get; set; }
-
///
/// ERP总成物料号
///
@@ -89,20 +83,18 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "ERP组件用量")]
public decimal ErpSubItemQty { get; set; }
-
/////
///// ERP组件物料号每个总成用量
/////
//[Display(Name = "ERP组件实际用量")]
//public decimal ErpSubItemActualQty { get; set; }
-
///
/// 客户组件物料号
///
[Display(Name = "客户组件物料号")]
- public string CustomSubItemCode { get; set; }
+ public string CustomSubItemCode { get; set; }
///
/// 零件属性
@@ -111,8 +103,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
public string MaterialProperty { get; set; }
-
-
///
/// 供应商代码
///
@@ -127,7 +117,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "供应商描述")]
public string SupplierDesc { get; set; }
-
/////
///// 供货比例
/////
@@ -135,7 +124,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
//[Display(Name = "供货比例")]
//public string SupplyProportion { get; set; }
-
///
/// ERP组件暂估类
///
@@ -143,7 +131,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "ERP组件暂估类")]
public string ErpSubItemEstimationType { get; set; }
-
///
/// 零件单价
///
@@ -158,7 +145,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "零件数量(回款)")]
public decimal CustomSubItemSumQty { get; set; }
-
///
/// 金额(不含税)
///
@@ -166,14 +152,12 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "金额(不含税)")]
public decimal SumPriceNoTax { get; set; }
-
///
/// 金额(含税)
///
[Display(Name = "金额(含税)")]
public decimal SumPriceWithTax { set; get; }
-
///
/// 价格或零件号变动情况
///
@@ -181,7 +165,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "价格或零件号变动情况")]
public string HasChanged { get; set; } = "否";
-
///
/// 二配采购员
///
@@ -189,7 +172,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "二配采购员")]
public string Buyer { get; set; }
-
///
/// 备注
///
@@ -197,4 +179,4 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "备注")]
public string Remark { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecCumulativeSummaryDiffExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecCumulativeSummaryDiffExportDto.cs
index e62ee79c..ffa8e65b 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecCumulativeSummaryDiffExportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecCumulativeSummaryDiffExportDto.cs
@@ -1,14 +1,8 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using System;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Constant;
using Volo.Abp.Application.Dtos;
-using Magicodes.ExporterAndImporter.Core;
namespace Win.Sfs.SettleAccount.SecondaryExportReports
{
@@ -16,18 +10,18 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
/// 二配汇总输出表
///
public class SecCumulativeSummaryDiffExportDto : EntityDto
- {
+ {
///
/// 年度
///
[Display(Name = "年度")]
public string Year { set; get; }
-
+
///
/// 客户总成物料号
///
[Display(Name = "客户总成物料号")]
-
+
public string CustomItemCode { get; set; }
/////
@@ -78,7 +72,7 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
/// 供应商代码
///
[Display(Name = "供应商代码")]
- public string SupplierCode { set; get; }
+ public string SupplierCode { set; get; }
///
@@ -92,7 +86,7 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
///
[Display(Name = "1月数量差异")]
- public decimal JanDiffQty { get; set; }
+ public decimal JanDiffQty { get; set; }
///
@@ -100,7 +94,7 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
///
[Display(Name = "1月金额差异")]
- public decimal JanDiffAmount { get; set; }
+ public decimal JanDiffAmount { get; set; }
///
/// 2月数量差异
@@ -284,4 +278,4 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "本年累计金额差异")]
public decimal YearDiffAmount { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecSettlementAssemblyPartDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecSettlementAssemblyPartDto.cs
index 3e2d9a22..5d825a83 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecSettlementAssemblyPartDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecSettlementAssemblyPartDto.cs
@@ -1,14 +1,9 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using System;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Constant;
-using Volo.Abp.Application.Dtos;
using Magicodes.ExporterAndImporter.Core;
+using Volo.Abp.Application.Dtos;
namespace Win.Sfs.SettleAccount.SecondaryExportReports
{
@@ -16,7 +11,7 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
/// 实体DTO
///
public class SecSettlementAssemblyPartDto : EntityDto
- {
+ {
///
/// 年度
///
@@ -27,37 +22,34 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
/// 期间
///
[Display(Name = "期间")]
- public string Period { set; get; }
+ public string Period { set; get; }
///
/// 版本
///
[Display(Name = "版本")]
- public string Version { set; get; }
+ public string Version { set; get; }
///
/// 客户总成物料号
///
[Display(Name = "客户总成物料号")]
-
+
public string CustomItemCode { get; set; }
///
/// 客户总成物料号描述
///
- [IEIgnoreAttribute]
+ [IEIgnoreAttribute]
[Display(Name = "客户总成描述")]
public string CustomItemDesc { get; set; }
-
///
/// 客户总成物料号下线数量
///
[Display(Name = "下线数量")]
public decimal OfflineQty { get; set; }
-
-
///
/// ERP总成物料号
///
@@ -83,16 +75,14 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
/// ERP组件物料号描述
///
[Display(Name = "ERP组件描述")]
- public string ErpSubItemDesc { get; set; }
-
+ public string ErpSubItemDesc { get; set; }
///
/// ERP组件暂估类
///
[Display(Name = "ERP组件暂估类")]
- public string ErpSubItemEstimationType { get; set; }
-
+ public string ErpSubItemEstimationType { get; set; }
///
/// 客户组件物料号
@@ -114,7 +104,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "每个总成用量")]
public decimal ErpSubItemQty { set; get; }
-
///
/// 供应商代码
///
@@ -122,4 +111,4 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "供应商代码")]
public string SupplierCode { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecStandardDistributionDetailDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecStandardDistributionDetailDto.cs
index 94eacc07..52f1e48e 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecStandardDistributionDetailDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecStandardDistributionDetailDto.cs
@@ -1,14 +1,8 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using System;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Constant;
using Volo.Abp.Application.Dtos;
-using Magicodes.ExporterAndImporter.Core;
namespace Win.Sfs.SettleAccount.SecondaryExportReports
{
@@ -16,7 +10,7 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
/// 标准二配明细输出表
///
public class SecStandardDistributionDetailDto : EntityDto
- {
+ {
///
/// 年度
///
@@ -27,19 +21,19 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
/// 期间
///
[Display(Name = "期间")]
- public string Period { set; get; }
+ public string Period { set; get; }
///
/// 版本
///
[Display(Name = "版本")]
- public string Version { set; get; }
+ public string Version { set; get; }
///
/// 客户总成物料号
///
[Display(Name = "客户总成物料号")]
-
+
public string CustomItemCode { get; set; }
///
@@ -54,7 +48,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "下线数量")]
public decimal OfflineQty { get; set; }
-
/////
///// ERP总成物料号
/////
@@ -89,20 +82,18 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "ERP组件用量")]
public decimal ErpSubItemQty { get; set; }
-
///
/// ERP组件物料号每个总成用量
///
[Display(Name = "ERP组件实际用量")]
public decimal ErpSubItemActualQty { get; set; }
-
///
/// 客户组件物料号
///
[Display(Name = "客户组件物料号")]
- public string CustomSubItemCode { get; set; }
+ public string CustomSubItemCode { get; set; }
///
/// 零件属性
@@ -111,8 +102,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
public string MaterialProperty { get; set; }
-
-
///
/// 供应商代码
///
@@ -127,7 +116,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "供应商描述")]
public string SupplierDesc { get; set; }
-
///
/// 供货比例
///
@@ -135,7 +123,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "供货比例")]
public string SupplyProportion { get; set; }
-
///
/// ERP组件暂估类
///
@@ -143,7 +130,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "ERP组件暂估类")]
public string ErpSubItemEstimationType { get; set; }
-
///
/// 零件单价
///
@@ -158,7 +144,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "零件数量(回款)")]
public decimal CustomSubItemSumQty { get; set; }
-
///
/// 金额(不含税)
///
@@ -166,14 +151,12 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "金额(不含税)")]
public decimal SumPriceNoTax { get; set; }
-
///
/// 金额(含税)
///
[Display(Name = "金额(含税)")]
public decimal SumPriceWithTax { set; get; }
-
///
/// 价格或零件号变动情况
///
@@ -181,7 +164,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "价格或零件号变动情况")]
public string HasChanged { get; set; } = "否";
-
///
/// 二配采购员
///
@@ -189,7 +171,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "二配采购员")]
public string Buyer { get; set; }
-
///
/// 备注
///
@@ -197,4 +178,4 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "备注")]
public string Remark { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecSummaryOutPutDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecSummaryOutPutDto.cs
index 2660d48d..3b3bb60a 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecSummaryOutPutDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ExportReports/SecondaryExportReports/SecSummaryOutPutDto.cs
@@ -1,14 +1,9 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using System;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Constant;
-using Volo.Abp.Application.Dtos;
using Magicodes.ExporterAndImporter.Core;
+using Volo.Abp.Application.Dtos;
namespace Win.Sfs.SettleAccount.SecondaryExportReports
{
@@ -16,7 +11,7 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
/// 二配汇总输出表
///
public class SecSummaryOutPutDto : EntityDto
- {
+ {
///
/// 年度
///
@@ -27,19 +22,19 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
/// 期间
///
[Display(Name = "期间")]
- public string Period { set; get; }
+ public string Period { set; get; }
///
/// 版本
///
[Display(Name = "版本")]
- public string Version { set; get; }
+ public string Version { set; get; }
///
/// 客户总成物料号
///
[Display(Name = "客户总成物料号")]
-
+
public string CustomItemCode { get; set; }
///
@@ -55,15 +50,12 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "下线数量")]
public decimal OfflineQty { get; set; }
-
/////
///// ERP总成物料号描述
/////
//[Display(Name = "ERP总成物料号描述")]
//public string ErpParentItemDesc { get; set; }
-
-
///
/// 客户组件物料号
///
@@ -90,15 +82,12 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "组件标准用量")]
public decimal ErpSubItemQty { get; set; }
-
///
/// ERP组件物料号每个总成用量
///
[Display(Name = "组件实际用量")]
public decimal ErpSubItemActualQty { get; set; }
-
-
/////
///// 物料属性
/////
@@ -106,8 +95,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
//public string MaterialProperty { get; set; }
-
-
///
/// 供应商代码
///
@@ -122,7 +109,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "供应商描述")]
public string SupplierDesc { get; set; }
-
///
/// 供货比例
///
@@ -130,7 +116,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "供货比例")]
public string SupplyProportion { get; set; }
-
/////
///// ERP组件暂估类
/////
@@ -138,7 +123,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
//[Display(Name = "ERP组件暂估类")]
//public string ErpSubItemEstimationType { get; set; }
-
///
/// 零件单价
///
@@ -153,7 +137,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "零件数量(回款)")]
public decimal CustomSubItemSumQty { get; set; }
-
///
/// 金额(不含税)
///
@@ -161,14 +144,12 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "金额(不含税)")]
public decimal SumPriceNoTax { get; set; }
-
///
/// 金额(含税)
///
[Display(Name = "金额(含税)")]
public decimal SumPriceWithTax { set; get; }
-
///
/// 价格或零件号变动情况
///
@@ -176,7 +157,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "价格或零件号变动情况")]
public string HasChanged { get; set; } = "否";
-
///
/// 二配采购员
///
@@ -184,7 +164,6 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "二配采购员")]
public string Buyer { get; set; }
-
///
/// 备注
///
@@ -192,4 +171,4 @@ namespace Win.Sfs.SettleAccount.SecondaryExportReports
[Display(Name = "备注")]
public string Remark { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelFiles/Dto/BlobDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelFiles/Dto/BlobDto.cs
index d0271151..859a030b 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelFiles/Dto/BlobDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelFiles/Dto/BlobDto.cs
@@ -1,11 +1,7 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
namespace Win.Sfs.BaseData.ImportExcelCommon.ExcelFiles.Dto
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelFiles/Dto/GetBlobRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelFiles/Dto/GetBlobRequestDto.cs
index 2f8eb63c..39312b69 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelFiles/Dto/GetBlobRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelFiles/Dto/GetBlobRequestDto.cs
@@ -1,12 +1,7 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using System;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace Win.Sfs.BaseData.ImportExcelCommon.ExcelFiles.Dto
{
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelFiles/Dto/SaveBlobInputDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelFiles/Dto/SaveBlobInputDto.cs
index 6b459368..a41aaa21 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelFiles/Dto/SaveBlobInputDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelFiles/Dto/SaveBlobInputDto.cs
@@ -1,12 +1,7 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using System;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace Win.Sfs.BaseData.ImportExcelCommon.ExcelFiles.Dto
{
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelFiles/IFileAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelFiles/IFileAppService.cs
index 3e7af719..654e8a56 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelFiles/IFileAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelFiles/IFileAppService.cs
@@ -1,10 +1,6 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using Win.Sfs.BaseData.ImportExcelCommon.ExcelFiles.Dto;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelImportDto.cs
index e1f631e3..1384fb36 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelImportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ExcelImportDto.cs
@@ -1,11 +1,7 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
namespace Win.Sfs.BaseData.ImportExcelCommon
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/GetExcelImportRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/GetExcelImportRequestDto.cs
index 686e6a11..af03d628 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/GetExcelImportRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/GetExcelImportRequestDto.cs
@@ -1,12 +1,7 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using System;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace Win.Sfs.BaseData.ImportExcelCommon
{
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/IExcelImportAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/IExcelImportAppService.cs
index c44764e3..286a5ed3 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/IExcelImportAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/IExcelImportAppService.cs
@@ -1,10 +1,6 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ISecBTSummaryExportImporter.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ISecBTSummaryExportImporter.cs
index 54a5418b..56a6a784 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ISecBTSummaryExportImporter.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ISecBTSummaryExportImporter.cs
@@ -1,7 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Threading.Tasks;
using Win.Sfs.BaseData.ImportExcelCommon;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ISecSummaryExportImporter.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ISecSummaryExportImporter.cs
index a77e5e22..40957f52 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ISecSummaryExportImporter.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/ISecSummaryExportImporter.cs
@@ -1,11 +1,5 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Threading.Tasks;
-using Volo.Abp.Application.Services;
using Win.Sfs.BaseData.ImportExcelCommon;
-using Win.Sfs.Shared.DtoBase.SettleAccount;
namespace Win.Sfs.SettleAccount.ImportExcelCommon
{
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/IZipBTExportAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/IZipBTExportAppService.cs
index 80a9db5e..8008f45e 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/IZipBTExportAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/IZipBTExportAppService.cs
@@ -1,7 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using Win.Sfs.BaseData.ImportExcelCommon;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/IZipExportAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/IZipExportAppService.cs
index f1f998b7..9b40974e 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/IZipExportAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/IZipExportAppService.cs
@@ -1,7 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using Win.Sfs.BaseData.ImportExcelCommon;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/SaveExcelImportInputDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/SaveExcelImportInputDto.cs
index caa688c1..4d8b6b23 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/SaveExcelImportInputDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/ImportExcelCommon/SaveExcelImportInputDto.cs
@@ -1,12 +1,7 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using System;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace Win.Sfs.BaseData.ImportExcelCommon
{
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Permissions/SettleAccountPermissionDefinitionProvider.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Permissions/SettleAccountPermissionDefinitionProvider.cs
index 9b33161e..2327dbb1 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Permissions/SettleAccountPermissionDefinitionProvider.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Permissions/SettleAccountPermissionDefinitionProvider.cs
@@ -1,4 +1,4 @@
-using SettleAccount.Localization;
+using SettleAccount.Localization;
using Volo.Abp.Authorization.Permissions;
using Volo.Abp.Localization;
@@ -54,7 +54,6 @@ namespace Win.Sfs.SettleAccount
scrapClaims.AddChild(SettleAccountPermissions.ScrapClaims.Update, L("Update"));
scrapClaims.AddChild(SettleAccountPermissions.ScrapClaims.Delete, L("Delete"));
-
//大众备件
var sparePart = myGroup.AddPermission(SettleAccountPermissions.SparePart.Default, L("SparePart"));
sparePart.AddChild(SettleAccountPermissions.SparePart.Create, L("Create"));
@@ -79,7 +78,6 @@ namespace Win.Sfs.SettleAccount
wmshq.AddChild(SettleAccountPermissions.WMSHQ.Update, L("Update"));
wmshq.AddChild(SettleAccountPermissions.WMSHQ.Delete, L("Delete"));
-
#endregion
#region 天合
@@ -88,15 +86,11 @@ namespace Win.Sfs.SettleAccount
boms.AddChild(SettleAccountPermissions.Boms.Update, L("Update"));
boms.AddChild(SettleAccountPermissions.Boms.Delete, L("Delete"));
-
-
-
var priceLists = myGroup.AddPermission(SettleAccountPermissions.PriceLists.Default, L("PriceLists"));
priceLists.AddChild(SettleAccountPermissions.PriceLists.Create, L("Create"));
priceLists.AddChild(SettleAccountPermissions.PriceLists.Update, L("Update"));
priceLists.AddChild(SettleAccountPermissions.PriceLists.Delete, L("Delete"));
-
//var settlementParts = myGroup.AddPermission(SettleAccountPermissions.SettlementParts.Default, L("SettlementParts"));
//settlementParts.AddChild(SettleAccountPermissions.SettlementParts.Create, L("Create"));
//settlementParts.AddChild(SettleAccountPermissions.SettlementParts.Update, L("Update"));
@@ -117,10 +111,6 @@ namespace Win.Sfs.SettleAccount
//itemInvoicePrices.AddChild(SettleAccountPermissions.ItemInvoicePrices.Update, L("Update"));
//itemInvoicePrices.AddChild(SettleAccountPermissions.ItemInvoicePrices.Delete, L("Delete"));
-
-
-
-
var CodeSettings = myGroup.AddPermission(SettleAccountPermissions.CodeSettings.Default, L("CodeSettings"));
CodeSettings.AddChild(SettleAccountPermissions.CodeSettings.Create, L("Create"));
CodeSettings.AddChild(SettleAccountPermissions.CodeSettings.Update, L("Update"));
@@ -141,8 +131,6 @@ namespace Win.Sfs.SettleAccount
//FISs.AddChild(SettleAccountPermissions.FISs.Update, L("Update"));
//FISs.AddChild(SettleAccountPermissions.FISs.Delete, L("Delete"));
-
-
//var MaterialRelationships = myGroup.AddPermission(SettleAccountPermissions.MaterialRelationships.Default, L("MaterialRelationships"));
//MaterialRelationships.AddChild(SettleAccountPermissions.MaterialRelationships.Create, L("Create"));
//MaterialRelationships.AddChild(SettleAccountPermissions.MaterialRelationships.Update, L("Update"));
@@ -173,24 +161,19 @@ namespace Win.Sfs.SettleAccount
//SupplierItemSetUps.AddChild(SettleAccountPermissions.SupplierItemSetUps.Update, L("Update"));
//SupplierItemSetUps.AddChild(SettleAccountPermissions.SupplierItemSetUps.Delete, L("Delete"));
-
//var ImportColumnMaps = myGroup.AddPermission(SettleAccountPermissions.ImportColumnMaps.Default, L("ImportColumnMaps"));
//ImportColumnMaps.AddChild(SettleAccountPermissions.ImportColumnMaps.Create, L("Create"));
//ImportColumnMaps.AddChild(SettleAccountPermissions.ImportColumnMaps.Update, L("Update"));
//ImportColumnMaps.AddChild(SettleAccountPermissions.ImportColumnMaps.Delete, L("Delete"));
-
var Reports = myGroup.AddPermission(SettleAccountPermissions.Reports.Default, L("Reports"));
Reports.AddChild(SettleAccountPermissions.Reports.Create, L("Create"));
Reports.AddChild(SettleAccountPermissions.Reports.Update, L("Update"));
Reports.AddChild(SettleAccountPermissions.Reports.Delete, L("Delete"));
#endregion
-
#region 车轮相关
-
-
//var EstimatedInventoryDetails = myGroup.AddPermission(SettleAccountPermissions.EstimatedInventoryDetails.Default, L("EstimatedInventoryDetails"));
//EstimatedInventoryDetails.AddChild(SettleAccountPermissions.EstimatedInventoryDetails.Create, L("Create"));
//EstimatedInventoryDetails.AddChild(SettleAccountPermissions.EstimatedInventoryDetails.Update, L("Update"));
@@ -206,8 +189,6 @@ namespace Win.Sfs.SettleAccount
//Factorys.AddChild(SettleAccountPermissions.Factorys.Update, L("Update"));
//Factorys.AddChild(SettleAccountPermissions.Factorys.Delete, L("Delete"));
-
-
//var InventoryDetails = myGroup.AddPermission(SettleAccountPermissions.InventoryDetails.Default, L("InventoryDetails"));
//InventoryDetails.AddChild(SettleAccountPermissions.InventoryDetails.Create, L("Create"));
//InventoryDetails.AddChild(SettleAccountPermissions.InventoryDetails.Update, L("Update"));
@@ -218,8 +199,6 @@ namespace Win.Sfs.SettleAccount
//InvoiceSettledDiffs.AddChild(SettleAccountPermissions.InvoiceSettledDiffs.Update, L("Update"));
//InvoiceSettledDiffs.AddChild(SettleAccountPermissions.InvoiceSettledDiffs.Delete, L("Delete"));
-
-
//var EstimatedStockDiffReports = myGroup.AddPermission(SettleAccountPermissions.EstimatedStockDiffReports.Default, L("EstimatedStockDiffReports"));
//EstimatedStockDiffReports.AddChild(SettleAccountPermissions.EstimatedStockDiffReports.Create, L("Create"));
//EstimatedStockDiffReports.AddChild(SettleAccountPermissions.EstimatedStockDiffReports.Update, L("Update"));
@@ -245,7 +224,6 @@ namespace Win.Sfs.SettleAccount
//SendUnsettledDiffReports.AddChild(SettleAccountPermissions.SendUnsettledDiffReports.Update, L("Update"));
//SendUnsettledDiffReports.AddChild(SettleAccountPermissions.SendUnsettledDiffReports.Delete, L("Delete"));
-
//var SecondaryReports = myGroup.AddPermission(SettleAccountPermissions.SecondaryReports.Default, L("SecondaryReports"));
//SecondaryReports.AddChild(SettleAccountPermissions.SecondaryReports.Create, L("Create"));
//SecondaryReports.AddChild(SettleAccountPermissions.SecondaryReports.Update, L("Update"));
@@ -266,8 +244,6 @@ namespace Win.Sfs.SettleAccount
//SecondaryPriceRatios.AddChild(SettleAccountPermissions.SecondaryPriceRatios.Update, L("Update"));
//SecondaryPriceRatios.AddChild(SettleAccountPermissions.SecondaryPriceRatios.Delete, L("Delete"));
-
-
//var BTNotConsignReports = myGroup.AddPermission(SettleAccountPermissions.BTNotConsignReports.Default, L("BTNotConsignReports"));
//BTNotConsignReports.AddChild(SettleAccountPermissions.BTNotConsignReports.Create, L("Create"));
//BTNotConsignReports.AddChild(SettleAccountPermissions.BTNotConsignReports.Update, L("Update"));
@@ -283,7 +259,6 @@ namespace Win.Sfs.SettleAccount
//JFNotConsignReports.AddChild(SettleAccountPermissions.JFNotConsignReports.Update, L("Update"));
//JFNotConsignReports.AddChild(SettleAccountPermissions.JFNotConsignReports.Delete, L("Delete"));
-
//var BTCarConsigns = myGroup.AddPermission(SettleAccountPermissions.BTCarConsigns.Default, L("BTCarConsigns"));
//BTCarConsigns.AddChild(SettleAccountPermissions.BTCarConsigns.Create, L("Create"));
//BTCarConsigns.AddChild(SettleAccountPermissions.BTCarConsigns.Update, L("Update"));
@@ -357,6 +332,5 @@ namespace Win.Sfs.SettleAccount
return LocalizableString.Create(name);
}
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Permissions/SettleAccountPermissions.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Permissions/SettleAccountPermissions.cs
index caad5186..8a4e4025 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Permissions/SettleAccountPermissions.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Permissions/SettleAccountPermissions.cs
@@ -1,12 +1,11 @@
-using Volo.Abp.Reflection;
+using Volo.Abp.Reflection;
namespace Win.Sfs.SettleAccount
{
public class SettleAccountPermissions
{
-
- public const string GroupName = "SettleAccount";
-
+
+ public const string GroupName = "SettleAccount";
public const string CreateStr = "Create";
public const string UpdateStr = "Update";
@@ -148,7 +147,6 @@ namespace Win.Sfs.SettleAccount
public const string Delete = Default + "." + DeleteStr;
}
-
///
/// 结算件
///
@@ -189,10 +187,8 @@ namespace Win.Sfs.SettleAccount
public const string Create = Default + "." + "Create";
public const string Update = Default + "." + "Update";
public const string Delete = Default + "." + "Delete";
-
- }
-
+ }
//public static class ItemInvoicePrices
@@ -204,8 +200,6 @@ namespace Win.Sfs.SettleAccount
//}
-
-
public static class PriceLists
{
@@ -213,14 +207,8 @@ namespace Win.Sfs.SettleAccount
public const string Create = Default + "." + "Create";
public const string Update = Default + "." + "Update";
public const string Delete = Default + "." + "Delete";
-
- }
-
-
-
-
-
+ }
public static class CodeSettings
{
@@ -256,7 +244,6 @@ namespace Win.Sfs.SettleAccount
public const string Delete = Default + "." + DeleteStr;
}
-
public static class Factorys
{
public const string Default = GroupName + "." + nameof(Factorys);
@@ -265,7 +252,6 @@ namespace Win.Sfs.SettleAccount
public const string Delete = Default + "." + DeleteStr;
}
-
//public static class FISs
//{
// public const string Default = GroupName + "." + nameof(FISs);
@@ -274,7 +260,6 @@ namespace Win.Sfs.SettleAccount
// public const string Delete = Default + "." + DeleteStr;
//}
-
public static class InventoryDetails
{
public const string Default = GroupName + "." + nameof(InventoryDetails);
@@ -283,8 +268,6 @@ namespace Win.Sfs.SettleAccount
public const string Delete = Default + "." + DeleteStr;
}
-
-
//public static class MaterialRelationships
//{
// public const string Default = GroupName + "." + nameof(MaterialRelationships);
@@ -293,8 +276,6 @@ namespace Win.Sfs.SettleAccount
// public const string Delete = Default + "." + DeleteStr;
//}
-
-
public static class Materials
{
public const string Default = GroupName + "." + nameof(Materials);
@@ -303,8 +284,6 @@ namespace Win.Sfs.SettleAccount
public const string Delete = Default + "." + DeleteStr;
}
-
-
//public static class Prebatchs
//{
// public const string Default = GroupName + "." + nameof(Prebatchs);
@@ -313,10 +292,6 @@ namespace Win.Sfs.SettleAccount
// public const string Delete = Default + "." + DeleteStr;
//}
-
-
-
-
public static class SettleAccounts
{
public const string Default = GroupName + "." + nameof(SettleAccounts);
@@ -325,8 +300,6 @@ namespace Win.Sfs.SettleAccount
public const string Delete = Default + "." + DeleteStr;
}
-
-
public static class CustomerStorageLocations
{
public const string Default = GroupName + "." + nameof(CustomerStorageLocations);
@@ -343,9 +316,6 @@ namespace Win.Sfs.SettleAccount
public const string Delete = Default + "." + DeleteStr;
}
-
-
-
public static class Reports
{
public const string Default = GroupName + "." + nameof(Reports);
@@ -354,22 +324,14 @@ namespace Win.Sfs.SettleAccount
public const string Delete = Default + "." + DeleteStr;
}
-
-
-
public static string[] GetAll()
{
return ReflectionHelper.GetPublicConstantsRecursively(typeof(SettleAccountPermissions));
}
#endregion
-
-
-
-
#region 车轮项目
-
public static class InvoiceSettledDiffVersions
{
@@ -389,7 +351,6 @@ namespace Win.Sfs.SettleAccount
}
-
public static class EstimatedInventoryDetails
{
public const string Default = GroupName + "." + nameof(EstimatedInventoryDetails);
@@ -421,8 +382,6 @@ namespace Win.Sfs.SettleAccount
public const string Delete = Default + "." + DeleteStr;
}
-
-
public static class SecondaryPriceRatios
{
public const string Default = GroupName + "." + nameof(SecondaryPriceRatios);
@@ -431,8 +390,6 @@ namespace Win.Sfs.SettleAccount
public const string Delete = Default + "." + DeleteStr;
}
-
-
public static class EstimatedStockDiffReports
{
public const string Default = GroupName + "." + nameof(EstimatedStockDiffReports);
@@ -441,7 +398,6 @@ namespace Win.Sfs.SettleAccount
public const string Delete = Default + "." + DeleteStr;
}
-
public static class StockUnsettledDiffReports
{
public const string Default = GroupName + "." + nameof(StockUnsettledDiffReports);
@@ -450,7 +406,6 @@ namespace Win.Sfs.SettleAccount
public const string Delete = Default + "." + DeleteStr;
}
-
public static class StockSettledDiffReports
{
public const string Default = GroupName + "." + nameof(StockSettledDiffReports);
@@ -459,7 +414,6 @@ namespace Win.Sfs.SettleAccount
public const string Delete = Default + "." + DeleteStr;
}
-
public static class StockFisDiffReports
{
public const string Default = GroupName + "." + nameof(StockFisDiffReports);
@@ -476,8 +430,6 @@ namespace Win.Sfs.SettleAccount
public const string Delete = Default + "." + DeleteStr;
}
-
-
public static class SendUnsettledDiffReports
{
public const string Default = GroupName + "." + nameof(SendUnsettledDiffReports);
@@ -486,8 +438,6 @@ namespace Win.Sfs.SettleAccount
public const string Delete = Default + "." + DeleteStr;
}
-
-
//public static class HQConsigns
//{
// public const string Default = GroupName + "." + nameof(HQConsigns);
@@ -496,7 +446,6 @@ namespace Win.Sfs.SettleAccount
// public const string Delete = Default + "." + DeleteStr;
//}
-
//public static class HQSpecConsigns
//{
// public const string Default = GroupName + "." + nameof(HQSpecConsigns);
@@ -590,7 +539,6 @@ namespace Win.Sfs.SettleAccount
// public const string Delete = Default + "." + DeleteStr;
//}
-
//public static class HQNotConsignReports
//{
// public const string Default = GroupName + "." + nameof(HQNotConsignReports);
@@ -608,4 +556,4 @@ namespace Win.Sfs.SettleAccount
#endregion
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportCreateDto.cs
index a6aa2d5c..c102de79 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportCreateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportCreateDto.cs
@@ -1,9 +1,6 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.BTNotConsignReports
@@ -21,7 +18,6 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
public Guid BranchId { get; set; }
-
///
/// 单据流水号
///
@@ -29,13 +25,12 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
[Required(ErrorMessage = "{0}是必填项")]
public string DocumentNumber { get; set; }
-
///
/// 单据类型
///
[Display(Name = "单据类型")]
[Required(ErrorMessage = "{0}是必填项")]
- public EnumDocumentType DocumentType { get; set; }
+ public EnumDocumentType DocumentType { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportCreateOrUpdateDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportCreateOrUpdateDtoBase.cs
index 70f1a9d7..174863b9 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportCreateOrUpdateDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportCreateOrUpdateDtoBase.cs
@@ -1,18 +1,16 @@
-using System;
+using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Volo.Abp.ObjectExtending;
+using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Constant;
using Win.Sfs.Shared.Enums;
-using Win.Sfs.Shared.DomainBase;
namespace Win.Sfs.SettleAccount.BTNotConsignReports
{
///
/// 新增和更新DTO
///
- public class BTNotConsignReportCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
+ public class BTNotConsignReportCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
{
///
/// 统计时间起
@@ -21,7 +19,6 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
[Display(Name = "统计时间起")]
public DateTime BeginTime { get; set; }
-
///
/// 统计时间止
///
@@ -41,7 +38,6 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
[Display(Name = "客户名称")]
public string CustomName { get; set; }
-
///
/// 状态
///
@@ -55,18 +51,16 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
[Display(Name = "历史单据信息")]
public List UpstreamDocumentDataBases { get; set; }
-
///
/// 备注
///
[Display(Name = "备注")]
public string Remark { get; set; }
-
///
/// 明细表
///
[Display(Name = "明细表")]
public virtual List BTNotConsignReportDetails { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportDetailDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportDetailDto.cs
index 8d4c2faa..9df86825 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportDetailDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportDetailDto.cs
@@ -1,11 +1,10 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.BTNotConsignReports
{
@@ -22,7 +21,6 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
public Guid BranchId { get; set; }
-
///
/// 单据ID
///
@@ -37,7 +35,6 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
[Required(ErrorMessage = "{0}是必填项")]
public string DocumentNumber { get; set; }
-
///
/// 年度
///
@@ -50,14 +47,12 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
[Display(Name = "期间")]
public string Period { set; get; }
-
///
/// 版本
///
[Display(Name = "版本")]
public string Version { set; get; }
-
///
/// 客户代码
///
@@ -65,7 +60,6 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
[Display(Name = "客户代码")]
public string CustomCode { get; set; }
-
[Display(Name = "订货看板编号")]
public string OrderKBCode { get; set; }
@@ -88,6 +82,5 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
[Display(Name = "状态")]
public int State { get; set; }
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportDetailExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportDetailExportDto.cs
index 6b6e613c..dcb26ce6 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportDetailExportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportDetailExportDto.cs
@@ -1,12 +1,9 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.BTNotConsignReports
{
@@ -15,7 +12,6 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
///
public class BTNotConsignReportDetailExportDto : EntityDto
{
-
///
/// 单据流水号
@@ -24,7 +20,6 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
[Required(ErrorMessage = "{0}是必填项")]
public string DocumentNumber { get; set; }
-
/////
///// 年度
/////
@@ -37,14 +32,12 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
//[Display(Name = "期间")]
//public string Period { set; get; }
-
///
/// 版本
///
[Display(Name = "版本")]
public string Version { set; get; }
-
///
/// 客户代码
///
@@ -52,8 +45,6 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
[Display(Name = "客户代码")]
public string CustomCode { get; set; }
-
-
[Display(Name = "订货看板编号")]
public string OrderKBCode { get; set; }
@@ -76,6 +67,5 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
[Display(Name = "状态")]
public int state { get; set; }
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportDetailRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportDetailRequestDto.cs
index daa6cd45..b134aedf 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportDetailRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportDetailRequestDto.cs
@@ -1,7 +1,5 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.BTNotConsignReports
@@ -19,4 +17,4 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
public Guid ParentId { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportDto.cs
index 2bc9edea..d4dc5808 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportDto.cs
@@ -1,12 +1,9 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Constant;
namespace Win.Sfs.SettleAccount.BTNotConsignReports
{
@@ -15,12 +12,11 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
///
public class BTNotConsignReportDto : SettleAccountReportTimeDtoBase
{
-
///
/// 明细表
///
[Display(Name = "明细表")]
- public virtual List BTNotConsignReportDetails { get; set; }
+ public virtual List BTNotConsignReportDetails { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportRequestDto.cs
index df0f26fe..dba52036 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportRequestDto.cs
@@ -1,5 +1,4 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
@@ -20,4 +19,4 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
public Guid BranchId { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportStatisticRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportStatisticRequestDto.cs
index 5aa067a6..a4680e8c 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportStatisticRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportStatisticRequestDto.cs
@@ -1,8 +1,5 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
using Win.Sfs.Shared.DtoBase.SettleAccount;
namespace Win.Sfs.SettleAccount.StockUnsettledDiffReports
@@ -26,4 +23,4 @@ namespace Win.Sfs.SettleAccount.StockUnsettledDiffReports
[Display(Name = "统计时间止")]
public DateTime EndTime { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportUpdateDto.cs
index 0d73074d..126376fa 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportUpdateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/BTNotConsignReportUpdateDto.cs
@@ -1,4 +1,4 @@
-namespace Win.Sfs.SettleAccount.BTNotConsignReports
+namespace Win.Sfs.SettleAccount.BTNotConsignReports
{
///
/// 更新DTO
@@ -7,4 +7,4 @@
{
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/IBTNotConsignReportAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/IBTNotConsignReportAppService.cs
index a32cddfd..b450e3ea 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/IBTNotConsignReportAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTNotConsignReports/IBTNotConsignReportAppService.cs
@@ -1,11 +1,8 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
-using Win.Sfs.SettleAccount.StockUnsettledDiffReports;
using Win.Sfs.Shared.ApplicationBase;
-
namespace Win.Sfs.SettleAccount.BTNotConsignReports
{
public interface IBTNotConsignReportAppService :
@@ -20,8 +17,7 @@ namespace Win.Sfs.SettleAccount.BTNotConsignReports
Task GetReportAsync();
-
Task ExportReportAsync(Guid id);
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportCreateDto.cs
index 78fe3e23..253c9647 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportCreateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportCreateDto.cs
@@ -1,9 +1,6 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
@@ -21,7 +18,6 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
public Guid BranchId { get; set; }
-
///
/// 单据流水号
///
@@ -29,13 +25,12 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
[Required(ErrorMessage = "{0}是必填项")]
public string DocumentNumber { get; set; }
-
///
/// 单据类型
///
[Display(Name = "单据类型")]
[Required(ErrorMessage = "{0}是必填项")]
- public EnumDocumentType DocumentType { get; set; }
+ public EnumDocumentType DocumentType { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportCreateOrUpdateDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportCreateOrUpdateDtoBase.cs
index 32507f5a..c76d1088 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportCreateOrUpdateDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportCreateOrUpdateDtoBase.cs
@@ -1,22 +1,18 @@
-using System;
+using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Volo.Abp.ObjectExtending;
+using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Constant;
using Win.Sfs.Shared.Enums;
-using Win.Sfs.Shared.DomainBase;
namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
{
///
/// 新增和更新DTO
///
- public class BTSeqKBDiffReportCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
+ public class BTSeqKBDiffReportCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
{
-
-
///
/// 年度
///
@@ -29,14 +25,12 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
[Display(Name = "期间")]
public string Period { set; get; }
-
///
/// 版本
///
[Display(Name = "版本")]
public string Version { set; get; }
-
/////
///// 地点
/////
@@ -52,8 +46,7 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
/// 客户名称
///
[Display(Name = "客户名称")]
- public string CustomName { get; set; }
-
+ public string CustomName { get; set; }
///
/// 状态
@@ -68,7 +61,6 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
[Display(Name = "历史单据信息")]
public List UpstreamDocumentDataBases { get; set; }
-
///
/// 备注
///
@@ -81,4 +73,4 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
[Display(Name = "明细表")]
public virtual List BTSeqKBDiffReportDetails { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportDetailDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportDetailDto.cs
index f92f6ac7..24993ffe 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportDetailDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportDetailDto.cs
@@ -1,11 +1,10 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
{
@@ -22,7 +21,6 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
public Guid BranchId { get; set; }
-
///
/// 单据ID
///
@@ -37,7 +35,6 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
[Required(ErrorMessage = "{0}是必填项")]
public string DocumentNumber { get; set; }
-
///
/// 年度
///
@@ -50,14 +47,12 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
[Display(Name = "期间")]
public string Period { set; get; }
-
///
/// 版本
///
[Display(Name = "版本")]
public string Version { set; get; }
-
///
/// 客户代码
///
@@ -65,8 +60,6 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
[Display(Name = "客户代码")]
public string CustomCode { get; set; }
-
-
///
/// 日期
///
@@ -80,7 +73,6 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
[Display(Name = "看板物料号")]
public string MaterialCode { get; set; }
-
///
/// 车序数量
///
@@ -88,8 +80,6 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
[Display(Name = " 车序数量")]
public decimal SeqQty { get; set; }
-
-
///
/// 看板数量
///
@@ -103,6 +93,5 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
[Display(Name = "数量差异")]
public decimal DiffQty { get; set; }
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportDetailExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportDetailExportDto.cs
index 254c67d1..3768b8e1 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportDetailExportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportDetailExportDto.cs
@@ -1,13 +1,10 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using Magicodes.ExporterAndImporter.Core;
using System;
using System.ComponentModel.DataAnnotations;
+using Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
{
@@ -16,7 +13,6 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
///
public class BTSeqKBDiffReportDetailExportDto : EntityDto
{
-
///
/// 单据流水号
@@ -25,7 +21,6 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
[Required(ErrorMessage = "{0}是必填项")]
public string DocumentNumber { get; set; }
-
/////
///// 年度
/////
@@ -38,14 +33,12 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
//[Display(Name = "期间")]
//public string Period { set; get; }
-
///
/// 版本
///
[Display(Name = "版本")]
public string Version { set; get; }
-
///
/// 客户代码
///
@@ -53,7 +46,6 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
[Display(Name = "客户代码")]
public string CustomCode { get; set; }
-
///
/// 日期
///
@@ -74,7 +66,6 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
//[Display(Name = "看板物料描述")]
//public string MaterialDesc { get; set; }
-
///
/// 车序数量
///
@@ -82,8 +73,6 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
[Display(Name = " 车序数量")]
public decimal SeqQty { get; set; }
-
-
///
/// 看板数量
///
@@ -97,6 +86,5 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
[Display(Name = "数量差异")]
public string DiffQty { get; set; }
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportDetailRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportDetailRequestDto.cs
index 0d27ce68..af9354c5 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportDetailRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportDetailRequestDto.cs
@@ -1,7 +1,5 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
@@ -19,4 +17,4 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
public Guid ParentId { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportDto.cs
index af5ad488..ca890dd5 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportDto.cs
@@ -1,12 +1,9 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Constant;
namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
{
@@ -15,12 +12,11 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
///
public class BTSeqKBDiffReportDto : SettleAccountReportDtoBase
{
-
///
/// 明细表
///
[Display(Name = "明细表")]
- public virtual List BTSeqKBDiffReportDetails { get; set; }
+ public virtual List BTSeqKBDiffReportDetails { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportRequestDto.cs
index 59353061..ef3eeb23 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportRequestDto.cs
@@ -1,5 +1,4 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
@@ -20,4 +19,4 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
public Guid BranchId { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportStatisticRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportStatisticRequestDto.cs
index cbec431c..b6663b53 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportStatisticRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportStatisticRequestDto.cs
@@ -1,8 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
using Win.Sfs.Shared.DtoBase.SettleAccount;
namespace Win.Sfs.SettleAccount.StockUnsettledDiffReports
@@ -11,7 +6,7 @@ namespace Win.Sfs.SettleAccount.StockUnsettledDiffReports
/// 查询条件 DTO
///
public class BTSeqKBDiffReportStatisticRequestDto : StatisticRequestDtoBase
- {
+ {
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportUpdateDto.cs
index 242493c9..1ac66810 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportUpdateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/BTSeqKBDiffReportUpdateDto.cs
@@ -1,4 +1,4 @@
-namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
+namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
{
///
/// 更新DTO
@@ -7,4 +7,4 @@
{
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/IBTSeqKBDiffReportAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/IBTSeqKBDiffReportAppService.cs
index c11a1736..4ca6e527 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/IBTSeqKBDiffReportAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTSeqKBDiffReports/IBTSeqKBDiffReportAppService.cs
@@ -1,11 +1,9 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using Win.Sfs.SettleAccount.StockUnsettledDiffReports;
using Win.Sfs.Shared.ApplicationBase;
-
namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
{
public interface IBTSeqKBDiffReportAppService :
@@ -20,8 +18,7 @@ namespace Win.Sfs.SettleAccount.BTSeqKBDiffReports
Task GetReportAsync(BTSeqKBDiffReportStatisticRequestDto input);
-
Task ExportReportAsync(Guid id);
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportDetailDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportDetailDto.cs
index 0c3b9f5b..e776cbbe 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportDetailDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportDetailDto.cs
@@ -1,12 +1,11 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using Magicodes.ExporterAndImporter.Core;
using System;
using System.ComponentModel.DataAnnotations;
+using Magicodes.ExporterAndImporter.Core;
using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
{
@@ -21,8 +20,7 @@ namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
[Display(Name = "分支Id")]
[Required(ErrorMessage = "{0}是必填项")]
- public Guid BranchId { get; set; }
-
+ public Guid BranchId { get; set; }
///
/// 单据ID
@@ -38,7 +36,6 @@ namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
[Required(ErrorMessage = "{0}是必填项")]
public string DocumentNumber { get; set; }
-
///
/// 年度
///
@@ -54,13 +51,11 @@ namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
[Display(Name = "期间")]
public string Period { set; get; }
-
///
/// 版本
///
[Display(Name = "版本")]
- public string Version { set; get; }
-
+ public string Version { set; get; }
///
/// 物品Code
@@ -75,40 +70,32 @@ namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
[Display(Name = "物品描述")]
public string ItemDesc { get; set; }
-
-
///
/// 客户代码
///
[IEIgnoreAttribute]
[Display(Name = "客户代码")]
- public string CustomCode { get; set; }
-
-
+ public string CustomCode { get; set; }
///
/// 暂估类
///
[Display(Name = "暂估类")]
- public string EstimationType { get; set; }
-
-
+ public string EstimationType { get; set; }
///
/// Fis未结数量
///
[Display(Name = "Fis未结数量")]
- public decimal FisUnSettledQty { set; get; }
+ public decimal FisUnSettledQty { set; get; }
///
/// 现有库存数量
///
[Display(Name = "现有库存数量")]
- public decimal StockQty { set; get; }
-
-
+ public decimal StockQty { set; get; }
///
/// 差异数量
@@ -116,4 +103,4 @@ namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
[Display(Name = "差异数量")]
public decimal DiffQty { set; get; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportDetailExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportDetailExportDto.cs
index b1698377..3a2c1cb8 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportDetailExportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportDetailExportDto.cs
@@ -1,13 +1,9 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using Magicodes.ExporterAndImporter.Core;
-using System;
using System.ComponentModel.DataAnnotations;
+using Magicodes.ExporterAndImporter.Core;
using Volo.Abp.Application.Dtos;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
{
@@ -16,7 +12,6 @@ namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
///
public class BTStockUnsettledDiffReportDetailExportDto : EntityDto
{
-
///
/// 单据流水号
@@ -25,7 +20,6 @@ namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
[Required(ErrorMessage = "{0}是必填项")]
public string DocumentNumber { get; set; }
-
///
/// 年度
///
@@ -40,15 +34,12 @@ namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
//[IEIgnoreAttribute]
public string Period { set; get; }
-
///
/// 版本
///
[Display(Name = "版本")]
public string Version { set; get; }
-
-
///
/// 客户代码
///
@@ -68,8 +59,7 @@ namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
/// 物品描述
///
[Display(Name = "物品描述")]
- public string ItemDesc { get; set; }
-
+ public string ItemDesc { get; set; }
/////
///// 暂估类
@@ -82,15 +72,13 @@ namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
/// Fis未结数量
///
[Display(Name = "Fis未结数量")]
- public decimal FisUnSettledQty { set; get; }
+ public decimal FisUnSettledQty { set; get; }
///
/// 现有库存数量
///
[Display(Name = "现有库存数量")]
- public decimal StockQty { set; get; }
-
-
+ public decimal StockQty { set; get; }
///
/// 差异数量
@@ -98,4 +86,4 @@ namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
[Display(Name = "差异数量")]
public decimal DiffQty { set; get; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportDetailRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportDetailRequestDto.cs
index d3d22877..83aa0081 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportDetailRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportDetailRequestDto.cs
@@ -1,7 +1,5 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
@@ -11,7 +9,6 @@ namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
///
public class BTStockUnsettledDiffReportDetailRequestDto : BranchRequestDtoBase
{
-
///
/// 主表Id
@@ -21,8 +18,5 @@ namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
public Guid ParentId { get; set; }
-
-
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportDto.cs
index fd54d7eb..94ee382c 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportDto.cs
@@ -1,12 +1,9 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Constant;
namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
{
@@ -15,12 +12,11 @@ namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
///
public class BTStockUnsettledDiffReportDto : SettleAccountReportDtoBase
{
-
///
/// 明细表
///
[Display(Name = "明细表")]
- public virtual List BTStockUnsettledDiffReportDetails { get; set; }
+ public virtual List BTStockUnsettledDiffReportDetails { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportRequestDto.cs
index 97b290b7..63df68e7 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportRequestDto.cs
@@ -1,5 +1,4 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
@@ -20,4 +19,4 @@ namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
public Guid BranchId { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportStatisticRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportStatisticRequestDto.cs
index 4f9b1d08..7046540d 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportStatisticRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/BTStockUnsettledDiffReportStatisticRequestDto.cs
@@ -1,8 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
using Win.Sfs.Shared.DtoBase.SettleAccount;
namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
@@ -13,6 +8,5 @@ namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
public class BTStockUnsettledDiffReportStatisticRequestDto : StatisticRequestDtoBase
{
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/IBTStockUnsettledDiffReportAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/IBTStockUnsettledDiffReportAppService.cs
index b7a058a7..045b5523 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/IBTStockUnsettledDiffReportAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/BTStockUnsettledDiffReports/IBTStockUnsettledDiffReportAppService.cs
@@ -1,10 +1,8 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
-
-using Win.Sfs.Shared.ApplicationBase;
+using Win.Sfs.Shared.ApplicationBase;
namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
{
@@ -20,8 +18,7 @@ namespace Win.Sfs.SettleAccount.BTStockUnsettledDiffReports
Task GetReportAsync(BTStockUnsettledDiffReportStatisticRequestDto input);
-
Task ExportReportAsync(Guid id);
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportCreateDto.cs
index ad084e4a..92e29ea0 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportCreateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportCreateDto.cs
@@ -1,9 +1,6 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
@@ -21,7 +18,6 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
public Guid BranchId { get; set; }
-
///
/// 单据流水号
///
@@ -29,9 +25,6 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
[Required(ErrorMessage = "{0}是必填项")]
public string DocumentNumber { get; set; }
-
-
-
///
/// 单据类型
///
@@ -39,10 +32,5 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
[Required(ErrorMessage = "{0}是必填项")]
public EnumDocumentType DocumentType { get; set; }
-
-
-
-
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportCreateOrUpdateDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportCreateOrUpdateDtoBase.cs
index d0cf6d6b..db19ac94 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportCreateOrUpdateDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportCreateOrUpdateDtoBase.cs
@@ -1,21 +1,18 @@
-using System;
+using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Volo.Abp.ObjectExtending;
+using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Constant;
using Win.Sfs.Shared.Enums;
-using Win.Sfs.Shared.DomainBase;
namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
{
///
/// 新增和更新DTO
///
- public class EstimatedStockDiffReportCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
+ public class EstimatedStockDiffReportCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
{
-
///
/// 年度
///
@@ -28,16 +25,12 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
[Display(Name = "期间")]
public string Period { set; get; }
-
///
/// 版本
///
[Display(Name = "版本")]
public string Version { set; get; }
-
-
-
///
/// 客户编码
///
@@ -48,8 +41,7 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
/// 客户名称
///
[Display(Name = "客户名称")]
- public string CustomName { get; set; }
-
+ public string CustomName { get; set; }
///
/// 状态
@@ -64,7 +56,6 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
[Display(Name = "历史单据信息")]
public List UpstreamDocumentDataBases { get; set; }
-
///
/// 备注
///
@@ -77,4 +68,4 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
[Display(Name = "明细表")]
public virtual List EstimatedStockDiffReportDetails { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportDetailDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportDetailDto.cs
index 8cffa279..982de95e 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportDetailDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportDetailDto.cs
@@ -1,11 +1,10 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
{
@@ -20,8 +19,7 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
[Display(Name = "分支Id")]
[Required(ErrorMessage = "{0}是必填项")]
- public Guid BranchId { get; set; }
-
+ public Guid BranchId { get; set; }
///
/// 单据ID
@@ -49,17 +47,12 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
[Display(Name = "期间")]
public string Period { set; get; }
-
///
/// 版本
///
[Display(Name = "版本")]
public string Version { set; get; }
-
-
-
-
///
/// 物品Code
///
@@ -80,14 +73,12 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
[Display(Name = "暂估类")]
public string EstimationType { get; set; }
-
///
/// 暂估类描述
///
[Display(Name = "暂估类描述")]
- public string EstimationTypeDesc { get; set; }
-
+ public string EstimationTypeDesc { get; set; }
///
/// 暂估数量
@@ -101,25 +92,22 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
[Display(Name = "现有库存数量")]
public decimal StockQty { set; get; }
-
///
/// 自制件拆分数量
///
[Display(Name = "自制件拆分数量")]
public decimal FgQty { set; get; }
-
///
/// 发出未结拆分数量
///
[Display(Name = "发出未结拆分数量")]
public decimal UnSettledQty { set; get; }
-
///
/// 差异数量
///
[Display(Name = "差异数量")]
public decimal DiffQty { set; get; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportDetailExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportDetailExportDto.cs
index d81316e4..275a284a 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportDetailExportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportDetailExportDto.cs
@@ -1,13 +1,8 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
-using Magicodes.ExporterAndImporter.Core;
-using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
{
@@ -16,7 +11,7 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
///
public class EstimatedStockDiffReportDetailExportDto : EntityDto
{
-
+
///
/// 单据流水号
///
@@ -37,7 +32,6 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
[Display(Name = "期间")]
public string Period { set; get; }
-
///
/// 版本
///
@@ -45,10 +39,6 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
[Display(Name = "版本")]
public string Version { set; get; }
-
-
-
-
///
/// 物品Code
///
@@ -74,7 +64,7 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
///
[Display(Name = "暂估类描述")]
- public string EstimationTypeDesc { get; set; }
+ public string EstimationTypeDesc { get; set; }
///
/// 暂估数量
@@ -88,25 +78,22 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
[Display(Name = "现有库存数量")]
public decimal StockQty { set; get; }
-
///
/// 自制件拆分数量
///
[Display(Name = "自制件拆分数量")]
public decimal FgQty { set; get; }
-
///
/// 发出未结拆分数量
///
[Display(Name = "发出未结拆分数量")]
public decimal UnSettledQty { set; get; }
-
///
/// 差异数量
///
[Display(Name = "差异数量")]
public decimal DiffQty { set; get; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportDetailRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportDetailRequestDto.cs
index 01f5ddd8..3df56a0a 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportDetailRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportDetailRequestDto.cs
@@ -1,7 +1,5 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
@@ -19,4 +17,4 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
public Guid ParentId { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportDto.cs
index c3b1c4cb..5f0d7cb1 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportDto.cs
@@ -1,12 +1,9 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Constant;
namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
{
@@ -15,12 +12,11 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
///
public class EstimatedStockDiffReportDto : SettleAccountReportDtoBase
{
-
///
/// 明细表
///
[Display(Name = "明细表")]
- public virtual List EstimatedStockDiffReportDetails { get; set; }
+ public virtual List EstimatedStockDiffReportDetails { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportRequestDto.cs
index 4a2d5c9f..1ced91bc 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportRequestDto.cs
@@ -1,7 +1,4 @@
-using System;
-using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
@@ -24,14 +21,12 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
[Display(Name = "期间")]
public string Period { set; get; }
-
///
/// 版本
///
[Display(Name = "版本")]
public string Version { set; get; }
-
///
/// 客户编码
///
@@ -46,4 +41,4 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
public string CustomName { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportStatisticRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportStatisticRequestDto.cs
index 3585915e..fb4e2792 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportStatisticRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportStatisticRequestDto.cs
@@ -1,8 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
using Win.Sfs.Shared.DtoBase.SettleAccount;
namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
@@ -13,6 +8,5 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
public class EstimatedStockDiffReportStatisticRequestDto : StatisticRequestDtoBase
{
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportUpdateDto.cs
index 8d41cc85..3552b587 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportUpdateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/EstimatedStockDiffReportUpdateDto.cs
@@ -1,4 +1,4 @@
-namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
+namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
{
///
/// 更新DTO
@@ -6,4 +6,4 @@
public class EstimatedStockDiffReportUpdateDto : EstimatedStockDiffReportCreateOrUpdateDtoBase
{
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/IEstimatedStockDiffReportAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/IEstimatedStockDiffReportAppService.cs
index ccf351b9..cb901e00 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/IEstimatedStockDiffReportAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/EstimatedStockDiffReports/IEstimatedStockDiffReportAppService.cs
@@ -1,9 +1,7 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
-
+
using Win.Sfs.Shared.ApplicationBase;
namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
@@ -18,10 +16,8 @@ namespace Win.Sfs.SettleAccount.EstimatedStockDiffReports
, IHasDetailEntityAppService
{
-
Task GetReportAsync(EstimatedStockDiffReportStatisticRequestDto input);
-
Task ExportReportAsync(Guid id);
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportCreateDto.cs
index a5b77d0e..2f79d06e 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportCreateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportCreateDto.cs
@@ -1,9 +1,6 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.HQNotConsignReports
@@ -21,7 +18,6 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
public Guid BranchId { get; set; }
-
///
/// 单据流水号
///
@@ -29,13 +25,12 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
[Required(ErrorMessage = "{0}是必填项")]
public string DocumentNumber { get; set; }
-
///
/// 单据类型
///
[Display(Name = "单据类型")]
[Required(ErrorMessage = "{0}是必填项")]
- public EnumDocumentType DocumentType { get; set; }
+ public EnumDocumentType DocumentType { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportCreateOrUpdateDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportCreateOrUpdateDtoBase.cs
index 8e002ea3..5b62604d 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportCreateOrUpdateDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportCreateOrUpdateDtoBase.cs
@@ -1,18 +1,16 @@
-using System;
+using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Volo.Abp.ObjectExtending;
+using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Constant;
using Win.Sfs.Shared.Enums;
-using Win.Sfs.Shared.DomainBase;
namespace Win.Sfs.SettleAccount.HQNotConsignReports
{
///
/// 新增和更新DTO
///
- public class HQNotConsignReportCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
+ public class HQNotConsignReportCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
{
///
/// 统计时间起
@@ -21,7 +19,6 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
[Display(Name = "统计时间起")]
public DateTime BeginTime { get; set; }
-
///
/// 统计时间止
///
@@ -41,7 +38,6 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
[Display(Name = "客户名称")]
public string CustomName { get; set; }
-
///
/// 状态
///
@@ -55,18 +51,16 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
[Display(Name = "历史单据信息")]
public List UpstreamDocumentDataBases { get; set; }
-
///
/// 备注
///
[Display(Name = "备注")]
public string Remark { get; set; }
-
///
/// 明细表
///
[Display(Name = "明细表")]
public virtual List HQNotConsignReportDetails { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportDetailDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportDetailDto.cs
index a11021b1..af7a5e4d 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportDetailDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportDetailDto.cs
@@ -1,11 +1,10 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.HQNotConsignReports
{
@@ -22,7 +21,6 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
public Guid BranchId { get; set; }
-
///
/// 单据ID
///
@@ -37,7 +35,6 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
[Required(ErrorMessage = "{0}是必填项")]
public string DocumentNumber { get; set; }
-
///
/// 年度
///
@@ -50,14 +47,12 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
[Display(Name = "期间")]
public string Period { set; get; }
-
///
/// 版本
///
[Display(Name = "版本")]
public string Version { set; get; }
-
///
/// 客户代码
///
@@ -65,7 +60,6 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
[Display(Name = "客户代码")]
public string CustomCode { get; set; }
-
[Display(Name = "订货看板编号")]
public string OrderKBCode { get; set; }
@@ -88,6 +82,5 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
[Display(Name = "状态")]
public int State { get; set; }
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportDetailExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportDetailExportDto.cs
index f2060539..c22ecdfe 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportDetailExportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportDetailExportDto.cs
@@ -1,12 +1,9 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.HQNotConsignReports
{
@@ -15,7 +12,6 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
///
public class HQNotConsignReportDetailExportDto : EntityDto
{
-
///
/// 单据流水号
@@ -24,7 +20,6 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
[Required(ErrorMessage = "{0}是必填项")]
public string DocumentNumber { get; set; }
-
/////
///// 年度
/////
@@ -37,14 +32,12 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
//[Display(Name = "期间")]
//public string Period { set; get; }
-
///
/// 版本
///
[Display(Name = "版本")]
public string Version { set; get; }
-
///
/// 客户代码
///
@@ -52,8 +45,6 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
[Display(Name = "客户代码")]
public string CustomCode { get; set; }
-
-
[Display(Name = "订货看板编号")]
public string OrderKBCode { get; set; }
@@ -76,6 +67,5 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
[Display(Name = "状态")]
public int state { get; set; }
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportDetailRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportDetailRequestDto.cs
index 74e9c9c6..fe41609f 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportDetailRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportDetailRequestDto.cs
@@ -1,7 +1,5 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.HQNotConsignReports
@@ -19,4 +17,4 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
public Guid ParentId { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportDto.cs
index 299299d0..be5b99f7 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportDto.cs
@@ -1,12 +1,9 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Constant;
namespace Win.Sfs.SettleAccount.HQNotConsignReports
{
@@ -15,12 +12,11 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
///
public class HQNotConsignReportDto : SettleAccountReportTimeDtoBase
{
-
///
/// 明细表
///
[Display(Name = "明细表")]
- public virtual List HQNotConsignReportDetails { get; set; }
+ public virtual List HQNotConsignReportDetails { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportRequestDto.cs
index 56af7f1b..16d2f39a 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportRequestDto.cs
@@ -1,5 +1,4 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
@@ -20,4 +19,4 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
public Guid BranchId { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportStatisticRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportStatisticRequestDto.cs
index 7a4742c0..72671d1d 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportStatisticRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportStatisticRequestDto.cs
@@ -1,8 +1,5 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
using Win.Sfs.Shared.DtoBase.SettleAccount;
namespace Win.Sfs.SettleAccount.StockUnsettledDiffReports
@@ -26,4 +23,4 @@ namespace Win.Sfs.SettleAccount.StockUnsettledDiffReports
[Display(Name = "统计时间止")]
public DateTime EndTime { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportUpdateDto.cs
index 13533dac..7b4bce10 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportUpdateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/HQNotConsignReportUpdateDto.cs
@@ -1,4 +1,4 @@
-namespace Win.Sfs.SettleAccount.HQNotConsignReports
+namespace Win.Sfs.SettleAccount.HQNotConsignReports
{
///
/// 更新DTO
@@ -7,4 +7,4 @@
{
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/IHQNotConsignReportAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/IHQNotConsignReportAppService.cs
index 8700172e..bf89067b 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/IHQNotConsignReportAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQNotConsignReports/IHQNotConsignReportAppService.cs
@@ -1,11 +1,8 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
-using Win.Sfs.SettleAccount.StockUnsettledDiffReports;
using Win.Sfs.Shared.ApplicationBase;
-
namespace Win.Sfs.SettleAccount.HQNotConsignReports
{
public interface IHQNotConsignReportAppService :
@@ -20,8 +17,7 @@ namespace Win.Sfs.SettleAccount.HQNotConsignReports
Task GetReportAsync();
-
Task ExportReportAsync(Guid id);
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportCreateDto.cs
index 30aefa91..9faaad0b 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportCreateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportCreateDto.cs
@@ -1,9 +1,6 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
@@ -21,7 +18,6 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
public Guid BranchId { get; set; }
-
///
/// 单据流水号
///
@@ -29,13 +25,12 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
[Required(ErrorMessage = "{0}是必填项")]
public string DocumentNumber { get; set; }
-
///
/// 单据类型
///
[Display(Name = "单据类型")]
[Required(ErrorMessage = "{0}是必填项")]
- public EnumDocumentType DocumentType { get; set; }
+ public EnumDocumentType DocumentType { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportCreateOrUpdateDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportCreateOrUpdateDtoBase.cs
index 9f1e6d91..335e2897 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportCreateOrUpdateDtoBase.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportCreateOrUpdateDtoBase.cs
@@ -1,18 +1,16 @@
-using System;
+using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Volo.Abp.ObjectExtending;
+using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Constant;
using Win.Sfs.Shared.Enums;
-using Win.Sfs.Shared.DomainBase;
namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
{
///
/// 新增和更新DTO
///
- public class HQSPNotConsignReportCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
+ public class HQSPNotConsignReportCreateOrUpdateDtoBase : CreateOrUpdateEntityDtoBase
{
///
/// 统计时间起
@@ -21,7 +19,6 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
[Display(Name = "统计时间起")]
public DateTime BeginTime { get; set; }
-
///
/// 统计时间止
///
@@ -41,7 +38,6 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
[Display(Name = "客户名称")]
public string CustomName { get; set; }
-
///
/// 状态
///
@@ -55,18 +51,16 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
[Display(Name = "历史单据信息")]
public List UpstreamDocumentDataBases { get; set; }
-
///
/// 备注
///
[Display(Name = "备注")]
public string Remark { get; set; }
-
///
/// 明细表
///
[Display(Name = "明细表")]
public virtual List HQSPNotConsignReportDetails { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportDetailDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportDetailDto.cs
index 3e477a31..b78ed781 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportDetailDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportDetailDto.cs
@@ -1,11 +1,10 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
{
@@ -22,7 +21,6 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
public Guid BranchId { get; set; }
-
///
/// 单据ID
///
@@ -37,7 +35,6 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
[Required(ErrorMessage = "{0}是必填项")]
public string DocumentNumber { get; set; }
-
///
/// 年度
///
@@ -50,14 +47,12 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
[Display(Name = "期间")]
public string Period { set; get; }
-
///
/// 版本
///
[Display(Name = "版本")]
public string Version { set; get; }
-
///
/// 客户代码
///
@@ -65,7 +60,6 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
[Display(Name = "客户代码")]
public string CustomCode { get; set; }
-
[Display(Name = "订货看板编号")]
public string OrderKBCode { get; set; }
@@ -88,6 +82,5 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
[Display(Name = "状态")]
public int State { get; set; }
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportDetailExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportDetailExportDto.cs
index eaa84763..84d98ef5 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportDetailExportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportDetailExportDto.cs
@@ -1,12 +1,9 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
{
@@ -15,7 +12,6 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
///
public class HQSPNotConsignReportDetailExportDto : EntityDto
{
-
///
/// 单据流水号
@@ -24,7 +20,6 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
[Required(ErrorMessage = "{0}是必填项")]
public string DocumentNumber { get; set; }
-
/////
///// 年度
/////
@@ -37,14 +32,12 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
//[Display(Name = "期间")]
//public string Period { set; get; }
-
///
/// 版本
///
[Display(Name = "版本")]
public string Version { set; get; }
-
///
/// 客户代码
///
@@ -52,8 +45,6 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
[Display(Name = "客户代码")]
public string CustomCode { get; set; }
-
-
[Display(Name = "订货看板编号")]
public string OrderKBCode { get; set; }
@@ -76,6 +67,5 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
[Display(Name = "状态")]
public int state { get; set; }
-
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportDetailRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportDetailRequestDto.cs
index c223dcca..8f9c1b6a 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportDetailRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportDetailRequestDto.cs
@@ -1,7 +1,5 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
@@ -19,4 +17,4 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
public Guid ParentId { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportDto.cs
index 3fe55fd1..8b82916c 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportDto.cs
@@ -1,12 +1,9 @@
-// 闻荫智慧工厂管理套件
+// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Constant;
namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
{
@@ -15,12 +12,11 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
///
public class HQSPNotConsignReportDto : SettleAccountReportTimeDtoBase
{
-
///
/// 明细表
///
[Display(Name = "明细表")]
- public virtual List HQSPNotConsignReportDetails { get; set; }
+ public virtual List HQSPNotConsignReportDetails { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportRequestDto.cs
index 4950568d..29e46bd3 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportRequestDto.cs
@@ -1,5 +1,4 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
using Win.Sfs.Shared;
using Win.Sfs.Shared.DtoBase;
@@ -20,4 +19,4 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
public Guid BranchId { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportStatisticRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportStatisticRequestDto.cs
index 5b76c6dc..43e9854c 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportStatisticRequestDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportStatisticRequestDto.cs
@@ -1,8 +1,5 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
using Win.Sfs.Shared.DtoBase.SettleAccount;
namespace Win.Sfs.SettleAccount.StockUnsettledDiffReports
@@ -26,4 +23,4 @@ namespace Win.Sfs.SettleAccount.StockUnsettledDiffReports
[Display(Name = "统计时间止")]
public DateTime EndTime { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportUpdateDto.cs
index 25881623..72bca73b 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportUpdateDto.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/HQSPNotConsignReportUpdateDto.cs
@@ -1,4 +1,4 @@
-namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
+namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
{
///
/// 更新DTO
@@ -7,4 +7,4 @@
{
}
-}
\ No newline at end of file
+}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/IHQSPNotConsignReportAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/IHQSPNotConsignReportAppService.cs
index 5300ffc3..2e9b67bd 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/IHQSPNotConsignReportAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Reports/HQSPNotConsignReports/IHQSPNotConsignReportAppService.cs
@@ -1,11 +1,8 @@
-using System;
-using System.Collections.Generic;
+using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
-using Win.Sfs.SettleAccount.StockUnsettledDiffReports;
using Win.Sfs.Shared.ApplicationBase;
-
namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
{
public interface IHQSPNotConsignReportAppService :
@@ -20,8 +17,7 @@ namespace Win.Sfs.SettleAccount.HQSPNotConsignReports
Task