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

Commit 19efe38b authored by GaoHu's avatar GaoHu

exit

parent 07661be5
...@@ -599,7 +599,8 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma ...@@ -599,7 +599,8 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma
}else { }else {
smileRedisUtils.lRemove(SmileRedisConst.SMILE_SHOW.concat(":").concat(performancesId), 1, ticketId); smileRedisUtils.lRemove(SmileRedisConst.SMILE_SHOW.concat(":").concat(performancesId), 1, ticketId);
} }
List<String> collect = kylinPerformancesMapper.selectByComment().stream().map(KylinPerformances::getPerformancesId).collect(Collectors.toList()); List<KylinPerformances> kylinPerformances = kylinPerformancesMapper.selectPerIdByAgent();
List<String> collect = kylinPerformances.stream().map(KylinPerformances::getPerformancesId).collect(Collectors.toList());
String perId = StringUtils.join(collect,","); String perId = StringUtils.join(collect,",");
if (!"".equals(perId)){ if (!"".equals(perId)){
smileRedisUtils.set(SmileRedisConst.SMILE_SHOW,perId); smileRedisUtils.set(SmileRedisConst.SMILE_SHOW,perId);
......
...@@ -140,7 +140,7 @@ public class SmileShowServiceImpl extends ServiceImpl<SmileSchoolMapper, SmileSc ...@@ -140,7 +140,7 @@ public class SmileShowServiceImpl extends ServiceImpl<SmileSchoolMapper, SmileSc
kylinPerformancesMapper.updateCommentByPer(showSort.getSort(), showSort.getPerformancesId()); kylinPerformancesMapper.updateCommentByPer(showSort.getSort(), showSort.getPerformancesId());
//获取排序演出id //获取排序演出id
List<String> collect = kylinPerformancesMapper.selectByComment().stream().map(KylinPerformances::getPerformancesId).collect(Collectors.toList()); List<String> collect = kylinPerformancesMapper.selectPerIdByAgent().stream().map(KylinPerformances::getPerformancesId).collect(Collectors.toList());
String perId = StringUtils.join(collect,","); String perId = StringUtils.join(collect,",");
smileRedisUtils.set(SmileRedisConst.SMILE_SHOW, perId); smileRedisUtils.set(SmileRedisConst.SMILE_SHOW, perId);
log.info("redis show key:{}", perId); log.info("redis show key:{}", perId);
......
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