Author: mallon Date: 2012-08-20 16:34:31 +0200 (Mon, 20 Aug 2012) New Revision: 3620 Url: http://chorem.org/repositories/revision/lima/3620 Log: fixes #783 Correction sur la requete de selection des ecritures incorrectes et l affichage de la valeur de la clef d internationalisation du bouton de rafraichissement. Modified: trunk/lima-callao/src/main/java/org/chorem/lima/entity/FinancialTransactionDAOImpl.java Modified: trunk/lima-callao/src/main/java/org/chorem/lima/entity/FinancialTransactionDAOImpl.java =================================================================== --- trunk/lima-callao/src/main/java/org/chorem/lima/entity/FinancialTransactionDAOImpl.java 2012-08-20 14:23:18 UTC (rev 3619) +++ trunk/lima-callao/src/main/java/org/chorem/lima/entity/FinancialTransactionDAOImpl.java 2012-08-20 14:34:31 UTC (rev 3620) @@ -187,7 +187,7 @@ */ public List<FinancialTransaction> getAllIncorrectTransaction(Date beginDate, Date endDate, EntryBook entryBook) throws TopiaException { - String query = "SELECT T FROM " + FinancialTransaction.class.getName() + " T"+ + String query = "SELECT distinct T FROM " + FinancialTransaction.class.getName() + " T"+ " LEFT JOIN T.entry AS E" + " WHERE ((SELECT sum(amount) FROM " + Entry.class.getName() + " WHERE debit = true AND financialTransaction = T) != " +
participants (1)
-
mallon@users.chorem.org