方法一、 对于不同的数据库可通过dbName区分和修改各别的SQL片段即可 方法二、 类似pagehelper拦截器方式实现 转载于:https://www.cnblogs.com/hanhuibing/articles/5522919.html