刘韬 6 years ago
parent
commit
f9a88c3608
1 changed files with 2 additions and 2 deletions
  1. 2 2
      DataFusion/src/com/zskk/control/ViewController.java

+ 2 - 2
DataFusion/src/com/zskk/control/ViewController.java

@@ -26,7 +26,7 @@ public class ViewController extends Controller {
 			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");
 			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());
+				Record record = Db.use("connected").findFirst("select * from caller where STUDYUID=?",studies.getStudyuid());
 				Report report = new Report().use("zskk");
 				report.setId(creatId());
 //				report.setReportDatetime(aaa(record.getStr("REPORTDATE")));
@@ -48,7 +48,7 @@ public class ViewController extends Controller {
 			this.renderJson(exams);
 		} catch (Exception e) {
 			// TODO: handle exception
-			this.renderText(e.getCause().toString());
+			this.renderText(e.toString());
 		}
 	}