|
@@ -1032,6 +1032,12 @@ public class LawyerUserViolationServiceImpl extends ServiceImpl<LawyerUserViolat
|
|
|
} else {
|
|
} else {
|
|
|
log.warn("订单状态更新失败,订单编号:{}", violation.getOrderNumber());
|
|
log.warn("订单状态更新失败,订单编号:{}", violation.getOrderNumber());
|
|
|
}
|
|
}
|
|
|
|
|
+ } else {
|
|
|
|
|
+ // 审批驳回
|
|
|
|
|
+ log.info("订单状态更新成功,订单编号:{}", violation.getOrderNumber());
|
|
|
|
|
+
|
|
|
|
|
+ // 构建并发送通知消息
|
|
|
|
|
+ sendApprovalNotifications(violation, processingStatus, reportResult);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1232,6 +1238,20 @@ public class LawyerUserViolationServiceImpl extends ServiceImpl<LawyerUserViolat
|
|
|
// 发送WebSocket消息
|
|
// 发送WebSocket消息
|
|
|
sendWebSocketMessage(receiverId, lifeNotice);
|
|
sendWebSocketMessage(receiverId, lifeNotice);
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ // 创建并保存到账通知
|
|
|
|
|
+
|
|
|
|
|
+ String notificationInfo1 = "您的编号为" + violation.getOrderNumber() + "的订单,订单金额已原路返还至您的支付渠道,请查收";
|
|
|
|
|
+ LifeNotice lifeNotice1 = createLifeNotice(violation.getId(), receiverId,
|
|
|
|
|
+ "退款到账通知", notificationInfo1);
|
|
|
|
|
+ lifeNoticeMapper.insert(lifeNotice1);
|
|
|
|
|
+
|
|
|
|
|
+ // 发送WebSocket消息
|
|
|
|
|
+ sendWebSocketMessage(receiverId, lifeNotice1);
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
log.info("举报人通知发送成功,接收人ID:{}", receiverId);
|
|
log.info("举报人通知发送成功,接收人ID:{}", receiverId);
|
|
|
|
|
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|