Explorar el Código

调整前端出库记录

jason hace 5 meses
padre
commit
9b4e12b3bc
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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);
     }