16:45:26.954 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
16:45:26.954 | trace | yii\base\Module::getModule | Loading module: debug |
16:45:26.954 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
16:45:26.955 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
16:45:26.955 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
16:45:26.955 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:45:26.955 | trace | yii\base\Module::getModule | Loading module: gii |
16:45:26.955 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
16:45:26.955 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
16:45:26.955 | trace | yii\web\Application::handleRequest | Route requested: 'vue/tax/sales-invoice-cancel-match' |
16:45:26.955 | trace | yii\base\Module::getModule | Loading module: vue |
16:45:26.956 | info | yii\web\Session::open | Session started |
16:45:26.956 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
16:45:26.956 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
16:45:26.961 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:45:26.961 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:45:26.961 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:45:26.961 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:45:26.961 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
16:45:26.963 | trace | yii\base\Controller::runAction | Route to run: vue/tax/sales-invoice-cancel-match |
16:45:26.963 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:45:26.964 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
16:45:26.964 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\TaxController::actionSalesInvoiceCancelMatch() |
16:45:26.965 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contract_invoices" WHERE "id"='2115' |
16:45:26.965 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:45:26.965 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:45:26.966 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=5252 |
16:45:26.966 | 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"=5252) |
16:45:26.967 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:45:26.967 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:45:26.967 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=6 |
16:45:26.968 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:45:26.968 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:45:26.968 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_invoice_reminders" WHERE "sales_invoice_id"=2115 |
16:45:26.968 | info | yii\db\Command::query | SELECT "sip".*, sum(inventory) as inventory_count FROM "a57be577deb434"."tbl_sales_invoice_products" "sip" LEFT JOIN "a57be577deb434"."tbl_inventory_products" "ip" ON lower(ip.title) = lower(sip.title) AND lower(ip.description) = lower(sip.description) WHERE "sip"."sales_invoice_id"=2115 GROUP BY "sip"."id" |
16:45:26.971 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:45:26.971 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:45:26.971 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_inventory_product_spents" WHERE "sales_product_id"=812 |
16:45:26.972 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:45:26.972 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:45:26.972 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_inventory_products" WHERE "id"=63 |
16:45:26.972 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:45:26.973 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:45:26.973 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_purchase_contract_invoices" WHERE "id"=1828 |
16:45:26.973 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:45:26.973 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:45:26.974 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_inventory_product_spents" WHERE "sales_invoice_id"=2115 |
16:45:26.974 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_sales_invoice_products" SET "outbound"='0' WHERE "id"=812 |
16:45:26.975 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:45:26.975 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:45:26.975 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesInvoiceProducts', 812, 'a:0:{}', '', 1001, '223.104.44.8') |
16:45:26.977 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_inventory_product_spents" WHERE "sales_product_id"=812 |
16:45:26.977 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_inventory_product_spents" WHERE "sales_invoice_id"=2115 |
16:45:26.978 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_inventory_products" WHERE "id"=63 |
16:45:26.978 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_purchase_contract_invoices" WHERE "id"=1828 |
16:45:26.978 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_purchase_contract_invoices" WHERE "id"=1828 |
16:45:26.979 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_purchase_invoice_products" WHERE "purchase_invoice_id"=1828 |
16:45:26.979 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:45:26.979 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:45:26.980 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_inventory_products" WHERE "purchase_product_id"=63 |
16:45:26.980 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_inventory_products" SET "inventory"='16' WHERE "id"=63 |
16:45:26.981 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\InventoryProducts', 63, 'a:1:{s:9:"inventory";s:2:"11";}', '', 1001, '223.104.44.8') |
16:45:26.982 | info | yii\db\Command::query | SELECT SUM(outbound) FROM "a57be577deb434"."tbl_inventory_product_spents" WHERE "inventory_product_id"=63 |
16:45:26.982 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_inventory_products" SET "outbound"='3', "inventory"='13' WHERE "id"=63 |
16:45:26.983 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\InventoryProducts', 63, 'a:2:{s:8:"outbound";s:1:"3";s:9:"inventory";i:13;}', '', 1001, '223.104.44.8') |
16:45:26.984 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_purchase_invoice_products" SET "outbound"='3', "inventory"='13' WHERE "id"=63 |
16:45:26.986 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\PurchaseInvoiceProducts', 63, 'a:2:{s:8:"outbound";s:1:"3";s:9:"inventory";i:13;}', '', 1001, '223.104.44.8') |
16:45:26.986 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_purchase_contract_invoices" SET "paid_amount"='35.43' WHERE "id"=1828 |
16:45:26.987 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\PurchaseContractInvoices', 1828, 'a:1:{s:11:"paid_amount";d:35.43;}', '', 1001, '223.104.44.8') |
16:45:26.988 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_inventory_products" WHERE ("purchase_invoice_id"=1828) AND ("purchase_product_id"<>63) |
16:45:26.989 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_sales_contract_invoices" SET "is_match"=FALSE, "is_used"=FALSE WHERE "id"=2115 |
16:45:26.989 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesContractInvoices', 2115, 'a:0:{}', '', 1001, '223.104.44.8') |
16:45:26.990 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contract_invoices" WHERE "id"=2115 |
16:45:26.991 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_invoice_products" WHERE "sales_invoice_id"=2115 |
16:45:26.991 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_inventory_product_spents" WHERE "sales_product_id"=812 |
16:45:26.991 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_inventory_product_spents" WHERE "sales_invoice_id"=2115 |
16:45:26.992 | info | yii\db\Command::query | SELECT SUM(outbound) FROM "a57be577deb434"."tbl_inventory_product_spents" WHERE "sales_product_id"=812 |
16:45:26.992 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_sales_invoice_products" SET "outbound"='0' WHERE "id"=812 |
16:45:26.993 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesInvoiceProducts', 812, 'a:0:{}', '', 1001, '223.104.44.8') |
16:45:26.994 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_sales_contract_invoices" SET "match_tax_amount"='0', "simple_match_tax_amount"='0' WHERE "id"=2115 |
16:45:26.994 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesContractInvoices', 2115, 'a:1:{s:16:"match_tax_amount";s:4:"0.23";}', '', 1001, '223.104.44.8') |
16:45:26.995 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
16:45:26.996 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:45:26.996 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:45:26.996 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (23, 'status', 2115, 107, 1001, 'now()', '["\u5218\u4eba\u8bda"]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u53d6\u6d88\u6838\u9500\u4e86","d3":"\u9500\u552e\u53d1\u7968","d4":[""]}') |
16:45:26.997 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:45:26.997 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:45:26.997 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_visit_module_histories" WHERE ("user_id"=1001) AND ("object_type"=10004) AND ("visit_date"='2025-08-19') |
16:45:27.001 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:45:27.001 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:45:27.001 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_visit_module_histories" SET "num"=110, "last_visit_at"='now()' WHERE "id"=55336 |
16:45:27.002 | 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/tax/sales-invoice-cancel-match', '{"id":"2115","web_access_token":"239qcuu_ToIhJtTt60gp-9_fllLTtTgq"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u64cd\u4f5c\u6210\u529f","error":""}],"mod":0}', FALSE, '2025-08-19 16:45:27') RETURNING "id" |
16:45:27.003 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:45:27.003 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |