wuggemail@foxmail.com 3 weeks ago
parent
commit
5409404034
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/command/EveryAccountInv.php

+ 1 - 1
app/admin/command/EveryAccountInv.php

@@ -77,7 +77,7 @@ class EveryAccountInv extends Command
             ->where([["a.status","=","4"],['a.is_del',"=",0]])
             ->whereDay("a.updatetime",$this->date)
             ->field("sum(b.goodNum* ifnull(d.goodPrice,0)) as cost_fee,sum(b.totalPrice) as inv_fee,c.manager,c.managerid")
-            ->group("c.mamager,c.managerid")
+            ->group("c.manager,c.managerid")
             ->select();
         return $invTotal;
     }