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] 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
+ {
+ }
}