mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Подкорректировал репорт xml
This commit is contained in:
@@ -731,9 +731,15 @@ void RecognizeSystem::xmlParserQueryToDB(PacketType packetType, QByteArray array
|
||||
FIMReportItem reportItem;
|
||||
reportItem.id = reportItemNode.toElement().attribute("item_id").toInt();
|
||||
reportItem.text = reportItemNode.toElement().attribute("text");
|
||||
reportItem.procedure.title = reportItemNode.toElement().attribute("title");
|
||||
reportItem.procedure.dmCode = reportItemNode.toElement().attribute("dmCode");
|
||||
reportItem.procedure.result = reportItemNode.toElement().attribute("result");
|
||||
|
||||
if(reportItemNode.childNodes().count())
|
||||
{
|
||||
QDomNode procedureIDNode = reportItemNode.childNodes().at(0);
|
||||
reportItem.procedure.doc = procedureIDNode.toElement().attribute("doc");
|
||||
reportItem.procedure.title = procedureIDNode.toElement().attribute("title");
|
||||
reportItem.procedure.dmCode = procedureIDNode.toElement().attribute("dmCode");
|
||||
reportItem.procedure.result = procedureIDNode.toElement().attribute("result");
|
||||
}
|
||||
|
||||
report.itemList.append(reportItem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user