From 54bbae3b0cdf11bb776ba7360fba2f690d6cfd50 Mon Sep 17 00:00:00 2001 From: ulrich Date: Tue, 31 Jan 2017 08:27:16 +0000 Subject: [PATCH] Datenbankzugriff in der Herstellungsbeschreibung ergänzt --- web/WEB-INF/sql.properties | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/web/WEB-INF/sql.properties b/web/WEB-INF/sql.properties index a95d457..8de6b17 100644 --- a/web/WEB-INF/sql.properties +++ b/web/WEB-INF/sql.properties @@ -32,6 +32,12 @@ <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 where or_pers_id = ? -- Gitblit v1.9.3