소스 검색

调整前端出库记录

jason 5 달 전
부모
커밋
9b4e12b3bc
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/api/controller/Inventory.php

+ 1 - 0
app/api/controller/Inventory.php

@@ -67,6 +67,7 @@ class Inventory extends Base
                 ->where($where)
                 //->whereTime('a.createtime', '-2 days')
                 ->field('a.*,b.title')
+                ->order('a.id desc')
                 ->select();
         $this->success('ok', $list);
     }