wanggang
1 year ago
6 changed files with 120 additions and 114 deletions
@ -1,16 +1,17 @@ |
|||||
namespace Win.Sfs.SettleAccount.Consts; |
namespace Win.Sfs.SettleAccount.Consts |
||||
|
|
||||
/// <summary>
|
|
||||
/// 应用常量
|
|
||||
/// </summary>
|
|
||||
public static class AppConst |
|
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// 单页Sheet默认行数
|
/// 应用常量
|
||||
/// </summary>
|
/// </summary>
|
||||
public const int DefaultRowNumberOnASheet = 500_000; |
public static class AppConst |
||||
/// <summary>
|
{ |
||||
/// Db最大获取数量
|
/// <summary>
|
||||
/// </summary>
|
/// 单页Sheet默认行数
|
||||
public const int DefaultPageSizeOnDb = 10_000; |
/// </summary>
|
||||
|
public const int DefaultRowNumberOnASheet = 500_000; |
||||
|
/// <summary>
|
||||
|
/// Db最大获取数量
|
||||
|
/// </summary>
|
||||
|
public const int DefaultPageSizeOnDb = 10_000; |
||||
|
} |
||||
} |
} |
||||
|
@ -1,25 +1,26 @@ |
|||||
using System.ComponentModel.DataAnnotations; |
using System.ComponentModel.DataAnnotations; |
||||
|
|
||||
namespace Win.Sfs.SettleAccount.Enums; |
namespace Win.Sfs.SettleAccount.Enums |
||||
|
|
||||
/// <summary>
|
|
||||
/// 匹配类型
|
|
||||
/// </summary>
|
|
||||
public enum EnumMappingType |
|
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// 未定义
|
/// 匹配类型
|
||||
/// </summary>
|
|
||||
[Display(Name = "未定义")] |
|
||||
None = 0, |
|
||||
/// <summary>
|
|
||||
/// 完全匹配
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "完全匹配")] |
|
||||
PerfectMatch = 1, |
|
||||
/// <summary>
|
|
||||
/// 部分匹配
|
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "部分匹配")] |
public enum EnumMappingType |
||||
PartialMatch = 2 |
{ |
||||
|
/// <summary>
|
||||
|
/// 未定义
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "未定义")] |
||||
|
None = 0, |
||||
|
/// <summary>
|
||||
|
/// 完全匹配
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "完全匹配")] |
||||
|
PerfectMatch = 1, |
||||
|
/// <summary>
|
||||
|
/// 部分匹配
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "部分匹配")] |
||||
|
PartialMatch = 2 |
||||
|
} |
||||
} |
} |
||||
|
@ -1,33 +1,34 @@ |
|||||
using System.ComponentModel.DataAnnotations; |
using System.ComponentModel.DataAnnotations; |
||||
|
|
||||
namespace Win.Sfs.SettleAccount.Enums; |
namespace Win.Sfs.SettleAccount.Enums |
||||
|
|
||||
/// <summary>
|
|
||||
/// Pub结算与发运比对类型
|
|
||||
/// </summary>
|
|
||||
public enum EnumPubSaSeCompareCategory |
|
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// 未定义
|
/// Pub结算与发运比对类型
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "未定义")] |
public enum EnumPubSaSeCompareCategory |
||||
None = 0, |
{ |
||||
|
/// <summary>
|
||||
|
/// 未定义
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "未定义")] |
||||
|
None = 0, |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// 有结算有发运
|
/// 有结算有发运
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "有结算有发运")] |
[Display(Name = "有结算有发运")] |
||||
HaveSaHaveSe = 1, |
HaveSaHaveSe = 1, |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// 有结算无发运
|
/// 有结算无发运
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "有结算无发运")] |
[Display(Name = "有结算无发运")] |
||||
HaveSaNotHaveSe = 2, |
HaveSaNotHaveSe = 2, |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// 无结算有发运
|
/// 无结算有发运
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "无结算有发运")] |
[Display(Name = "无结算有发运")] |
||||
NotHaveSaHaveSe = 3 |
NotHaveSaHaveSe = 3 |
||||
|
} |
||||
} |
} |
||||
|
@ -1,45 +1,46 @@ |
|||||
using System.ComponentModel.DataAnnotations; |
using System.ComponentModel.DataAnnotations; |
||||
|
|
||||
namespace Win.Sfs.SettleAccount.Enums; |
namespace Win.Sfs.SettleAccount.Enums |
||||
|
|
||||
/// <summary>
|
|
||||
/// 结算、发运、Edi比对类型
|
|
||||
/// </summary>
|
|
||||
public enum EnumSaSeEdiCompareCategory |
|
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// 未定义
|
/// 结算、发运、Edi比对类型
|
||||
/// </summary>
|
|
||||
[Display(Name = "未定义")] |
|
||||
None = 0, |
|
||||
/// <summary>
|
|
||||
/// 有结算有发运(有EDI数据)
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "有结算有发运(有EDI数据")] |
|
||||
HaveSaHaveSeHaveEdi = 1, |
|
||||
/// <summary>
|
|
||||
/// 有结算有发运(无EDI数据)
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "有结算有发运(无EDI数据)")] |
|
||||
HaveSaHaveSeNotHaveEdi = 2, |
|
||||
/// <summary>
|
|
||||
/// 有结算无发运(有EDI数据)
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "有结算无发运(有EDI数据)")] |
|
||||
HaveSaNotHaveSeHaveEdi = 3, |
|
||||
/// <summary>
|
|
||||
/// 有结算无发运(无EDI数据)
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "有结算无发运(无EDI数据)")] |
|
||||
HaveSaNotHaveSeNotHaveEdi = 4, |
|
||||
/// <summary>
|
|
||||
/// 无结算有发运(有EDI数据)
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "无结算有发运(有EDI数据)")] |
|
||||
NotHaveSaHaveSeHaveEdi = 5, |
|
||||
/// <summary>
|
|
||||
/// 无结算有发运(无EDI数据)
|
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "无结算有发运(无EDI数据)")] |
public enum EnumSaSeEdiCompareCategory |
||||
NotHaveSaHaveSeNotHaveEdi = 6 |
{ |
||||
|
/// <summary>
|
||||
|
/// 未定义
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "未定义")] |
||||
|
None = 0, |
||||
|
/// <summary>
|
||||
|
/// 有结算有发运(有EDI数据)
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "有结算有发运(有EDI数据")] |
||||
|
HaveSaHaveSeHaveEdi = 1, |
||||
|
/// <summary>
|
||||
|
/// 有结算有发运(无EDI数据)
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "有结算有发运(无EDI数据)")] |
||||
|
HaveSaHaveSeNotHaveEdi = 2, |
||||
|
/// <summary>
|
||||
|
/// 有结算无发运(有EDI数据)
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "有结算无发运(有EDI数据)")] |
||||
|
HaveSaNotHaveSeHaveEdi = 3, |
||||
|
/// <summary>
|
||||
|
/// 有结算无发运(无EDI数据)
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "有结算无发运(无EDI数据)")] |
||||
|
HaveSaNotHaveSeNotHaveEdi = 4, |
||||
|
/// <summary>
|
||||
|
/// 无结算有发运(有EDI数据)
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "无结算有发运(有EDI数据)")] |
||||
|
NotHaveSaHaveSeHaveEdi = 5, |
||||
|
/// <summary>
|
||||
|
/// 无结算有发运(无EDI数据)
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "无结算有发运(无EDI数据)")] |
||||
|
NotHaveSaHaveSeNotHaveEdi = 6 |
||||
|
} |
||||
} |
} |
||||
|
@ -1,20 +1,21 @@ |
|||||
using System.ComponentModel.DataAnnotations; |
using System.ComponentModel.DataAnnotations; |
||||
|
|
||||
namespace Win.Sfs.SettleAccount.Enums; |
namespace Win.Sfs.SettleAccount.Enums |
||||
|
|
||||
/// <summary>
|
|
||||
/// WMS发运
|
|
||||
/// </summary>
|
|
||||
public enum EnumWMSSend |
|
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// 未定义
|
/// WMS发运
|
||||
/// </summary>
|
|
||||
[Display(Name = "未定义")] |
|
||||
None = 0, |
|
||||
/// <summary>
|
|
||||
/// WMS多发
|
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "WMS多发")] |
public enum EnumWMSSend |
||||
WMSRepeat = 1, |
{ |
||||
|
/// <summary>
|
||||
|
/// 未定义
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "未定义")] |
||||
|
None = 0, |
||||
|
/// <summary>
|
||||
|
/// WMS多发
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "WMS多发")] |
||||
|
WMSRepeat = 1, |
||||
|
} |
||||
} |
} |
||||
|
@ -1,8 +1,9 @@ |
|||||
namespace Win.Sfs.SettleAccount.Options; |
namespace Win.Sfs.SettleAccount.Options |
||||
|
|
||||
/// <summary>
|
|
||||
/// 发运配置选项
|
|
||||
/// </summary>
|
|
||||
public class SeConfigOptions |
|
||||
{ |
{ |
||||
|
/// <summary>
|
||||
|
/// 发运配置选项
|
||||
|
/// </summary>
|
||||
|
public class SeConfigOptions |
||||
|
{ |
||||
|
} |
||||
} |
} |
||||
|
Loading…
Reference in new issue