File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/main/java/tk/mybatis/mapper/mapperhelper Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ http://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/
143
143
}
144
144
```
145
145
自己扩展单表操作的方法是非常容易的事情,建议有一定通用Mapper使用基础的自行扩展,扩展可以参考[ 如何扩展通用接口] ( http://git.oschina.net/free/Mapper/blob/master/wiki/mapper3/6.MyMapper.md )
146
-
146
+ - 新增 ` SqlHelper ` 工具类,其中包含了大量可用的现成的SQL方法
147
147
148
148
###3 .3.0 - 2015-11-01
149
149
Original file line number Diff line number Diff line change @@ -147,7 +147,9 @@ public static String getSelectColumns(Class<?> entityClass) {
147
147
*
148
148
* @param entityClass
149
149
* @return
150
+ * @deprecated 4.x版本移除该方法
150
151
*/
152
+ @ Deprecated
151
153
public static String getAllColumns (Class <?> entityClass ) {
152
154
Set <EntityColumn > columnList = getColumns (entityClass );
153
155
StringBuilder selectBuilder = new StringBuilder ();
@@ -162,7 +164,9 @@ public static String getAllColumns(Class<?> entityClass) {
162
164
*
163
165
* @param entityClass
164
166
* @return
167
+ * @deprecated 4.x版本移除该方法
165
168
*/
169
+ @ Deprecated
166
170
public static String getPrimaryKeyWhere (Class <?> entityClass ) {
167
171
Set <EntityColumn > entityColumns = getPKColumns (entityClass );
168
172
StringBuilder whereBuilder = new StringBuilder ();
You can’t perform that action at this time.
0 commit comments