14:04:53.783 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
14:04:53.783 | trace | yii\base\Module::getModule | Loading module: debug |
14:04:53.784 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
14:04:53.784 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
14:04:53.784 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
14:04:53.784 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:04:53.784 | trace | yii\base\Module::getModule | Loading module: gii |
14:04:53.784 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
14:04:53.784 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
14:04:53.784 | trace | yii\web\Application::handleRequest | Route requested: 'vue/analysis/used-client-collect-list' |
14:04:53.784 | trace | yii\base\Module::getModule | Loading module: vue |
14:04:53.785 | info | yii\web\Session::open | Session started |
14:04:53.785 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=5250 |
14:04:53.786 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
14:04:53.790 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:04:53.790 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:04:53.790 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:04:53.790 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:04:53.791 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5250 |
14:04:53.792 | trace | yii\base\Controller::runAction | Route to run: vue/analysis/used-client-collect-list |
14:04:53.792 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:04:53.793 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
14:04:53.793 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\AnalysisController::actionUsedClientCollectList() |
14:04:53.793 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:04:53.794 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:04:53.795 | info | yii\db\Command::query | SELECT SUM(amount) FROM (SELECT "scp".* FROM "a57be577deb434"."tbl_project_used_client_payments" "scp" LEFT JOIN "a57be577deb434"."tbl_project_used_clients" "c" ON c.id = scp.project_used_client_id LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON c.project_id = p.id WHERE ("p"."created_by" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5409, 5412, 5229, 1005, 5304, 5358, 1006, 5093)) AND ("c"."used_client"='3334') ORDER BY scp.amount DESC NULLS LAST, scp.created_at DESC NULLS LAST, scp.id desc) "c" |
14:04:53.797 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT "scp".* FROM "a57be577deb434"."tbl_project_used_client_payments" "scp" LEFT JOIN "a57be577deb434"."tbl_project_used_clients" "c" ON c.id = scp.project_used_client_id LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON c.project_id = p.id WHERE ("p"."created_by" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5409, 5412, 5229, 1005, 5304, 5358, 1006, 5093)) AND ("c"."used_client"='3334') ORDER BY scp.amount DESC NULLS LAST, scp.created_at DESC NULLS LAST, scp.id desc) "c" |
14:04:53.798 | info | yii\db\Command::query | SELECT "scp".* FROM "a57be577deb434"."tbl_project_used_client_payments" "scp" LEFT JOIN "a57be577deb434"."tbl_project_used_clients" "c" ON c.id = scp.project_used_client_id LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON c.project_id = p.id WHERE ("p"."created_by" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5409, 5412, 5229, 1005, 5304, 5358, 1006, 5093)) AND ("c"."used_client"='3334') ORDER BY scp.amount DESC NULLS LAST, scp.created_at DESC NULLS LAST, scp.id desc LIMIT 20 |
14:04:53.798 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:04:53.799 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:04:53.799 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_used_clients" WHERE "id"=95 |
14:04:53.799 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "project_title" AS "name", "budget", "bargain_date", "created_by", "client_id" FROM "a57be577deb434"."tbl_projects" WHERE "id"=3801 |
14:04:53.799 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
14:04:53.800 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_clients" WHERE "id"=3334 |
14:04:53.800 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:04:53.801 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:04:53.801 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_visit_module_histories" WHERE ("user_id"=5250) AND ("object_type"=23) AND ("visit_date"='2025-07-05') |
14:04:53.804 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:04:53.804 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:04:53.804 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_visit_module_histories" SET "num"=138, "last_visit_at"='now()' WHERE "id"=49799 |
14:04:53.805 | 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', 5250, 5, 'vue/analysis/used-client-collect-list', '{"client_id":"3334","is_collected":"1","page":"1","Filter":{"sort":"DESC","name":"amount"},"status":"collected","web_access_token":"lF6lDSiCl5CRIFfE8shlx2wSeme229Hs"}', '{"code":2000,"result":{"list":[{"id":1,"project_used_client_id":95,"collected_date":"2025-06-11","amount":"1.00","paid_amount":"1","description":"","created_by":1001,"created_at":"2025-06-11 15:29:06","projectUsedClient":{"id":95,"project_id":3801,"used_client":3334,"budget":"598000","profit":"478400","profit_pct":"80","collected_plan":"110000","remind_ahead":null,"project":{"id":3801,"key":3801,"name":"\u8d1f\u6570\u95ee\u9898","budget":"8000","bargain_date":"2025-04-09","created_by":1001,"client_id":3278,"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4}},"usedClient":{"id":3334,"key":3334,"name":"\u5317\u4eac\u878d\u9890\u5149\u7535\u79d1\u6280\u6709\u9650\u516c\u53f8(\u8fc7\u5355)"}},"created_at_display":"2025-06-11"}],"sumAmount":"1.00","pagenation":{"totalcount":1,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0}', FALSE, '2025-07-05 14:04:53') RETURNING "id" |
14:04:53.807 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:04:53.807 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |