]> gitweb.erp-flowers.ru Git - yii-erp24/.git/commitdiff
fix double quotes around value in pgsql
authorAlexander Smirnov <fredeom@mail.ru>
Tue, 2 Apr 2024 10:34:10 +0000 (13:34 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Tue, 2 Apr 2024 10:34:10 +0000 (13:34 +0300)
erp24/controllers/PlanStoreController.php

index ce4a6b66e0d4b4000278b6caaa3ce8a8ae966188..5347b7e57eba3f2617be2b101b635535b67fab66 100644 (file)
@@ -250,7 +250,7 @@ class PlanStoreController extends Controller
     public function getStoreList()
     {
         $stores = CityStore::find()->innerJoin('store_dynamic', 'store_dynamic.store_id = city_store.id')
-            ->select(['cluster' => 'CONCAT_WS(" ", "Куст",  store_dynamic.value_int)', 'store_name' => 'city_store.name', 'store_id' => 'city_store.id'])
+            ->select(['cluster' => 'CONCAT_WS(\' \', \'Куст\',  store_dynamic.value_int)', 'store_name' => 'city_store.name', 'store_id' => 'city_store.id'])
             ->asArray()
             ->all();