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

Commit c16de35b authored by 胡佳晨's avatar 胡佳晨

券列表

parent 22d41cc8
......@@ -52,7 +52,7 @@ public class RedisDataUtils {
userCreateTime = LocalDateTime.MIN;
}
List<String> userIds = userDto.stream().map(CandyUserCouponBasicDto::getCcouponId).collect(Collectors.toList());
if (userIds != null || userIds.size() > 0) {
if (userIds.size() > 0) {
for (CandyCommonCouponBasicDto item : pubDto) {
if (userIds.contains(item.getCcouponId()) || userCreateTime.isAfter(item.getCreatedAt())) {
continue;
......
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