Add accession number and fix a problem with create recon record automaticly.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user