修改了数字序列号的返回
This commit is contained in:
@@ -317,17 +317,25 @@ namespace WMS.Web.Repositories
|
||||
if (entity.boxInventory != null)
|
||||
response.IsBoxInventory = entity.boxInventory.Details.SelectMany(s => s.SerialNumbers).Where(w => serialNumber.Equals(w)).Count() >= 1 ? true : false;
|
||||
response.IsTwo = entity.serial.IsTwo;
|
||||
if (entity.serial.TwoSerialNumber != null)
|
||||
if (entity.serial.IsTwo > 1)
|
||||
{
|
||||
response.TwoSerialNumber = entity.serial.TwoSerialNumber.Replace(entity.serial.SerialNumber, "").Replace(",", "");
|
||||
response.IsNotCount = entity.serial.IsNotCount;
|
||||
if (entity.serial.TwoSerialNumber != null)
|
||||
{
|
||||
response.TwoSerialNumber = entity.serial.TwoSerialNumber.Replace(entity.serial.SerialNumber, "").Replace(",", "");
|
||||
response.IsNotCount = entity.serial.IsNotCount;
|
||||
}
|
||||
else
|
||||
{
|
||||
response.TwoSerialNumber = "";
|
||||
response.IsNotCount = "0";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
response.TwoSerialNumber = "";
|
||||
response.IsNotCount = "0";
|
||||
}
|
||||
response.IsNotCount = entity.serial.IsNotCount;
|
||||
response.IsNotCount = entity.serial.IsNotCount;
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user