Browse Source

花店 xhOrder 表的 onlinePay 字段是指:钱是否进入公司的帐户 -- 1不是 2是 -- (加错位置,修改下)

shizhongqi 4 years ago
parent
commit
8f9d5ec161
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app-ghs/controllers/ConsoleController.php

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

@@ -60,6 +60,7 @@ class ConsoleController extends BaseController
         Yii::info('批发今日收入总笔数:' . $ghsOnlineCount . ', 批发今日实收总数:' . $ghsActIncome);
 
         $where['shopId'] = $this->shop['lsShopId'];
+        $where['onlinePay'] = 2; // 花店 xhOrder 表的 onlinePay 字段是指:钱是否进入公司的帐户 --  1不是 2是
         unset($where['debt']);
         unset($where['debtPrice']);
         $hdActualCount = HdOrderClass::getCount($where); // 花店今日收入总笔数
@@ -80,7 +81,6 @@ class ConsoleController extends BaseController
         Yii::info('批发今日现金总笔数:' . $ghsCashCount . ', 批发今日现金金额总数:' . $ghsCashIncome);
 
         $where['shopId'] = $this->shop['lsShopId'];
-        $where['onlinePay'] = 2; // 花店 xhOrder 表的 onlinePay 字段是指:钱是否进入公司的帐户 --  1不是 2是
         unset($where['debt']);
         unset($where['debtPrice']);
         $hdCashCount = HdOrderClass::getCount($where); // 花店今日现金总笔数