为什么会少个isBranch

浏览:400 发布日期:2014/12/09 分类:求助交流
$where=array();
$where['token']=$this->token;
$where['shortname']=$_GET['shortname'];
$where['isBranch']=$isBranch_v;
$where['id']=$_GET['id'];

$thisCompany=$this->company_model->where($where)->find();
print_r($this->company_model->getLastsql());

输出的是
SELECT * FROM `tp_company` WHERE ( `token` = 'wmgyie1417030908' ) AND ( `shortname` = 'medical' ) AND ( `id` = null ) LIMIT 1
最佳答案
评论() 相关
后面还有条评论,点击查看>>