mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 01:59:20 +08:00
fix(order-import): 移除预获取默认订单状态的逻辑
- 移除循环前调用 getDefaultOrderStatusId 的代码 - 每行数据的状态直接使用 CSV 中的名称自动创建 - 不再提前创建'待处理'等默认状态
This commit is contained in:
+1
-1
@@ -396,7 +396,7 @@ public class ImportTaskProcessorServiceImpl implements ImportTaskProcessorServic
|
||||
try {
|
||||
// 解析CSV行数据
|
||||
CreateOrderDTO orderDTO = parseOrderFromCSV(record, fieldMapping, statusMapping, task.getShopId(),
|
||||
defaultStatusId, companyId, task.getCreateBy(), context);
|
||||
null, companyId, task.getCreateBy(), context);
|
||||
queueShopProductRelation(orderDTO, context);
|
||||
OrderPO orderPO = buildOrderPO(orderDTO, companyId, task.getCreateBy(), task.getId());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user