@service标记的class,只能用于标记了@controller的类,用于其他的会出错 mybatis查询查询到返回记录,查询不到返回null 转载于:https://www.cnblogs.com/znsongshu/p/10101450.html