记得上下班打卡 | git大法好,push需谨慎

Commit 50101c2b authored by 胡佳晨's avatar 胡佳晨

修改 订单列表bug

parent 692c7334
...@@ -64,7 +64,7 @@ public class GoblinOrderAppServiceImpl implements IGoblinOrderAppService { ...@@ -64,7 +64,7 @@ public class GoblinOrderAppServiceImpl implements IGoblinOrderAppService {
if (finalCount <= 0) { if (finalCount <= 0) {
finalCount = 0; finalCount = 0;
} }
for (int i = initCount; i > finalCount; i--) { for (int i = initCount; i >= finalCount; i--) {
String orderId = orderIds.get(i); String orderId = orderIds.get(i);
GoblinStoreOrderVo orderVo = redisUtils.getGoblinOrder(orderId); GoblinStoreOrderVo orderVo = redisUtils.getGoblinOrder(orderId);
GoblinAppOrderListVo vo = GoblinAppOrderListVo.getNew(); GoblinAppOrderListVo vo = GoblinAppOrderListVo.getNew();
......
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