Browse Source

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

wufeng 2 years ago
parent
commit
ec7b436418
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/admin/controller/SaleReport.php

+ 2 - 0
app/admin/controller/SaleReport.php

@@ -1366,6 +1366,8 @@ class SaleReport extends Base
             ->leftJoin("sale b", "b.orderCode=a.orderCode")
             ->leftJoin("order_send os", "os.outCode=a.outCode")
             ->leftJoin("order_addr oa", "oa.id=a.addrid")
+            ->leftJoin("depart_user u", "u.uid=a.apply_id AND u.is_del=0")
+            ->leftJoin("company_item ci", "ci.id=u.itemid")
             ->where($where)
             ->order("a.addtime desc")
             ->count('a.id');