java110
2021-11-14 862b72d394a4a0bc467deda2a0afdab43aa25c5e
java110-service/src/main/java/com/java110/service/smo/IQueryServiceSMO.java
old mode 100644 new mode 100755
@@ -1,8 +1,10 @@
package com.java110.service.smo;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.java110.common.exception.BusinessException;
import com.java110.entity.service.DataQuery;
import com.java110.utils.exception.BusinessException;
import com.java110.service.context.DataQuery;
import org.springframework.http.ResponseEntity;
/**
 * 公用查询处理
@@ -17,4 +19,41 @@
     * @throws BusinessException
     */
    public void commonQueryService(DataQuery dataQuery) throws BusinessException;
    /**
     * c_common_sql
     * 公共受理服务
     * @return
     * @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);
}