xdd 2 недель назад
Родитель
Сommit
607215791f

+ 3 - 0
fs-service/src/main/java/com/fs/his/service/impl/FsStorePaymentServiceImpl.java

@@ -120,6 +120,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.BeanUtils;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Qualifier;
 import org.springframework.beans.factory.annotation.Value;
 import org.springframework.data.redis.core.RedisTemplate;
 import org.springframework.scheduling.annotation.Async;
@@ -186,9 +187,11 @@ public class FsStorePaymentServiceImpl implements IFsStorePaymentService {
     private RedisCache redisCache;
 
     @Autowired
+    @Qualifier("redisTemplateForBigDecimal")
     private RedisTemplate<String,BigDecimal> redisTemplate;
 
     @Autowired
+    @Qualifier("redisTemplateForInteger")
     private RedisTemplate<String,Integer> redisTemplateInteger;
     /**
      * 红包领取数量限制 默认一个用户当天最多只能领取10个