|
@@ -87,7 +87,7 @@ public class UpdateFrameMetaTask {
|
|
|
int firstActionType = actionPO.getAction_type();
|
|
int firstActionType = actionPO.getAction_type();
|
|
|
if(firstActionType == 0){
|
|
if(firstActionType == 0){
|
|
|
createDefaultFrameMetadata( userId);
|
|
createDefaultFrameMetadata( userId);
|
|
|
- MapCacheUtil.removeCache(userId,0,1);
|
|
|
|
|
|
|
+ MapCacheUtil.removeCache(userId,0,0);
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
if(firstActionType == 1){
|
|
if(firstActionType == 1){
|
|
@@ -238,7 +238,7 @@ public class UpdateFrameMetaTask {
|
|
|
else{
|
|
else{
|
|
|
//删除记录
|
|
//删除记录
|
|
|
/******************************************************************************/
|
|
/******************************************************************************/
|
|
|
- MapCacheUtil.removeCache(user_id,0,i+1);
|
|
|
|
|
|
|
+ MapCacheUtil.removeCache(user_id,0,i);
|
|
|
userInfo.put("horizontalMove",0);
|
|
userInfo.put("horizontalMove",0);
|
|
|
clearFlag = false;
|
|
clearFlag = false;
|
|
|
break;
|
|
break;
|
|
@@ -246,7 +246,7 @@ public class UpdateFrameMetaTask {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if(clearFlag){
|
|
if(clearFlag){
|
|
|
- MapCacheUtil.removeCache(user_id,0,actionPOList.size());
|
|
|
|
|
|
|
+ MapCacheUtil.removeCache(user_id,0,actionPOList.size()-1);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
int currentFrame = rotateFrameEntity.getFrameIndex(); //从数据库里读取
|
|
int currentFrame = rotateFrameEntity.getFrameIndex(); //从数据库里读取
|