17:47:14.988 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
17:47:14.988 | trace | yii\base\Module::getModule | Loading module: debug |
17:47:14.988 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
17:47:14.988 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
17:47:14.989 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
17:47:14.989 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:47:14.989 | trace | yii\base\Module::getModule | Loading module: gii |
17:47:14.989 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
17:47:14.989 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
17:47:14.989 | trace | yii\web\Application::handleRequest | Route requested: 'vue/reimbursement/save-recognize' |
17:47:14.989 | trace | yii\base\Module::getModule | Loading module: vue |
17:47:14.989 | info | yii\web\Session::open | Session started |
17:47:14.990 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
17:47:14.990 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:47:14.994 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:47:14.994 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:47:14.995 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:47:14.995 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:47:14.995 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
17:47:14.997 | trace | yii\base\Controller::runAction | Route to run: vue/reimbursement/save-recognize |
17:47:14.997 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:47:14.998 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:47:14.998 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ReimbursementController::actionSaveRecognize() |
17:47:14.998 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "created_by"=1001 ORDER BY "created_at" DESC |
17:47:15.001 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
17:47:15.001 | 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"=1001) |
17:47:15.002 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=4 |
17:47:15.003 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=8241 |
17:47:15.003 | info | yii\db\Command::query | SELECT "id", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id" IN (184, 374)) |
17:47:15.004 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("term_id"=18) AND ("object_type"=7) AND ("object_id"=8241) |
17:47:15.004 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=374 |
17:47:15.005 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=8241 |
17:47:15.005 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "user_status" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
17:47:15.005 | 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"=1001) |
17:47:15.006 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE ("user_id"=1001) AND ("reimbursement_id"=8241) |
17:47:15.006 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=8241 |
17:47:15.007 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "user_status" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
17:47:15.007 | 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"=1001) |
17:47:15.008 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=8241 ORDER BY "id" |
17:47:15.009 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "user_status" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
17:47:15.009 | 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"=1001) |
17:47:15.010 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status"=0) AND ("reimbursement_id"=8241) ORDER BY "id" |
17:47:15.011 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "user_status" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
17:47:15.011 | 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"=1001) |
17:47:15.012 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status" != 0) AND ("reimbursement_id"=8241) ORDER BY "id" |
17:47:15.013 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=8241) |
17:47:15.015 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id"=28296 |
17:47:15.016 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=22) AND ("object_id"=8241) |
17:47:15.018 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id"=28278 |
17:47:15.018 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "reimbursement_id"=8241 |
17:47:15.020 | info | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=20) AND ("object_id"=8241) GROUP BY "object_id" |
17:47:15.041 | info | yii\db\Command::query | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=20) AND (remind_user_id = 1001 AND is_read = false) AND ("object_id"=8241) GROUP BY "object_id" |
17:47:15.058 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_invoice_numbers" WHERE "reimbursement_id"=8241 |
17:47:15.059 | info | yii\db\Command::query | SELECT count(distinct reimbursement_id) as count, number FROM "a57be577deb434"."tbl_reimbursement_invoice_numbers" WHERE (number is not null) AND ("number"='25117000001088334631') GROUP BY "number" |
17:47:15.059 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("is_delete"=FALSE) |
17:47:15.060 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=18) AND ("is_delete"=FALSE) |
17:47:15.060 | info | yii\db\Command::query | SELECT "u"."id" FROM "a57be577deb434"."tbl_users" "u" RIGHT JOIN "a57be577deb434"."tbl_auth_assignments" "aa" ON aa.user_id = u.id WHERE ("u"."user_status"='1') AND ("aa"."item_name"='Treasurer') |
17:47:15.062 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'invoice_duplicated' in 'app\models\InvoiceRecognize'. |
17:47:15.062 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:47:15.062 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:47:15.062 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "name"='北京滴滴出行科技有限公司' |
17:47:15.068 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_reimbursements" ("status", "amount", "occurrence_at", "created_by") VALUES (0, '73.80', '2025-08-27 00:00:00', 1001) RETURNING "id" |
17:47:15.072 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:47:15.072 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:47:15.072 | 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\Reimbursements', 8251, 'a:18:{s:2:"id";i:8251;s:6:"status";i:0;s:6:"amount";s:5:"73.80";s:13:"occurrence_at";s:19:"2025-08-27 00:00:00";s:18:"settle_accounts_at";N;s:18:"settle_accounts_by";N;s:11:"description";N;s:10:"created_by";i:1001;s:10:"created_at";N;s:10:"updated_at";N;s:18:"refuse_description";N;s:9:"client_id";N;s:10:"project_id";N;s:16:"next_verify_user";N;s:13:"is_resubmited";N;s:11:"work_log_id";N;s:12:"pre_sales_id";N;s:19:"implement_record_id";N;}', '', 1001, '114.244.128.96') |
17:47:15.075 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=8251 |
17:47:15.076 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:47:15.077 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:47:15.077 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_reimbursement_verify_rels" ("reimbursement_id", "user_id", "status") VALUES (8251, 1001, 0) |
17:47:15.078 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=8251 |
17:47:15.078 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:47:15.078 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:47:15.078 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_reimbursement_settle_rels" ("reimbursement_id", "user_id") VALUES (8251, 1001) |
17:47:15.079 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=8251 |
17:47:15.080 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:47:15.080 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:47:15.080 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" ("reimbursement_id", "user_id") VALUES (8251, 1001) |
17:47:15.081 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=8251) AND ("term_id"=15) |
17:47:15.081 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:47:15.081 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:47:15.081 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=184) |
17:47:15.082 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=15) |
17:47:15.082 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (15, 184, 8251) RETURNING "id" |
17:47:15.083 | 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\TermTaxonomyRelationships', 129491, 'a:9:{s:2:"id";i:129491;s:9:"object_id";i:8251;s:11:"taxonomy_id";i:184;s:7:"term_id";i:15;s:5:"value";N;s:11:"object_type";N;s:9:"extra_int";N;s:9:"in_amount";N;s:10:"out_amount";N;}', '', 1001, '114.244.128.96') |
17:47:15.085 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=8251) AND ("object_type"=7) |
17:47:15.085 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=374) |
17:47:15.085 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=18) |
17:47:15.086 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "object_type", "taxonomy_id", "object_id") VALUES (18, 7, 374, 8251) RETURNING "id" |
17:47:15.087 | 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\TermTaxonomyRelationships', 129492, 'a:9:{s:2:"id";i:129492;s:9:"object_id";i:8251;s:11:"taxonomy_id";i:374;s:7:"term_id";i:18;s:5:"value";N;s:11:"object_type";i:7;s:9:"extra_int";N;s:9:"in_amount";N;s:10:"out_amount";N;}', '', 1001, '114.244.128.96') |
17:47:15.087 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachments" WHERE "id"='28298' |
17:47:15.088 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:47:15.088 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:47:15.088 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:47:15.088 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:47:15.088 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_attachement_relationships" ("object_type", "object_id", "attachment_id") VALUES (22, 8251, 28298) RETURNING "id" |
17:47:15.089 | 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\AttachmentRelationships', 49697, 'a:4:{s:2:"id";i:49697;s:11:"object_type";i:22;s:9:"object_id";i:8251;s:13:"attachment_id";i:28298;}', '', 1001, '114.244.128.96') |
17:47:15.090 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:47:15.090 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:47:15.090 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_reimbursement_invoice_numbers" ("op", "attachment_id", "reimbursement_id", "number") VALUES ('invoice', 28298, 8251, '25117000001088334631') RETURNING "id" |
17:47:15.091 | 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\ReimbursementInvoiceNumbers', 78, 'a:5:{s:2:"id";i:78;s:16:"reimbursement_id";i:8251;s:13:"attachment_id";i:28298;s:2:"op";s:7:"invoice";s:6:"number";s:20:"25117000001088334631";}', '', 1001, '114.244.128.96') |
17:47:15.092 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:47:15.092 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:47:15.092 | 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/reimbursement/save-recognize', '{"InvoiceRecognize":[{"saler_name":"\u5317\u4eac\u6ef4\u6ef4\u51fa\u884c\u79d1\u6280\u6709\u9650\u516c\u53f8","purchaser_name":"\u5317\u4eac\u62d3\u5b9e\u79d1\u6280\u6709\u9650\u516c\u53f8","serial_no":"25117000001088334631","occurrence_at":"2025-08-27 00:00:00","type":"\u589e\u503c\u7a0e\u53d1\u7968","op":"invoice","amount":"73.80","invoice_duplicated":"true","attachment_id":"28298","x0":"32","y0":"58","x1":"2870","y1":"60","x2":"2870","y2":"1885","x3":"31","y3":"1885"}],"web_access_token":"Hlt1ZmLXNhK2kSIyrIUGksUdIH0iseH7"}', '{"code":2000,"result":{"success":1},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0}', FALSE, '2025-09-18 17:47:15') RETURNING "id" |
17:47:15.094 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:47:15.094 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |