瀏覽代碼

统计优化

shish 13 小時之前
父節點
當前提交
ad46963d2a
共有 2 個文件被更改,包括 8 次插入1 次删除
  1. 4 0
      app-ghs/controllers/StatController.php
  2. 4 1
      app-ghs/controllers/StatKdController.php

+ 4 - 0
app-ghs/controllers/StatController.php

@@ -122,6 +122,10 @@ class StatController extends BaseController
         StatSaleClass::incomeOutItem($mainId);
     }
 
+    /**
+     * 经营利润总表:ghsApp profit、PC ghs /assets/profit 共用。
+     * timeType=bill 记账(销售/支出 payTime、采购 entryTime);=send 均按 sendTime。
+     */
     public function actionProfit()
     {
         ini_set('memory_limit', '2045M');

+ 4 - 1
app-ghs/controllers/StatKdController.php

@@ -10,7 +10,10 @@ use Yii;
 class StatKdController extends BaseController
 {
 
-    //各渠道收入 ssh 20220711
+    /**
+     * 各渠道收入:ghsApp kdIncome、PC ghs /assets/kdIncome 共用。
+     * timeType=bill 按账单日 payTime(默认);=send 按发货 sendTime(仅已付款)。
+     */
     public function actionProfile()
     {