不是已完成,不是违规的才发送

This commit is contained in:
雷欧(林平凡)
2025-07-21 16:47:48 +08:00
parent d876892cb0
commit 12ec14179c

View File

@@ -68,7 +68,8 @@ public class OrderUtil {
if (Util.isNotEmpty(wxId)) { if (Util.isNotEmpty(wxId)) {
wxUtil.sendTextMessage(wxId, content, 1, wxId, true); wxUtil.sendTextMessage(wxId, content, 1, wxId, true);
if (newValidCode != 17) { // 不是已完成,不是违规的才发送
if (newValidCode != 17 && newValidCode != 25 && newValidCode != 26 && newValidCode != 27 && newValidCode != 28) {
// 发送今日统计信息 // 发送今日统计信息
sendDailyStats(wxId); sendDailyStats(wxId);
} }
@@ -227,6 +228,7 @@ public class OrderUtil {
return orderInfo.toString(); return orderInfo.toString();
} }
/** /**
* 手动调用 将订单发送到微信 批量 * 手动调用 将订单发送到微信 批量
*/ */
@@ -297,6 +299,7 @@ public class OrderUtil {
+ "下单:" + formatter.format(orderRow.getOrderTime()) + "\r" + "完成:" + (orderRow.getFinishTime() != null ? formatter.format(orderRow.getFinishTime()) : "未完成") + "\r"; + "下单:" + formatter.format(orderRow.getOrderTime()) + "\r" + "完成:" + (orderRow.getFinishTime() != null ? formatter.format(orderRow.getFinishTime()) : "未完成") + "\r";
} }
/** /**
* 将数据库订单转化成微信所需要文本 简洁版 * 将数据库订单转化成微信所需要文本 简洁版
*/ */