ソースを参照

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

liudongzhi 3 時間 前
コミット
d5723e72e2

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