@Component public class TxcSqlExecutorImpl extends Object implements TxcSqlExecutor
Date: 2018/12/13
| 构造器和说明 |
|---|
TxcSqlExecutorImpl(org.apache.commons.dbutils.QueryRunner queryRunner) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
applyUndoLog(List<StatementInfo> statementInfoList)
回滚undo_log
|
List<ModifiedRecord> |
deleteSqlPreviousData(Connection connection,
DeleteImageParams deleteImageParams)
delete sql受影响数据 |
List<ModifiedRecord> |
selectSqlPreviousPrimaryKeys(Connection connection,
SelectImageParams selectImageParams)
select 语句受影响数据查询 |
List<ModifiedRecord> |
updateSqlPreviousData(Connection connection,
UpdateImageParams updateImageParams)
update sql 执行前受影响数据
|
@Autowired public TxcSqlExecutorImpl(org.apache.commons.dbutils.QueryRunner queryRunner)
public List<ModifiedRecord> updateSqlPreviousData(Connection connection, UpdateImageParams updateImageParams) throws SQLException
TxcSqlExecutorupdateSqlPreviousData 在接口中 TxcSqlExecutorconnection - ConnectionupdateImageParams - updateImageParamsSQLException - SQLExceptionpublic List<ModifiedRecord> deleteSqlPreviousData(Connection connection, DeleteImageParams deleteImageParams) throws SQLException
TxcSqlExecutordelete sql受影响数据deleteSqlPreviousData 在接口中 TxcSqlExecutorconnection - ConnectiondeleteImageParams - deleteImageParamsSQLException - SQLExceptionpublic List<ModifiedRecord> selectSqlPreviousPrimaryKeys(Connection connection, SelectImageParams selectImageParams) throws SQLException
TxcSqlExecutorselect 语句受影响数据查询selectSqlPreviousPrimaryKeys 在接口中 TxcSqlExecutorconnection - ConnectionselectImageParams - selectImageParamsSQLException - SQLExceptionpublic void applyUndoLog(List<StatementInfo> statementInfoList) throws SQLException
TxcSqlExecutorapplyUndoLog 在接口中 TxcSqlExecutorstatementInfoList - undo sql statementsSQLException - execute errorCopyright © 2019. All rights reserved.