Forráskód Böngészése

Merge branch 'dev_wf' of wugg/phpstock into version1.5

wufeng 2 éve
szülő
commit
128f4fd43d
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      app/command/NowReportHandle.php

+ 1 - 1
app/command/NowReportHandle.php

@@ -79,7 +79,7 @@ class NowReportHandle extends Command
             ->leftJoin('sale s', 's.orderCode = sr.orderCode')
             ->leftJoin('supplier sup', 'sup.code = s.supplierNo')
             ->where('sr.is_del', 0)
-            ->whereBetween('sr.addtime', [$start_date . ' 00:00:00', $end_date . ' 23:59:59'])
+            ->whereBetween('sr.addtime', [$start_date, $end_date])
             ->cursor();
 
         $all_sale_return_status = [1 => '待业务审批', 2 => '待专员审批', 3 => '待主管审批', 4 => '退货完成', 5 => '业务驳回', 6 => '采购驳回', 7 => '专员审批不通过'];