This commit is contained in:
雷欧(林平凡)
2025-06-11 11:26:32 +08:00
parent f674eaa9de
commit e47f24d3ba

View File

@@ -2201,25 +2201,25 @@ public class JDUtil {
// 警告缺少的字段getOrderId
StringBuilder sb = new StringBuilder();
if (Util.isEmpty(jdOrder.getOrderId())) {
sb.append(" 单号");
sb.append("单号\n");
}
if (Util.isEmpty(jdOrder.getBuyer())) {
sb.append(" 下单人");
sb.append("下单人\n");
}
if (Util.isEmpty(jdOrder.getPaymentAmount())) {
sb.append(" 下单价格");
sb.append("下单价格\n");
}
if (Util.isEmpty(jdOrder.getRebateAmount())) {
sb.append(" 后返金额");
sb.append("后返金额\n");
}
if (Util.isEmpty(jdOrder.getLogisticsLink())) {
sb.append(" 物流链接");
sb.append("物流链接\n");
}
if (Util.isEmpty(jdOrder.getAddress())) {
sb.append(" 收货地址");
sb.append("收货地址\n");
}
if (Util.isEmpty(jdOrder.getModelNumber())) {
sb.append(" 型号");
sb.append("型号\n");
}
for (int i = 0; i < 3; i++) {
wxUtil.sendTextMessage(fromWxid, "[炸弹] [炸弹] [炸弹] 录单警告!!! 缺少 \n " + sb, 1, fromWxid, false);