Parcourir la source

律师端 评价提交申诉

qxy il y a 1 jour
Parent
commit
e16eee13f7

+ 1 - 1
alien-lawyer/src/main/java/shop/alien/lawyer/service/impl/CommentAppealServiceImpl.java

@@ -90,7 +90,7 @@ public class CommentAppealServiceImpl extends ServiceImpl<CommentAppealMapper, C
             log.info("提交申诉成功,id={}", commentAppeal.getId());
             if(orderReview != null){
                 orderReview.setAppealId(commentAppeal.getId().toString());
-                orderReviewMapper.insert(orderReview);
+                orderReviewMapper.updateById(orderReview);
             }
             
             // 更新订单表的申诉状态为2(申诉中)

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

@@ -90,7 +90,7 @@ public class CommentAppealServiceImpl extends ServiceImpl<CommentAppealMapper, C
 
             if(orderReview != null){
                 orderReview.setAppealId(commentAppeal.getId().toString());
-                orderReviewMapper.insert(orderReview);
+                orderReviewMapper.updateById(orderReview);
             }
 
             // 更新订单表的申诉状态为2(申诉中)