$where2['serve_type_id'] = '1';
$where2['year'] = '1';
$where2['_logic'] = 'or';
$map['_complex1']= $where2;
$em = $this
->alias('t1')
->field('*')
->where($map);
$data = $em
->group('t1.id')
->order($order)
->paginate(1000, false, ['page' => 1])
->getCollection()
->toArray();
return $this->getLastSql();
die;
报如下错误
上一篇:PHP里浮点数的计算