(no commit message)
authormaroni <maroni@192.168.1.103>
Thu, 15 Mar 2012 04:26:12 +0000 (01:26 -0300)
committermaroni <maroni@192.168.1.103>
Thu, 15 Mar 2012 04:26:12 +0000 (01:26 -0300)
src/java/org/ufcspa/simdecs/comunicacao/MetodoIniciaCaso.java
web/login.xhtml

index 00e24e6..c9f01a1 100644 (file)
@@ -75,7 +75,7 @@ public class MetodoIniciaCaso extends HttpServlet {
         for(RespostaNodo resposta : respostas) {
             if (i++ == random) {
                 
-                List<IntervaloTabelaResposta> listaInt = em.createQuery("From IntervaloTabelaResposta Where tabelaResposta.id=:pIdTabela and :pProbabilidade between pesoInicial and pesoFinal")
+                List<IntervaloTabelaResposta> listaInt = em.createQuery("From IntervaloTabelaResposta Where tabelaResposta.id=:pIdTabela and :pProbabilidade between pesoMinimo and pesoMaximo")
                                                           .setParameter("pIdTabela", resposta.getTabelaResposta().getId())
                                                           .setParameter("pProbabilidade", nodoBean.getPercentualProbabilidade())
                                                           .getResultList();
index 4b3dd0c..b9c9667 100644 (file)
@@ -33,7 +33,7 @@
             </p:panel>
             <br/>
             <br/>
-            <h:outputText value="Versão 1.68" />
+            <h:outputText value="Versão 1.69" />
         </center>
     </h:body>
 </html>