You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
816 B
C#
38 lines
816 B
C#
using DS.Module.Core;
|
|
using DS.Module.Core.Enums;
|
|
using DS.WMS.ContainerManagement.Info.Entity;
|
|
using FluentValidation;
|
|
using Mapster;
|
|
using Masuit.Tools.Systems;
|
|
using SqlSugar;
|
|
|
|
namespace DS.WMS.ContainerManagement.Info.Dtos;
|
|
|
|
/// <summary>
|
|
/// 箱管_箱号校验
|
|
/// </summary>
|
|
public class CM_CheckCntrno
|
|
{
|
|
/// <summary>
|
|
/// 集装箱号
|
|
/// </summary>
|
|
public string Cntrno { get; set; }
|
|
|
|
}
|
|
|
|
public class CM_CheckCntrnoRes
|
|
{
|
|
public List<string> RightCntrnoList { get; set; } = new List<string>();
|
|
public List<string> WrongCntrnoList { get; set; } = new List<string>();
|
|
|
|
public void AddCntrno(string CNTRNO, bool isRight) {
|
|
if (isRight)
|
|
{
|
|
RightCntrnoList.Add(CNTRNO);
|
|
}
|
|
else {
|
|
WrongCntrnoList.Add(CNTRNO);
|
|
}
|
|
}
|
|
}
|