刘韬 1 year ago
parent
commit
d73428fd3d
1 changed files with 2 additions and 3 deletions
  1. 2 3
      DataFusion/src/com/zskk/control/ViewController.java

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

@@ -61,7 +61,6 @@ public class ViewController extends Controller {
 			 
 			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"))
 						.set("REPORT_ID", jsonObject.getString("REPORT_ID"))
@@ -93,8 +92,8 @@ public class ViewController extends Controller {
 						.set("STATE", "0");
 				Db.use("crb").save("DC_PACS_REPORT", DC_PACS_REPORT);
 				this.renderJson(DC_PACS_REPORT);
-
-				}}
+				}
+			}
 //			Record record2 = Db.use("crb").findFirst("select * from DC_PACS_XML where REPORT_ID=?", jsonObject.getString("REPORT_ID"));
 //			if (record2 == null) {
 //				Record DC_PACS_XML = new Record()