java110
2021-11-14 862b72d394a4a0bc467deda2a0afdab43aa25c5e
java110-service/src/main/java/com/java110/service/smo/IQueryServiceSMO.java
old mode 100644 new mode 100755
@@ -1,5 +1,7 @@
package com.java110.service.smo;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.java110.utils.exception.BusinessException;
import com.java110.service.context.DataQuery;
import org.springframework.http.ResponseEntity;
@@ -35,4 +37,23 @@
     * @throws BusinessException
     */
    public ResponseEntity<String> fallBack(String fallBackInfo) throws BusinessException;
    /**
     * 执行查询sql
     * @param param
     * @param sql
     * @return {
     *     th:[],
     *     td:[{}]
     * }
     */
    JSONObject execQuerySql(JSONObject param, String sql) throws BusinessException;
    /**
     * 执行java脚本
     *
     * @param javaCode
     * @throws BusinessException
     */
    JSONObject execJava(JSONObject params, String javaCode);
}