| | |
| | | //JSONObject params = dataQuery.getRequestParams(); |
| | | Interpreter interpreter = new Interpreter(); |
| | | interpreter.eval(javaCode); |
| | | interpreter.set("params", params); |
| | | interpreter.set("queryServiceDAOImpl",queryServiceDAOImpl); |
| | | interpreter.set("params", new Object[]{params,queryServiceDAOImpl}); |
| | | //interpreter.set("queryServiceDAOImpl",queryServiceDAOImpl); |
| | | return JSONObject.parseObject(interpreter.eval("execute(params,queryServiceDAOImpl)").toString()); |
| | | } catch (Exception e) { |
| | | logger.error("数据交互异常:", e); |