Changes for page Predoctoral staff: historical record
Last modified by Ricardo Julio Rodríguez Fernández on 2025/07/13 08:08
From version 6.1
edited by Ricardo Julio Rodríguez Fernández
on 2024/01/14 19:40
on 2024/01/14 19:40
Change comment:
There is no comment for this version
To version 14.1
edited by Ricardo Julio Rodríguez Fernández
on 2024/01/17 07:19
on 2024/01/17 07:19
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,4 +1,4 @@ 1 -{{ velocity}}$doc.documentReference{{/velocity}}1 +{{sortable_tables filterable="yes" sticky="yes"/}} 2 2 3 3 {{groovy}} 4 4 import groovy.sql.Sql ... ... @@ -5,10 +5,14 @@ 5 5 6 6 def sql = new Sql(services.component.getConnection()) 7 7 8 - println "|= Surname|= Name|= Category" 9 - sql.eachRow("SELECT Surname,Name,Category FROM IGFAE_Personnel ORDER BY Surname"){ 10 - println "|${it.Surname}|${it.Name}|${it.Category}" 8 + println "|=Pid|= Surname|= Name|= Category" 9 + sql.eachRow("SELECT PersonnelID,Surname,Name,Category FROM IGFAE_Personnel ORDER BY Surname"){ 10 + println "|${it.PersonnelID}|${it.Surname}|${it.Name}|${it.Category}" 11 11 } 12 + println "|=Number of members" 13 + sql.rows("SELECT COUNT(*) FROM IGFAE_Personnel"){ 14 + println "|${it}" 15 + } 12 12 sql.close() 13 13 14 14 {{/groovy}}