mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Report WH
This commit is contained in:
@@ -885,6 +885,7 @@ void RecognizeSystem::xmlParserQueryToDB(PacketType packetType, QByteArray array
|
||||
{//Отчет
|
||||
FIMReport report;
|
||||
report.id = malfOrReportNode.toElement().attribute("report_id").toInt();
|
||||
report.mmel = malfOrReportNode.toElement().attribute("mmel") == "true" ? true : false;
|
||||
|
||||
for(int k = 0; k < malfOrReportNode.childNodes().count(); k++)
|
||||
{
|
||||
@@ -906,6 +907,17 @@ void RecognizeSystem::xmlParserQueryToDB(PacketType packetType, QByteArray array
|
||||
|
||||
report.itemList.append(reportItem);
|
||||
}
|
||||
else if(reportItemNode.nodeName() == "reportWHItem")
|
||||
{
|
||||
FIMReportWarehouseItem reportWhItem;
|
||||
reportWhItem.id = reportItemNode.toElement().attribute("wh_item_id").toInt();
|
||||
reportWhItem.status = reportItemNode.toElement().attribute("status").toInt();
|
||||
reportWhItem.goName = reportItemNode.toElement().attribute("goName");
|
||||
reportWhItem.objName = reportItemNode.toElement().attribute("objName");
|
||||
reportWhItem.code = reportItemNode.toElement().attribute("code");
|
||||
|
||||
report.warehouseItemList.append(reportWhItem);
|
||||
}
|
||||
}
|
||||
|
||||
task.report = report;
|
||||
|
||||
Reference in New Issue
Block a user