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

修复申述评价成功未删除的问题

liudongzhi преди 3 часа
родител
ревизия
d5723e72e2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      alien-store/src/main/java/shop/alien/store/service/StoreCommentAppealSupplementJobService.java

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

@@ -410,7 +410,7 @@ public class StoreCommentAppealSupplementJobService {
         try {
             CommonRating rating = commonRatingMapper.selectById(ratingId);
             if (rating != null) {
-//                int rows = commonRatingMapper.logicDeleteById(ratingId);
+                int rows = commonRatingMapper.logicDeleteById(ratingId);
                 commonRatingService.updateStoreScoreAfterDelete(rating.getBusinessId());
                 log.info("【用户补充申诉】删除评价,ratingId={}", ratingId);
             }