Commit bea86412 by 王世昌

bug fix

parent 29c863c8
......@@ -3637,7 +3637,7 @@ public class OrderSdkAdapter {
// 获取当前状态最后一条匹配的操作时间
if (CollectionUtils.isNotEmpty(orderInfoReqs.getOrderOperationHistoryList())) {
List<OrderOperationHistoryResp> historyList = orderInfoReqs.getOrderOperationHistoryList();
for (int i = historyList.size() - 1; i <= 0; i--) {
for (int i = historyList.size() - 1; i >= 0; i--) {
OrderOperationHistoryResp historyResp = historyList.get(i);
if (Objects.equals(historyResp.getTargetOrderState(), orderInfoReqs.getOrderState())) {
info.setStateUpdateTimestamp(historyResp.getUpdateTimestamp());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment