Commit 2ab88949 authored by hujun's avatar hujun

1

parent 4c999d58
...@@ -815,7 +815,7 @@ class OReportModel extends Model ...@@ -815,7 +815,7 @@ class OReportModel extends Model
* @throws \think\db\exception\ModelNotFoundException * @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException * @throws \think\exception\DbException
*/ */
public function getReportOrder($field, $where, $order = 'id desc') public function getReportOrder($field, $where, $order = 'a.id desc')
{ {
return $this->db->field($field) return $this->db->field($field)
->alias('a') ->alias('a')
......
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