Commit 2fbe0e7a authored by hangjun83's avatar hangjun83

1、增加对期货商品的退货逻辑

parent 93ce477e
......@@ -337,10 +337,6 @@ class BhOrdersService
$currentProcessNums = $spotNums;
if($spotNums == 0) {
break;
}
// 如果有期货数量优先处理
if($futuresNum > 0){
$currentProcessNums = $futuresNum;
......@@ -704,6 +700,10 @@ class BhOrdersService
}else{
break;
}
if($spotNums == 0){
break;
}
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment