685abca17276b: POST https://beta.jinchangxiao.com/v2/reimbursement/save-edit at 2025-06-24 10:56:33 pm by 211.137.80.11

Log Messages

总计107条数据
TimeLevelCategoryMessage
 
22:56:33.468traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
22:56:33.468traceyii\base\Module::getModuleLoading module: debug
22:56:33.468traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
22:56:33.468traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
22:56:33.469traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
22:56:33.469traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.469traceyii\base\Module::getModuleLoading module: gii
22:56:33.469traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
22:56:33.469traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
22:56:33.469traceyii\web\Application::handleRequestRoute requested: 'v2/reimbursement/save-edit'
22:56:33.469traceyii\base\Module::getModuleLoading module: v2
22:56:33.469infoyii\web\Session::openSession started
22:56:33.470infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
22:56:33.472infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u'
22:56:33.475traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.475traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
22:56:33.475traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.475traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
22:56:33.475infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
22:56:33.477traceyii\base\Controller::runActionRoute to run: v2/reimbursement/save-edit
22:56:33.477traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.478traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
22:56:33.478traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\ReimbursementController::actionSaveEdit()
22:56:33.478infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"='7438'
22:56:33.478traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.478traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
22:56:33.479infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status" != 0) AND ("reimbursement_id"=7438) ORDER BY "id"
22:56:33.480traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.481traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.482traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'attachmentFiles' in 'app\models\Reimbursements'.
22:56:33.482traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\Reimbursements'.
22:56:33.482infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)
22:56:33.483infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815')
22:56:33.483infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
22:56:33.484infoyii\db\Command::execute
22:56:33.484infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)
22:56:33.484infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815')
22:56:33.485infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_reimbursements" SET "occurrence_at"='2025-06-24 22:45', "client_id"=2815, "project_id"=NULL, "work_log_id"=NULL, "pre_sales_id"=NULL, "implement_record_id"=NULL WHERE "id"=7438
22:56:33.486traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.486traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
22:56:33.486infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Reimbursements', 7438, 'a:1:{s:13:"occurrence_at";s:19:"2025-06-24 22:45:00";}', '', 1000, '211.137.80.11')
22:56:33.487infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=7438)
22:56:33.489infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
22:56:33.489traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.489traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
22:56:33.489infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'AttachmentRelationships', 7438, 20, 1000, 'now()', '[["24771"]]', '[[]]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u56fe\u7247","d4":[""]}')
22:56:33.490infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=7438)
22:56:33.492traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.492infoyii\db\Command::querySELECT 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_attachement_relationships' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
22:56:33.496infoyii\db\Command::queryselect 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_attachement_relationships' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
22:56:33.504traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
22:56:33.504traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
22:56:33.504infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_attachement_relationships" ("object_type", "object_id", "attachment_id") VALUES (19, 7438, 24771)
22:56:33.508infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=7438
22:56:33.508infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id" IN (185, 369))
22:56:33.508traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.509traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
22:56:33.509infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=7438) AND ("term_id"=15)
22:56:33.509traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.510traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
22:56:33.510infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='185')
22:56:33.510infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=15)
22:56:33.510infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (15, 185, 7438) RETURNING "id"
22:56:33.512infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\TermTaxonomyRelationships', 118020, 'a:7:{s:2:"id";i:118020;s:9:"object_id";i:7438;s:11:"taxonomy_id";s:3:"185";s:7:"term_id";i:15;s:5:"value";N;s:11:"object_type";N;s:9:"extra_int";N;}', '', 1000, '211.137.80.11')
22:56:33.512infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=7438
22:56:33.513infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=18) AND ("id" IN (185, 369))
22:56:33.513infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=7438) AND ("term_id"=18)
22:56:33.514infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='369')
22:56:33.514infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=18)
22:56:33.514infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (18, 369, 7438) RETURNING "id"
22:56:33.515infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\TermTaxonomyRelationships', 118021, 'a:7:{s:2:"id";i:118021;s:9:"object_id";i:7438;s:11:"taxonomy_id";s:3:"369";s:7:"term_id";i:18;s:5:"value";N;s:11:"object_type";N;s:9:"extra_int";N;}', '', 1000, '211.137.80.11')
22:56:33.516infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=7438 ORDER BY "id"
22:56:33.517traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.517traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
22:56:33.518infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=7438
22:56:33.519infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_reimbursement_verify_rels" ("reimbursement_id", "user_id", "status") VALUES (7438, 1000, 0)
22:56:33.520infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=7438
22:56:33.520traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.521traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
22:56:33.521infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=7438
22:56:33.521infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" ("reimbursement_id", "user_id") VALUES (7438, 5252)
22:56:33.523infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=7438
22:56:33.523traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.523traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
22:56:33.523infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=7438
22:56:33.524infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_reimbursement_settle_rels" ("reimbursement_id", "user_id") VALUES (7438, 1000)
22:56:33.525infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("reimbursement_id"=7438) AND ("status"=0) ORDER BY "id"
22:56:33.527infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_reimbursements" SET "updated_at"='now()' WHERE "id"=7438
22:56:33.527infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Reimbursements', 7438, 'a:1:{s:13:"occurrence_at";s:19:"2025-06-24 22:45:00";}', '', 1000, '211.137.80.11')
22:56:33.528infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
22:56:33.529infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status"=0) AND ("reimbursement_id"=7438) ORDER BY "id"
22:56:33.530traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.530traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
22:56:33.530infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815'
22:56:33.532infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2815
22:56:33.534infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2815) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
22:56:33.542traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.542traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
22:56:33.542infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2815, 1004, 'now()', NULL) RETURNING "id"
22:56:33.543infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 164980, 'a:5:{s:2:"id";i:164980;s:9:"client_id";i:2815;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '211.137.80.11')
22:56:33.544infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 2815, 'a:0:{}', '', 1000, '211.137.80.11')
22:56:33.545infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
22:56:33.546infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (2, 'update', 2815, 10, 7438, 20, 1000, '[7438]', '[7438]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}') RETURNING "id"
22:56:33.547infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 509528, 'a:13:{s:2:"id";i:509528;s:9:"object_id";s:4:"2815";s:11:"object_type";i:10;s:9:"target_id";i:7438;s:18:"target_object_type";i:20;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[7438]";s:9:"new_value";s:6:"[7438]";s:11:"description";s:113:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '211.137.80.11')
22:56:33.548traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
22:56:33.548traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
22:56:33.548infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 2, 1141, 'v2/reimbursement/save-edit', '{"Reimbursements":{"amount":"112","attachmentFiles":["24771"],"client_id":"2815","description":"","form_costType":"369","form_reimbursementCarbonCopyRels":["5252"],"form_reimbursementSettleRels":["1000"],"form_reimbursementVerifyRels":["1000"],"form_type":"185","id":"7438","implement_record_id":"","occurrence_at":"2025-06-24 22:45","pre_sales_id":"","project_id":"","work_log_id":""},"access_token":"rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u","device_type":"2","posttime":"1750776960","token":"c5457035c9403cdc74a9f7d9772d0034","version_code":"1141"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u62a5\u9500\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}]}', FALSE, '2025-06-24 22:56:33') RETURNING "id"