|
@@ -2,6 +2,7 @@ package com.zskk.control;
|
|
|
|
|
|
import java.text.ParseException;
|
|
|
import java.text.SimpleDateFormat;
|
|
|
+import java.util.ArrayList;
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
import java.util.UUID;
|
|
@@ -24,7 +25,7 @@ public class ViewController extends Controller {
|
|
|
try {
|
|
|
//List<Record> d = Db.use("connected").find(this.getPara("sqlStr"));
|
|
|
List<Exams> exams = Exams.dao.use("zskk").find("SELECT * FROM pacsonline.exams where exam_status=3 and institution_id=73090001 order by createdAt desc limit 50");
|
|
|
- List<Record> examds = null;
|
|
|
+ List<Record> examds = new ArrayList<>();
|
|
|
for (Exams exams2 : exams) {
|
|
|
Studies studies = Studies.dao.use("zskk").findById(exams2.getStudyId());
|
|
|
Record record = Db.use("connected").findFirst("select * from caller where STUDYUID=?",studies.getStudyuid());
|