| Time | Level | Category | Message |
|---|---|---|---|
| 10:30:10.921 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 10:30:10.921 | trace | yii\base\Module::getModule | Loading module: debug |
| 10:30:10.922 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 10:30:10.929 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 10:30:10.930 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 10:30:10.937 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:30:10.944 | info | time tracing start | 1783477810944716032 |
| 10:30:10.945 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 10:30:10.945 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-sales-outbound/get-sn' |
| 10:30:10.945 | trace | yii\base\Module::getModule | Loading module: vue |
| 10:30:10.946 | info | yii\web\Session::open | Session started |
| 10:30:10.947 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 10:30:10.947 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 10:30:10.958 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:30:10.963 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:30:10.966 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:30:10.970 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:30:10.973 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 10:30:10.982 | trace | yii\base\Controller::runAction | Route to run: vue/erp-sales-outbound/get-sn |
| 10:30:10.983 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpSalesOutboundController::actionGetSn() |
| 10:30:10.983 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbounds" WHERE "id"='161' |
| 10:30:10.991 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:30:10.998 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:30:11.006 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_erp_sales_outbound_products" WHERE "erp_sales_outbound_id"=161 |
| 10:30:11.012 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_products" WHERE "erp_sales_outbound_id"=161 LIMIT 20 |
| 10:30:11.029 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "title" AS "name" FROM "a57be577deb434"."tbl_erp_stores" WHERE "id"=1 |
| 10:30:11.036 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=2261 |
| 10:30:11.047 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_types" WHERE "id"=4 |
| 10:30:11.055 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_components" WHERE "id"=52 |
| 10:30:11.062 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=4 |
| 10:30:11.062 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_series" WHERE "id"=1769 |
| 10:30:11.063 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_units" WHERE "id"=3 |
| 10:30:11.064 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1013 |
| 10:30:11.065 | 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) |
| 10:30:11.066 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=7 |
| 10:30:11.067 | info | yii\db\Command::query | SELECT eip.product_id, sum(outbound) as outbound, sum(number) as number, sum(CASE WHEN eip.erp_purchase_inbound_id IS NOT NULL THEN eip.number ELSE 0 END) as purchase_inbound, sum(sales_outbound) as sales_outbound, sum(CASE WHEN eip.erp_inventory_overflow_id IS NOT NULL THEN eip.number ELSE 0 END) as overflow_inbound, sum(lost_outbound) as lost_outbound, sum(CASE WHEN eip.erp_inventory_disassemble_id IS NOT NULL THEN eip.number ELSE 0 END) as disassemble_inbound, sum(disassemble_spent_outbound) as disassemble_spent_outbound, sum(sales_gift_outbound) as sales_gift_outbound, sum(CASE WHEN eip.erp_inventory_build_id IS NOT NULL THEN eip.number ELSE 0 END) as build_inbound, sum(build_spent_outbound) as build_spent_outbound, sum(CASE WHEN eip.erp_inventory_transfer_id IS NOT NULL THEN eip.number ELSE 0 END) as transfer_inbound, sum(transfer_spent_outbound) as transfer_spent_outbound, 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" "eip" LEFT JOIN "a57be577deb434"."tbl_erp_stores" "saleable_store" ON saleable_store.id = eip.erp_store_id WHERE (("saleable_store"."is_delete"=FALSE) AND ("saleable_store"."is_saleable_inventory"=TRUE)) AND ("eip"."product_id"=2261) GROUP BY "eip"."product_id" |
| 10:30:11.069 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:30:11.069 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:30:11.070 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" WHERE "erp_sales_outbound_product_id"=462 |
| 10:30:11.071 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=2261 |
| 10:30:11.071 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_types" WHERE "id"=4 |
| 10:30:11.072 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_components" WHERE "id"=52 |
| 10:30:11.072 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=4 |
| 10:30:11.072 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_series" WHERE "id"=1769 |
| 10:30:11.073 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_units" WHERE "id"=3 |
| 10:30:11.073 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=470 |
| 10:30:11.074 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_starts" WHERE "id"=32 |
| 10:30:11.075 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_product_sns" WHERE "erp_sales_outbound_spent_product_id"=557 |
| 10:30:11.076 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:30:11.078 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:30:11.079 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:30:11.080 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:30:11.080 | 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-sales-outbound/get-sn', '{"id":"161"}', '{"code":2000,"result":{"list":[{"id":462,"erp_sales_outbound_id":161,"erp_sales_order_id":1715,"erp_sales_order_product_id":2251,"erp_store_id":1,"product_id":2261,"description":"","outbound":"0","number":"1","amount":"44433443","total_amount":"44433443.00","hardware_from":"","software_from":"","maintenance_from":"","hardware_to":"","software_to":"","maintenance_to":"","erpStore":{"id":1,"key":1,"name":"\u62d3\u5b9e\u4ed3\u5e93"},"product":{"id":2261,"name":"MK-MC300","product_type":4,"product_component":52,"product_brand":4,"product_serie":1769,"product_misc":"","product_qa":"","pn":"","description":"MK-MC300\u62fe\u97f3\u9ea6\u514b\u98ce\uff0c\u542b5\u7c73\u7ebf","created_by":1013,"created_at":"2026-03-16 10:07:43","updated_at":"2026-07-07 12:04:16","pinyin_shortcut":"MKMC300","product_unit":3,"is_renew":false,"in_out_at":"2026-07-07 12:04:16.326048+08","productType":{"id":4,"key":4,"name":"\u7f51\u7edc\u8bbe\u5907 "},"productComponent":{"id":52,"key":52,"name":"\u534f\u4f5c"},"productBrand":{"id":4,"key":4,"name":"\u8054\u60f3"},"productSerie":{"id":1769,"key":1769,"name":"\u5168\u5411\u9ea6\u514b\u98ce"},"productMisc":"","productUnit":{"id":3,"key":3,"name":"\u4e2a"},"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"}},"erpInventoryCount":{"product_id":2261,"outbound":"20","number":"67","purchase_inbound":"6","sales_outbound":"10","overflow_inbound":"2","lost_outbound":"1","disassemble_inbound":"1","disassemble_spent_outbound":"0","sales_gift_outbound":"6","build_inbound":"2","build_spent_outbound":"3","transfer_inbound":"0","transfer_spent_outbound":"","inventory":"47","avg_amount":"7207.1205000000000000","avg_total_amount":"329.1000000000000000","amount":"3291.000"}},"erpSalesOutboundSpentProducts":[{"id":557,"erp_sales_outbound_id":161,"erp_sales_outbound_product_id":462,"erp_inventory_product_id":470,"product_id":2261,"description":"","number":"1","amount":"44433443","total_amount":"44433443","cancel_number":"","cancel_amount":"","cancel_total_amount":"","product":{"id":2261,"name":"MK-MC300","product_type":4,"product_component":52,"product_brand":4,"product_serie":1769,"product_misc":"","product_qa":"","pn":"","description":"MK-MC300\u62fe\u97f3\u9ea6\u514b\u98ce\uff0c\u542b5\u7c73\u7ebf","created_by":1013,"created_at":"2026-03-16 10:07:43","updated_at":"2026-07-07 12:04:16","pinyin_shortcut":"MKMC300","product_unit":3,"is_renew":false,"in_out_at":"2026-07-07 12:04:16.326048+08","productType":{"id":4,"key":4,"name":"\u7f51\u7edc\u8bbe\u5907 "},"productComponent":{"id":52,"key":52,"name":"\u534f\u4f5c"},"productBrand":{"id":4,"key":4,"name":"\u8054\u60f3"},"productSerie":{"id":1769,"key":1769,"name":"\u5168\u5411\u9ea6\u514b\u98ce"},"productUnit":{"id":3,"key":3,"name":"\u4e2a"}},"erpInventoryProduct":{"id":470,"product_id":2261,"erp_purchase_inbound_id":"","erp_purchase_order_id":"","erp_purchase_inbound_product_id":"","erp_purchase_order_product_id":"","erp_store_id":1,"wrote_date":"2026-04-08","number":"56","outbound":"13","inventory":"43","amount":"45","total_amount":"2520","actual_amount":"45","actual_total_amount":"1935","is_build":false,"created_at":"2026-04-08 09:35:32","lost_outbound":"0","erp_inventory_start_id":32,"erp_inventory_start_product_id":49,"erp_inventory_build_id":"","erp_inventory_build_product_id":"","build_spent_outbound":"1","sales_outbound":"8","erp_purchase_gift_id":"","erp_purchase_gift_product_id":"","sales_gift_outbound":"4","erp_inventory_disassemble_id":"","erp_inventory_disassemble_product_id":"","disassemble_spent_outbound":"0","erp_inventory_overflow_id":"","erp_inventory_overflow_product_id":"","erp_inventory_transfer_id":"","erp_inventory_transfer_product_id":"","transfer_spent_outbound":"","erpPurchaseInbound":{},"erpPurchaseGift":{},"erpInventoryStart":{"id":32,"serial_no":"QCKC-20260408-00001","wrote_date":"2026-04-08","handler":1001,"supplier_id":431,"erp_store_id":1,"status":0,"abstract":"","description":"\u6d4b\u8bd5\u4eba\u4e0e\u4eba\u4e0e\u4eba\u8c08\u4e00\u8c08\u4eba\u5458","number":"111","amount":"4995","cancel_number":"","cancel_amount":"","created_by":1001,"is_used":true,"is_settle":false,"created_at":"2026-04-08 09:35:32","updated_at":"2026-04-09 10:26:46","print_times":""},"erpInventoryBuild":{},"erpInventoryDisassemble":{}},"erpSalesOutboundSpentProductSns":[{"id":12,"erp_sales_outbound_spent_product_id":557,"sn":"222","is_cancel":false,"erp_inventory_product_sn_id":83,"description":""}]}],"erpSalesOutboundProductSns":[{"id":12,"erp_sales_outbound_spent_product_id":557,"sn":"222","is_cancel":false,"erp_inventory_product_sn_id":83,"description":""}],"need_sn":0}],"pagenation":{"totalcount":1,"thispage":1,"pagesize":20},"can_create_sn":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"39.156.194.178","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/148.0.0.0 Safari\/537.36"}', FALSE, '2026-07-08 10:30:11', 135638784) RETURNING "id" |
| 10:30:11.084 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:30:11.084 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |