fix(uns): guard import save + comma-limitation hint + reset-on-open (review)
This commit is contained in:
@@ -575,7 +575,8 @@ public sealed class UnsTreeService(IDbContextFactory<OtOpcUaConfigDbContext> dbF
|
||||
inserted++;
|
||||
}
|
||||
|
||||
await db.SaveChangesAsync(ct);
|
||||
if (inserted > 0)
|
||||
await db.SaveChangesAsync(ct);
|
||||
return new EquipmentImportResult(inserted, skipped, errors);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user