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

Commit 43c6ac0b authored by jiangxiulong's avatar jiangxiulong

sweet log

parent 2d81d0f8
......@@ -63,9 +63,12 @@ public class SweetWechatTemplateServiceImpl {
SweetRemindVo remindInfo = (SweetRemindVo) redisUtil.get(rkey);
SweetWechatUser sweetWechatUser = redisDataUtils.getSweetWechatUser(remindInfo.getUnionId());
KylinPerformanceVo performanceVo = (KylinPerformanceVo) redisUtil.get(KylinRedisConst.PERFORMANCES.concat(remindInfo.getPerformancesId()));
if (null == sweetWechatUser || null == performanceVo) {
log.info("无用户或者演出数据:[UnionId=[{}], [getPerformancesId=[{}]",
remindInfo.getUnionId(), remindInfo.getPerformancesId());
if (null == sweetWechatUser) {
log.info("无用户数据:[UnionId=[{}]", remindInfo.getUnionId());
continue;
}
if (null == performanceVo) {
log.info("无演出数据:[getPerformancesId=[{}]", remindInfo.getPerformancesId());
continue;
}
KylinTicketTimesVo kylinTicketTimesVo = performanceVo.getTicketTimeList().get(0);
......@@ -80,7 +83,6 @@ public class SweetWechatTemplateServiceImpl {
String stopSellTime = performanceVo.getStopSellTime();
if (1 == DateUtil.compareStrDay(nowTimeStr, stopSellTime)) { // 超过售卖期 不推 删redis
log.info("超过售卖期:[nowTimeStr=[{}], [stopSellTime=[{}]",
nowTimeStr, stopSellTime);
redisDataUtils.delSweetRemind(remindInfo.getUnionId());
......
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