21:19:58.535 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
21:19:58.535 | trace | yii\base\Module::getModule | Loading module: debug |
21:19:58.535 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
21:19:58.535 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
21:19:58.535 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
21:19:58.535 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.535 | trace | yii\base\Module::getModule | Loading module: gii |
21:19:58.535 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
21:19:58.536 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
21:19:58.536 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-other-collect-ticket/verify' |
21:19:58.536 | trace | yii\base\Module::getModule | Loading module: vue |
21:19:58.536 | info | yii\web\Session::open | Session started |
21:19:58.536 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
21:19:58.536 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
21:19:58.541 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.541 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:58.541 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.541 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:58.542 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
21:19:58.543 | trace | yii\base\Controller::runAction | Route to run: vue/erp-other-collect-ticket/verify |
21:19:58.543 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.544 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
21:19:58.544 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpOtherCollectTicketController::actionVerify() |
21:19:58.545 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_tickets" WHERE "id"='3' |
21:19:58.545 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.546 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:58.546 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.546 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.547 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_verify_rels" WHERE ("status" = 0) AND ("user_id"=1001) AND ("erp_other_collect_ticket_id"=3) |
21:19:58.547 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.548 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:58.548 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_other_collect_ticket_verify_rels" SET "status"=1, "description"='', "verify_at"='now()' WHERE "id"=1 |
21:19:58.549 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.549 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:58.549 | 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\ErpOtherCollectTicketVerifyRels', 1, 'a:2:{s:6:"status";i:0;s:9:"verify_at";s:5:"now()";}', '', 1001, '114.254.228.198') |
21:19:58.550 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_verify_rels" WHERE ("status"=0) AND ("erp_other_collect_ticket_id"=3) ORDER BY "id") "c" |
21:19:58.551 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_other_collect_tickets" SET "status"=2, "verify_at"='now()', "updated_at"='now()' WHERE "id"=3 |
21:19:58.552 | 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\ErpOtherCollectTickets', 3, 'a:2:{s:6:"status";i:2;s:9:"verify_at";s:5:"now()";}', '', 1001, '114.254.228.198') |
21:19:58.553 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_tickets" WHERE "id"=3 |
21:19:58.553 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
21:19:58.554 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_verify_rels" WHERE ("status"=0) AND ("erp_other_collect_ticket_id"=3) ORDER BY "id" |
21:19:58.554 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_carbon_copy_rels" WHERE "erp_other_collect_ticket_id"=3 |
21:19:58.555 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_verify_rels" WHERE "erp_other_collect_ticket_id"=3 ORDER BY "id" |
21:19:58.555 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.555 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:58.555 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_tickets" WHERE "id"=3 |
21:19:58.556 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
21:19:58.556 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '20021', 3, '刘人诚通过了这个审批', TRUE, 'QTYSD-20250817-00003') RETURNING "id" |
21:19:58.557 | 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\Comments', 186529, 'a:11:{s:2:"id";i:186529;s:9:"object_id";i:3;s:11:"object_type";s:5:"20021";s:6:"parent";N;s:11:"description";s:30:"刘人诚通过了这个审批";s:10:"created_by";i:1001;s:10:"created_at";N;s:8:"reply_to";N;s:9:"is_system";b:1;s:8:"for_user";N;s:12:"description2";s:20:"QTYSD-20250817-00003";}', '', 1001, '114.254.228.198') |
21:19:58.558 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1001) AND (channel_id IS NOT NULL) |
21:19:58.559 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
21:19:58.559 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
21:19:58.559 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
21:19:58.559 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_other_collect_tickets" SET "next_verify_user"=NULL WHERE "id"=3 |
21:19:58.560 | 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\ErpOtherCollectTickets', 3, 'a:0:{}', '', 1001, '114.254.228.198') |
21:19:58.561 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_approve_borrow_settles" WHERE "erp_other_collect_ticket_id"=3 ORDER BY "id" |
21:19:58.561 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_bank_outs" WHERE "erp_other_collect_ticket_id"=3 ORDER BY "id" |
21:19:58.562 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.562 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:58.562 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"=1 |
21:19:58.563 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.563 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:58.563 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_other_income_ticket_bank_ins" "r" LEFT JOIN "a57be577deb434"."tbl_erp_other_income_tickets" "t" ON r.erp_other_income_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) |
21:19:58.564 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_bank_transfer_ticket_bank_ins" "r" LEFT JOIN "a57be577deb434"."tbl_erp_bank_transfer_tickets" "t" ON r.erp_bank_transfer_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) |
21:19:58.565 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_bank_transfer_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_bank_transfer_tickets" "t" ON r.erp_bank_transfer_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) |
21:19:58.565 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE) |
21:19:58.566 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_advance_payment_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_advance_payment_tickets" "t" ON r.erp_advance_payment_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE) |
21:19:58.567 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_other_payment_ticket_bank_ins" "r" LEFT JOIN "a57be577deb434"."tbl_erp_other_payment_tickets" "t" ON r.erp_other_payment_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) |
21:19:58.568 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_other_collect_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_other_collect_tickets" "t" ON r.erp_other_collect_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) |
21:19:58.568 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_payment_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE) |
21:19:58.569 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_collect_ticket_bank_ins" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) |
21:19:58.570 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_social_insurance_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_social_insurances" "t" ON r.erp_social_insurance_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE) |
21:19:58.571 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_provident_fund_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_provident_funds" "t" ON r.erp_provident_fund_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE) |
21:19:58.572 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_personal_tax_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_personal_taxs" "t" ON r.erp_personal_tax_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE) |
21:19:58.572 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_wage_prize_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_wage_prizes" "t" ON r.erp_wage_prize_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE) |
21:19:58.573 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_wage_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_wage_tickets" "t" ON r.erp_wage_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) |
21:19:58.574 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_banks" SET "balance_amount"='2435161' WHERE "id"=1 |
21:19:58.575 | 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\ErpBanks', 1, 'a:1:{s:14:"balance_amount";i:2435161;}', '', 1001, '114.254.228.198') |
21:19:58.576 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"=1 |
21:19:58.576 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_account_captions" WHERE "id"=71 |
21:19:58.577 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.577 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:58.577 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_account_captions" SET "balance_amount"='2435161', "created_at"='2025-08-11 19:05:28', "updated_at"='2025-08-11 19:42:11' WHERE "id"=71 |
21:19:58.578 | 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\ErpAccountCaptions', 71, 'a:1:{s:14:"balance_amount";s:7:"2435161";}', '', 1001, '114.254.228.198') |
21:19:58.579 | 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\ErpBanks', 1, 'a:0:{}', '', 1001, '114.254.228.198') |
21:19:58.580 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_payment_ticket_payments" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."erp_other_collect_ticket_id"=3) AND ("t"."status" IN (2, 5)) |
21:19:58.580 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."erp_other_collect_ticket_id"=3) AND ("t"."status" IN (2, 5)) |
21:19:58.581 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_wage_ticket_amount_payments" "r" LEFT JOIN "a57be577deb434"."tbl_erp_wage_tickets" "t" ON r.erp_wage_ticket_id = t.id WHERE ("r"."erp_other_collect_ticket_id"=3) AND ("t"."status" IN (2, 5)) |
21:19:58.582 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_other_collect_tickets" SET "settle_amount"='0' WHERE "id"=3 |
21:19:58.583 | 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\ErpOtherCollectTickets', 3, 'a:0:{}', '', 1001, '114.254.228.198') |
21:19:58.583 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_payments" WHERE "erp_other_collect_ticket_id"=3 ORDER BY "id" |
21:19:58.584 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_tickets" WHERE "id"=3 |
21:19:58.584 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.584 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:58.584 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_ticket_change_logs" ("status", "ticket_type", "serial_no", "wrote_date", "description", "abstract", "client_id", "supplier_id", "created_by", "created_at", "updated_at", "verify_at") VALUES (2, 20021, 'QTYSD-20250817-00003', '2025-08-17', '', '', NULL, NULL, 1001, '2025-08-17 21:19:54', '2025-08-17 21:19:58', '2025-08-17 21:19:58.551532+08') RETURNING "id" |
21:19:58.586 | 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\ErpTicketChangeLogs', 90, 'a:13:{s:2:"id";i:90;s:9:"serial_no";s:20:"QTYSD-20250817-00003";s:11:"ticket_type";i:20021;s:10:"wrote_date";s:10:"2025-08-17";s:6:"status";i:2;s:11:"supplier_id";N;s:9:"client_id";N;s:8:"abstract";s:0:"";s:11:"description";s:0:"";s:9:"verify_at";s:29:"2025-08-17 21:19:58.551532+08";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2025-08-17 21:19:54";s:10:"updated_at";s:19:"2025-08-17 21:19:58";}', '', 1001, '114.254.228.198') |
21:19:58.587 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.587 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:58.587 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_ticket_change_log_handlers" ("erp_ticket_change_log_id", "user_id") VALUES (90, 1001) |
21:19:58.588 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
21:19:58.589 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
21:19:58.589 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.589 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:58.589 | 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 (6, 'status', 3, 20021, 1001, 'now()', '["\u5218\u4eba\u8bda"]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u540c\u610f\u4e86","d3":"\u5176\u4ed6\u5e94\u6536\u5355\u7533\u8bf7","d4":""}') |
21:19:58.590 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.590 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:58.590 | 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-other-collect-ticket/verify', '{"id":"3","description":"","web_access_token":"BMGt48y3qPFgSCE_7v0QuJKVG4C78oer"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u5176\u4ed6\u5e94\u6536\u5355\u5ba1\u6279\u901a\u8fc7","error":""}],"mod":0}', FALSE, '2025-08-17 21:19:58') RETURNING "id" |
21:19:58.592 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:58.592 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |