public class VersionUtils extends Object
Constructor and Description |
---|
VersionUtils() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
getCurrentVersion(org.apache.ibatis.mapping.MappedStatement mappedStatement,
EntityTable table,
Map<String,Object> keyMap)
获取当前版本号
|
public static <T> T getCurrentVersion(org.apache.ibatis.mapping.MappedStatement mappedStatement, EntityTable table, Map<String,Object> keyMap) throws SQLException
T
- 版本号的类型mappedStatement
- mappedStatementtable
- 表对象keyMap
- 查询条件组合(property name in domain object -> value)SQLException
- sql执行异常Copyright © 2018 lodsve. All rights reserved.