From 14a989ad043b0537b95ef0499c414de96b79f4bd Mon Sep 17 00:00:00 2001 From: dolfinus Date: Fri, 30 Aug 2019 13:43:05 +0300 Subject: [PATCH] Fix queryFirstMap and queryFirstList in hid class --- src/org/camunda/latera/bss/connectors/hid/HID.groovy | 4 ++-- .../latera/bss/connectors/hid/hydra/Address.groovy | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/org/camunda/latera/bss/connectors/hid/HID.groovy b/src/org/camunda/latera/bss/connectors/hid/HID.groovy index 3ce5508b..796001f2 100644 --- a/src/org/camunda/latera/bss/connectors/hid/HID.groovy +++ b/src/org/camunda/latera/bss/connectors/hid/HID.groovy @@ -81,11 +81,11 @@ WHERE ROWNUM <= ${limit}""" } List queryFirstList(CharSequence query) { - return queryFirst(query, false, noLimit) + return queryFirst(query, false) } Map queryFirstMap(CharSequence query) { - return queryFirst(query, true, noLimit) + return queryFirst(query, true) } def execute(CharSequence execName, Map params) { diff --git a/src/org/camunda/latera/bss/connectors/hid/hydra/Address.groovy b/src/org/camunda/latera/bss/connectors/hid/hydra/Address.groovy index 3520596b..65efc25b 100644 --- a/src/org/camunda/latera/bss/connectors/hid/hydra/Address.groovy +++ b/src/org/camunda/latera/bss/connectors/hid/hydra/Address.groovy @@ -6,15 +6,15 @@ import static org.camunda.latera.bss.utils.DateTimeUtil.* import java.time.temporal.Temporal trait Address { - private static String MAIN_ADDRESSES_TABLE = 'SI_V_ADDRESSES' - private static String SUBJECT_ADDRESSES_TABLE = 'SI_V_SUBJ_ADDRESSES' - private static String OBJECT_ADDRESSES_TABLE = 'SI_V_OBJ_ADDRESSES' - private static String OBJECT_ADDRESSES_MV = 'SI_MV_OBJ_ADDRESSES' - private static String SUBJECT_ADDRESSES_MV = 'SI_MV_SUBJ_ADDRESSES' + private static String MAIN_ADDRESSES_TABLE = 'SI_V_ADDRESSES' + private static String SUBJECT_ADDRESSES_TABLE = 'SI_V_SUBJ_ADDRESSES' + private static String OBJECT_ADDRESSES_TABLE = 'SI_V_OBJ_ADDRESSES' + private static String OBJECT_ADDRESSES_MV = 'SI_MV_OBJ_ADDRESSES' + private static String SUBJECT_ADDRESSES_MV = 'SI_MV_SUBJ_ADDRESSES' private static String DEFAULT_ADDRESS_TYPE = 'ADDR_TYPE_FactPlace' private static String DEFAULT_ADDRESS_BIND_TYPE = 'BIND_ADDR_TYPE_Serv' private static String DEFAULT_ADDRESS_STATE = 'ADDR_STATE_On' - private static LinkedHashMap ADDRESS_ITEMS = [ + private static LinkedHashMap ADDRESS_ITEMS = [ building : 'зд.', home : 'д.', corpus : 'корп.',