2018-07-05 Fred Gleason <fredg@paravelsystems.com>

* Added an 'ELR_LINES' table to the database.
	* Incremented the database version to 289.
	* Removed the 'RDSvc::serviceTableName()' method.
This commit is contained in:
Fred Gleason
2018-07-05 08:52:38 -04:00
parent 300aebdc04
commit db70aa4550
32 changed files with 631 additions and 392 deletions

View File

@@ -19,11 +19,12 @@
//
#include <stdio.h>
#include <rdcart.h>
#include <rddb.h>
#include <rddatedecode.h>
#include <rdescape_string.h>
#include <rdreport.h>
#include <rdcart.h>
bool RDReport::ExportBmiEmr(const QString &filename,const QDate &startdate,
const QDate &enddate,const QString &mixtable)
@@ -67,7 +68,9 @@ bool RDReport::ExportBmiEmr(const QString &filename,const QDate &startdate,
"LENGTH,"+ // 04
"ISRC,"+ // 05
"USAGE_CODE "+ // 06
"from `"+mixtable+"_SRT` order by EVENT_DATETIME";
"from ELR_LINES where "+
"SERVICE_NAME=\""+RDEscapeString(mixtable)+"\" "+
"order by EVENT_DATETIME";
q=new RDSqlQuery(sql);
//