Skip to content

Commit

Permalink
Fix queryFirstMap and queryFirstList in hid class
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfinus committed Aug 30, 2019
1 parent 05e0108 commit 14a989a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/org/camunda/latera/bss/connectors/hid/HID.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
12 changes: 6 additions & 6 deletions src/org/camunda/latera/bss/connectors/hid/hydra/Address.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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 : 'корп.',
Expand Down

0 comments on commit 14a989a

Please sign in to comment.