From 12ec14179c334d6bf97bdafd04f297b9d8219506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E6=AC=A7=EF=BC=88=E6=9E=97=E5=B9=B3=E5=87=A1?= =?UTF-8?q?=EF=BC=89?= Date: Mon, 21 Jul 2025 16:47:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E6=98=AF=E5=B7=B2=E5=AE=8C=E6=88=90?= =?UTF-8?q?=EF=BC=8C=E4=B8=8D=E6=98=AF=E8=BF=9D=E8=A7=84=E7=9A=84=E6=89=8D?= =?UTF-8?q?=E5=8F=91=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cn/van/business/util/OrderUtil.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/cn/van/business/util/OrderUtil.java b/src/main/java/cn/van/business/util/OrderUtil.java index a7958b5..c3f8807 100644 --- a/src/main/java/cn/van/business/util/OrderUtil.java +++ b/src/main/java/cn/van/business/util/OrderUtil.java @@ -68,7 +68,8 @@ public class OrderUtil { if (Util.isNotEmpty(wxId)) { wxUtil.sendTextMessage(wxId, content, 1, wxId, true); - if (newValidCode != 17) { + // 不是已完成,不是违规的才发送 + if (newValidCode != 17 && newValidCode != 25 && newValidCode != 26 && newValidCode != 27 && newValidCode != 28) { // 发送今日统计信息 sendDailyStats(wxId); } @@ -227,6 +228,7 @@ public class OrderUtil { return orderInfo.toString(); } + /** * 手动调用 将订单发送到微信 批量 */ @@ -297,6 +299,7 @@ public class OrderUtil { + "下单:" + formatter.format(orderRow.getOrderTime()) + "\r" + "完成:" + (orderRow.getFinishTime() != null ? formatter.format(orderRow.getFinishTime()) : "未完成") + "\r"; } + /** * 将数据库订单转化成微信所需要文本 简洁版 */