优化mtwm.ListOrders
This commit is contained in:
@@ -579,7 +579,7 @@ func (c *PurchaseHandler) ListOrders(ctx *jxcontext.Context, parentTask tasksch.
|
||||
orderIDs = append(orderIDs, utils.Int64ToStr(v))
|
||||
}
|
||||
}
|
||||
if err = err2; err != nil || len(tmpOrderIDs) == 0 {
|
||||
if err = err2; err != nil || len(tmpOrderIDs) < mtwmapi.MaxGap4GetOrderIdByDaySeq {
|
||||
err = nil
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user