Преглед на файлове

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

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);
         }