方法1:https://blog.csdn.net/m0_61115595/article/details/126351288 (推荐)
此方法需要在mapper.java加注解:
方法2:https://www.cnblogs.com/lanxinren/p/15402925.html