Commit c43cd989 authored by clone's avatar clone

bug

parent 2d86a76d
......@@ -64,7 +64,6 @@ class ConvertOrder extends Basic
$field = "a.id,a.phpone,a.agent_id,a.agent_shop_id,a.receptiontime ,a.house_id,a.customer,a.sex,a.vehicle,a.created,a.modified,
b.title as house_title,b.room_num_left,c.phone,c.realname";
for ($pageNo = 1; $pageNo <= $pageTotal; $pageNo++) {
sleep(5);
$appliesList = $this->appliesModel->getApplies($pageNo, $pageSize, $field);
if (count($appliesList) > 0) {
$orderArr = [];
......
......@@ -42,7 +42,7 @@ class HouseNumUpdateService
//减数量
$houseModel = new GHouses();
$id = $houseInfo["id"];
$id = $houseInfo[0]["id"];
$updateParams["residue_num"] = $houseInfo[0]["residue_num"] - 1;
if( $houseInfo[0]["residue_num"] == 1 ){
$updateParams["status"] = 2;
......@@ -83,7 +83,7 @@ class HouseNumUpdateService
//减数量
$houseModel = new GHouses();
$id = $houseInfo["id"];
$id = $houseInfo[0]["id"];
$updateParams["residue_num"] = $houseInfo[0]["residue_num"] + 1;
if( $houseInfo[0]["residue_num"] == 2 ){
$updateParams["status"] = 1;
......
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