From 3ed2627f7c05e8eaa4559371f9d6d2cb71aa4275 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期日, 12 九月 2021 14:11:08 +0800
Subject: [PATCH] 优化刷新缓存功能
---
java110-generator/src/main/resources/newTemplate/IServiceDao.txt | 32 ++++++++++++++++++++++++--------
1 files changed, 24 insertions(+), 8 deletions(-)
diff --git a/java110-generator/src/main/resources/newTemplate/IServiceDao.txt b/java110-generator/src/main/resources/newTemplate/IServiceDao.txt
index 3cf5d0e..8e20dd6 100755
--- a/java110-generator/src/main/resources/newTemplate/IServiceDao.txt
+++ b/java110-generator/src/main/resources/newTemplate/IServiceDao.txt
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2017-2020 鍚村鏂� and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package com.java110.@@shareName@@.dao;
@@ -12,13 +27,14 @@
import java.util.Map;
/**
- * 鍟嗘埛缁勪欢鍐呴儴涔嬮棿浣跨敤锛屾病鏈夌粰澶栧洿绯荤粺鎻愪緵鏈嶅姟鑳藉姏
- * 鍟嗘埛鏈嶅姟鎺ュ彛绫伙紝瑕佹眰鍏ㄩ儴浠ュ瓧绗︿覆浼犺緭锛屾柟渚垮井鏈嶅姟鍖�
- * 鏂板缓瀹㈡埛锛屼慨鏀瑰鎴凤紝鍒犻櫎瀹㈡埛锛屾煡璇㈠鎴风瓑鍔熻兘
- *
- * Created by wuxw on 2016/12/27.
+ * 绫昏〃杩帮細
+ * add by 鍚村鏂� at @@date@@ mail: 928255095@qq.com
+ * open source address: https://gitee.com/wuxw7/MicroCommunity
+ * 瀹樼綉锛歨ttp://www.homecommunity.cn
+ * 娓╅Θ鎻愮ず锛氬鏋滄偍瀵规鏂囦欢杩涜淇敼 璇蜂笉瑕佸垹闄ゅ師鏈変綔鑰呭強娉ㄩ噴淇℃伅锛岃琛ュ厖鎮ㄧ殑 淇敼鐨勫師鍥犱互鍙婅仈绯婚偖绠卞涓�
+ * // modify by 寮犱笁 at 2021-09-12 绗�10琛屽湪鏌愮鍦烘櫙涓嬪瓨鍦ㄦ煇绉峛ug 闇�瑕佷慨澶嶏紝娉ㄩ噴10鑷�20琛� 鍔犲叆 20琛岃嚦30琛�
*/
-public interface IStoreServiceDao {
+public interface IStoreV1ServiceDao {
/**
@@ -26,7 +42,7 @@
* @param info
* @throws DAOException DAO寮傚父
*/
- void saveStoreInfo(Map info) throws DAOException;
+ int saveStoreInfo(Map info) throws DAOException;
@@ -47,7 +63,7 @@
* @param info 淇敼淇℃伅
* @throws DAOException DAO寮傚父
*/
- void updateStoreInfo(Map info) throws DAOException;
+ int updateStoreInfo(Map info) throws DAOException;
/**
--
Gitblit v1.8.0