mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 03:55:17 +08:00
update
This commit is contained in:
@@ -8,6 +8,7 @@ import com.fasterxml.jackson.databind.PropertyNamingStrategies;
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
import com.google.common.collect.Lists;
|
||||
import com.google.common.collect.Maps;
|
||||
import com.google.common.collect.Sets;
|
||||
import com.google.common.primitives.Bytes;
|
||||
import com.huifu.adapay.core.exception.BaseAdaPayException;
|
||||
import com.huifu.adapay.model.Refund;
|
||||
@@ -184,6 +185,21 @@ public class SpringBootTestController {
|
||||
@Autowired
|
||||
private IMemberBasicInfoService memberBasicInfoService;
|
||||
|
||||
@Test
|
||||
public void testRedisSet() {
|
||||
String redisKey = "push_station_connector";
|
||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("1"));
|
||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("3"));
|
||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("5"));
|
||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("1"));
|
||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("1"));
|
||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("7"));
|
||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("3"));
|
||||
|
||||
Set<Object> cacheSet = redisCache.getCacheSet(redisKey);
|
||||
System.out.println(cacheSet);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testSettleOrder() {
|
||||
Map<String, BigDecimal> returnAmountMap = Maps.newHashMap();
|
||||
@@ -827,7 +843,7 @@ public class SpringBootTestController {
|
||||
|
||||
@Test
|
||||
public void testupdateElecAmount() {
|
||||
orderBasicInfoService.updateElecAmount();
|
||||
// orderBasicInfoService.updateElecAmount();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user