|
@@ -163,12 +163,12 @@ public class ViewController extends Controller {
|
|
|
}
|
|
|
|
|
|
}
|
|
|
-
|
|
|
public void sdreview() {
|
|
|
try {
|
|
|
DataService dService = ServiceFactory.getService(DataService.class);
|
|
|
// "SELECT * FROM (select * from reportinfo where REVIEWDATE>to_date(?,'YYYY-MM-DD HH24:MI:SS')and rownum < 60)ORDER BY REVIEWDATE DESC",
|
|
|
- List<Record> records = Db.use("connected").find("select * from reportinfo where REVIEWDATE between to_date(?,'YYYY-MM-DD HH24:MI:SS') and to_date(?,'YYYY-MM-DD HH24:MI:SS')", this.getPara("from"),this.getPara("to"));
|
|
|
+// List<Record> records = Db.use("connected").find("select * from reportinfo where REVIEWDATE between to_date(?,'YYYY-MM-DD HH24:MI:SS') and to_date(?,'YYYY-MM-DD HH24:MI:SS')", this.getPara("from"),this.getPara("to"));
|
|
|
+ List<Record> records = Db.use("connected").find("select * from reportinfo where REVIEWDATE between ? and ?", this.getPara("from"),this.getPara("to"));
|
|
|
if (records == null) {
|
|
|
return;
|
|
|
}
|