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

Commit a5dde0a7 authored by zhoujianping's avatar zhoujianping

1.增加删除角标sql

parent 2cd5f686
......@@ -918,7 +918,9 @@ public class KylinPerformancesServiceImpl implements IKylinPerformancesService {
@Override
public void deleteIsSubscribe(String performancesId, String ticketTimesId) {
String uid = CurrentUtil.getCurrentUid();
//删除预约提醒
dataUtils.deleteIsSubscribe(uid,performancesId,ticketTimesId);
//删除已读
dataUtils.deleteIsSubscribeRead(uid,performancesId,ticketTimesId);
}
}
......@@ -1495,6 +1495,10 @@ public class DataUtils {
return redisKey;
}
public void deleteIsSubscribeRead(String uid,String performancesId,String ticketTimesId){
String redisKey=getPerformanceSubscribeReadKey(uid,performancesId,ticketTimesId);
redisUtil.del(redisKey);
}
public void setPerformanceSubscribeRead(String uid,String performancesId,String ticketTimesId) {
String redisKey=getPerformanceSubscribeReadKey(uid,performancesId,ticketTimesId);
redisUtil.set(redisKey, 1);
......
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