Ver Fonte

律师申诉通知

qxy há 2 semanas atrás
pai
commit
acc3c1da04

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

@@ -200,9 +200,9 @@ public class CommentAppealServiceImpl extends ServiceImpl<CommentAppealMapper, C
 
             com.alibaba.fastjson2.JSONObject jsonObject = new com.alibaba.fastjson2.JSONObject();
             jsonObject.put("message", message);
-            jsonObject.put("orderNumber", orderReview.getOrderNumber());
-            jsonObject.put("appealId", appeal.getId());
-            jsonObject.put("status", "pending"); // 待审核状态
+//            jsonObject.put("orderNumber", orderReview.getOrderNumber());
+//            jsonObject.put("appealId", appeal.getId());
+//            jsonObject.put("status", "pending"); // 待审核状态
             lifeNotice.setContext(jsonObject.toJSONString());
 
             lifeNoticeMapper.insert(lifeNotice);
@@ -253,8 +253,7 @@ public class CommentAppealServiceImpl extends ServiceImpl<CommentAppealMapper, C
             }
 
             String receiverId = "user_" + lifeUser.getUserPhone();
-            String message = String.format("您对订单编号为"+ orderReview.getOrderNumber() +"的评价,律师已进行申诉,经核实,您的评价不实,平台已删除此条评价及回复。",
-                    orderReview.getOrderNumber());
+            String message = String.format("您对订单编号为"+ orderReview.getOrderNumber() +"的评价,律师已进行申诉,经核实,您的评价不实,平台已删除此条评价及回复。");
 
             LifeNotice lifeNotice = new LifeNotice();
             lifeNotice.setReceiverId(receiverId);
@@ -267,8 +266,6 @@ public class CommentAppealServiceImpl extends ServiceImpl<CommentAppealMapper, C
 
             com.alibaba.fastjson2.JSONObject jsonObject = new com.alibaba.fastjson2.JSONObject();
             jsonObject.put("message", message);
-            jsonObject.put("orderNumber", orderReview.getOrderNumber());
-            jsonObject.put("appealId", appeal.getId());
             lifeNotice.setContext(jsonObject.toJSONString());
 
             lifeNoticeMapper.insert(lifeNotice);
@@ -314,9 +311,6 @@ public class CommentAppealServiceImpl extends ServiceImpl<CommentAppealMapper, C
 
             com.alibaba.fastjson2.JSONObject jsonObject = new com.alibaba.fastjson2.JSONObject();
             jsonObject.put("message", message);
-            jsonObject.put("orderNumber", orderReview.getOrderNumber());
-            jsonObject.put("appealId", appeal.getId());
-            jsonObject.put("status", isSuccess ? "success" : "rejected");
             lifeNotice.setContext(jsonObject.toJSONString());
 
             lifeNoticeMapper.insert(lifeNotice);