Merge remote-tracking branch 'origin/develop' into develop

# Conflicts:
#	Core/RequestLoggingMiddleware.cs
This commit is contained in:
Suphonchai Phoonsawat 2025-04-21 16:32:24 +07:00
commit 52acd16b43
2 changed files with 4 additions and 4 deletions

View file

@ -765,7 +765,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
{
// loop from sheet2 to end
for (int i = 1; i < c_package.Workbook.Worksheets.Count; i++)
for (int i = 0; i < c_package.Workbook.Worksheets.Count; i++)
{
var workSheet = c_package.Workbook.Worksheets[i];
var totalRows = workSheet.Dimension.Rows;
@ -1129,7 +1129,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
{
// loop from sheet2 to end
for (int i = 1; i < c_package.Workbook.Worksheets.Count; i++)
for (int i = 0; i < c_package.Workbook.Worksheets.Count; i++)
{
var workSheet = c_package.Workbook.Worksheets[i];
var totalRows = workSheet.Dimension.Rows;
@ -1378,7 +1378,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
using (var c_package = new ExcelPackage(new FileInfo(importFile)))
{
// loop from sheet2 to end
for (int i = 1; i < c_package.Workbook.Worksheets.Count; i++)
for (int i = 0; i < c_package.Workbook.Worksheets.Count; i++)
{
var workSheet = c_package.Workbook.Worksheets[i];
var totalRows = workSheet.Dimension.Rows;

View file

@ -171,7 +171,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Core
var json = JsonSerializer.Deserialize<JsonElement>(responseBody);
if (json.ValueKind == JsonValueKind.Array)
{
message = logType ?? "success";
message = "success";
}
else
{