|
|
@@ -52,7 +52,6 @@ import com.yami.shop.common.util.PageParam;
|
|
|
import com.yami.shop.common.util.R;
|
|
|
import com.yami.shop.dao.*;
|
|
|
import com.yami.shop.service.*;
|
|
|
-import com.yami.shop.service.hb.IHBOrderService;
|
|
|
import com.yami.shop.utils.BinPackingUtil;
|
|
|
import com.yami.shop.utils.CullenUtils;
|
|
|
import com.yami.shop.utils.ExportUtils;
|
|
|
@@ -122,8 +121,6 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
|
|
private final TzSysUserMapper userMapper;
|
|
|
@Autowired
|
|
|
private ExportTaskService exportTaskService;
|
|
|
- @Autowired
|
|
|
- private IHBOrderService hbOrderService;
|
|
|
|
|
|
//导出
|
|
|
// 线程池配置
|
|
|
@@ -1832,11 +1829,8 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public void syncHBOrder() {
|
|
|
- List<String> orderList = orderMapper.syncOrderList();
|
|
|
- if (!orderList.isEmpty()){
|
|
|
- orderList.forEach(c->hbOrderService.createOrderAsync(c));
|
|
|
- }
|
|
|
+ public List<String> syncOrderList() {
|
|
|
+ return orderMapper.syncOrderList();
|
|
|
}
|
|
|
|
|
|
/**
|