Commit 43fa700f authored by clone's avatar clone

Merge branch 'test'

parents b5a6719b 4a9b9578
......@@ -31,7 +31,7 @@ class HouseNumUpdateService
$bargainModel = new OBargainModel();
$params["father_id"] = 0;
$params["order_id"] = $order_id;
//$params["status"] = 10;
$params["status"] = 10;
$bargainNum = $bargainModel->ifBargainNumByOrderId($params);
if($bargainNum == 1){
$orderModel = new OrderModel();
......@@ -39,7 +39,7 @@ class HouseNumUpdateService
$orderParams["a.id"] = $order_id;
$houseInfo = $orderModel->getHouseInfoByOrderId($field,$orderParams);
if(count($houseInfo) > 0 && $houseInfo[0]["residue_num"] > 0 && $houseInfo[0]["status"] == 1){
if(count($houseInfo) > 0 && $houseInfo[0]["residue_num"] > 0 ){
//减数量
$houseModel = new GHouses();
......
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