wuxw
2022-07-17 ce64e667815b39efdc2f8bd52be0d43d49db8d84
java110-service/src/main/java/com/java110/service/smo/IQueryServiceSMO.java
old mode 100644 new mode 100755
@@ -1,7 +1,10 @@
package com.java110.service.smo;
import com.java110.common.exception.BusinessException;
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;
/**
 * 公用查询处理
@@ -25,4 +28,32 @@
     * @throws BusinessException
     */
    public void commonDoService(DataQuery dataQuery) throws BusinessException;
    /**
     * c_common_sql
     * 公共受理服务
     * @return
     * @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);
}