|
@ -101,7 +101,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES |
|
|
var barcodeInfo = await q1.ToListAsync(); |
|
|
var barcodeInfo = await q1.ToListAsync(); |
|
|
|
|
|
|
|
|
int barcodeId = -1; |
|
|
int barcodeId = -1; |
|
|
if (barcodeInfo != null) |
|
|
if (barcodeInfo.Count > 0) |
|
|
{ |
|
|
{ |
|
|
barcodeId = barcodeInfo[0].BarcodeID; |
|
|
barcodeId = barcodeInfo[0].BarcodeID; |
|
|
} |
|
|
} |
|
|