Last modified by Ricardo Julio Rodríguez Fernández on 2025/07/13 08:08

From version 10.1
edited by Ricardo Julio Rodríguez Fernández
on 2024/01/16 21:09
Change comment: There is no comment for this version
To version 4.1
edited by Ricardo Julio Rodríguez Fernández
on 2024/01/13 12:17
Change comment: Added annotation on "Infante"

Summary

Details

Page properties
Content
... ... @@ -1,16 +3,12 @@
1 -{{sortable_tables filterable="yes" sticky="yes"/}}
2 -
3 3  {{groovy}}
4 4  import groovy.sql.Sql
5 5  
6 6  def sql = new Sql(services.component.getConnection())
7 7  
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}"
6 + println "|= Surname|= Name|= Category"
7 + sql.eachRow("SELECT Surname,Name,Category FROM IGFAE_Personnel ORDER BY Surname"){
8 + println "|${it.Surname}|${it.Name}|${it.Category}"
11 11   }
12 12   sql.close()
13 13  
14 14  {{/groovy}}
15 -
16 -Page reference: {{velocity}}$doc.documentReference{{/velocity}}
XWiki.XWikiComments[0]
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.RicardoJulioRodriguezFernandez
Comment
... ... @@ -1,0 +1,1 @@
1 +Note
Date
... ... @@ -1,0 +1,1 @@
1 +2024-01-13 12:17:57.591
Selection
... ... @@ -1,0 +1,1 @@
1 +Infante
State
... ... @@ -1,0 +1,1 @@
1 +SAFE
Target
... ... @@ -1,0 +1,1 @@
1 +Team.WebHome