MapperScanConfig.java 284 B

123456789101112131415
  1. package com.gz.config;
  2. import org.springframework.context.annotation.Configuration;
  3. import tk.mybatis.spring.annotation.MapperScan;
  4. /**
  5. * mapper扫描
  6. * @author LiuchangLan
  7. * @date 2020/7/12 19:42
  8. */
  9. @Configuration
  10. @MapperScan("com.gz.mapper")
  11. public class MapperScanConfig {
  12. }