|
@@ -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() {
|
|
|
try {
|