From 8a524787c88a9128cc69af890d4181a01aad0e8c Mon Sep 17 00:00:00 2001
From: 吴学文 <wuxuewen@wuxuewendeMacBook-Pro.local>
Date: 星期六, 06 七月 2019 23:09:33 +0800
Subject: [PATCH] 修改代码生成器生成的app 加入user_id 的问题
---
java110-code-generator/src/main/resources/template/IServiceDao.txt | 27 ++++++++++++++++++---------
1 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/java110-code-generator/src/main/resources/template/IServiceDao.txt b/java110-code-generator/src/main/resources/template/IServiceDao.txt
index f676db5..755a68a 100644
--- a/java110-code-generator/src/main/resources/template/IServiceDao.txt
+++ b/java110-code-generator/src/main/resources/template/IServiceDao.txt
@@ -25,7 +25,7 @@
* @param businessStoreInfo 鍟嗘埛淇℃伅 灏佽
* @throws DAOException 鎿嶄綔鏁版嵁搴撳紓甯�
*/
- public void saveBusinessStoreInfo(Map businessStoreInfo) throws DAOException;
+ void saveBusinessStoreInfo(Map businessStoreInfo) throws DAOException;
@@ -34,9 +34,9 @@
* 鏍规嵁bId 鏌ヨ鍟嗘埛淇℃伅
* @param info bId 淇℃伅
* @return 鍟嗘埛淇℃伅
- * @throws DAOException
+ * @throws DAOException DAO寮傚父
*/
- public Map getBusinessStoreInfo(Map info) throws DAOException;
+ List<Map> getBusinessStoreInfo(Map info) throws DAOException;
@@ -44,9 +44,9 @@
/**
* 淇濆瓨 鍟嗘埛淇℃伅 Business鏁版嵁鍒� Instance涓�
* @param info
- * @throws DAOException
+ * @throws DAOException DAO寮傚父
*/
- public void saveStoreInfoInstance(Map info) throws DAOException;
+ void saveStoreInfoInstance(Map info) throws DAOException;
@@ -56,17 +56,26 @@
* 鏍规嵁bId 鏌ヨ鍟嗘埛淇℃伅
* @param info bId 淇℃伅
* @return 鍟嗘埛淇℃伅
- * @throws DAOException
+ * @throws DAOException DAO寮傚父
*/
- public Map getStoreInfo(Map info) throws DAOException;
+ List<Map> getStoreInfo(Map info) throws DAOException;
/**
* 淇敼鍟嗘埛淇℃伅
* @param info 淇敼淇℃伅
- * @throws DAOException
+ * @throws DAOException DAO寮傚父
*/
- public void updateStoreInfoInstance(Map info) throws DAOException;
+ void updateStoreInfoInstance(Map info) throws DAOException;
+
+
+ /**
+ * 鏌ヨ鍟嗘埛鎬绘暟
+ *
+ * @param info 鍟嗘埛淇℃伅
+ * @return 鍟嗘埛鏁伴噺
+ */
+ int queryStoresCount(Map info);
}
\ No newline at end of file
--
Gitblit v1.8.0