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