From c0302aa69e75d19452afb641afb94ae28aca28c1 Mon Sep 17 00:00:00 2001 From: fomichev Date: Mon, 20 Jan 2025 23:48:11 +0300 Subject: [PATCH] =?utf8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5?= =?utf8?q?=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/commands/CronController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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(); // Выбираем номера для отправки через бота -- 2.39.5