17:24:51.858 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
17:24:51.858 | trace | yii\base\Module::getModule | Loading module: debug |
17:24:51.859 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
17:24:51.859 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
17:24:51.859 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
17:24:51.859 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:51.859 | trace | yii\base\Module::getModule | Loading module: gii |
17:24:51.859 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
17:24:51.860 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
17:24:51.860 | trace | yii\web\Application::handleRequest | Route requested: 'vue/reimbursement/save-recognize' |
17:24:51.860 | trace | yii\base\Module::getModule | Loading module: vue |
17:24:51.860 | info | yii\web\Session::open | Session started |
17:24:51.860 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=5064 |
17:24:51.860 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:24:51.865 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:51.865 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:51.865 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:51.865 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:51.865 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
17:24:51.867 | trace | yii\base\Controller::runAction | Route to run: vue/reimbursement/save-recognize |
17:24:51.867 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:51.868 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:24:51.868 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ReimbursementController::actionSaveRecognize() |
17:24:51.869 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "created_by"=5064 ORDER BY "created_at" DESC |
17:24:51.871 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
17:24:51.872 | 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"=5064) |
17:24:51.872 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10 |
17:24:51.873 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=8049 |
17:24:51.873 | info | yii\db\Command::query | SELECT "id", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id" IN (184, 349)) |
17:24:51.874 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("term_id"=18) AND ("object_type"=7) AND ("object_id"=8049) |
17:24:51.874 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=349 |
17:24:51.875 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=8049 |
17:24:51.875 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE ("user_id"=5064) AND ("reimbursement_id"=8049) |
17:24:51.876 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=8049 |
17:24:51.877 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "user_status" FROM "a57be577deb434"."tbl_users" WHERE "id"=1013 |
17:24:51.877 | 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"=1013) |
17:24:51.877 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=8049 ORDER BY "id" |
17:24:51.879 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "user_status" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5252, 1001) |
17:24:51.879 | 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" IN (5252, 1001)) |
17:24:51.880 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status"=0) AND ("reimbursement_id"=8049) ORDER BY "id" |
17:24:51.881 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "user_status" FROM "a57be577deb434"."tbl_users" WHERE "id"=5252 |
17:24:51.881 | 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"=5252) |
17:24:51.881 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status" != 0) AND ("reimbursement_id"=8049) ORDER BY "id" |
17:24:51.883 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=8049) |
17:24:51.885 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=22) AND ("object_id"=8049) |
17:24:51.887 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id"=27883 |
17:24:51.888 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "reimbursement_id"=8049 |
17:24:51.889 | info | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=20) AND ("object_id"=8049) GROUP BY "object_id" |
17:24:51.910 | info | yii\db\Command::query | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=20) AND (remind_user_id = 5064 AND is_read = false) AND ("object_id"=8049) GROUP BY "object_id" |
17:24:51.929 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_invoice_numbers" WHERE "reimbursement_id"=8049 |
17:24:51.930 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("is_delete"=FALSE) |
17:24:51.930 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=18) AND ("is_delete"=FALSE) |
17:24:51.931 | 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:24:51.933 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'invoice_duplicated' in 'app\models\InvoiceRecognize'. |
17:24:51.933 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:51.934 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:51.940 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "name"='滴滴出行科技有限公司' |
17:24:51.947 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_reimbursements" ("status", "amount", "occurrence_at", "created_by") VALUES (0, '137.05', '2025-08-27 00:00:00', 5064) RETURNING "id" |
17:24:51.949 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:51.949 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:51.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\Reimbursements', 8247, 'a:18:{s:2:"id";i:8247;s:6:"status";i:0;s:6:"amount";s:6:"137.05";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:5064;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;}', '', 5064, '114.244.128.96') |
17:24:51.951 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=8247 |
17:24:51.953 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:51.953 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:51.953 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_reimbursement_verify_rels" ("reimbursement_id", "user_id", "status") VALUES (8247, 5252, 0), (8247, 1001, 0) |
17:24:51.955 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=8247 |
17:24:51.956 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:51.956 | info | yii\db\Command::query | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_reimbursement_settle_rels'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
17:24:51.961 | info | yii\db\Command::query | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_reimbursement_settle_rels'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
17:24:51.967 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:51.967 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
17:24:51.967 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_reimbursement_settle_rels" ("reimbursement_id", "user_id") VALUES (8247, 1013) |
17:24:51.968 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=8247) AND ("term_id"=15) |
17:24:51.969 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:51.969 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:51.969 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=184) |
17:24:51.969 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=15) |
17:24:51.970 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (15, 184, 8247) RETURNING "id" |
17:24:51.971 | 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', 129476, 'a:9:{s:2:"id";i:129476;s:9:"object_id";i:8247;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;}', '', 5064, '114.244.128.96') |
17:24:51.972 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=8247) AND ("object_type"=7) |
17:24:51.972 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=349) |
17:24:51.972 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=18) |
17:24:51.973 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "object_type", "taxonomy_id", "object_id") VALUES (18, 7, 349, 8247) RETURNING "id" |
17:24:51.974 | 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', 129477, 'a:9:{s:2:"id";i:129477;s:9:"object_id";i:8247;s:11:"taxonomy_id";i:349;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;}', '', 5064, '114.244.128.96') |
17:24:51.974 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachments" WHERE "id"='28292' |
17:24:51.975 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:51.975 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:51.975 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:51.975 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:51.975 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_attachement_relationships" ("object_type", "object_id", "attachment_id") VALUES (22, 8247, 28292) RETURNING "id" |
17:24:51.976 | 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', 49691, 'a:4:{s:2:"id";i:49691;s:11:"object_type";i:22;s:9:"object_id";i:8247;s:13:"attachment_id";i:28292;}', '', 5064, '114.244.128.96') |
17:24:51.977 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:51.977 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:51.977 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_reimbursement_invoice_numbers" ("op", "attachment_id", "reimbursement_id", "number") VALUES ('invoice', 28292, 8247, '25127000000326663776') RETURNING "id" |
17:24:51.978 | 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', 73, 'a:5:{s:2:"id";i:73;s:16:"reimbursement_id";i:8247;s:13:"attachment_id";i:28292;s:2:"op";s:7:"invoice";s:6:"number";s:20:"25127000000326663776";}', '', 5064, '114.244.128.96') |
17:24:51.979 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:51.979 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:51.980 | 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', 5064, 5, 'vue/reimbursement/save-recognize', '{"InvoiceRecognize":[{"saler_name":"\u6ef4\u6ef4\u51fa\u884c\u79d1\u6280\u6709\u9650\u516c\u53f8","purchaser_name":"\u5317\u4eac\u62d3\u5b9e\u79d1\u6280\u6709\u9650\u516c\u53f8","serial_no":"25127000000326663776","occurrence_at":"2025-08-27 00:00:00","type":"\u589e\u503c\u7a0e\u53d1\u7968","op":"invoice","amount":"137.05","invoice_duplicated":"true","attachment_id":"28292","x0":"27","y0":"56","x1":"2858","y1":"59","x2":"2858","y2":"1888","x3":"27","y3":"1888"}],"web_access_token":"HAbMUf8fRIyjcjUdXDjHjD-JYl0He8FU"}', '{"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:24:51') RETURNING "id" |
17:24:51.981 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:51.981 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |