Selaa lähdekoodia

物业管理端评论

tjf 3 kuukautta sitten
vanhempi
commit
2987b3ae08

+ 2 - 2
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ComplaintSuggestionServiceImpl.java

@@ -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;

+ 1 - 1
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/StatisticsServiceImpl.java

@@ -156,7 +156,7 @@ public class StatisticsServiceImpl implements IStatisticsService {
     }
     }
 
 
     /**
     /**
-     * APP首页红点统计
+     * APP首页红点统计物业
      */
      */
     @Override
     @Override
     public AjaxResult wuYeTips(StaffManage staffManage) {
     public AjaxResult wuYeTips(StaffManage staffManage) {