mirror of
https://github.com/Bjanski/ExAd.git
synced 2024-08-30 16:52:14 +00:00
fc976938f4
Updated docs
29 lines
899 B
INI
29 lines
899 B
INI
;1. Find [loadVehicleIdPage] and replace the section with this;
|
|
|
|
[loadVehicleIdPage]
|
|
;SQL1_1 = SELECT id FROM vehicle LIMIT ?,?
|
|
SQL1_1 = SELECT id FROM vehicle WHERE deleted_at IS NULL AND territory_id IS NULL LIMIT ?,?
|
|
Number Of Inputs = 2
|
|
SQL1_INPUTS = 1,2
|
|
OUTPUT = 1
|
|
|
|
;2. Add all below in the end of the file.
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;; Virtual Garage related queries | ADDED BY [ExAd]Jan
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
[loadTerritoryVehicles]
|
|
SQL1_1 = SELECT id, class FROM vehicle WHERE territory_id = ?
|
|
Number Of Inputs = 1
|
|
SQL1_INPUTS = 1
|
|
OUTPUT = 1,2-STRING
|
|
|
|
[loadVehFromVG]
|
|
SQL1_1 = UPDATE vehicle SET territory_id = NULL WHERE id = ?
|
|
Number Of Inputs = 1
|
|
SQL1_INPUTS = 1
|
|
|
|
[loadVehToVG]
|
|
SQL1_1 = UPDATE vehicle SET territory_id = ? WHERE id = ?
|
|
Number Of Inputs = 2
|
|
SQL1_INPUTS = 1,2 |