|
|
@ -11,6 +11,7 @@ import org.apache.ibatis.annotations.CacheNamespace;
|
|
|
|
* @author ${author}
|
|
|
|
* @author ${author}
|
|
|
|
* @date ${datetime}
|
|
|
|
* @date ${datetime}
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
// 如使需切换数据源 请勿使用缓存 会造成数据不一致现象
|
|
|
|
@CacheNamespace(implementation = MybatisPlusRedisCache.class, eviction = MybatisPlusRedisCache.class)
|
|
|
|
@CacheNamespace(implementation = MybatisPlusRedisCache.class, eviction = MybatisPlusRedisCache.class)
|
|
|
|
public interface ${ClassName}Mapper extends BaseMapperPlus<${ClassName}> {
|
|
|
|
public interface ${ClassName}Mapper extends BaseMapperPlus<${ClassName}> {
|
|
|
|
|
|
|
|
|
|
|
|