Log Messages

总计103条数据
TimeLevelCategoryMessage
 
16:05:49.118traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
16:05:49.118traceyii\base\Module::getModuleLoading module: debug
16:05:49.118traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
16:05:49.118traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
16:05:49.119traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
16:05:49.119traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:05:49.119traceyii\base\Module::getModuleLoading module: gii
16:05:49.119traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
16:05:49.119traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
16:05:49.119traceyii\web\Application::handleRequestRoute requested: 'v2/punch-repair/cancel-verify'
16:05:49.119traceyii\base\Module::getModuleLoading module: v2
16:05:49.119infoyii\web\Session::openSession started
16:05:49.120infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
16:05:49.122infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH'
16:05:49.125traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:05:49.125traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:05:49.125traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:05:49.125traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:05:49.125infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
16:05:49.127traceyii\base\Controller::runActionRoute to run: v2/punch-repair/cancel-verify
16:05:49.127traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:05:49.128traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
16:05:49.128traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\PunchRepairController::actionCancelVerify()
16:05:49.128infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_repairs" WHERE "id"='238'
16:05:49.128traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:05:49.128traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:05:49.129infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_repair_cancel_verify_rels" WHERE ("status"=0) AND ("punch_repair_id"=238) ORDER BY "id"
16:05:49.129traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:05:49.129traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:05:49.129traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:05:49.130traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:05:49.131infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_punch_repair_cancel_verify_rels" SET "status"=1, "description"='', "verify_at"='now()' WHERE "id"=12
16:05:49.132traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:05:49.132traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:05:49.132infoyii\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\PunchRepairCancelVerifyRels', 12, 'a:2:{s:6:"status";i:1;s:9:"verify_at";s:5:"now()";}', '', 1000, '223.104.40.121')
16:05:49.133infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_punch_repair_cancel_verify_rels" WHERE ("status"=0) AND ("punch_repair_id"=238) ORDER BY "id") "c"
16:05:49.134infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_punch_repairs" SET "status"=6, "cancel_at"='now()', "updated_at"='now()' WHERE "id"=238
16:05:49.134infoyii\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\PunchRepairs', 238, 'a:2:{s:6:"status";i:6;s:9:"cancel_at";s:5:"now()";}', '', 1000, '223.104.40.121')
16:05:49.135infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_repairs" WHERE "id"='238'
16:05:49.136infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
16:05:49.136infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_repair_cancel_verify_rels" WHERE ("status"=0) AND ("punch_repair_id"=238) ORDER BY "id"
16:05:49.136infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_repair_carbon_copy_rels" WHERE "punch_repair_id"=238
16:05:49.137traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:05:49.137traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:05:49.137infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_repair_verify_rels" WHERE "punch_repair_id"=238 ORDER BY "id"
16:05:49.137traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:05:49.137traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:05:49.138traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:05:49.138traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:05:49.138infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_repairs" WHERE "id"=238
16:05:49.139infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)
16:05:49.139infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1000, '38', 238, '曹永生 通过了这个补卡申请', TRUE, '斤斤计较') RETURNING "id"
16:05:49.140infoyii\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\Comments', 170456, 'a:11:{s:2:"id";i:170456;s:9:"object_id";i:238;s:11:"object_type";s:2:"38";s:6:"parent";N;s:11:"description";s:37:"曹永生 通过了这个补卡申请";s:10:"created_by";i:1000;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:12:"斤斤计较";}', '', 1000, '223.104.40.121')
16:05:49.141traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:05:49.141infoyii\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_unread_comments' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
16:05:49.146infoyii\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_unread_comments' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
16:05:49.155traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:05:49.156traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
16:05:49.156infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (238, '38', 170456, 5252)
16:05:49.157infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=5252) AND ("id" != 1000) AND (channel_id IS NOT NULL)
16:05:49.158infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
16:05:49.158traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
16:05:49.159traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
16:05:49.159traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
16:05:49.159traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
16:05:49.159traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
16:05:49.159traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
16:05:49.159infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_punch_repairs" SET "next_cancel_verify_user"=NULL WHERE "id"=238
16:05:49.160infoyii\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\PunchRepairs', 238, 'a:0:{}', '', 1000, '223.104.40.121')
16:05:49.161infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
16:05:49.161traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:05:49.161traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:05:49.161infoyii\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 (16, 'status', 238, 38, 1000, 'now()', '["\u66f9\u6c38\u751f"]', '[]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u540c\u610f\u4e86\u64a4\u9500","d3":"\u8865\u5361\u7533\u8bf7","d4":""}')
16:05:49.162infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch" WHERE ("day_at"='2025-07-11') AND ("user_id"=1000)
16:05:49.163traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:05:49.163traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:05:49.164infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_aways" WHERE ("created_by"=1000) AND ("status" IN (1, 2, 5)) AND ("day_at"='2025-07-11') AND ("away_type"=1) ORDER BY "away_time" DESC
16:05:49.165infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_aways" WHERE ("created_by"=1000) AND ("day_at"='2025-07-11') AND ("status" IN (1, 2, 5)) AND ("away_type"=2) ORDER BY "away_time" DESC
16:05:49.165traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:05:49.165traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:05:49.165infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_aways" WHERE ("created_by"=1000) AND ("day_at"='2025-07-11') AND ("status" IN (2, 5)) AND ("away_type"=1) ORDER BY "away_time" DESC
16:05:49.166infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_aways" WHERE ("created_by"=1000) AND ("day_at"='2025-07-11') AND ("status" IN (2, 5)) AND ("away_type"=2) ORDER BY "away_time" DESC
16:05:49.166infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_repairs" WHERE ("created_by"=1000) AND ("day_at"='2025-07-11') AND ("status" IN (2, 5)) AND ("repair_type"=1) ORDER BY "verify_at" DESC
16:05:49.166infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_repairs" WHERE ("created_by"=1000) AND ("day_at"='2025-07-11') AND ("status" IN (2, 5)) AND ("repair_type"=2) ORDER BY "verify_at" DESC
16:05:49.167infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_leaves" WHERE ("created_by"=1000) AND ((("leave_start" < '2025-07-11') AND ("leave_end" > '2025-07-11')) OR (("leave_start"='2025-07-11') AND ("leave_start_type"=1)) OR (("leave_start" != '2025-07-11') AND ("leave_end"='2025-07-11'))) AND ("status" IN (2, 5)) ORDER BY "verify_at" DESC
16:05:49.168infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_leaves" WHERE ("created_by"=1000) AND ((("leave_start" < '2025-07-11') AND ("leave_end" > '2025-07-11')) OR (("leave_end"='2025-07-11') AND ("leave_end_type"=2)) OR (("leave_start"='2025-07-11') AND ("leave_start_type"=2)) OR (("leave_start"='2025-07-11') AND ("leave_start_type"=1) AND ("leave_end" != '2025-07-11'))) AND ("status" IN (2, 5)) ORDER BY "verify_at" DESC
16:05:49.168infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_punch_travels" WHERE ("created_by"=1000) AND ((("travel_start" < '2025-07-11') AND ("travel_end" > '2025-07-11')) OR (("travel_start"='2025-07-11') AND ("travel_start_type"=1)) OR (("travel_start" != '2025-07-11') AND ("travel_end"='2025-07-11'))) AND ("status" IN (2, 5)))
16:05:49.169infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_punch_travels" WHERE ("created_by"=1000) AND ((("travel_start" < '2025-07-11') AND ("travel_end" > '2025-07-11')) OR (("travel_end"='2025-07-11') AND ("travel_end_type"=2)) OR (("travel_start"='2025-07-11') AND ("travel_start_type"=2)) OR (("travel_start"='2025-07-11') AND ("travel_start_type"=1) AND ("travel_end" != '2025-07-11'))) AND ("status" IN (2, 5)))
16:05:49.169infoyii\db\Command::querySELECT *, overtime_end - overtime_start AS hours_spent FROM "a57be577deb434"."tbl_punch_overtimes" WHERE ("created_by"=1000) AND (("overtime_start" >= '2025-07-11 00:00:00') AND ("overtime_start" <= '2025-07-11 23:59:59')) AND ("status" IN (2, 5)) ORDER BY "verify_at" DESC
16:05:49.170infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_punch_overtimes" WHERE ("created_by"=1000) AND (("overtime_start" >= '2025-07-11 00:00:00') AND ("overtime_start" <= '2025-07-11 23:59:59')) AND ("status"=1))
16:05:49.170infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_punch_aways" WHERE ("created_by"=1000) AND ("away_type"=1) AND ("day_at"='2025-07-11') AND ("status"=1))
16:05:49.170infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_punch_aways" WHERE ("created_by"=1000) AND ("away_type"=2) AND ("day_at"='2025-07-11') AND ("status"=1))
16:05:49.171infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_punch_repairs" WHERE ("created_by"=1000) AND ("day_at"='2025-07-11') AND ("status"=1) AND ("repair_type"=1))
16:05:49.171infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_punch_repairs" WHERE ("created_by"=1000) AND ("day_at"='2025-07-11') AND ("status"=1) AND ("repair_type"=2))
16:05:49.171infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_punch_leaves" WHERE ("created_by"=1000) AND ((("leave_start" < '2025-07-11') AND ("leave_end" > '2025-07-11')) OR (("leave_start"='2025-07-11') AND ("leave_start_type"=1)) OR ("leave_end"='2025-07-11')) AND ("status"=1))
16:05:49.172infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_punch_leaves" WHERE ("created_by"=1000) AND ((("leave_start" < '2025-07-11') AND ("leave_end" > '2025-07-11')) OR (("leave_end"='2025-07-11') AND ("leave_end_type"=2)) OR (("leave_start"='2025-07-11') AND ("leave_start_type"=2)) OR (("leave_start"='2025-07-11') AND ("leave_start_type"=1) AND ("leave_end" != '2025-07-11'))) AND ("status"=1))
16:05:49.172infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_travels" WHERE ("created_by"=1000) AND ((("travel_start" < '2025-07-11') AND ("travel_end" > '2025-07-11')) OR (("travel_start"='2025-07-11') AND ("travel_start_type"=1)) OR ("travel_end"='2025-07-11')) AND ("status"=1) ORDER BY "verify_at" DESC
16:05:49.172infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_travels" WHERE ("created_by"=1000) AND ((("travel_start" < '2025-07-11') AND ("travel_end" > '2025-07-11')) OR (("travel_end"='2025-07-11') AND ("travel_end_type"=2)) OR (("travel_start"='2025-07-11') AND ("travel_start_type"=2)) OR (("travel_start"='2025-07-11') AND ("travel_start_type"=1) AND ("travel_end" != '2025-07-11'))) AND ("status"=1) ORDER BY "verify_at" DESC
16:05:49.173infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_punch" SET "in_at"='2025-07-11 15:47:32+08', "in_status"=2, "in_is_absent"=TRUE, "in_is_repair"=FALSE, "in_value"=392, "out_value"=129, "away_value"=0, "leave_value"=0, "travel_value"=0, "absent_value"=1 WHERE ("day_at"='2025-07-11') AND ("user_id"=1000)
16:05:49.174infoyii\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\Punch', 57648, 'a:2:{s:5:"in_at";s:22:"2025-07-11 09:00:00+08";s:12:"absent_value";d:0.5;}', '', 1000, '223.104.40.121')
16:05:49.175traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:05:49.175traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:05:49.175infoyii\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/punch-repair/cancel-verify', '{"access_token":"oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH","description":"","device_type":"2","id":"238","posttime":"1752221184","token":"c49e482c657a23f155c1d138d15c5b21","version_code":"1141"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u8865\u5361\u7533\u8bf7\u5ba1\u6279\u901a\u8fc7","error":""}]}', FALSE, '2025-07-11 16:05:49') RETURNING "id"