| 17:45:49.974 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 17:45:49.974 | trace | yii\base\Module::getModule | Loading module: debug |
| 17:45:49.975 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 17:45:49.976 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 17:45:49.976 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 17:45:49.976 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:45:49.977 | info | time tracing start | 1783417549977217024 |
| 17:45:49.977 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 17:45:49.977 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-inventory-product/product-view-list' |
| 17:45:49.977 | trace | yii\base\Module::getModule | Loading module: vue |
| 17:45:49.978 | info | yii\web\Session::open | Session started |
| 17:45:49.979 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 17:45:49.979 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 17:45:49.981 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:45:49.982 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:45:49.982 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 17:45:49.983 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:45:49.984 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:45:49.984 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:45:49.985 | trace | yii\base\Controller::runAction | Route to run: vue/erp-inventory-product/product-view-list |
| 17:45:49.985 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:45:49.987 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 17:45:49.988 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpInventoryProductController::actionProductViewList() |
| 17:45:49.988 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:45:49.988 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:45:49.992 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM (SELECT * FROM (SELECT
(r.id::varchar || 8::varchar) as id,
r.id as id2,
null::integer as erp_purchase_inbound_id,
null::integer as supplier_id,
r.project_id,
r.client_id,
null::integer as purchase_contract_id,
null::integer as sales_contract_id,
r.wrote_date,
r.serial_no,
r.erp_store_id,
20008 as ticket_type,
'销售出库单' as ticket_type_display,
r.abstract,
r.description,
r.created_by,
r.amount,
null::numeric as inventory,
sum(rp.cancel_number) as in_number,
sum(rp.number) as out_number,
sum(rp.cancel_number * rp.amount) as purchase_amount,
sum(rp.cancel_number * rp.amount) as purchase_total_amount,
null::numeric as sales_amount,
sum(rp.total_amount) as sales_total_amount,
handler,
string_agg(distinct s.title, ',') as store_title
FROM "a57be577deb434"."tbl_erp_sales_outbounds" "r" LEFT JOIN "a57be577deb434"."tbl_erp_sales_outbound_spent_products" "rp" ON rp.erp_sales_outbound_id = r.id and rp.product_id = 2265 LEFT JOIN "a57be577deb434"."tbl_erp_inventory_products" "eip" ON eip.id = rp.erp_inventory_product_id LEFT JOIN "a57be577deb434"."tbl_erp_stores" "s" ON eip.erp_store_id = s.id WHERE ("rp"."product_id"='2265') AND ("status" IN (1, 2, 5)) GROUP BY "r"."id") "sub") "sub" ORDER BY wrote_date DESC) "c" |
| 17:45:49.995 | info | yii\db\Command::query | SELECT * FROM (SELECT * FROM (SELECT
(r.id::varchar || 8::varchar) as id,
r.id as id2,
null::integer as erp_purchase_inbound_id,
null::integer as supplier_id,
r.project_id,
r.client_id,
null::integer as purchase_contract_id,
null::integer as sales_contract_id,
r.wrote_date,
r.serial_no,
r.erp_store_id,
20008 as ticket_type,
'销售出库单' as ticket_type_display,
r.abstract,
r.description,
r.created_by,
r.amount,
null::numeric as inventory,
sum(rp.cancel_number) as in_number,
sum(rp.number) as out_number,
sum(rp.cancel_number * rp.amount) as purchase_amount,
sum(rp.cancel_number * rp.amount) as purchase_total_amount,
null::numeric as sales_amount,
sum(rp.total_amount) as sales_total_amount,
handler,
string_agg(distinct s.title, ',') as store_title
FROM "a57be577deb434"."tbl_erp_sales_outbounds" "r" LEFT JOIN "a57be577deb434"."tbl_erp_sales_outbound_spent_products" "rp" ON rp.erp_sales_outbound_id = r.id and rp.product_id = 2265 LEFT JOIN "a57be577deb434"."tbl_erp_inventory_products" "eip" ON eip.id = rp.erp_inventory_product_id LEFT JOIN "a57be577deb434"."tbl_erp_stores" "s" ON eip.erp_store_id = s.id WHERE ("rp"."product_id"='2265') AND ("status" IN (1, 2, 5)) GROUP BY "r"."id") "sub") "sub" ORDER BY wrote_date DESC LIMIT 20 |
| 17:45:49.997 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:45:49.997 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:45:49.997 | 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-view-list', '{"ErpUnionSearch":{"ticket_type":["20008"],"inventory":""},"id":"2265","page":"1","Filter":{"sort":"","name":""},"web_access_token":"niM9Np1xaU2lIsoGJh5qM6IxT9naEHjn"}', '{"code":2000,"result":{"list":[],"pagenation":{"totalcount":0,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"114.244.130.20","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-07-07 17:45:49', 20496128) RETURNING "id" |
| 17:45:50.000 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:45:50.000 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |