From c79c120dae38042f0f5d5c31d9b7413b0a8a3e7e Mon Sep 17 00:00:00 2001
From: ulrich <not disclosed>
Date: Tue, 27 Dec 2016 12:21:53 +0000
Subject: [PATCH] Neue Rolle speichern und zeigen

---
 web/WEB-INF/sql.properties |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/web/WEB-INF/sql.properties b/web/WEB-INF/sql.properties
index c4fce71..ad9b286 100644
--- a/web/WEB-INF/sql.properties
+++ b/web/WEB-INF/sql.properties
@@ -29,13 +29,11 @@
   <entry key="getUserList">
     select * 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="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 = ?
   </entry>
   <entry key="getDateList">
     select substr(or_zeit,1,8) as tag, count(*) as anz from app.orte as orte 

--
Gitblit v1.9.3