|
@@ -1,8 +1,6 @@
|
|
|
package com.management.platform;
|
|
|
|
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.beans.factory.annotation.Qualifier;
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
import org.springframework.context.annotation.Bean;
|
|
@@ -10,12 +8,7 @@ import org.springframework.data.redis.connection.RedisConnectionFactory;
|
|
|
import org.springframework.data.redis.core.RedisTemplate;
|
|
|
import org.springframework.data.redis.serializer.GenericJackson2JsonRedisSerializer;
|
|
|
import org.springframework.data.redis.serializer.StringRedisSerializer;
|
|
|
-import org.springframework.jdbc.datasource.DataSourceTransactionManager;
|
|
|
-import org.springframework.transaction.PlatformTransactionManager;
|
|
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|
|
-
|
|
|
-import javax.activation.DataSource;
|
|
|
-
|
|
|
/**
|
|
|
* Author: 吴涛涛
|
|
|
* Date : 2019 - 12 - 31 9:23
|