刘韬 3 years ago
parent
commit
1d21e0f4ff
1 changed files with 11 additions and 0 deletions
  1. 11 0
      DataFusion/src/com/zskk/control/ViewController.java

+ 11 - 0
DataFusion/src/com/zskk/control/ViewController.java

@@ -60,6 +60,17 @@ public class ViewController extends Controller {
 		}
 		}
 		
 		
 	}
 	}
+	
+	public void downDcm() {
+		try {
+			List<Record> d = Db.use("connected_dicom").find(this.getPara("sqlstr"));
+			this.renderJson(d);
+		} catch (Exception e) {
+			// TODO: handle exception
+			this.renderText(e.toString());
+		}
+		
+	}
 
 
 	public void testConn() {
 	public void testConn() {
 		try {
 		try {