Line 1... |
Line 1... |
1 |
/*
|
1 |
/*
|
2 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
2 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
3 |
*
|
3 |
*
|
4 |
* Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved.
|
4 |
* Copyright 2011-2019 OpenConcerto, by ILM Informatique. All rights reserved.
|
5 |
*
|
5 |
*
|
6 |
* The contents of this file are subject to the terms of the GNU General Public License Version 3
|
6 |
* The contents of this file are subject to the terms of the GNU General Public License Version 3
|
7 |
* only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
|
7 |
* only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
|
8 |
* copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
|
8 |
* copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
|
9 |
* language governing permissions and limitations under the License.
|
9 |
* language governing permissions and limitations under the License.
|
Line 201... |
Line 201... |
201 |
sel.setWhere(w.and(w2));
|
201 |
sel.setWhere(w.and(w2));
|
202 |
|
202 |
|
203 |
String req = sel.asString() + " GROUP BY \"COMPTE_PCE\".\"ID\",\"COMPTE_PCE\".\"NUMERO\",\"COMPTE_PCE\".\"NOM\" ORDER BY \"COMPTE_PCE\".\"NUMERO\"";
|
203 |
String req = sel.asString() + " GROUP BY \"COMPTE_PCE\".\"ID\",\"COMPTE_PCE\".\"NUMERO\",\"COMPTE_PCE\".\"NOM\" ORDER BY \"COMPTE_PCE\".\"NUMERO\"";
|
204 |
System.out.println(req);
|
204 |
System.out.println(req);
|
205 |
|
205 |
|
206 |
Object ob = base.getDataSource().execute(req, new ArrayListHandler());
|
206 |
List myList = (List) base.getDataSource().execute(req, new ArrayListHandler());
|
207 |
|
- |
|
208 |
List myList = (List) ob;
|
- |
|
209 |
|
207 |
|
210 |
JLabel labelTotalClasse = new JLabel();
|
208 |
JLabel labelTotalClasse = new JLabel();
|
211 |
labelTotalClasse.setOpaque(false);
|
209 |
labelTotalClasse.setOpaque(false);
|
212 |
if (!myList.isEmpty()) {
|
210 |
if (!myList.isEmpty()) {
|
213 |
|
211 |
|