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

Commit 9a05c37b authored by wangyifan's avatar wangyifan

kylin 查看拼团详情不能登录校验;platform 增加日志

parent 07a8f15b
...@@ -143,7 +143,8 @@ public class KylinGroupBuyOrderServiceImpl implements IKylinGroupBuyOrderService ...@@ -143,7 +143,8 @@ public class KylinGroupBuyOrderServiceImpl implements IKylinGroupBuyOrderService
vo.setCreatedAt(order.getCreatedAt()); vo.setCreatedAt(order.getCreatedAt());
vo.setTimeId(order.getTimeId()); vo.setTimeId(order.getTimeId());
vo.setTicketId(order.getTicketId()); vo.setTicketId(order.getTicketId());
vo.setIsLeader(CurrentUtil.getCurrentUid().equals(order.getLeaderUserId()) ? 1 : 0); String currentUid = CurrentUtil.getCurrentUid();
vo.setIsLeader(StringUtil.isNotBlank(currentUid) && currentUid.equals(order.getLeaderUserId()) ? 1 : 0);
if (performance != null) { if (performance != null) {
vo.setPerformanceName(performance.getTitle()); vo.setPerformanceName(performance.getTitle());
......
...@@ -208,8 +208,8 @@ public class PlatformGroupBuyTaskServiceImpl { ...@@ -208,8 +208,8 @@ public class PlatformGroupBuyTaskServiceImpl {
cacheActivity(activity); cacheActivity(activity);
} }
log.info("拼团活动调度结束 now={}, started={}, ended={}", now, log.info("拼团活动调度结束 now={}, started={}, ended={}", now,
dueStartList == null ? 0 : dueStartList.size(), dueStartList.size(),
dueEndList == null ? 0 : dueEndList.size()); dueEndList.size());
return true; return true;
} }
......
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