Advertisement
fedorm

fedorm

Jul 6th, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 1.38 KB | None | 0 0
  1. --Добавление процессинга для Exist.ru
  2. INSERT INTO service_type(id, name)
  3. VALUES (NEXTVAL('hibernate_sequence'), 'exist');
  4.  
  5. INSERT INTO service_provider(id, deleted, name, registered_name, service_type, settings_on_shop)
  6. VALUES (NEXTVAL('hibernate_sequence'), FALSE, 'exist','Exist.ru',(SELECT id FROM service_type WHERE name='exist'),FALSE);
  7.  
  8. INSERT INTO service_provider_settings(id, name, VALUE, provider)
  9. VALUES (NEXTVAL('hibernate_sequence'), 'balance_service_wsdl', 'http://172.29.16.223:8090/ExistEmulator/ExistBalanceService', (SELECT id FROM service_provider WHERE name='exist' AND deleted=FALSE));
  10.  
  11. INSERT INTO service_provider_settings(id, name, VALUE, provider)
  12. VALUES (NEXTVAL('hibernate_sequence'), 'user_service_wsdl', 'http://172.29.16.223:8090/ExistEmulator/ExistUserService', (SELECT id FROM service_provider WHERE name='exist' AND deleted=FALSE));
  13.  
  14. INSERT INTO service_provider_settings(id, name, VALUE, provider)
  15. VALUES (NEXTVAL('hibernate_sequence'), 'document_service_wsdl', 'http://172.29.16.223:8090/ExistEmulator/ExistDocumentService', (SELECT id FROM service_provider WHERE name='exist' AND deleted=FALSE));
  16.  
  17. INSERT INTO service_provider_settings(id, name, VALUE, provider)
  18. VALUES(NEXTVAL('hibernate_sequence'), 'bankCodes', 'Сбербанк=24;Газпромбанк=25;Альфабанк=28', (SELECT id FROM service_provider WHERE name='exist' AND deleted=FALSE));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement