From: fomichev Date: Mon, 20 Jan 2025 20:48:11 +0000 (+0300) Subject: Исправления X-Git-Tag: 1.7~59^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=c0302aa69e75d19452afb641afb94ae28aca28c1;p=erp24_rep%2Fyii-erp24%2F.git Исправления --- diff --git a/erp24/commands/CronController.php b/erp24/commands/CronController.php index 1b9badbf..151a73c9 100644 --- a/erp24/commands/CronController.php +++ b/erp24/commands/CronController.php @@ -270,9 +270,9 @@ class CronController extends Controller BaseConsole::FG_GREEN ); $sentStatusKogort = SentKogort::find() - ->select('phones') + ->select('phone') ->where(['kogort_date' => $kogortDate]) - ->andWhere(['target' => $targetDate]) + ->andWhere(['target_date' => $targetDate]) ->andWhere(['status' => 2]) ->column(); @@ -465,9 +465,9 @@ class CronController extends Controller if ($i == 0) { $sentStatusKogort = SentKogort::find() - ->select('phones') + ->select('phone') ->where(['kogort_date' => $kogortDate]) - ->andWhere(['target' => $targetDate]) + ->andWhere(['target_date' => $targetDate]) ->andWhere(['status' => 3]) ->column(); // Выбираем номера для отправки через бота