All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.foxtech.persist.common.config.PersistCommonConfig Maven / Gradle / Ivy

The newest version!
/* ----------------------------------------------------------------------------
 * Copyright (c) Guangzhou Fox-Tech Co., Ltd. 2020-2024. All rights reserved.
 * --------------------------------------------------------------------------- */

package cn.foxtech.persist.common.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * 告知Spring框架去扫描其他包中的Component
 */
@Configuration
@ComponentScan(basePackages = {//
        "cn.foxtech.common.entity.service",//
        "cn.foxtech.common.entity.manager",//
        "cn.foxtech.utils.common.utils.redis.*",//
        "cn.foxtech.common.rpc.redis.*",//
        "cn.foxtech.common.rpc.cache",//
        "cn.foxtech.common.status",//
        "cn.foxtech.common.tags"//
})
@MapperScan("cn.foxtech.common.entity.service")
public class PersistCommonConfig {
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy