16:43:15.479 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
16:43:15.479 | trace | yii\base\Module::getModule | Loading module: debug |
16:43:15.479 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
16:43:15.479 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
16:43:15.479 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
16:43:15.479 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.479 | trace | yii\base\Module::getModule | Loading module: gii |
16:43:15.479 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
16:43:15.480 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
16:43:15.480 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-cash-cost-ticket/verify' |
16:43:15.480 | trace | yii\base\Module::getModule | Loading module: vue |
16:43:15.480 | info | yii\web\Session::open | Session started |
16:43:15.480 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
16:43:15.480 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
16:43:15.485 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.485 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:43:15.485 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.486 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:43:15.486 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
16:43:15.487 | trace | yii\base\Controller::runAction | Route to run: vue/erp-cash-cost-ticket/verify |
16:43:15.488 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.489 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: viewErp |
16:43:15.489 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: AccountManager |
16:43:15.489 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpCashCostTicketController::actionVerify() |
16:43:15.489 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"='7357' |
16:43:15.489 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.489 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:43:15.490 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.490 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.491 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" WHERE ("status" = 0) AND ("user_id"=1001) AND ("erp_cash_cost_ticket_id"=7357) |
16:43:15.492 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.492 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:43:15.493 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" SET "status"=1, "description"='', "verify_at"='now()' WHERE "id"=19073 |
16:43:15.494 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.494 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:43:15.494 | 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\ErpCashCostTicketVerifyRels', 19073, 'a:2:{s:6:"status";i:1;s:9:"verify_at";s:5:"now()";}', '', 1001, '221.194.148.30') |
16:43:15.495 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" WHERE ("status"=0) AND ("erp_cash_cost_ticket_id"=7357) ORDER BY "id") "c" |
16:43:15.497 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_cash_cost_tickets" SET "status"=2, "verify_at"='now()', "updated_at"='now()' WHERE "id"=7357 |
16:43:15.498 | 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', 7357, 'a:2:{s:6:"status";i:2;s:9:"verify_at";s:5:"now()";}', '', 1001, '221.194.148.30') |
16:43:15.499 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"=7357 |
16:43:15.499 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
16:43:15.500 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" WHERE ("status"=0) AND ("erp_cash_cost_ticket_id"=7357) ORDER BY "id" |
16:43:15.501 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_carbon_copy_rels" WHERE "erp_cash_cost_ticket_id"=7357 |
16:43:15.501 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" WHERE "erp_cash_cost_ticket_id"=7357 ORDER BY "id" |
16:43:15.502 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.503 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:43:15.503 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"=7357 |
16:43:15.503 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
16:43:15.504 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '20018', 7357, '刘人诚通过了这个审批', TRUE, 'XJFYD-20250821-00001') RETURNING "id" |
16:43:15.505 | 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', 186623, 'a:11:{s:2:"id";i:186623;s:9:"object_id";i:7357;s:11:"object_type";s:5:"20018";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:"XJFYD-20250821-00001";}', '', 1001, '221.194.148.30') |
16:43:15.506 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1001) AND (channel_id IS NOT NULL) |
16:43:15.507 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
16:43:15.507 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
16:43:15.507 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
16:43:15.507 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_cash_cost_tickets" SET "next_verify_user"=NULL WHERE "id"=7357 |
16:43:15.508 | 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', 7357, 'a:0:{}', '', 1001, '221.194.148.30') |
16:43:15.509 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"=7357 |
16:43:15.509 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_cash_cost_tickets" SET "settle_amount"='0' WHERE "id"=7357 |
16:43:15.510 | 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', 7357, 'a:0:{}', '', 1001, '221.194.148.30') |
16:43:15.511 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" WHERE "erp_cash_cost_ticket_id"=7357 ORDER BY "id" |
16:43:15.512 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_purchase_contract_settles" WHERE "erp_cash_cost_ticket_id"=7357 ORDER BY "id" |
16:43:15.512 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_bank_outs" WHERE "erp_cash_cost_ticket_id"=7357 ORDER BY "id" |
16:43:15.512 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.513 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:43:15.513 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"=1 |
16:43:15.513 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.513 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:43:15.514 | 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)) |
16:43:15.515 | 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)) |
16:43:15.515 | 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)) |
16:43:15.516 | 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) |
16:43:15.517 | 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) |
16:43:15.517 | 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)) |
16:43:15.518 | 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)) |
16:43:15.519 | 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) |
16:43:15.520 | 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)) |
16:43:15.521 | 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) |
16:43:15.522 | 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) |
16:43:15.522 | 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) |
16:43:15.523 | 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) |
16:43:15.524 | 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)) |
16:43:15.525 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_banks" SET "balance_amount"='2442207' WHERE "id"=1 |
16:43:15.526 | 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, '221.194.148.30') |
16:43:15.527 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"=1 |
16:43:15.528 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_account_captions" WHERE "id"=71 |
16:43:15.528 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.528 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:43:15.529 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_account_captions" SET "created_at"='2025-08-20 17:41:03', "updated_at"='2025-08-20 17:41:03' WHERE "id"=71 |
16:43:15.529 | 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:0:{}', '', 1001, '221.194.148.30') |
16:43:15.530 | 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, '221.194.148.30') |
16:43:15.531 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_approve_payment_settles" WHERE "erp_cash_cost_ticket_id"=7357 ORDER BY "id" |
16:43:15.532 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"=7357 |
16:43:15.532 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_handlers" WHERE "erp_cash_cost_ticket_id"=7357 |
16:43:15.533 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.533 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:43:15.533 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.533 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:43:15.533 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_ticket_change_logs" ("status", "ticket_type", "serial_no", "wrote_date", "description", "abstract", "amount", "client_id", "supplier_id", "contact_id", "user_id", "created_by", "created_at", "updated_at", "object_id", "verify_at") VALUES (2, 20018, 'XJFYD-20250821-00001', NULL, NULL, '', '222', NULL, NULL, NULL, NULL, 1001, '2025-08-21 16:42:31', '2025-08-21 16:43:15', 7357, '2025-08-21 16:43:15.497416+08') RETURNING "id" |
16:43:15.535 | 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', 146, 'a:17:{s:2:"id";i:146;s:9:"serial_no";s:20:"XJFYD-20250821-00001";s:11:"ticket_type";i:20018;s:10:"wrote_date";N;s:6:"status";i:2;s:11:"supplier_id";N;s:9:"client_id";N;s:8:"abstract";s:0:"";s:11:"description";N;s:9:"verify_at";s:29:"2025-08-21 16:43:15.497416+08";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2025-08-21 16:42:31";s:10:"updated_at";s:19:"2025-08-21 16:43:15";s:10:"contact_id";N;s:7:"user_id";N;s:6:"amount";s:3:"222";s:9:"object_id";i:7357;}', '', 1001, '221.194.148.30') |
16:43:15.535 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.535 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:43:15.536 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_ticket_change_log_handlers" ("erp_ticket_change_log_id", "user_id") VALUES (146, 1001) |
16:43:15.537 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
16:43:15.537 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
16:43:15.538 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.538 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:43:15.538 | 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', 7357, 20018, 1001, 'now()', '["\u5218\u4eba\u8bda"]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u540c\u610f\u4e86","d3":"\u73b0\u91d1\u8d39\u7528\u5355\u7533\u8bf7","d4":""}') |
16:43:15.539 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.539 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:43:15.539 | 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/verify', '{"id":"7357","description":"","web_access_token":"0OmNcjMNpl7I6Nbm2bTJGMI-xreQBLAo"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u73b0\u91d1\u8d39\u7528\u5355\u5ba1\u6279\u901a\u8fc7","error":""}],"mod":0}', FALSE, '2025-08-21 16:43:15') RETURNING "id" |
16:43:15.540 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:43:15.541 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |