Database Queries

总计15条数据
TimeDurationTypeQuery
  
18:03:30.9590.7 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "id"=1013

18:03:30.9610.7 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "ledger_access_token"='fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c'

18:03:30.9630.4 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001

18:03:30.9630.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_ledgers" WHERE "id"='1'

18:03:30.9650.4 msSELECTSELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("id"='170') AND ("ledger_id"='1')

18:03:30.9650.4 msSELECTSELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "id"=1

18:03:30.9660.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "parent_id"=170 ORDER BY "serial_no", "id"

18:03:30.9670.3 msSELECTSELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

18:03:30.9670.3 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1000)

18:03:30.9680.2 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10

18:03:30.9680.3 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("ledger_id"='1') AND ("parent_id"='170'))

18:03:30.9690.3 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("ledger_id"=1) AND ("parent_id"=170))

18:03:30.9690.6 msSELECTSELECT * FROM "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" WHERE (("ledger_id"='1') AND ("ledger_account_caption_id"='170')) AND ("auxiliary_item_id" IN (SELECT "id" FROM "a57be577deb434"."tbl_ledger_auxiliary_items" WHERE ("ledger_id"='1') AND ("type"=1))) ORDER BY "sort", "id"

18:03:30.9700.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" WHERE (("ledger_id"='1') AND ("ledger_account_caption_id"='170')) AND ("auxiliary_item_id" IN (SELECT "id" FROM "a57be577deb434"."tbl_ledger_auxiliary_items" WHERE ("ledger_id"='1') AND ("type"=1))) ORDER BY "sort", "id" LIMIT 20

18:03:30.9722.2 msINSERTINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 6, 'ledger/settings/list-account-caption-auxiliary-opening', '{"access_token":"fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c","ledger_id":"1","ledger_account_caption_id":"170","page":"1","pageSize":"20","web_access_token":"fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c"}', '{"code":2000,"result":{"account_caption":{"id":170,"ledger_id":1,"parent_id":1,"ledger_cash_item_id":"","ledger_cash_in_item_id":"","ledger_cash_out_item_id":"","title":"\u73b0\u91d1","serial_no":"100101","amount":"0","balance_amount":"0","actual_amount":"0","description":"","type":1,"direction":1,"sort":5,"can_create_child":false,"can_change_amount":false,"is_system":true,"is_delete":false,"is_current":false,"is_auxiliary_customer":true,"is_auxiliary_supplier":false,"is_cash_equivalent":true,"created_by":1000,"created_at":"2026-06-29 17:04:19","updated_at":"2026-07-16 17:30:04","year_debit_amount":"0","year_credit_amount":"0","parent":{"id":1,"ledger_id":1,"parent_id":"","ledger_cash_item_id":"","ledger_cash_in_item_id":"","ledger_cash_out_item_id":"","title":"\u5e93\u5b58\u73b0\u91d1","serial_no":"1001","amount":"0","balance_amount":"0","actual_amount":"0","description":"","type":1,"direction":1,"sort":1,"can_create_child":true,"can_change_amount":true,"is_system":true,"is_delete":false,"is_current":true,"is_auxiliary_customer":false,"is_auxiliary_supplier":false,"is_cash_equivalent":true,"created_by":1000,"created_at":"2026-06-29 17:04:16","updated_at":"2026-06-29 17:04:16","year_debit_amount":"0","year_credit_amount":"0"},"child":[],"cashInItem":"","cashOutItem":"","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/\/avatar\/618545c1-a2ce-3918-9d51-25924baf6d6f.jpg"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"direction_display":"\u501f","year_begin_amount":0,"auxiliary_types":[1],"auxiliary_type_displays":["\u5ba2\u6237"],"auxiliary_type_display":"\u5ba2\u6237","cash_in_item_title":"\u73b0\u91d1\u53ca\u73b0\u91d1\u7b49\u4ef7\u7269","cash_out_item_title":"\u73b0\u91d1\u53ca\u73b0\u91d1\u7b49\u4ef7\u7269","index":2,"can_open_auxiliary_opening":true,"can_create_auxiliary_opening":true,"can_bind_cash_item":false,"can_update":true,"can_delete":false,"can_stop":true,"can_start":false},"auxiliary_types":[1],"auxiliary_type_displays":["\u5ba2\u6237"],"list":[],"summary":{"subtotal_amount":"0","total_amount":"0","subtotal_opening_debit_amount":"0","total_opening_debit_amount":"0","subtotal_opening_credit_amount":"0","total_opening_credit_amount":"0"},"can_create":true,"pagenation":{"totalcount":0,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"114.244.130.25","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-07-16 18:03:30', 14996992) RETURNING "id"