|
@@ -59,7 +59,7 @@ public class ViewController extends Controller {
|
|
|
for (Object object : jsonArray) {
|
|
|
JSONObject jsonObject = JSON.parseObject(object.toString());
|
|
|
String REPORT_ID = jsonObject.getString("REPORT_ID");
|
|
|
- // Record record = Db.use("crb").findFirst("select * from DC_PACS_REPORT where ID=?", jsonObject.getString("ID"));
|
|
|
+ Record record = Db.use("crb").findFirst("select * from DC_PACS_REPORT where ID=?", jsonObject.getString("ID"));
|
|
|
// if (record == null) {
|
|
|
// Record DC_PACS_REPORT = new Record()
|
|
|
// .set("ID", jsonObject.getString("ID"))
|
|
@@ -92,7 +92,7 @@ public class ViewController extends Controller {
|
|
|
// .set("STATE", "0");
|
|
|
// Db.use("crb").save("DC_PACS_REPORT", DC_PACS_REPORT);
|
|
|
// }
|
|
|
- Record record3 = Db.use("crb").findFirst("select * from DC_PACS_XML where REPORT_ID=?", REPORT_ID);
|
|
|
+// Record record3 = Db.use("crb").findFirst("select * from DC_PACS_XML where REPORT_ID=?", REPORT_ID);
|
|
|
// if (record3 == null) {
|
|
|
// Record DC_PACS_XML = new Record()
|
|
|
// .set("REPORT_ID", REPORT_ID)
|