From f9d0c4a3da9d183c90bc7351f233fa67ea3c66a7 Mon Sep 17 00:00:00 2001 From: ulrich@undisclosed Date: Mon, 11 May 2020 07:57:30 +0000 Subject: [PATCH] Auswahl in Nutzerliste --- web/WEB-INF/sql.properties | 32 +++++++++++++++++++------------- 1 files changed, 19 insertions(+), 13 deletions(-) diff --git a/web/WEB-INF/sql.properties b/web/WEB-INF/sql.properties index fab376f..7613271 100644 --- a/web/WEB-INF/sql.properties +++ b/web/WEB-INF/sql.properties @@ -23,20 +23,26 @@ 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="getUserData"> + select user_name,user_first,user_last,user_email from app.users where user_name = ? + </entry> + <entry key="getUser"> + select * from app.users 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