Created
July 10, 2015 14:19
-
-
Save tjlee/90456240676d5beef303 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Добавление ЕГАИС (включение для алкогольных товаров происходит на кассах) | |
INSERT INTO service_type(id, name) | |
VALUES (nextval('hibernate_sequence'), 'egais'); | |
INSERT INTO service_provider(id, deleted, name, registered_name, service_type, settings_on_shop) | |
VALUES (nextval('hibernate_sequence'), FALSE, 'egais','ЕГАИС',(SELECT id FROM service_type WHERE name='egais'),FALSE); | |
INSERT INTO service_provider_settings(id, name, value, provider) | |
VALUES (nextval('hibernate_sequence'), 'egais_url', 'http://172.16.7.10:8080/xml', (SELECT id FROM service_provider WHERE name='egais' AND deleted=FALSE)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment