|
@ -38,7 +38,6 @@ import org.springframework.stereotype.Service; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
import org.springframework.util.CollectionUtils; |
|
|
import org.springframework.util.CollectionUtils; |
|
|
|
|
|
|
|
|
import javax.annotation.PostConstruct; |
|
|
|
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
import java.util.Map; |
|
|
import java.util.Map; |
|
|
|
|
|
|
|
@ -54,7 +53,7 @@ public class CustomerAppServiceImpl extends BaseServiceImpl<CustomerAppDao, Cust |
|
|
@Autowired |
|
|
@Autowired |
|
|
private RedisTemplate redisTemplate; |
|
|
private RedisTemplate redisTemplate; |
|
|
|
|
|
|
|
|
@PostConstruct |
|
|
//@PostConstruct
|
|
|
private void initApp2Redis() { |
|
|
private void initApp2Redis() { |
|
|
SetOperations<String, CustomerAppRedisDTO> appSet = redisTemplate.opsForSet(); |
|
|
SetOperations<String, CustomerAppRedisDTO> appSet = redisTemplate.opsForSet(); |
|
|
List<CustomerAppDTO> configAllApp = this.getConfigAllApp(); |
|
|
List<CustomerAppDTO> configAllApp = this.getConfigAllApp(); |
|
@ -127,4 +126,4 @@ public class CustomerAppServiceImpl extends BaseServiceImpl<CustomerAppDao, Cust |
|
|
return customerAppDTOS; |
|
|
return customerAppDTOS; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|