update Di 16. Jun 15:31:01 CEST 2020
This commit is contained in:
parent
884219a247
commit
e96bc735ac
@ -137,8 +137,10 @@ module.exports = function (db, app_cfg) {
|
|||||||
console.log(waip_id);
|
console.log(waip_id);
|
||||||
console.log(socket_id);
|
console.log(socket_id);
|
||||||
// Abfrage ob zu Socket und Waip-ID bereits History-Daten hinterlegt sind
|
// Abfrage ob zu Socket und Waip-ID bereits History-Daten hinterlegt sind
|
||||||
db.get('select * from waip_history where waip_id like ? and socket_id like ?', [waip_id, socket_id], function (err, row) {
|
db.get('select * from waip_history where waip_id = ? and socket_id like \'?\'', [waip_id, socket_id], function (err, row) {
|
||||||
// FIXME Testen
|
// FIXME Testen
|
||||||
|
console.log(err);
|
||||||
|
|
||||||
console.log(row);
|
console.log(row);
|
||||||
if (err == null && row) {
|
if (err == null && row) {
|
||||||
// wenn History-Daten hinterlegt sind, dann pruefen sich etwas verändert hat
|
// wenn History-Daten hinterlegt sind, dann pruefen sich etwas verändert hat
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user