|
@@ -50,13 +50,17 @@ public class ViewController extends Controller {
|
|
|
ActiveRecordPlugin arpConnected = new ActiveRecordPlugin("connected", druidPluginConnected);
|
|
|
arpConnected.setDialect(new OracleDialect());
|
|
|
arpConnected.start();
|
|
|
-
|
|
|
} catch (Exception e) {
|
|
|
// TODO: handle exception
|
|
|
this.renderText(e.toString());
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ public void getQRFile() {
|
|
|
+ String code =this.getPara("code")==null?"":this.getPara("code");
|
|
|
+ String url = "https://wc4.pacsonline.cn/#/reportListOuter?institution_id=43800001&type=1&code=" + code;
|
|
|
+ renderQrCode(url, 100, 100);
|
|
|
+ }
|
|
|
public static DruidPlugin createConnectedDruidPlugin() {
|
|
|
|
|
|
return new DruidPlugin(PropKit.get("jdbcUrl_connected"), PropKit.get("user_connected"),PropKit.get("password_connected").trim());
|