调试时打印出sql的需求,太正常不过了,mybatis也提供了这样的功能: mybatis: configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl 但它打印的sql里,含有占位符? ==> Preparing: select id, name WHERE id in (?,?,?,?,?,?) ==> Parameters: 1001(String), 1002(String), 1003(String), 1…