记得上下班打卡 | git大法好,push需谨慎

Commit 386ebf32 authored by 胡佳晨's avatar 胡佳晨

平台券,指定商品,满减折扣券

店铺券,指定商品所有券
skuId和活动的关系获取列表去重
parent f2b8493c
...@@ -22,6 +22,7 @@ import org.springframework.util.StringUtils; ...@@ -22,6 +22,7 @@ import org.springframework.util.StringUtils;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.stream.Collectors;
import static com.liquidnet.service.goblin.constant.GoblinRedisConst.REDIS_GOBLIN_TEMP_COUPON_MARKET; import static com.liquidnet.service.goblin.constant.GoblinRedisConst.REDIS_GOBLIN_TEMP_COUPON_MARKET;
...@@ -104,7 +105,7 @@ public class GoblinRedisUtils { ...@@ -104,7 +105,7 @@ public class GoblinRedisUtils {
if (obj == null) { if (obj == null) {
return CollectionUtil.arrayListString(); return CollectionUtil.arrayListString();
} else { } else {
return (List<String>) obj; return ((List<String>) obj).stream().distinct().collect(Collectors.toList());
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment