All Latest
6a423c85b85ec: POST https://beta.jinchangxiao.com/ledger/book/list-account-caption at 2026-06-29 05:36:05 pm by 221.216.117.25

Database Queries

总计13条数据
TimeDurationTypeQuery
  
17:36:05.7590.9 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "id"=1001

17:36:05.7610.8 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "ledger_access_token"='O6Vr7bn3kQPZ5hlF6w1MM7SX_Njw-iTV'

17:36:05.7630.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5252

17:36:05.7640.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_ledgers" WHERE "id"='1'

17:36:05.7650.7 msSELECTSELECT "i"."ledger_account_caption_id", COALESCE(sum(i.debit_amount), 0) AS "debit_amount", COALESCE(sum(i.credit_amount), 0) AS "credit_amount" FROM "a57be577deb434"."tbl_ledger_ticket_items" "i" LEFT JOIN "a57be577deb434"."tbl_ledger_tickets" "t" ON i.ledger_ticket_id = t.id WHERE ("t"."ledger_id"='1') AND ("t"."status"=1) GROUP BY "i"."ledger_account_caption_id"

17:36:05.7660.7 msSELECTSELECT "id", "parent_id", "direction", "amount", "year_debit_amount", "year_credit_amount" FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "ledger_id"='1' ORDER BY "id"

17:36:05.7702.2 msSELECTSELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "ledger_id"='1' ORDER BY "serial_no", "id"

17:36:05.7730.4 msSELECTSELECT * FROM "a57be577deb434"."tbl_ledger_cash_items" WHERE "id" IN (13, 2, 6, 14, 3, 4, 15, 27, 7, 28, 26, 31, 9, 35, 8)

17:36:05.7740.4 msSELECTSELECT * FROM "a57be577deb434"."tbl_ledger_cash_items" WHERE "id" IN (20, 2, 6, 14, 8, 9, 4, 19, 22, 30, 7, 31, 32, 15, 35)

17:36:05.7750.4 msSELECTSELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1000, 5064, 1001)

17:36:05.7750.3 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (1000, 1001, 5064))

17:36:05.7760.3 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id" IN (10, 4)

17:36:05.7801.4 msINSERTINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 5252, 6, 'ledger/book/list-account-caption', '{"access_token":"O6Vr7bn3kQPZ5hlF6w1MM7SX_Njw-iTV","ledger_id":"1","page":"1","pageSize":"-1","parent_id":"","start_account_caption_id":"171","end_account_caption_id":"171","web_access_token":"O6Vr7bn3kQPZ5hlF6w1MM7SX_Njw-iTV"}', '{"code":2000,"result":{"list":[{"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":"799608.16","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,"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":799608.16,"auxiliary_types":[],"auxiliary_type_displays":[],"auxiliary_type_display":"","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":1,"can_open_auxiliary_opening":false,"can_create_auxiliary_opening":false,"can_bind_cash_item":false,"can_update":true,"can_delete":false,"can_stop":false,"can_start":false,"child":[{"id":171,"ledger_id":1,"parent_id":1,"ledger_cash_item_id":"","ledger_cash_in_item_id":"","ledger_cash_out_item_id":"","title":"\u62db\u5546\u94f6\u884c\u5317\u4eac\u4e16\u7eaa\u57ce\u652f\u884c \u7fc1\u5bb6\u6210 6225880174507062","serial_no":"100102","amount":"790652.68","balance_amount":"790652.68","actual_amount":"790652.68","description":"","type":1,"direction":1,"sort":6,"can_create_child":false,"can_change_amount":false,"is_system":false,"is_delete":false,"is_current":false,"is_auxiliary_customer":false,"is_auxiliary_supplier":false,"is_cash_equivalent":true,"created_by":5064,"created_at":"2026-06-29 17:04:19","updated_at":"2026-06-29 17:33:15","year_debit_amount":"0","year_credit_amount":"0","cashInItem":"","cashOutItem":"","createdBy":{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf","sex":"F","department_id":10,"avatar":{"id":38,"user_id":5064,"name":"\/files\/cdn\/a57be577deb434\/avatar\/5bec09dc-1f7a-3542-89a2-cedfefb3fded.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"direction_display":"\u501f","year_begin_amount":790652.68,"auxiliary_types":[],"auxiliary_type_displays":[],"auxiliary_type_display":"","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":false,"can_create_auxiliary_opening":false,"can_bind_cash_item":false,"can_update":true,"can_delete":false,"can_stop":false,"can_start":false,"child":[]}]}],"can_create":true,"pagenation":{"totalcount":1,"thispage":1,"pagesize":-1}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"221.216.117.25","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-06-29 17:36:05', 23468032) RETURNING "id"