Log Messages

总计62条数据
TimeLevelCategoryMessage
 
21:21:01.691traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
21:21:01.691traceyii\base\Module::getModuleLoading module: debug
21:21:01.691traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
21:21:01.692traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
21:21:01.692traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
21:21:01.692traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:21:01.692infotime tracing start1784208061692948992
21:21:01.693traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
21:21:01.693traceyii\web\Application::handleRequestRoute requested: 'v2/implement/list'
21:21:01.693traceyii\base\Module::getModuleLoading module: v2
21:21:01.700infoyii\web\Session::openSession started
21:21:01.701infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
21:21:01.705infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='wXfR6UQn7fW_MTEa9o-7H8Ixg0fJU0Zm'
21:21:01.708traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:21:01.709traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:21:01.709traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:21:01.710traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:21:01.710infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
21:21:01.712traceyii\base\Controller::runActionRoute to run: v2/implement/list
21:21:01.713traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:21:01.714traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
21:21:01.714traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\ImplementController::actionList()
21:21:01.715infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"='9249'
21:21:01.715traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:21:01.716traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:21:01.716traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:21:01.716traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:21:01.717infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT i.*, i.left_at - i.arrived_at AS hours_spent FROM "a57be577deb434"."tbl_implement_records" "i" LEFT JOIN "a57be577deb434"."tbl_cases" "c" ON c.id = i.case_id WHERE "case_id"=9249 GROUP BY "i"."id" ORDER BY "is_draft" DESC, "i"."has_following_work" DESC, "i"."left_at" DESC) "c"
21:21:01.720infoyii\db\Command::querySELECT i.*, i.left_at - i.arrived_at AS hours_spent FROM "a57be577deb434"."tbl_implement_records" "i" LEFT JOIN "a57be577deb434"."tbl_cases" "c" ON c.id = i.case_id WHERE "case_id"=9249 GROUP BY "i"."id" ORDER BY "is_draft" DESC, "i"."has_following_work" DESC, "i"."left_at" DESC LIMIT 10
21:21:01.725infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sales_rep", "logo" FROM "a57be577deb434"."tbl_clients" WHERE "id"=982
21:21:01.725infoyii\db\Command::querySELECT "id", "case_status", "client_id", "project_id" FROM "a57be577deb434"."tbl_cases" WHERE "id"=9249
21:21:01.726infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_clients" WHERE "id"=982
21:21:01.727infoyii\db\Command::querySELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id"=4161
21:21:01.727infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_contacts" WHERE "id"=3915
21:21:01.728infoyii\db\Command::querySELECT "id", "id" AS "key", "type" AS "name" FROM "a57be577deb434"."tbl_implement_types" WHERE "id"=4
21:21:01.729infoyii\db\Command::querySELECT "id", "id" AS "key", "method" AS "name" FROM "a57be577deb434"."tbl_implement_methods" WHERE "id"=1
21:21:01.729infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=982
21:21:01.730infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
21:21:01.731infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1015
21:21:01.731infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1015)
21:21:01.732infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=2
21:21:01.733infoyii\db\Command::querySELECT *, "product_type_id" AS "key" FROM "a57be577deb434"."tbl_implement_product_types" WHERE "implement_id"=7535
21:21:01.734infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=5) AND ("object_id"=7535)
21:21:01.737infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=24) AND ("object_id"=7535)
21:21:01.740infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_services" WHERE "id"=240
21:21:01.741infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=33
21:21:01.742infoyii\db\Command::querySELECT "id", "id" AS "key", "title" AS "name" FROM "a57be577deb434"."tbl_service_type" WHERE "id"=1
21:21:01.743infoyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=5) AND ("object_id"=7535) GROUP BY "object_id"
21:21:01.763infoyii\db\Command::querySELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=5) AND (remind_user_id = 1000 AND is_read = false) AND ("object_id"=7535) GROUP BY "object_id"
21:21:01.781infoyii\db\Command::querySELECT "implement_record_id", sum(amount) as count FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" IN (1, 2, 3)) AND ("implement_record_id"=7535) GROUP BY "implement_record_id"
21:21:01.784infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "implement_record_id"=7535 ORDER BY array_position(array[0,1,2,3,5,6,4], status::integer)
21:21:01.787traceuranus\rbac\DbManager::checkAccessFromCacheChecking permission: updateTicket
21:21:01.787traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: TechDirector
21:21:01.787traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: ProjectManager
21:21:01.787traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: SalesDirector
21:21:01.787traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Engineer
21:21:01.787traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
21:21:01.787traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:21:01.788traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:21:01.791traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:21:01.791traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:21:01.792infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1000, 2, 1161, 'v2/implement/list', '{"access_token":"wXfR6UQn7fW_MTEa9o-7H8Ixg0fJU0Zm","device_type":"2","id":"9249","posttime":"1784208000","token":"09cb2e0e78b8c5d5fd4fd46b6838d56f","version_code":"1161"}', '{"code":200,"data":{"list":[{"id":7535,"client_id":982,"contact_id":3915,"implement_type":4,"implement_method":1,"arrived_at":"2026-04-07 13:46:00","left_at":"2026-04-07 15:46:00","address":null,"has_following_work":false,"description":"\u5b9e\u65bd\u603b\u7ed3\u8bed\u97f3\u8f93\u5165\u5185\u5bb9\u7b80\u5355\u5a1c\u5a1c\u653e\u7ea0\u7eb7\u89e3\u51b3\u5c31\u51cf\u80a5\u5c31\u5a1c\u5a1c\u5bb6\u5c06\u65a4\u65a4\u8ba1\u8f83\u51cf\u80a5\u540e\u653e\u5047\u7ecf\u6d4e\u7ea0\u7eb7\u5427","created_by":1015,"created_at":"2026-04-07 15:47:16","updated_at":"2026-04-22 16:13:18","satisfaction_id":null,"implement_address":null,"following_work_content":"","location_id":null,"client_address":null,"is_draft":0,"service_id":240,"case_id":9249,"location_in_id":null,"location_out_id":null,"ticket_no":"IM260407001001","client_document_id":null,"client_document_file":null,"indistance":999999999,"outdistance":999999999,"hours_spent":"02:00:00","client":{"id":982,"key":982,"name":"\u4e2d\u56fd\u4fe1\u606f\u5b89\u5168\u7814\u7a76\u6240","sales_rep":1001,"logo":null},"case":{"id":9249,"case_status":3,"client_id":982,"project_id":4161,"client":{"id":982,"key":982,"name":"\u4e2d\u56fd\u4fe1\u606f\u5b89\u5168\u7814\u7a76\u6240"},"project":{"id":4161,"key":4161,"name":"3535"}},"contact":{"id":3915,"key":3915,"name":"\u5218\u5fae"},"implementType":{"id":4,"key":4,"name":"\u552e\u524d\u6d4b\u8bd5"},"implementMethod":{"id":1,"key":1,"name":"\u73b0\u573a\u5b9e\u65bd"},"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"createdBy":{"id":1015,"key":1015,"name":"\u5434\u660a","sex":"M","department_id":2,"avatar":{"id":12,"user_id":1015,"name":"\/files\/cdn\/a57be577deb434\/avatar\/d69b398a-5951-36e9-a92e-992fe938db26.jpg"},"department":{"id":2,"key":2,"name":"\u6280\u672f\u90e8"}},"implementProductTypes":[{"id":7,"implement_id":7535,"product_type_id":7,"name":"\u8f6f\u4ef6","description":null,"key":7},{"id":10,"implement_id":7535,"product_type_id":10,"name":"\u56fe\u5f62\u5de5\u4f5c\u7ad9","description":null,"key":10}],"location":null,"locationIn":null,"locationOut":null,"clientAddress":null,"attachmentRelationships":[],"files":[],"service":{"id":240,"serial_no":"ZH03","title":"\u7efc\u5408\u670d\u52a1\u5927\u534a\u5929","brand_id":33,"type_id":1,"points":38,"points_off_time":38,"points_holiday":38,"description":"\u7efc\u5408\u670d\u52a1","created_by":1013,"created_at":"2020-04-17 10:47:35","updated_at":"2026-04-22 16:13:03","is_delete":false,"sort":4,"is_stop":true,"brand":{"id":33,"key":33,"name":"Toast"},"type":{"id":1,"key":1,"name":"\u5b89\u88c5\u670d\u52a1"}},"commentCount":null,"unreadComments":null,"reimbursementCount":null,"clientDocument":null,"reimbursements":[],"hours_spent_display":"2\u5c0f\u65f6","point_display":38,"can_create_items":true,"can_update":true,"can_delete":true,"can_complete":false,"can_create_reimbursement":false,"unread":0,"can_location_in":false,"can_location_out":false}],"pagenation":{"totalcount":1,"thispage":1,"pagesize":10},"can_create":false},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"111.9.5.127","ua":"jinchangxiao\/2.3.158 (iPhone 12 mini; iOS 26.2; Scale\/3.00)"}', FALSE, '2026-07-16 21:21:01', 98991872) RETURNING "id"