springboot 2.0 mybatis mapper-locations掃描多個路徑

mapper-locations掃描多個路徑,中間以,分開,spring 若是mapper.xml在源碼包下,配置成classpath*開頭比較好使sql mybatis: mapper-locations: classpath*:mapper/*.xml,classpath*:com/urthink/upfs/**/*Mapper.xml type-aliases-package: co
相關文章
相關標籤/搜索