Solution 2: Extend LanguageDriver which will always compile sql to. You provide the database and the objects; MyBatis provides the mapping layer that goes between the two. Question about plotting a curve and tangent lines. 当运行测试方法时(@Test注解的方法),依赖的src/main/java里面的java类也会优先读取test/resources的资源,亲测, 之前公司一位同事写的方法: