public interface MapSuid
| 限定符和类型 | 方法和说明 |
|---|---|
int |
count(MapSql mapSql)
统计符合条件的记录数.count the number of qualified record.
|
int |
delete(MapSql mapSql)
使用MapSql删除记录.Use MapSql to delete record.
|
int |
insert(MapSql mapSql)
插入记录,并返回成功插入的记录数.Inserts record and returns the number of the record successfully inserted.
|
long |
insertAndReturnId(MapSql mapSql)
插入并返回记录的id值.Insert and return the id value of the record.
|
List<Map<String,Object>> |
select(MapSql mapSql)
使用MapSql查询数据.Use MapSql to select data.
|
String |
selectJson(MapSql mapSql)
使用MapSql查询数据.Use MapSql to select data.
|
Map<String,Object> |
selectOne(MapSql mapSql)
使用MapSql查询数据.Use MapSql to select data.
|
List<String[]> |
selectString(MapSql mapSql)
使用MapSql查询数据.Use MapSql to select data.
|
int |
update(MapSql mapSql)
更新记录,并返回受影响的行数.Update the record and return the number of rows affected.
|
List<String[]> selectString(MapSql mapSql)
mapSql - MapSql instanceString selectJson(MapSql mapSql)
mapSql - MapSql instanceList<Map<String,Object>> select(MapSql mapSql)
mapSql - MapSql instanceMap<String,Object> selectOne(MapSql mapSql)
mapSql - MapSql instanceint update(MapSql mapSql)
mapSql - MapSql instance
MapSql的put方法用于SQL语句的where部分,putNew用于update类型SQL的set部分.
MapSql' put method for SQL where part, putNew for update SQL 's set part.long insertAndReturnId(MapSql mapSql)
mapSql - MapSql instanceint insert(MapSql mapSql)
mapSql - MapSql instanceint delete(MapSql mapSql)
mapSql - MapSql instanceint count(MapSql mapSql)
mapSql - MapSql instanceCopyright © 2021. All rights reserved.