diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-11 14:20:06 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-11 14:20:06 +1200 |
commit | 26e1ba286424d5ee623e8941cae7cf0b3625c870 (patch) | |
tree | 812748a9516801cd07bb20006d4c9afddce1a65b /debug.xml | |
parent | f7f676fa802ded698af55b48d6fea19ec9da4696 (diff) | |
parent | 5dc81b6197b9a1387adffdc2628c24ca483d2376 (diff) | |
download | trackermap-server-26e1ba286424d5ee623e8941cae7cf0b3625c870.tar.gz trackermap-server-26e1ba286424d5ee623e8941cae7cf0b3625c870.tar.bz2 trackermap-server-26e1ba286424d5ee623e8941cae7cf0b3625c870.zip |
Merge pull request #1243 from al3x1s/master
Remove double quotes from config
Diffstat (limited to 'debug.xml')
-rw-r--r-- | debug.xml | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -24,6 +24,8 @@ <entry key='filter.zero'>true</entry> <entry key='filter.duplicate'>true</entry> <entry key='filter.distance'>50</entry>--> + + <entry key='alert.enable'>true</entry> <entry key='logger.enable'>true</entry> <entry key='logger.level'>all</entry> @@ -162,7 +164,7 @@ </entry> <entry key='database.getPermissions'> - "SELECT userId, deviceId FROM user_device;" + SELECT userId, deviceId FROM user_device; </entry> <entry key='database.selectDeviceAll'> @@ -202,6 +204,13 @@ UPDATE device SET positionId = :id WHERE id = :deviceId; </entry> + <entry key='database.getAlertsByDevice'> + SELECT a.id, a.idTipo, av.idVehicle, a.idGeofence, a.emails, a.velMax, a.tiempoMinpar, a.nombre, a.odometro, av.odometro_inicial + FROM alerta a + INNER JOIN alerta_vehiculo av ON a.id = av.idAlerta + INNER JOIN vehicle v ON av.idVehicle = v.id + WHERE v.idDevice = :deviceId; + </entry> <!-- PROTOCOL CONFIG --> |