Commit 573efc0b authored by clone's avatar clone

1

parent 590e1a7b
...@@ -42,6 +42,9 @@ class FollowUpService { ...@@ -42,6 +42,9 @@ class FollowUpService {
$order_arr = []; $order_arr = [];
foreach($house_arr as $k => $v ){ foreach($house_arr as $k => $v ){
//todo 批量插入到数据库 //todo 批量插入到数据库
if($v <= 0){
break;
}
$order_no = $this->createOrderNumber(); $order_no = $this->createOrderNumber();
array_push($order_arr,$this->orderBin($order_no,$id,$v)); array_push($order_arr,$this->orderBin($order_no,$id,$v));
} }
......
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