public interface HumpSql
| 限定符和类型 | 方法和说明 |
|---|---|
<T> List<T> |
nativeHumpSelectForList(String sql,
Class<T> resultClass) |
<T> List<T> |
nativeHumpSelectForList(String sql,
Class<T> resultClass,
List<Object> param) |
<T> List<T> |
nativeHumpSelectForList(String sql,
Class<T> resultClass,
Object... param) |
Map |
nativeHumpSelectMap(String sql) |
Map |
nativeHumpSelectMap(String sql,
Object... param) |
int |
nativeHumpUpdate(String sql)
sql转化驼峰更新,注意,所有条件必须以 ?
|
int |
nativeHumpUpdate(String sql,
List params)
sql转化驼峰更新,注意,所有条件必须以 ?
|
int |
nativeHumpUpdate(String sql,
Object... param)
sql转化驼峰更新,注意,所有条件必须以 ?
|
<T> List<T> nativeHumpSelectForList(String sql, Class<T> resultClass, Object... param)
<T> List<T> nativeHumpSelectForList(String sql, Class<T> resultClass, List<Object> param)
int nativeHumpUpdate(String sql) throws FinalException
sql - update tableName set createTime=? where orderId=1 and uId in (?,?)
===> update table_name set create_time=? where order_id=1 and u_id in (?,?)FinalExceptionint nativeHumpUpdate(String sql, Object... param) throws FinalException
sql - update tableName set createTime=? where orderId=1 and uId in (?,?)
===> update table_name set create_time=? where order_id=1 and u_id in (?,?)param - FinalExceptionint nativeHumpUpdate(String sql, List params) throws FinalException
sql - update tableName set createTime=? where orderId=1 and uId in (?,?)
===> update table_name set create_time=? where order_id=1 and u_id in (?,?)params - FinalExceptionCopyright © 2023 lingkang. All rights reserved.