Commit 40e2c522 authored by hangjun83's avatar hangjun83

期货数量问题

parent 304d6e2f
......@@ -391,6 +391,7 @@ class BhOrdersService
if($futuresNum > 0){
$updateArr['si_num'] = $orderitem['si_num'] - $futuresNum;
//$updateArr['si_assigned_num'] = $orderitem['si_assigned_num'];
$updateArr['si_assigned_num'] = $futuresNum;
}else{
$updateArr['si_num'] = bcsub($orderitem['si_num'], $currentProcessNums); // 如果数量只有1,且退货数量相等
$updateArr['si_assigned_num'] = $updateArr['si_num'];
......
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