1
This commit is contained in:
@@ -631,9 +631,9 @@ public class JDUtils {
|
|||||||
}
|
}
|
||||||
// 订单状态查询
|
// 订单状态查询
|
||||||
if (order.startsWith("3") || order.startsWith("2")) {
|
if (order.startsWith("3") || order.startsWith("2")) {
|
||||||
String orderId = order;
|
List<OrderRow> orderRowList = orderRowRepository.findByOrderId(Long.parseLong(order));
|
||||||
OrderRow orderRow = orderRowRepository.findById(orderId).orElse(null);
|
if (orderRowList.size() > 0) {
|
||||||
if (orderRow != null) {
|
OrderRow orderRow = orderRowList.get(0);
|
||||||
content.append(getFormattedOrderInfo(orderRow, orderRow.getValidCode()));
|
content.append(getFormattedOrderInfo(orderRow, orderRow.getValidCode()));
|
||||||
} else {
|
} else {
|
||||||
content.append("订单不存在");
|
content.append("订单不存在");
|
||||||
|
|||||||
Reference in New Issue
Block a user