20:03:01.913 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
20:03:01.913 | trace | yii\base\Module::getModule | Loading module: debug |
20:03:01.913 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
20:03:01.913 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
20:03:01.913 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
20:03:01.913 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.914 | trace | yii\base\Module::getModule | Loading module: gii |
20:03:01.914 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
20:03:01.914 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
20:03:01.914 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-cash-cost-ticket/save-edit' |
20:03:01.914 | trace | yii\base\Module::getModule | Loading module: vue |
20:03:01.914 | info | yii\web\Session::open | Session started |
20:03:01.915 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
20:03:01.915 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
20:03:01.919 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.919 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:03:01.920 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.920 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:03:01.920 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
20:03:01.922 | trace | yii\base\Controller::runAction | Route to run: vue/erp-cash-cost-ticket/save-edit |
20:03:01.922 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.923 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
20:03:01.923 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpCashCostTicketController::actionSaveEdit() |
20:03:01.923 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"='7333' |
20:03:01.924 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.924 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:03:01.924 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.924 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.925 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" WHERE ("status" != 0) AND ("erp_cash_cost_ticket_id"=7333) ORDER BY "id" |
20:03:01.927 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateErpCashCostTicket |
20:03:01.927 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
20:03:01.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\ErpCashCostTickets'. |
20:03:01.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'auto_id' in 'app\models\ErpCashCostTickets'. |
20:03:01.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'auto_name' in 'app\models\ErpCashCostTickets'. |
20:03:01.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'auto_type' in 'app\models\ErpCashCostTickets'. |
20:03:01.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'auto_search_id' in 'app\models\ErpCashCostTickets'. |
20:03:01.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'auto_search_name' in 'app\models\ErpCashCostTickets'. |
20:03:01.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpCashCostTicketVerifyRels' in 'app\models\ErpCashCostTickets'. |
20:03:01.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'client_name' in 'app\models\ErpCashCostTickets'. |
20:03:01.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'sales_contract_name' in 'app\models\ErpCashCostTickets'. |
20:03:01.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'supplier_name' in 'app\models\ErpCashCostTickets'. |
20:03:01.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'purchase_contract_name' in 'app\models\ErpCashCostTickets'. |
20:03:01.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'files' in 'app\models\ErpCashCostTickets'. |
20:03:01.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpCashCostTicketAmounts' in 'app\models\ErpCashCostTickets'. |
20:03:01.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpCashCostTicketBankOuts' in 'app\models\ErpCashCostTickets'. |
20:03:01.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpCashCostTicketHandlers' in 'app\models\ErpCashCostTickets'. |
20:03:01.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpCashCostTicketSalesContractSettles' in 'app\models\ErpCashCostTickets'. |
20:03:01.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpCashCostTicketPurchaseContractSettles' in 'app\models\ErpCashCostTickets'. |
20:03:01.928 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "serial_no"='XJFYD-20250811-00001' LIMIT 2 |
20:03:01.930 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='431') |
20:03:01.930 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"='4080') |
20:03:01.931 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
20:03:01.931 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
20:03:01.932 | info | yii\db\Command::execute | |
20:03:01.932 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_cash_cost_tickets" SET "client_id"=NULL, "sales_contract_id"=NULL, "supplier_id"=431, "purchase_contract_id"=4080 WHERE "id"=7333 |
20:03:01.934 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.934 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:03:01.934 | 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\ErpCashCostTickets', 7333, 'a:0:{}', '', 1001, '114.246.236.177') |
20:03:01.935 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=20032) AND ("object_id"=7333) |
20:03:01.937 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=20032) AND ("object_id"=7333) |
20:03:01.939 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" WHERE "erp_cash_cost_ticket_id"=7333 ORDER BY "id" |
20:03:01.940 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.940 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:03:01.941 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" WHERE "erp_cash_cost_ticket_id"=7333 |
20:03:01.942 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" ("erp_cash_cost_ticket_id", "user_id", "status") VALUES (7333, 1001, 0) |
20:03:01.943 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_carbon_copy_rels" WHERE "erp_cash_cost_ticket_id"=7333 |
20:03:01.944 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_carbon_copy_rels" WHERE "erp_cash_cost_ticket_id"=7333 |
20:03:01.944 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_handlers" WHERE "erp_cash_cost_ticket_id"=7333 |
20:03:01.945 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.945 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:03:01.945 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
20:03:01.945 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1001' |
20:03:01.946 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_handlers" WHERE "erp_cash_cost_ticket_id"=7333 |
20:03:01.947 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_cash_cost_ticket_handlers" ("erp_cash_cost_ticket_id", "user_id", "amount", "pct") VALUES (7333, 1001, '111', '100') |
20:03:01.948 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("term_id"=18) AND ("object_type"=11) AND ("object_id"=7333) ORDER BY "id" |
20:03:01.949 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.949 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:03:01.949 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.949 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:03:01.949 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=386 |
20:03:01.950 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='386' |
20:03:01.950 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=7333) AND ("term_id"=18) AND ("object_type"=11) |
20:03:01.951 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "object_type", "taxonomy_id", "out_amount", "value", "object_id", "extra_int") VALUES (18, 11, 386, '111', '', 7333, 385) |
20:03:01.952 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_bank_outs" WHERE "erp_cash_cost_ticket_id"=7333 ORDER BY "id" |
20:03:01.952 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.952 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:03:01.953 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.953 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:03:01.953 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"=1 |
20:03:01.953 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"='1' |
20:03:01.954 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_bank_outs" WHERE "erp_cash_cost_ticket_id"=7333 |
20:03:01.954 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_cash_cost_ticket_bank_outs" ("erp_cash_cost_ticket_id", "erp_bank_id", "amount", "description") VALUES (7333, 1, '111', '') |
20:03:01.955 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" WHERE "erp_cash_cost_ticket_id"=7333 ORDER BY "id" |
20:03:01.956 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" WHERE "erp_cash_cost_ticket_id"=7333 |
20:03:01.956 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_purchase_contract_settles" WHERE "erp_cash_cost_ticket_id"=7333 ORDER BY "id" |
20:03:01.956 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.957 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:03:01.957 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.957 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:03:01.957 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=4080 |
20:03:01.957 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"='4080' |
20:03:01.958 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_purchase_contract_settles" WHERE "erp_cash_cost_ticket_id"=7333 |
20:03:01.959 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_cash_cost_ticket_purchase_contract_settles" ("erp_cash_cost_ticket_id", "purchase_contract_id", "amount") VALUES (7333, 4080, '111') RETURNING "id" |
20:03:01.960 | 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 ('INSERT', 'app\models\ErpCashCostTicketPurchaseContractSettles', 9, 'a:5:{s:2:"id";i:9;s:23:"erp_cash_cost_ticket_id";i:7333;s:20:"purchase_contract_id";s:4:"4080";s:6:"amount";s:3:"111";s:11:"description";N;}', '', 1001, '114.246.236.177') |
20:03:01.961 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_cash_cost_tickets" SET "amount"='111' WHERE "id"=7333 |
20:03:01.962 | 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\ErpCashCostTickets', 7333, 'a:0:{}', '', 1001, '114.246.236.177') |
20:03:01.963 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"=7333 |
20:03:01.963 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.963 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:03:01.963 | 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/erp-cash-cost-ticket/save-edit', '{"ErpCashCostTickets":{"id":"7333","auto_id":"431","auto_name":"\u5317\u4eac\u60e0\u8054\u8baf\u901a\u4fe1\u606f\u6280\u672f\u670d\u52a1\u6709\u9650\u516c\u53f8","auto_type":"supplier","auto_search_id":"4080","auto_search_name":"222222","wrote_date":"2025-08-11","serial_no":"XJFYD-20250811-00001","erpCashCostTicketVerifyRels":["1001"],"abstract":"\u65b9\u5f0f\u5730\u65b9","description":"","client_id":"","client_name":"","sales_contract_id":"","sales_contract_name":"","supplier_id":"431","supplier_name":"\u5317\u4eac\u60e0\u8054\u8baf\u901a\u4fe1\u606f\u6280\u672f\u670d\u52a1\u6709\u9650\u516c\u53f8","purchase_contract_id":"4080","purchase_contract_name":"222222","files":"","erpCashCostTicketAmounts":[{"id":"386","amount":"111","description":"","parent_id":"385"}],"erpCashCostTicketBankOuts":[{"amount":"111","id":"1","description":""}],"erpCashCostTicketHandlers":[{"user_id":"1001","amount":"111","pct":"100"}],"erpCashCostTicketSalesContractSettles":"","erpCashCostTicketPurchaseContractSettles":[{"id":"","purchase_contract_id":"4080","amount":"111"}]},"web_access_token":"J23LUPtW6VCG7IfkCPCVdqFa_zEBghkd"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u73b0\u91d1\u8d39\u7528\u5355\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}],"mod":0}', FALSE, '2025-08-11 20:03:01') RETURNING "id" |
20:03:01.965 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:03:01.965 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |