1 定义mybatis配置文件(可省略) 2 定义DAO类 3 定义XML格式的SQL-Mapper文件 转载于:https://www.cnblogs.com/qcl_008/p/4794920.html