首页 > TAG信息列表 > Jone
mybatisplus使用xml
一、配置xml路径 mybatis-plus: mapper-locations: classpath:mapper/*.xml 二、编写Mapper里面的方法 public interface UserMapper extends BaseMapper { List findAll(); List<User> selectByXml(@Param("name") String name); } 三、编写sql <select id="selectByX