Database Queries

总计7条数据
TimeDurationTypeQuery
  
10:44:18.4072.7 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "access_token"='c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw'

10:44:18.4111.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446

10:44:18.4140.9 msSELECTSELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='3081') AND ("deleted"=FALSE)

10:44:18.4171.2 msSELECTSELECT "s"."accessible_user" FROM "a57be577deb434"."tbl_visible_reimbursements" "s" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON u.id = s.accessible_user WHERE ("s"."user_id"=5446) AND (s.accessible_user IS NOT NULL) AND ("u"."user_status"='1') GROUP BY "s"."id", "u"."id" ORDER BY "u"."name"

10:44:18.4196.1 msSELECTSELECT COUNT(*) FROM (SELECT DISTINCT r.*, CASE WHEN r.status = 2 THEN 1 ELSE 0 END as settlesort FROM "a57be577deb434"."tbl_reimbursements" "r" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON r.created_by = u.id LEFT JOIN "a57be577deb434"."tbl_reimbursement_verify_rels" "rvr" ON rvr.reimbursement_id = r.id LEFT JOIN "a57be577deb434"."tbl_reimbursement_settle_rels" "rsr" ON rsr.reimbursement_id = r.id LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = r.client_id AND client.deleted = FALSE LEFT JOIN "a57be577deb434"."tbl_term_taxonomy_relationships" "dt1" ON dt1.object_id = r.id AND dt1.term_id = 15 LEFT JOIN "a57be577deb434"."tbl_term_taxonomy_relationships" "dt2" ON dt2.object_id = r.id AND dt2.term_id = 18 AND dt2.object_type = 7 LEFT JOIN "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" "rccr" ON rccr.reimbursement_id = r.id WHERE (("r"."status" != 0) OR ("r"."created_by"=5446)) AND (("r"."created_by"=5446) OR ("rccr"."user_id"=5446) OR ("rsr"."user_id"=5446) OR ("rvr"."user_id"=5446)) AND ("r"."client_id"='3081') GROUP BY "r"."id" ORDER BY "r"."created_at" DESC) "c"

10:44:18.4254.7 msSELECTSELECT DISTINCT r.*, CASE WHEN r.status = 2 THEN 1 ELSE 0 END as settlesort FROM "a57be577deb434"."tbl_reimbursements" "r" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON r.created_by = u.id LEFT JOIN "a57be577deb434"."tbl_reimbursement_verify_rels" "rvr" ON rvr.reimbursement_id = r.id LEFT JOIN "a57be577deb434"."tbl_reimbursement_settle_rels" "rsr" ON rsr.reimbursement_id = r.id LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = r.client_id AND client.deleted = FALSE LEFT JOIN "a57be577deb434"."tbl_term_taxonomy_relationships" "dt1" ON dt1.object_id = r.id AND dt1.term_id = 15 LEFT JOIN "a57be577deb434"."tbl_term_taxonomy_relationships" "dt2" ON dt2.object_id = r.id AND dt2.term_id = 18 AND dt2.object_type = 7 LEFT JOIN "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" "rccr" ON rccr.reimbursement_id = r.id WHERE (("r"."status" != 0) OR ("r"."created_by"=5446)) AND (("r"."created_by"=5446) OR ("rccr"."user_id"=5446) OR ("rsr"."user_id"=5446) OR ("rvr"."user_id"=5446)) AND ("r"."client_id"='3081') GROUP BY "r"."id" ORDER BY "r"."created_at" DESC LIMIT 10

10:44:18.4301.2 msINSERTINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 5446, 2, 1147, 'v2/reimbursement/of-client', '{"access_token":"c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw","device_type":"2","id":"3081","posttime":"1756521856","token":"acde74df0863a4477534d442bd5c3bbe","version_code":"1147"}', '{"code":200,"data":{"list":[],"pagenation":{"totalcount":0,"thispage":1,"pagesize":10},"can_create":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-08-30 10:44:18') RETURNING "id"