| 12:11:41.419 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 12:11:41.419 | trace | yii\base\Module::getModule | Loading module: debug |
| 12:11:41.420 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 12:11:41.420 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 12:11:41.421 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 12:11:41.421 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:11:41.421 | info | time tracing start | 1782360701421856000 |
| 12:11:41.422 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 12:11:41.422 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-inventory-product/product-line' |
| 12:11:41.422 | trace | yii\base\Module::getModule | Loading module: vue |
| 12:11:41.423 | info | yii\web\Session::open | Session started |
| 12:11:41.424 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=5250 |
| 12:11:41.424 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 12:11:41.426 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:11:41.426 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:11:41.427 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 12:11:41.428 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:11:41.428 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:11:41.428 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 12:11:41.429 | trace | yii\base\Controller::runAction | Route to run: vue/erp-inventory-product/product-line |
| 12:11:41.430 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:11:41.432 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 12:11:41.432 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpInventoryProductController::actionProductLine() |
| 12:11:41.432 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"='2073' |
| 12:11:41.434 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_types" WHERE "id"=23 |
| 12:11:41.435 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_components" WHERE "id"=195 |
| 12:11:41.435 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=255 |
| 12:11:41.435 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_series" WHERE "id"=1675 |
| 12:11:41.436 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_units" WHERE "id"=9 |
| 12:11:41.436 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 12:11:41.437 | 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) |
| 12:11:41.437 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=4 |
| 12:11:41.438 | info | yii\db\Command::query | SELECT esosps.id, esosps.erp_sales_outbound_id, esosps.product_id, t.created_at, sum(eipss.total_amount) as amount, sum(eipss.actual_total_amount) as cost FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" "esosps" LEFT JOIN "a57be577deb434"."tbl_erp_sales_outbounds" "t" ON esosps.erp_sales_outbound_id = t.id LEFT JOIN "a57be577deb434"."tbl_projects" "project" ON project.id = t.project_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_product_spents" "eipss" ON eipss.erp_sales_outbound_spent_product_id = esosps.id WHERE ("esosps"."product_id"=2073) AND ("t"."status"=2) GROUP BY "esosps"."id", "t"."created_at" ORDER BY "t"."created_at", "esosps"."id" |
| 12:11:41.439 | info | yii\db\Command::query | SELECT COALESCE(sum(eipss.actual_total_amount), 0) as outbound_cost, COALESCE(sum(eipss.total_amount), 0) as outbound_amount FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" "esosps" LEFT JOIN "a57be577deb434"."tbl_erp_sales_outbounds" "t" ON esosps.erp_sales_outbound_id = t.id LEFT JOIN "a57be577deb434"."tbl_projects" "project" ON project.id = t.project_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_product_spents" "eipss" ON eipss.erp_sales_outbound_spent_product_id = esosps.id WHERE ("esosps"."product_id"=2073) AND ("t"."status"=2) |
| 12:11:41.440 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:11:41.441 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:11:41.441 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:11:41.441 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:11:41.442 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/erp-inventory-product/product-line', '{"id":"2073","group":"","web_access_token":"4PRqkvfbFxlQtWIcg4m99LDGwofOdZol"}', '{"code":2000,"result":{"model":{"id":2073,"name":"\u4e09\u987f\u534a\u51bb\u5e72\u901f\u6eb6\u5496\u5561\u7eaf\u9ed1\u5496\u5561\u7c89\u6df7\u5408\u88c5 21\u9897*2g","product_type":23,"product_component":195,"product_brand":255,"product_serie":1675,"product_misc":"","product_qa":"","pn":"","description":"\u4e09\u987f\u534a\u51bb\u5e72\u901f\u6eb6\u5496\u5561\u7eaf\u9ed1\u5496\u5561\u7c89\u6df7\u5408\u88c5 21\u9897*2g","created_by":1001,"created_at":"2025-08-08 16:42:19","updated_at":"2026-01-12 14:43:53","pinyin_shortcut":"sdbdgsrkfchkffhhz21k2g","product_unit":9,"is_renew":false,"in_out_at":"2026-01-12 14:43:53.491388+08","productType":{"id":23,"key":23,"name":"\u793c\u54c1"},"productComponent":{"id":195,"key":195,"name":"\u8425\u517b\u98df\u54c1\u6ecb\u8865"},"productBrand":{"id":255,"key":255,"name":"\u4e09\u987f\u534a"},"productSerie":{"id":1675,"key":1675,"name":"\u5496\u5561"},"productMisc":"","productUnit":{"id":9,"key":9,"name":"\u76d2"},"productQa":"","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"sales_cost":"0","sales_amount":"0","profit":0,"profit_pct":0},"category":{"amountCategory":[],"costCategory":[]},"seriesAmount":[],"seriesCost":[]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"221.216.117.25","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/149.0.0.0 Safari\/537.36"}', FALSE, '2026-06-25 12:11:41', 20195840) RETURNING "id" |
| 12:11:41.444 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:11:41.444 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |