From fddd4034ba468ada2242eb7df427b2fe166e8f74 Mon Sep 17 00:00:00 2001 From: ulrich Date: Tue, 31 Jan 2017 21:47:15 +0000 Subject: [PATCH] Kleine Ă„nderung an der Doku --- web/WEB-INF/sql.properties | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/web/WEB-INF/sql.properties b/web/WEB-INF/sql.properties index 09bbbdf..8de6b17 100644 --- a/web/WEB-INF/sql.properties +++ b/web/WEB-INF/sql.properties @@ -10,7 +10,7 @@ SYS.SYSTABLES as t where s.schemaid = t.schemaid and s.schemaname = 'APP' - and t.tablename = 'USER' + and t.tablename = 'USERS' </entry> <entry key="incrementKey"> update app.keytable @@ -23,20 +23,20 @@ app.keytable where key_name = ? </entry> - <entry key="getTrackpoints"> - select * from - app.orte - where or_zeit larger ? - and or_zeit smaller ? - and or_pers_id = ? + <entry key="getUserNameList"> + select user_name from app.users </entry> - <entry key="getFirstTrackpoint"> - select * from - app.orte - where or_zeit larger ? - and or_zeit smaller ? - and or_pers_id = ? - fetch first row only + <entry key="getUserList"> + select * from app.users + </entry> + <entry key="getRoleList"> + select distinct role_name from app.user_roles order by role_name + </entry> + <entry key="getUserRoles"> + select role_name from app.user_roles where user_name = ? order by role_name + </entry> + <entry key="deleteUserRoles"> + delete from app.user_roles where user_name = ? </entry> <entry key="getDateList"> select substr(or_zeit,1,8) as tag, count(*) as anz from app.orte as orte -- Gitblit v1.9.3