소스 검색

Merge branch 'master' of http://git.liuniu946.com/Kirin/mccs

zxhxx 2 년 전
부모
커밋
0995c4f875
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/models/store/SystemStockBill.php

+ 1 - 1
app/models/store/SystemStockBill.php

@@ -73,7 +73,7 @@ class SystemStockBill extends BaseModel
         $model = $model->where('a.id','>',0);
         $model = $model->field('a.*,b.image,b.is_show,b.is_del,b.store_name');
         $count = $model->count();
-        $data = $model->page($where['page'],$where['limit'])->order("product_id desc")->select()->toarray();
+        $data = $model->page($where['page'],$where['limit'])->order("id desc")->select()->toarray();
         return compact('count','data');
     }