public class InterfaceInfoDal extends AbstractDal
jdbcTemplate, wontUpdateColumn| 构造器和说明 |
|---|
InterfaceInfoDal(JdbcTemplate jdbcTemplate,
String dbType,
String tableName) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
createObject(Map<FieldDef,String> newData) |
boolean |
deleteObject(String id) |
Map<FieldDef,String> |
getObjectBy(FieldDef indexKey,
String indexValue) |
String |
getTableName() |
List<Map<FieldDef,String>> |
listObjectBy(Map<QueryCondition,Object> conditions) |
boolean |
updateObject(String id,
Map<FieldDef,String> newData) |
fixStringpublic InterfaceInfoDal(JdbcTemplate jdbcTemplate, String dbType, String tableName)
public String getTableName()
getTableName 在类中 AbstractDalpublic Map<FieldDef,String> getObjectBy(FieldDef indexKey, String indexValue) throws SQLException
SQLExceptionpublic List<Map<FieldDef,String>> listObjectBy(Map<QueryCondition,Object> conditions) throws SQLException
SQLExceptionpublic boolean deleteObject(String id) throws SQLException
SQLExceptionpublic boolean updateObject(String id, Map<FieldDef,String> newData) throws SQLException
SQLExceptionpublic boolean createObject(Map<FieldDef,String> newData) throws SQLException
SQLExceptionCopyright © 2020–2021. All rights reserved.