java110
2022-01-17 28e7d3937f819a3486b22bfa1c84aee172aaccb4
java110-service/src/main/java/com/java110/service/smo/IQueryServiceSMO.java
@@ -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);
}