|
@@ -86,14 +86,14 @@ public class ComplaintSuggestionServiceImpl implements IComplaintSuggestionServi
|
|
if (ObjectUtils.isNotEmpty(userNum)) {
|
|
if (ObjectUtils.isNotEmpty(userNum)) {
|
|
redisCache.setCacheObject(userSuggestionKey, Math.max((int) userNum + 1, 0));
|
|
redisCache.setCacheObject(userSuggestionKey, Math.max((int) userNum + 1, 0));
|
|
}else {
|
|
}else {
|
|
- redisCache.setCacheObject(userSuggestionKey,0);
|
|
|
|
|
|
+ redisCache.setCacheObject(userSuggestionKey,1);
|
|
}
|
|
}
|
|
//往redis中新增 总数 投诉建议未回复的数量 app统计使用
|
|
//往redis中新增 总数 投诉建议未回复的数量 app统计使用
|
|
Object allNum = redisCache.getCacheObject(COMPLAINT_SUGGESTION_NO_ALL);
|
|
Object allNum = redisCache.getCacheObject(COMPLAINT_SUGGESTION_NO_ALL);
|
|
if (ObjectUtils.isNotEmpty(allNum)) {
|
|
if (ObjectUtils.isNotEmpty(allNum)) {
|
|
redisCache.setCacheObject(COMPLAINT_SUGGESTION_NO_ALL, Math.max((int) allNum + 1, 0));
|
|
redisCache.setCacheObject(COMPLAINT_SUGGESTION_NO_ALL, Math.max((int) allNum + 1, 0));
|
|
}else {
|
|
}else {
|
|
- redisCache.setCacheObject(COMPLAINT_SUGGESTION_NO_ALL,0);
|
|
|
|
|
|
+ redisCache.setCacheObject(COMPLAINT_SUGGESTION_NO_ALL,1);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return result;
|
|
return result;
|