Log Messages

总计46条数据
TimeLevelCategoryMessage
 
09:56:01.066traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
09:56:01.066traceyii\base\Module::getModuleLoading module: debug
09:56:01.066traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
09:56:01.067traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
09:56:01.067traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
09:56:01.067traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:56:01.067traceyii\base\Module::getModuleLoading module: gii
09:56:01.067traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
09:56:01.067traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
09:56:01.067traceyii\web\Application::handleRequestRoute requested: 'vue/erp-inventory-product/product-list'
09:56:01.067traceyii\base\Module::getModuleLoading module: vue
09:56:01.068infoyii\web\Session::openSession started
09:56:01.068infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=5250
09:56:01.068infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
09:56:01.073traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:56:01.073traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:56:01.073infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
09:56:01.074traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:56:01.074traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:56:01.074infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
09:56:01.076traceyii\base\Controller::runActionRoute to run: vue/erp-inventory-product/product-list
09:56:01.076traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:56:01.077traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
09:56:01.077traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ErpInventoryProductController::actionProductList()
09:56:01.077traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:56:01.077traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:56:01.078infoyii\db\Command::querySELECT 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" ORDER BY p.updated_at DESC, p.id desc) "c"
09:56:01.081infoyii\db\Command::querySELECT "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" ORDER BY p.updated_at DESC, p.id desc LIMIT 20
09:56:01.082infoyii\db\Command::querySELECT "product_id", "erp_store_id", sum(outbound) as outbound, sum(number) as number, sum(inventory) as inventory, avg(amount) as avg_amount, avg(amount * inventory) as avg_total_amount FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "product_id"=947 GROUP BY "product_id", "erp_store_id"
09:56:01.082infoyii\db\Command::querySELECT "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"=947 GROUP BY "product_id"
09:56:01.083infoyii\db\Command::querySELECT "product_id", sum(inventory) as inventory, avg(actual_amount) as avg_amount, sum(actual_amount * inventory) as amount FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE (inventory > 0) AND ("product_id"=947) GROUP BY "product_id"
09:56:01.083infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE (inventory > 0) AND ("product_id"=947)
09:56:01.084infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_types" WHERE "id"=5
09:56:01.084infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_components" WHERE "id"=35
09:56:01.084infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=8
09:56:01.085infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_series" WHERE "id"=806
09:56:01.085infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_units" WHERE "id"=8
09:56:01.085traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:56:01.086traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:56:01.087infoyii\db\Command::querySELECT "id", "id" AS "key", "title" AS "name" FROM "a57be577deb434"."tbl_erp_stores" WHERE "is_delete"=FALSE ORDER BY "sort", "id"
09:56:01.087infoyii\db\Command::querySELECT sum(inventory) as inventory, sum(total_amount) as total_amount FROM (SELECT sum(eip.inventory) as inventory, sum(eip.amount * eip.inventory) as total_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_erp_inventory_products" "eip" ON eip.product_id = p.id WHERE "eip"."inventory" > 0 GROUP BY "p"."id") "sub"
09:56:01.088traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:56:01.089traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:56:01.089infoyii\db\Command::queryINSERT 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-list', '{"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"},"page":"1","web_access_token":"whZjM8ZfyqxulYW-_i5kn1yK2K5nH7iz"}', '{"code":2000,"result":{"stores":[{"id":1,"key":1,"name":"\u4e3b\u4ed3\u5e93"}],"list":[{"id":947,"name":"PAN-SVC-BKLN-3260","product_type":5,"product_component":35,"product_brand":8,"product_serie":806,"product_misc":"","product_qa":"","pn":"","description":"Partner enabled premium support year 1, PA-3260","created_by":1013,"created_at":"2023-08-03 16:07:54","updated_at":"2025-08-11 09:53:12","pinyin_shortcut":"PANSVCBKLN3260","product_unit":8,"is_renew":false,"everyStoreErpInventoryCount":[{"product_id":947,"erp_store_id":1,"outbound":"0","number":"11","inventory":"11","avg_amount":"11811.5000000000000000","avg_total_amount":"13161.5000000000000000"}],"erpInventoryCount":{"product_id":947,"outbound":"0","number":"11","inventory":"11","avg_amount":"12858.0000000000000000","avg_total_amount":"23626.500000000000","amount":"47253"},"erpInventoryCount2":{"product_id":947,"inventory":"11","avg_amount":12858,"amount":47253},"erpInventoryCount3":[{"id":1,"product_id":947,"erp_purchase_inbound_id":1,"erp_purchase_order_id":1,"erp_purchase_inbound_product_id":1,"erp_purchase_order_product_id":"","erp_store_id":1,"wrote_date":"2025-08-05","number":"10","outbound":"0","inventory":"10","amount":"300","total_amount":"3000","actual_amount":"2393","actual_total_amount":"3000","is_build":false,"created_at":"2025-08-05 17:21:42","lost_outbound":"","erp_inventory_start_id":"","erp_inventory_start_product_id":"","erp_inventory_build_id":"","erp_inventory_build_product_id":"","build_spent_outbound":"","sales_outbound":"0","erp_purchase_gift_id":"","erp_purchase_gift_product_id":"","sales_gift_outbound":""},{"id":2,"product_id":947,"erp_purchase_inbound_id":2,"erp_purchase_order_id":2,"erp_purchase_inbound_product_id":2,"erp_purchase_order_product_id":"","erp_store_id":1,"wrote_date":"2025-08-11","number":"1","outbound":"0","inventory":"1","amount":"23323","total_amount":"23323","actual_amount":"23323","actual_total_amount":"23323","is_build":false,"created_at":"2025-08-11 09:53:12","lost_outbound":"","erp_inventory_start_id":"","erp_inventory_start_product_id":"","erp_inventory_build_id":"","erp_inventory_build_product_id":"","build_spent_outbound":"","sales_outbound":"","erp_purchase_gift_id":"","erp_purchase_gift_product_id":"","sales_gift_outbound":""}],"productType":{"id":5,"key":5,"name":"\u5b89\u5168\u8bbe\u5907"},"productComponent":{"id":35,"key":35,"name":"\u9632\u706b\u5899\u8f6f\u4ef6"},"productBrand":{"id":8,"key":8,"name":"Paloalto"},"productSerie":{"id":806,"key":806,"name":"PA-3260\u4e00\u5e74\u670d\u52a1"},"productUnit":{"id":8,"key":8,"name":"\u5e74"},"everyStoreErpInventoryCount1":{"product_id":947,"erp_store_id":1,"outbound":"0","number":"11","inventory":"11","avg_amount":"11811.5000000000000000","avg_total_amount":"13161.5000000000000000"}}],"pagenation":{"totalcount":1,"thispage":1,"pagesize":20},"can_create_inventory_lost":true,"can_create_inventory_build":true,"count":{"inventory":"11","total_amount":"26323"}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0}', FALSE, '2025-08-11 09:56:01') RETURNING "id"
09:56:01.090traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:56:01.091traceyii\redis\Connection::executeCommandExecuting Redis Command: SET