mybatis-plus设置

mybatis-plus添加设置

            com.baomidou
            mybatis-plus
            3.1.0
        
        
            com.baomidou
            mybatis-plus-boot-starter
            3.1.2
mybatis-plus:
  mapper-locations: classpath*:/mapper/**/*Mapper.xml
  type-aliases-package: com.****.entity
  configuration:
    cache-enabled: true
    call-setters-on-nulls: false
  global-config:
    sql-parser-cache: true
    db-config:
      db-type: mysql
      id-type: id_worker
      logic-delete-value: 1
      logic-not-delete-value: 0
    banner: false

你可能感兴趣的:(mybatis-plus设置)