shish 1 an în urmă
părinte
comite
2b199d8da1
1 a modificat fișierele cu 4 adăugiri și 1 ștergeri
  1. 4 1
      biz-ghs/stat/classes/StatKdClass.php

+ 4 - 1
biz-ghs/stat/classes/StatKdClass.php

@@ -177,7 +177,10 @@ class StatKdClass extends BaseClass
                 $status = $ghsOrder['status'] ?? 0;
                 $book = $ghsOrder['book'] ?? 0;
                 $staffId = $ghsOrder['shopAdminId'] ?? 0;
-                $staffName = $ghsOrder['shopAdminName'] ?? '系统';
+                $staffName = $ghsOrder['shopAdminName'] ?? '';
+                if($staffId==0){
+                    $staffName = '系统';
+                }
                 if ($status == 0 || $status == 5) {
                     continue;
                 }