| 17:20:35.517 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 17:20:35.517 | trace | yii\base\Module::getModule | Loading module: debug |
| 17:20:35.518 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 17:20:35.518 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 17:20:35.519 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 17:20:35.519 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:20:35.519 | trace | yii\base\Module::getModule | Loading module: gii |
| 17:20:35.519 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
| 17:20:35.519 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 17:20:35.519 | trace | yii\web\Application::handleRequest | Route requested: 'vue/purchase-contract/list-project-product' |
| 17:20:35.519 | trace | yii\base\Module::getModule | Loading module: vue |
| 17:20:35.520 | info | yii\web\Session::open | Session started |
| 17:20:35.521 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 17:20:35.521 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 17:20:35.527 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:20:35.527 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:20:35.527 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:20:35.528 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:20:35.528 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:20:35.531 | trace | yii\base\Controller::runAction | Route to run: vue/purchase-contract/list-project-product |
| 17:20:35.531 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:20:35.532 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 17:20:35.533 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\PurchaseContractController::actionListProjectProduct() |
| 17:20:35.533 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='4014' |
| 17:20:35.534 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:20:35.534 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:20:35.534 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:20:35.534 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:20:35.537 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'client_id' in 'app\models\search\ProductSearch'. |
| 17:20:35.537 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'project_id' in 'app\models\search\ProductSearch'. |
| 17:20:35.538 | info | yii\db\Command::query | SELECT p.*, project.project_title as project_name, client.name as client_name, sum(ppr.number) as number, max(ppr.amount) as amount FROM "a57be577deb434"."tbl_products" "p" LEFT JOIN "a57be577deb434"."tbl_product_brands" "pb" ON p.product_brand = pb.id LEFT JOIN "a57be577deb434"."tbl_product_types" "pt" ON p.product_type = pt.id LEFT JOIN "a57be577deb434"."tbl_product_series" "ps" ON p.product_serie = ps.id LEFT JOIN "a57be577deb434"."tbl_product_components" "pc" ON p.product_component = pc.id LEFT JOIN "a57be577deb434"."tbl_project_product_rels" "ppr" ON ppr.product_id = p.id LEFT JOIN "a57be577deb434"."tbl_projects" "project" ON ppr.project_id = project.id LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON project.client_id = client.id WHERE "ppr"."project_id"=4014 GROUP BY "p"."id", "project"."id", "client"."id" ORDER BY "updated_at" DESC |
| 17:20:35.545 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_types" WHERE "id"=5 |
| 17:20:35.545 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_components" WHERE "id"=36 |
| 17:20:35.546 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=8 |
| 17:20:35.546 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_series" WHERE "id"=1382 |
| 17:20:35.547 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_units" WHERE "id"=2 |
| 17:20:35.547 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1013 |
| 17:20:35.548 | 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"=1013) |
| 17:20:35.549 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=7 |
| 17:20:35.549 | info | yii\db\Command::query | SELECT "product_id", sum(outbound) as outbound, sum(number) as number, sum(inventory) as inventory, avg(actual_amount) as avg_amount, avg(actual_amount * inventory) as avg_total_amount, sum(actual_amount * inventory) as amount FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "product_id"=1624 GROUP BY "product_id" |
| 17:20:35.551 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:20:35.551 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:20:35.552 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_visit_module_histories" WHERE ("user_id"=1001) AND ("object_type"=13) AND ("visit_date"='2025-12-22') |
| 17:20:35.558 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:20:35.558 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:20:35.558 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_visit_module_histories" SET "num"=2, "last_visit_at"='now()' WHERE "id"=59624 |
| 17:20:35.560 | 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/purchase-contract/list-project-product', '{"client_name":"\u826f\u56fe\u79d1\u6280\uff08\u4e0a\u6d77\uff09\u6709\u9650\u516c\u53f8","ProductSearch":{"client_id":"3286","project_id":"4014"}}', '{"code":2000,"result":{"list":[{"id":1624,"name":"PAN-SOFTWARE-NGFW-CR","product_type":5,"product_component":36,"product_brand":8,"product_serie":1382,"product_misc":"","product_qa":"","pn":"","description":"","created_by":1013,"created_at":"2024-05-28 17:27:39","updated_at":"2025-12-18 15:18:39","pinyin_shortcut":"PANSOFTWARENGFWCR","product_unit":2,"is_renew":false,"in_out_at":"2025-12-18 15:18:39.404857+08","project_name":"\uff08\u897f\u4e91\u6570\u636e\uff09PA VM\u8f6f\u4ef6\u4ea7\u54c1\u7eed\u4fdd\u9879\u76ee","client_name":"\u826f\u56fe\u79d1\u6280\uff08\u4e0a\u6d77\uff09\u6709\u9650\u516c\u53f8","number":142,"amount":"1289.9999295774","productType":{"id":5,"key":5,"name":"\u5b89\u5168\u8bbe\u5907"},"productComponent":{"id":36,"key":36,"name":"PA\u8bb8\u53ef\u8bc1"},"productBrand":{"id":8,"key":8,"name":"PaloAlto"},"productSerie":{"id":1382,"key":1382,"name":"PA\u865a\u62df\u9632\u706b\u5899\u8f6f\u4ef6\u6388\u6743"},"productMisc":"","productUnit":{"id":2,"key":2,"name":"\u5957"},"createdBy":{"id":1013,"key":1013,"name":"\u7fc1\u5bb6\u6210","sex":"M","department_id":7,"avatar":{"id":34,"user_id":1013,"name":"\/files\/cdn\/a57be577deb434\/avatar\/25ef1fe7-8dda-3daa-b8ea-9fabd0a47439.png"},"department":{"id":7,"key":7,"name":"\u5e93\u623f\u90e8"}},"productQa":"","erpInventoryCount":{"product_id":1624,"outbound":"101","number":"235","inventory":"134","avg_amount":"1253.9000000000000000","avg_total_amount":"33902.000000000000","amount":"135608.0"}}]},"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-22 17:20:35') RETURNING "id" |
| 17:20:35.562 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:20:35.562 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |