| 10:50:14.903 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 10:50:14.903 | trace | yii\base\Module::getModule | Loading module: debug |
| 10:50:14.904 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 10:50:14.904 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 10:50:14.904 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 10:50:14.905 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.905 | info | time tracing start | 1782960614905559040 |
| 10:50:14.906 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 10:50:14.906 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-purchase-gift/verify' |
| 10:50:14.906 | trace | yii\base\Module::getModule | Loading module: vue |
| 10:50:14.907 | info | yii\web\Session::open | Session started |
| 10:50:14.909 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=5250 |
| 10:50:14.909 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 10:50:14.917 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.917 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:50:14.918 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 10:50:14.919 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.919 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:50:14.919 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 10:50:14.922 | trace | yii\base\Controller::runAction | Route to run: vue/erp-purchase-gift/verify |
| 10:50:14.922 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.924 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: viewErp |
| 10:50:14.924 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: FinancialAudit |
| 10:50:14.924 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: CommercialAttache |
| 10:50:14.924 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 10:50:14.924 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpPurchaseGiftController::actionVerify() |
| 10:50:14.924 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gifts" WHERE "id"='22' |
| 10:50:14.925 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.925 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:50:14.926 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_verify_rels" WHERE ("status"=0) AND ("erp_purchase_gift_id"=22) ORDER BY "id" |
| 10:50:14.927 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.927 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:50:14.927 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.928 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.929 | trace | yii\db\Transaction::begin | Begin transaction |
| 10:50:14.930 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_purchase_gift_verify_rels" SET "status"=1, "description"='', "verify_at"='now()' WHERE "id"=53 |
| 10:50:14.930 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.931 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:50:14.931 | 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\ErpPurchaseGiftVerifyRels', 53, 'a:2:{s:6:"status";i:1;s:9:"verify_at";s:5:"now()";}', '', 1001, '221.216.117.25') |
| 10:50:14.932 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_verify_rels" WHERE ("status"=0) AND ("erp_purchase_gift_id"=22) ORDER BY "id") "c" |
| 10:50:14.933 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_purchase_gifts" SET "status"=2, "verify_at"='now()', "updated_at"='now()' WHERE "id"=22 |
| 10:50:14.933 | 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\ErpPurchaseGifts', 22, 'a:1:{s:9:"verify_at";s:5:"now()";}', '', 1001, '221.216.117.25') |
| 10:50:14.934 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gifts" WHERE "id"=22 |
| 10:50:14.934 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 10:50:14.935 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_verify_rels" WHERE ("status"=0) AND ("erp_purchase_gift_id"=22) ORDER BY "id" |
| 10:50:14.935 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_carbon_copy_rels" WHERE "erp_purchase_gift_id"=22 |
| 10:50:14.936 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.936 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:50:14.936 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gifts" WHERE "id"=22 |
| 10:50:14.938 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 10:50:14.938 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '20010', 22, '刘人诚通过了这个审批', TRUE, 'HZD-20260605-00001') RETURNING "id" |
| 10:50:14.939 | 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', 220998, 'a:11:{s:2:"id";i:220998;s:9:"object_id";i:22;s:11:"object_type";s:5:"20010";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:18:"HZD-20260605-00001";}', '', 1001, '221.216.117.25') |
| 10:50:14.940 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1001) AND (channel_id IS NOT NULL) |
| 10:50:14.941 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 10:50:14.941 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 10:50:14.941 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 10:50:14.942 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_purchase_gifts" SET "next_verify_user"=NULL WHERE "id"=22 |
| 10:50:14.943 | 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\ErpPurchaseGifts', 22, 'a:0:{}', '', 1001, '221.216.117.25') |
| 10:50:14.944 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_products" WHERE "erp_purchase_gift_id"=22 |
| 10:50:14.944 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.944 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:50:14.945 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "erp_purchase_gift_product_id"=24 |
| 10:50:14.946 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.946 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:50:14.946 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_inventory_products" ("erp_purchase_gift_product_id", "erp_purchase_gift_id", "product_id", "erp_store_id", "amount", "inventory", "number", "total_amount", "wrote_date", "created_at") VALUES (24, 22, 1558, 1, '0', '3', '3', '0', '2026-06-05', 'now()') RETURNING "id" |
| 10:50:14.949 | 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\ErpInventoryProducts', 514, 'a:32:{s:2:"id";i:514;s:10:"product_id";i:1558;s:23:"erp_purchase_inbound_id";N;s:21:"erp_purchase_order_id";N;s:31:"erp_purchase_inbound_product_id";N;s:29:"erp_purchase_order_product_id";N;s:12:"erp_store_id";i:1;s:10:"wrote_date";s:10:"2026-06-05";s:6:"number";d:3;s:8:"outbound";N;s:9:"inventory";d:3;s:6:"amount";s:1:"0";s:12:"total_amount";s:1:"0";s:13:"actual_amount";N;s:19:"actual_total_amount";N;s:8:"is_build";N;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:13:"lost_outbound";N;s:22:"erp_inventory_start_id";N;s:30:"erp_inventory_start_product_id";N;s:22:"erp_inventory_build_id";N;s:30:"erp_inventory_build_product_id";N;s:20:"build_spent_outbound";N;s:14:"sales_outbound";N;s:20:"erp_purchase_gift_id";i:22;s:28:"erp_purchase_gift_product_id";i:24;s:19:"sales_gift_outbound";N;s:28:"erp_inventory_disassemble_id";N;s:36:"erp_inventory_disassemble_product_id";N;s:26:"disassemble_spent_outbound";N;s:25:"erp_inventory_overflow_id";N;s:33:"erp_inventory_overflow_product_id";N;}', '', 1001, '221.216.117.25') |
| 10:50:14.949 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=514 |
| 10:50:14.950 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_product_sns" WHERE "erp_purchase_gift_product_id"=24 |
| 10:50:14.950 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE ("erp_inventory_product_id"=514) |
| 10:50:14.951 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE "erp_inventory_product_id"=514 |
| 10:50:14.952 | info | yii\db\Command::query | SELECT SUM(outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=514 |
| 10:50:14.952 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "outbound"='0', "inventory"='3' WHERE "id"=514 |
| 10:50:14.953 | 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\ErpInventoryProducts', 514, 'a:0:{}', '', 1001, '221.216.117.25') |
| 10:50:14.954 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_cost_type' |
| 10:50:14.955 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.955 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:50:14.955 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_decimal_point' |
| 10:50:14.956 | 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\ErpInventoryProducts', 514, 'a:0:{}', '', 1001, '221.216.117.25') |
| 10:50:14.956 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_purchase_gift_products" SET "outbound"='0', "inventory"='3' WHERE "id"=24 |
| 10:50:14.957 | 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\ErpPurchaseGiftProducts', 24, 'a:0:{}', '', 1001, '221.216.117.25') |
| 10:50:14.957 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.957 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:50:14.957 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_products" SET "updated_at"='now()', "in_out_at"='now()' WHERE "id"=1558 |
| 10:50:14.958 | 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\ErpPurchaseGifts', 22, 'a:0:{}', '', 1001, '221.216.117.25') |
| 10:50:14.959 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "inventory"='0', "number"='0', "actual_total_amount"='0' WHERE ("erp_purchase_gift_id"=22) AND ("erp_purchase_gift_product_id"<>24) |
| 10:50:14.959 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gifts" WHERE "id"=22 |
| 10:50:14.960 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.960 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:50:14.960 | 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, 20010, 'HZD-20260605-00001', '2026-06-05', NULL, NULL, '0', NULL, NULL, NULL, NULL, 1001, '2026-06-05 18:00:18', '2026-07-02 10:50:14', 22, '2026-07-02 10:50:14.929783+08') RETURNING "id" |
| 10:50:14.961 | 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', 2958, 'a:17:{s:2:"id";i:2958;s:9:"serial_no";s:18:"HZD-20260605-00001";s:11:"ticket_type";i:20010;s:10:"wrote_date";s:10:"2026-06-05";s:6:"status";i:2;s:11:"supplier_id";N;s:9:"client_id";N;s:8:"abstract";N;s:11:"description";N;s:9:"verify_at";s:29:"2026-07-02 10:50:14.929783+08";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-06-05 18:00:18";s:10:"updated_at";s:19:"2026-07-02 10:50:14";s:10:"contact_id";N;s:7:"user_id";N;s:6:"amount";s:1:"0";s:9:"object_id";i:22;}', '', 1001, '221.216.117.25') |
| 10:50:14.962 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.962 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:50:14.962 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_ticket_change_log_handlers" ("erp_ticket_change_log_id", "user_id") VALUES (2958, 1001) |
| 10:50:14.963 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 10:50:14.964 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 10:50:14.964 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.964 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:50:14.964 | 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', 22, 20010, 1001, 'now()', '["\u5218\u4eba\u8bda"]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u540c\u610f\u4e86","d3":"\u83b7\u8d60\u5355\u7533\u8bf7","d4":""}') |
| 10:50:14.965 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=20010) AND ("object_id"=22) AND ("remind_user_id"=1001) AND ("is_read"=FALSE) |
| 10:50:14.986 | trace | yii\db\Transaction::commit | Commit transaction |
| 10:50:14.988 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.988 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:50:14.988 | 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-purchase-gift/verify', '{"id":"22","description":"","web_access_token":"4PRqkvfbFxlQtWIcg4m99LDGwofOdZol"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u83b7\u8d60\u5355\u5ba1\u6279\u901a\u8fc7","error":""}],"mod":0,"ip":"221.216.117.25","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/149.0.0.0 Safari\/537.36"}', FALSE, '2026-07-02 10:50:14', 83174912) RETURNING "id" |
| 10:50:14.991 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:50:14.991 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |