数据统计

master
pan 5 years ago
parent 4fb3eaadd0
commit 25c13812f6
  1. BIN
      WebRoot/WEB-INF/lib/antlr-2.7.6.jar
  2. BIN
      WebRoot/WEB-INF/lib/aspectjrt.jar
  3. BIN
      WebRoot/WEB-INF/lib/aspectjweaver.jar
  4. BIN
      WebRoot/WEB-INF/lib/c3p0-0.9.1.2.jar
  5. BIN
      WebRoot/WEB-INF/lib/cglib-nodep-2.1_3.jar
  6. BIN
      WebRoot/WEB-INF/lib/common-annotations.jar
  7. BIN
      WebRoot/WEB-INF/lib/commons-collections-3.1.jar
  8. BIN
      WebRoot/WEB-INF/lib/commons-fileupload-1.2.1.jar
  9. BIN
      WebRoot/WEB-INF/lib/commons-io-1.4.jar
  10. BIN
      WebRoot/WEB-INF/lib/commons-logging-1.0.4.jar
  11. BIN
      WebRoot/WEB-INF/lib/commons-logging.jar
  12. BIN
      WebRoot/WEB-INF/lib/dom4j-1.6.1.jar
  13. BIN
      WebRoot/WEB-INF/lib/ehcache-1.2.3.jar
  14. BIN
      WebRoot/WEB-INF/lib/ejb3-persistence.jar
  15. BIN
      WebRoot/WEB-INF/lib/freemarker-2.3.15.jar
  16. BIN
      WebRoot/WEB-INF/lib/hibernate-annotations.jar
  17. BIN
      WebRoot/WEB-INF/lib/hibernate-cglib-repack-2.1_3.jar
  18. BIN
      WebRoot/WEB-INF/lib/hibernate-commons-annotations.jar
  19. BIN
      WebRoot/WEB-INF/lib/hibernate-entitymanager.jar
  20. BIN
      WebRoot/WEB-INF/lib/hibernate3.jar
  21. BIN
      WebRoot/WEB-INF/lib/javassist-3.4.GA.jar
  22. BIN
      WebRoot/WEB-INF/lib/jstl.jar
  23. BIN
      WebRoot/WEB-INF/lib/jta-1.1.jar
  24. BIN
      WebRoot/WEB-INF/lib/log4j-1.2.15.jar
  25. BIN
      WebRoot/WEB-INF/lib/mysql-connector-java-3.1.13-bin.jar
  26. BIN
      WebRoot/WEB-INF/lib/mysql-connector-java-5.0.4-bin.jar
  27. BIN
      WebRoot/WEB-INF/lib/mysql-connector-java-5.0.8-bin.jar
  28. BIN
      WebRoot/WEB-INF/lib/mysql-connector-java-5.1.7-bin.jar
  29. BIN
      WebRoot/WEB-INF/lib/ognl-2.7.3.jar
  30. BIN
      WebRoot/WEB-INF/lib/slf4j-api-1.5.2.jar
  31. BIN
      WebRoot/WEB-INF/lib/slf4j-log4j12.jar
  32. BIN
      WebRoot/WEB-INF/lib/spring.jar
  33. BIN
      WebRoot/WEB-INF/lib/sqljdbc.jar
  34. BIN
      WebRoot/WEB-INF/lib/standard.jar
  35. BIN
      WebRoot/WEB-INF/lib/struts2-core-2.1.8.jar
  36. BIN
      WebRoot/WEB-INF/lib/struts2-spring-plugin-2.1.8.jar
  37. BIN
      WebRoot/WEB-INF/lib/xwork-core-2.1.6.jar
  38. 4
      src/com/app/service/CountServiceImpl.java

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -55,9 +55,9 @@ public class CountServiceImpl implements CountService{
.append(" (select substring(created, 1, 10) as date from users group by substring(created, 1, 10))) b\n") .append(" (select substring(created, 1, 10) as date from users group by substring(created, 1, 10))) b\n")
.append("where date between\n") .append("where date between\n")
.append(" '") .append(" '")
.append(startTime, 0, 8) .append(startTime, 0, 10)
.append("' and '") .append("' and '")
.append(endTime, 0, 8) .append(endTime, 0, 10)
.append("'\n") .append("'\n")
.append("order by date"); .append("order by date");
Query query=session.createSQLQuery(sql.toString()); Query query=session.createSQLQuery(sql.toString());

Loading…
Cancel
Save