$map['sjjfje'] = array('lt','yjfje'); //实际缴费金额 小于应缴费的金额 $list = $model->where($map)->order('yjid desc') ->page($_GET['p'].',15') ->select(); var_dump($model->_sql());die;SELECT * FROM `xiaowei_yjje` WHERE `sjjfje` < 'yjfje' ORDER BY yjid desc LIMIT 0,20现在这个sql语句报错 拿到数据库 不知为啥那个 ‘yjfje’
添加回答
举报
0/150
提交
取消