From a1bdc450eabe8d9a342dc4a578e157b73fdabf29 Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期日, 08 十月 2023 11:41:27 +0800
Subject: [PATCH] 新版excel优化

---
 src/main/java/com/hx/common/dao/CommonDao.java |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/hx/common/dao/CommonDao.java b/src/main/java/com/hx/common/dao/CommonDao.java
index 3a5c32d..9333082 100644
--- a/src/main/java/com/hx/common/dao/CommonDao.java
+++ b/src/main/java/com/hx/common/dao/CommonDao.java
@@ -20,6 +20,13 @@
 	 */
 	<T extends Serializable>	int insert(Class<?> mapperClass, T entity);
 
+	/**鏂板锛岃繑鍥炰富閿�
+	 * @param mapperClass mapper绫�
+	 * @param entity 瀹炰綋绫�
+	 * @return 鏉℃暟
+	 */
+	<T extends Serializable>	int insertById(Class<?> mapperClass, T entity);
+
 	/**鏌ヨ鏉℃暟
 	 * @param mapperClass mapper绫�
 	 * @param sqlSentence  鏌ヨ鍙傛暟绫�
@@ -110,5 +117,11 @@
 	 */
 	<T extends Serializable> int updateSentence( SqlSentence sqlSentence);
 
+	/**鏌ヨ鏉℃暟璇彞锛堝叏璇彞锛�
+	 * @param sqlSentence 鏌ヨ鍙傛暟绫�
+	 * @return 杩斿洖鏉℃暟
+	 */
+	<T extends Serializable> int selectCountSql( SqlSentence sqlSentence);
+
 
 }
\ No newline at end of file

--
Gitblit v1.8.0