fix ระบบแจ้ง Error #2497
All checks were successful
Build & Deploy on Dev / build (push) Successful in 46s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 46s
This commit is contained in:
parent
cf98121993
commit
e33448508e
1 changed files with 1 additions and 0 deletions
|
|
@ -635,6 +635,7 @@ public class ImportBackgroundService : BackgroundService
|
|||
|
||||
if (!string.IsNullOrEmpty(r.ExamId) && recruitsDict.TryGetValue(r.ExamId, out var recruit))
|
||||
{
|
||||
r.Id = Guid.NewGuid(); // Generate unique ID for each record
|
||||
r.CitizenId = workSheet?.Cells[row, 3]?.GetValue<string>()?.Trim();
|
||||
r.FullA = 200;
|
||||
r.SumA = string.IsNullOrWhiteSpace(workSheet?.Cells[row, 5]?.GetValue<string>()) ? 0.00 : Math.Round(workSheet.Cells[row, 5].GetValue<double>(), 2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue