录单
This commit is contained in:
@@ -2223,6 +2223,7 @@ public class JDUtil {
|
|||||||
for (int i = 0; i < 3; i++) {
|
for (int i = 0; i < 3; i++) {
|
||||||
wxUtil.sendTextMessage(fromWxid, "[Broken] [Broken] [Broken] 录单警告!!! 缺少 " + sb, 1, fromWxid, false);
|
wxUtil.sendTextMessage(fromWxid, "[Broken] [Broken] [Broken] 录单警告!!! 缺少 " + sb, 1, fromWxid, false);
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
List<JDOrder> byAddress = jdOrderRepository.findByAddressOrderByOrderTimeDesc(jdOrder.getAddress());
|
List<JDOrder> byAddress = jdOrderRepository.findByAddressOrderByOrderTimeDesc(jdOrder.getAddress());
|
||||||
if (!byAddress.isEmpty()) {
|
if (!byAddress.isEmpty()) {
|
||||||
@@ -2230,7 +2231,6 @@ public class JDUtil {
|
|||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.append(DateUtil.dateToStr(byAddress.get(0).getOrderTime(), "yyyy-MM-dd HH:mm:ss"));
|
sb.append(DateUtil.dateToStr(byAddress.get(0).getOrderTime(), "yyyy-MM-dd HH:mm:ss"));
|
||||||
wxUtil.sendTextMessage(fromWxid, "[Broken] [Broken] [Broken] 录单警告!!! 收货地址重复,请确认 !!! \n 此地址共" + count + "个订单,最近的订单时间:" + sb, 1, fromWxid, false);
|
wxUtil.sendTextMessage(fromWxid, "[Broken] [Broken] [Broken] 录单警告!!! 收货地址重复,请确认 !!! \n 此地址共" + count + "个订单,最近的订单时间:" + sb, 1, fromWxid, false);
|
||||||
|
|
||||||
}
|
}
|
||||||
JDOrder byRemark = jdOrderRepository.findByRemark(jdOrder.getRemark());
|
JDOrder byRemark = jdOrderRepository.findByRemark(jdOrder.getRemark());
|
||||||
String info;
|
String info;
|
||||||
|
|||||||
Reference in New Issue
Block a user