修改了第二个数字序列号
This commit is contained in:
@@ -93,6 +93,13 @@ namespace BarCode.Web.Domain.Entitys
|
||||
/// </summary>
|
||||
[Column("NumberCode")]
|
||||
public string NumberCode { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 数字序列码
|
||||
/// </summary>
|
||||
[Column("TwoNumberCode")]
|
||||
public string? TwoNumberCode { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 数字序列码(不包含日期)
|
||||
/// </summary>
|
||||
@@ -213,6 +220,16 @@ namespace BarCode.Web.Domain.Entitys
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 产生第二个数字序列号
|
||||
/// </summary>
|
||||
/// <param name="sn"></param>
|
||||
public void GenerateTwoNumberCode(string sn)
|
||||
{
|
||||
this.TwoNumberCode = sn;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -239,7 +256,7 @@ namespace BarCode.Web.Domain.Entitys
|
||||
/// 是否不参与计数,0和空代表参与计数,1代表不参与计数
|
||||
/// </summary>
|
||||
[Column("isNotCount")]
|
||||
public string? isNotCount { get; set; } = string.Empty;
|
||||
public string? IsNotCount { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 装箱
|
||||
@@ -255,7 +272,7 @@ namespace BarCode.Web.Domain.Entitys
|
||||
this.CompleteCartonTime = DateTime.Now;
|
||||
this.IsUse = true;
|
||||
this.IsUseNumber = this.NumberCode.Equals(str) ? true : false;
|
||||
this.isNotCount= isNotCount;
|
||||
this.IsNotCount= isNotCount;
|
||||
}
|
||||
/// <summary>
|
||||
/// 解绑箱
|
||||
|
||||
Reference in New Issue
Block a user