BaseExecutor实现了公共逻辑(一级缓存、事务管理),定义三个抽象模板方法:doQuery、doUpdate、doFlushStatements。 // Configuration public Executor newExecutor(Transaction transaction, ExecutorType executorType) { executorType = ...