|
|
@@ -1834,7 +1834,9 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
|
|
@Override
|
|
|
public void syncHBOrder() {
|
|
|
List<String> orderList = orderMapper.syncOrderList();
|
|
|
- orderList.forEach(c->hbOrderService.createOrderAsync(c));
|
|
|
+ if (!orderList.isEmpty()){
|
|
|
+ orderList.forEach(c->hbOrderService.createOrderAsync(c));
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/**
|