提交 cc4c39f5 作者: 张小凤

GambitService(update)

上级 32d97502
...@@ -338,6 +338,7 @@ public class GambitServiceImpl implements GambitService { ...@@ -338,6 +338,7 @@ public class GambitServiceImpl implements GambitService {
if (i!=0){ if (i!=0){
ForumCountDO countDO = myAttentionDO.getCountDO(); ForumCountDO countDO = myAttentionDO.getCountDO();
countDO.setStatus(true); countDO.setStatus(true);
countDO.setStatusList(true);
} }
int i1 = gambitDao.selectCountAttentions(myAttentionDO.getUserAccountId(), userId); int i1 = gambitDao.selectCountAttentions(myAttentionDO.getUserAccountId(), userId);
if (i1!=0){ if (i1!=0){
...@@ -409,6 +410,7 @@ public class GambitServiceImpl implements GambitService { ...@@ -409,6 +410,7 @@ public class GambitServiceImpl implements GambitService {
if(i!=0){ if(i!=0){
ForumCountDO countDO = myAttentionDO.getCountDO(); ForumCountDO countDO = myAttentionDO.getCountDO();
countDO.setStatus(true); countDO.setStatus(true);
countDO.setStatusList(true);
} }
int i1 = gambitDao.selectCountAttentions(myAttentionDO.getUserAccountId(), userId); int i1 = gambitDao.selectCountAttentions(myAttentionDO.getUserAccountId(), userId);
if (i1!=0){ if (i1!=0){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论