| 09:06:15.877 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 09:06:15.877 | trace | yii\base\Module::getModule | Loading module: debug |
| 09:06:15.877 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 09:06:15.878 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 09:06:15.878 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 09:06:15.878 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 09:06:15.878 | trace | yii\base\Module::getModule | Loading module: gii |
| 09:06:15.879 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
| 09:06:15.879 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 09:06:15.879 | trace | yii\web\Application::handleRequest | Route requested: 'vue/dashboard/sales-goal-year-list' |
| 09:06:15.879 | trace | yii\base\Module::getModule | Loading module: vue |
| 09:06:15.879 | info | yii\web\Session::open | Session started |
| 09:06:15.880 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 09:06:15.880 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 09:06:15.888 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 09:06:15.889 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 09:06:15.889 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 09:06:15.891 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 09:06:15.891 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 09:06:15.891 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 09:06:15.894 | trace | yii\base\Controller::runAction | Route to run: vue/dashboard/sales-goal-year-list |
| 09:06:15.894 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\DashboardController::actionSalesGoalYearList() |
| 09:06:15.894 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 09:06:15.895 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 09:06:15.913 | info | yii\db\Command::query |
SELECT
p.created_by AS user_id,
sum(p.budget * p.profit_pct / 100) AS profits,
sum(p.budget) AS budget,
max(p.bargain_date) as bargain_date
FROM a57be577deb434.tbl_projects AS p
LEFT JOIN a57be577deb434.tbl_users AS u ON (u.id = p.created_by)
WHERE
p.project_status = 3
AND p.created_by IN (1001)
AND p.bargain_date <@ '[2025-01-01 00:00:00,2025-12-31 23:59:59]'::daterange
GROUP BY p.created_by
|
| 09:06:15.921 | info | yii\db\Command::query |
SELECT
p.created_by AS user_id,
sum(p.budget * p.profit_pct / 100) AS profits,
sum(p.budget) AS budget,
max(p.bargain_date) as bargain_date
FROM a57be577deb434.tbl_projects AS p
LEFT JOIN a57be577deb434.tbl_users AS u ON (u.id = p.created_by)
WHERE
p.project_status = 2
AND p.created_by IN (1001)
AND p.bargain_date <@ '[2025-01-01 00:00:00,2025-12-31 23:59:59]'::daterange
GROUP BY p.created_by
|
| 09:06:15.928 | info | yii\db\Command::query | SELECT "u"."id", "u"."id" AS "user_id", "u"."name", "sub"."y_budget", "sub"."y_profit" FROM "a57be577deb434"."tbl_users" "u" LEFT JOIN (SELECT "sgr"."user_id", "sg"."y_budget", "sg"."y_profit" FROM "a57be577deb434"."tbl_sales_goal_rels" "sgr" LEFT JOIN "a57be577deb434"."tbl_sales_goals" "sg" ON (sgr.sales_goal_id = sg.id) AND (goal_year='2025') WHERE sg.id is not null) "sub" ON sub.user_id = u.id WHERE "u"."id"='1001' GROUP BY "u"."id", "sub"."y_budget", "sub"."y_profit" ORDER BY u.pinyin1, u.namecut1,
u.pinyin2, u.namecut2,
u.pinyin3, u.namecut3,
u.pinyin4, u.namecut4 |
| 09:06:15.937 | info | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001) |
| 09:06:15.940 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 09:06:15.940 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 09:06:15.941 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/dashboard/sales-goal-year-list', '{"period":"fascal2025","web_access_token":"AB5Bz4SIDiJAh3txwTX2DWB4Z_eGe1__"}', '{"code":2000,"result":{"list":[{"category":{"name":"2025\u8d22\u5e74","from":"2025-01-01 00:00:00","to":"2025-12-31 23:59:59"},"list":{"id":1001,"name":"\u5218\u4eba\u8bda","status_3_profit":88785.56,"status_3_budget":5531101.99,"status_2_profit":0,"status_2_budget":0,"goal_profit":"1000000","goal_budget":"10000000"}}]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"223.72.15.22","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko\/20100101 Firefox\/146.0"}', FALSE, '2025-12-18 09:06:15') RETURNING "id" |
| 09:06:15.943 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 09:06:15.943 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |