17:14:29.839 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
17:14:29.839 | trace | yii\base\Module::getModule | Loading module: debug |
17:14:29.840 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
17:14:29.840 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
17:14:29.840 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
17:14:29.840 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:14:29.840 | trace | yii\base\Module::getModule | Loading module: gii |
17:14:29.840 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
17:14:29.841 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
17:14:29.841 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-inventory-product/product-view' |
17:14:29.841 | trace | yii\base\Module::getModule | Loading module: vue |
17:14:29.841 | info | yii\web\Session::open | Session started |
17:14:29.841 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
17:14:29.841 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:14:29.846 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:14:29.847 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:14:29.847 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:14:29.847 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:14:29.847 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
17:14:29.849 | trace | yii\base\Controller::runAction | Route to run: vue/erp-inventory-product/product-view |
17:14:29.850 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:14:29.851 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:14:29.851 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpInventoryProductController::actionProductView() |
17:14:29.851 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:14:29.851 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:14:29.852 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT "p".* 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_erp_inventory_products" "eip" ON eip.product_id = p.id WHERE "eip"."inventory" > 0 GROUP BY "p"."id") "c" |
17:14:29.854 | info | yii\db\Command::query | SELECT sub.* FROM (SELECT ROW_NUMBER() OVER (ORDER BY updated_at DESC) as idx, sub.* FROM (SELECT "p".* 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_erp_inventory_products" "eip" ON eip.product_id = p.id WHERE "eip"."inventory" > 0 GROUP BY "p"."id") "sub") "sub" WHERE "id"='2067' |
17:14:29.858 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"='2067' |
17:14:29.858 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_types" WHERE "id"=4 |
17:14:29.859 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_components" WHERE "id"=51 |
17:14:29.859 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=12 |
17:14:29.859 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_series" WHERE "id"=231 |
17:14:29.860 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_units" WHERE "id"=2 |
17:14:29.861 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1013 |
17:14:29.861 | 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:14:29.862 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=7 |
17:14:29.863 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:14:29.863 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:14:29.863 | 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/erp-inventory-product/product-view', '{"Filter":{"name":"updated_at","sort":"DESC"},"ErpProductSearch":{"erp_store_id":"","product_type":"","product_component":"","product_brand":"","product_serie":"","handler":"","number_range_to":"","number_range_from":"","inventory":"1"},"id":"2067","hasParamKey":"inventory,ticket_type","params":"[object Object]","web_access_token":"Li3IMhP-fEDlm-Uio7KRe04g8yEtq7zU"}', '{"code":2000,"result":{"model":{"id":2067,"name":"\u6df1\u4fe1\u670d\u5168\u7f51\u884c\u4e3a\u7ba1\u7406\u7cfb\u7edf\u8f6f\u4ef6V13.0(\u9002\u7528\u4e8eAC-1000-B1100-4D)","product_type":4,"product_component":51,"product_brand":12,"product_serie":231,"product_misc":"","product_qa":"","pn":"","description":"\u6df1\u4fe1\u670d\u5168\u7f51\u884c\u4e3a\u7ba1\u7406\u7cfb\u7edf\u8f6f\u4ef6V13.0","created_by":1013,"created_at":"2025-07-28 14:45:38","updated_at":"2025-08-12 18:25:29","pinyin_shortcut":"sxfqwxwglxtrjV130syyAC1000B11004D","product_unit":2,"is_renew":false,"productType":{"id":4,"key":4,"name":"\u7f51\u7edc\u8bbe\u5907 "},"productComponent":{"id":51,"key":51,"name":"\u7ba1\u7406\u8f6f\u4ef6\u548c\u670d\u52a1"},"productBrand":{"id":12,"key":12,"name":"\u6df1\u4fe1\u670d"},"productSerie":{"id":231,"key":231,"name":"\u6df1\u4fe1\u670d\u4e0a\u7f51\u884c\u4e3a\u7ba1\u7406\u8f6f\u4ef6"},"productMisc":"","productUnit":{"id":2,"key":2,"name":"\u5957"},"productQa":"","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"}}},"index":4,"count":5,"post":{"Filter":{"name":"updated_at","sort":"DESC"},"ErpProductSearch":{"erp_store_id":"","product_type":"","product_component":"","product_brand":"","product_serie":"","handler":"","number_range_to":"","number_range_from":"","inventory":"1"},"id":"2067","hasParamKey":"inventory,ticket_type","params":"[object Object]","web_access_token":"Li3IMhP-fEDlm-Uio7KRe04g8yEtq7zU"}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0}', FALSE, '2025-08-27 17:14:29') RETURNING "id" |
17:14:29.865 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:14:29.865 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |