Commit bd5ccaa4 authored by hangjun83's avatar hangjun83

1、修复bug

parent a6b869a6
......@@ -137,13 +137,13 @@ class BhOrdersService
}
}
if($params['transfer_pre'] == true){
if($params['transfer_pre'] == 'true'){
$params['transfer_pre'] = 1;
}else{
$params['transfer_pre'] = 0;
}
if($params['cancel_porder'] == true){
if($params['cancel_porder'] == 'true'){
$params['cancel_porder'] = 1;
}else{
$params['cancel_porder'] = 0;
......@@ -508,7 +508,6 @@ class BhOrdersService
arsort($minRecord); // 降序排序
$num = $refundInfo->refund_nums;
// minrecord有值,只有退货数量大于此条记录的数量时
$cancelRecord = array_merge($cancelRecord,$this->handleDpdetailInfo($dbConnect,$num,$minRecord,$updatedItem,$refundInfo,'asort'));
$cancelRecord = array_merge($cancelRecord,$this->handleDpdetailInfo($dbConnect,$num,$maxRecord,$updatedItem,$refundInfo,'arsort'));
......
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