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