fix: Import Receive Insignia

This commit is contained in:
Suphonchai Phoonsawat 2024-07-10 20:43:40 +07:00
parent fec199cdd9
commit 03ac050ef9
2 changed files with 2 additions and 2 deletions

View file

@ -177,7 +177,7 @@ namespace BMA.EHR.Insignia.Service.Controllers
var rowCount = worksheet.Dimension.Rows;
for (int row = 2; row <= rowCount; row++)
{
if (worksheet.Cells[row, 1] == null) break;
if (worksheet.Cells[row, 1].ToString() == "") break;
list.Add(new ImportReceiveRequest
{
Number = worksheet.Cells[row, 1].Value != null ? worksheet.Cells[row, 1].Value.ToString() : null,