소스 검색

修复评分的问题 注释掉冗余代码

liudongzhi 4 시간 전
부모
커밋
2a595fc9c8
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      alien-store/src/main/java/shop/alien/store/service/StoreCommentAppealSupplementJobService.java

+ 3 - 3
alien-store/src/main/java/shop/alien/store/service/StoreCommentAppealSupplementJobService.java

@@ -446,9 +446,9 @@ public class StoreCommentAppealSupplementJobService {
                 }
             }
 
-            if (rating != null && rating.getBusinessType() == 1) {
-                updateStoreScore(rating.getBusinessId());
-            }
+//            if (rating != null && rating.getBusinessType() == 1) {
+//                updateStoreScore(rating.getBusinessId());
+//            }
         } catch (Exception e) {
             log.error("【用户补充申诉】删除评价和评论异常,ratingId={}", ratingId, e);
         }