Commit b54fcfa3 authored by clone's avatar clone

bug

parent 8e5e8b13
...@@ -838,7 +838,7 @@ class GHouses extends BaseModel ...@@ -838,7 +838,7 @@ class GHouses extends BaseModel
->field($field) ->field($field)
->where($where_) ->where($where_)
->select(); ->select();
echo $this->getLastSql(); //echo $this->getLastSql();
return $result; return $result;
} }
......
...@@ -233,7 +233,7 @@ class OrderModel extends Model ...@@ -233,7 +233,7 @@ class OrderModel extends Model
->where($where_) ->where($where_)
->limit(1) ->limit(1)
->select(); ->select();
echo $this->getLastSql(); //echo $this->getLastSql();
if (count($orderResult) > 0) { if (count($orderResult) > 0) {
return true; return true;
} }
...@@ -245,7 +245,7 @@ class OrderModel extends Model ...@@ -245,7 +245,7 @@ class OrderModel extends Model
->where($select_) ->where($select_)
->limit(1) ->limit(1)
->select(); ->select();
echo $this->getLastSql(); // echo $this->getLastSql();
if (count($marchIn) > 0) { if (count($marchIn) > 0) {
return true; return true;
} }
......
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