Add accession number and fix a problem with create recon record automaticly.

This commit is contained in:
sunwen
2023-08-23 16:49:56 +08:00
parent a94269c487
commit 2aa6541085
15 changed files with 123 additions and 77 deletions

View File

@@ -175,7 +175,12 @@ QList<QVariant> SQLHelper::queryValues(const QString& aSql)
while(query.next())
{
result.append(query.value(0));
QList<QVariant> record;
for(int i=0 ; i<query.record().count(); ++i)
{
record.append(query.value(i));
}
result.append(QVariant::fromValue(record));
}
return result;