ICode9

精准搜索请尝试: 精确搜索
  • mybatisplus使用xml2022-08-20 10:00:28

    一、配置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

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有