|
@@ -92,6 +92,8 @@ public class ViewController extends Controller {
|
|
|
// Db.use("crb").save("DC_PACS_REPORT", DC_PACS_REPORT);
|
|
|
// }
|
|
|
Record record2 = Db.use("crb").findFirst("select * from DC_PACS_XML where REPORT_ID=?", "1");
|
|
|
+
|
|
|
+ this.renderText(jsonObject.getString("REPORT_ID"));
|
|
|
// if (record2 == null) {
|
|
|
// Record DC_PACS_XML = new Record()
|
|
|
// .set("REPORT_ID", jsonObject.getString("REPORT_ID"))
|
|
@@ -109,7 +111,7 @@ public class ViewController extends Controller {
|
|
|
}
|
|
|
|
|
|
|
|
|
- this.renderJson(jsonArray);
|
|
|
+// this.renderJson(jsonArray);
|
|
|
} catch (Exception e) {
|
|
|
// TODO: handle exception
|
|
|
this.renderText(e.toString());
|