单个包
@MapperScan("com.mysiteforme.admin.dao")
多个包
@MapperScan({"com.mysiteforme.admin.dao","com.zipon.tpf.dao"})
单个包
@MapperScan("com.mysiteforme.admin.dao")
多个包
@MapperScan({"com.mysiteforme.admin.dao","com.zipon.tpf.dao"})
转载于:https://www.cnblogs.com/zipon/p/9545590.html