diff --git a/application/adminapi/model/Room.php b/application/adminapi/model/Room.php index 21ec9011..04cf4d5e 100644 --- a/application/adminapi/model/Room.php +++ b/application/adminapi/model/Room.php @@ -76,7 +76,7 @@ class Room extends Model // $give_where['from'] = ["in",[2,3,6]]; $give_where['from'] = 2; if(!empty($stime)){ - $give_where['createtime'] = ['>=',strtotime($stime)]; + $give_where['apply_time'] = ['>=',strtotime($stime)]; } if(!empty($etime)){ $give_where['createtime'] = ['<',strtotime($etime)];