wugg 2 years ago
parent
commit
6220dbb02f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/command/NowReportHandle.php

+ 1 - 0
app/command/NowReportHandle.php

@@ -334,6 +334,7 @@ class NowReportHandle extends Command
             ->leftJoin("warehouse_info wwi","wwi.wsm_code = wpo.wsm_code")
             ->leftJoin("supplier ws","ws.code=wpo.supplierNo")
             ->where('wpi.status',"in", [4,6])
+            ->where('wpo.order_type',"=",1)
             ->whereBetween('wpi.addtime', [$start, $end])
             ->field(" wpo.companyNo '业务公司',
     bkcode '备库单号',