소스 검색

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

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