From 28e7d3937f819a3486b22bfa1c84aee172aaccb4 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期一, 17 一月 2022 17:46:42 +0800
Subject: [PATCH] 优化代码
---
java110-service/src/main/java/com/java110/service/smo/IQueryServiceSMO.java | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/java110-service/src/main/java/com/java110/service/smo/IQueryServiceSMO.java b/java110-service/src/main/java/com/java110/service/smo/IQueryServiceSMO.java
old mode 100644
new mode 100755
index a392d2c..d8f2e85
--- a/java110-service/src/main/java/com/java110/service/smo/IQueryServiceSMO.java
+++ b/java110-service/src/main/java/com/java110/service/smo/IQueryServiceSMO.java
@@ -1,7 +1,10 @@
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;
/**
* 鍏敤鏌ヨ澶勭悊
@@ -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);
}
--
Gitblit v1.8.0