diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index 277a63e99..960df02b2 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -276,6 +276,7 @@ func TransferLegacyJdOrder(ctx *jxcontext.Context, isAsync, isContinueWhenError FROM jdorder t1 LEFT JOIN goods_order_original t2 ON t2.vendor_order_id = t1.vendor_order_id WHERE t2.id IS NULL + ORDER BY t1.orderstatustime LIMIT ? ` db := dao.GetDB() @@ -338,6 +339,7 @@ func TransferLegacyElmOrder(ctx *jxcontext.Context, isAsync, isContinueWhenError FROM elemeorder t1 LEFT JOIN goods_order_original t2 ON t2.vendor_order_id = t1.orderid WHERE t2.id IS NULL + ORDER BY t1.order_created_at LIMIT ? ` db := dao.GetDB()