shish 3 месяцев назад
Родитель
Сommit
2a73585405

+ 0 - 1
biz-hd/stat/classes/StatStudentClass.php

@@ -20,7 +20,6 @@ class StatStudentClass extends BaseClass
             $stat = self::add(['shopId' => $shopId, 'sjId' => $sjId, 'time' => $date], true);
         }
         $stat->riseNum += 1;
-        $stat->totalNum = $shop->totalStudent + 1;
         $stat->save();
         StatStudentMonthClass::addStudent($shop);
     }

+ 0 - 1
biz-hd/stat/classes/StatStudentMonthClass.php

@@ -21,7 +21,6 @@ class StatStudentMonthClass extends BaseClass
             $stat = self::add(['sjId' => $sjId, 'shopId' => $shopId, 'time' => $month], true);
         }
         $stat->riseNum += 1;
-        $stat->totalNum = $shop['totalStudent'] + 1;
         $stat->save();
     }