shish 5 лет назад
Родитель
Сommit
576754b5fb
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      app-ghs/controllers/ConsoleController.php

+ 1 - 3
app-ghs/controllers/ConsoleController.php

@@ -3,7 +3,6 @@
 namespace ghs\controllers;
 
 use biz\stat\classes\StatSaleClass;
-use biz\stat\classes\StatStockOutClass;
 use biz\stat\services\StatOutService;
 use bizHd\stat\classes\StatViewClass;
 use bizHd\stat\services\StatIncomeMonthService;
@@ -11,7 +10,6 @@ use bizHd\stat\services\StatIncomeService;
 use bizHd\stat\services\StatUserService;
 use common\components\dict;
 use common\components\httpUtil;
-use Yii;
 use common\components\util;
 
 class ConsoleController extends BaseController
@@ -29,7 +27,7 @@ class ConsoleController extends BaseController
         $userData = StatUserService::getTodayNum($this->shopId);
         $customNum = isset($userData['riseUserNum']) ? $userData['riseUserNum'] : 0;
 
-        //今天总收入-出库收入= 营业收入
+        //今天销售
         $sale = StatSaleClass::getByCondition(['shopId' => $this->shopId, 'time' => date('Ymd')]);
         $todaySale = $sale['amount'] ?? 0;