浏览代码

调整前端出库记录

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);
     }