Database Queries

总计9条数据
TimeDurationTypeQuery
  
17:25:58.4200.7 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "id"=1001

17:25:58.4220.6 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "id"=1001

17:25:58.4230.4 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001

17:25:58.4241.0 msSELECTSELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"='8489'

17:25:58.4260.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" WHERE "erp_cash_cost_ticket_id"=8489 ORDER BY "id"

17:25:58.4280.9 msSELECTSELECT COUNT(*) FROM ((SELECT '1' || id::varchar as id, id as sales_contract_id, null::integer as erp_other_collect_ticket_id, client_id as client_id, 1 as ticket_type, created_at, amount, amount - erp_all_settle_amount as un_settle_amount, created_by as handler, serial_no, null as abstract FROM "a57be577deb434"."tbl_sales_contracts" "sc" WHERE ((amount - erp_all_settle_amount > 0) OR (0=1)) AND (1 = 0)) UNION ALL ( SELECT '2' || id::varchar as id, null::integer as sales_contract_id, id as erp_other_collect_ticket_id, client_id as client_id, 2 as ticket_type, created_at, amount, amount - all_settle_amount as un_settle_amount, handler, serial_no, abstract FROM "a57be577deb434"."tbl_erp_other_collect_tickets" WHERE ("status"=2) AND (((bank_settle_at IS NOT NULL) AND (amount - all_settle_amount > 0)) OR (0=1)) AND ("supplier_id"='431') )) "sub"

17:25:58.4290.9 msSELECTSELECT * FROM ((SELECT '1' || id::varchar as id, id as sales_contract_id, null::integer as erp_other_collect_ticket_id, client_id as client_id, 1 as ticket_type, created_at, amount, amount - erp_all_settle_amount as un_settle_amount, created_by as handler, serial_no, null as abstract FROM "a57be577deb434"."tbl_sales_contracts" "sc" WHERE ((amount - erp_all_settle_amount > 0) OR (0=1)) AND (1 = 0)) UNION ALL ( SELECT '2' || id::varchar as id, null::integer as sales_contract_id, id as erp_other_collect_ticket_id, client_id as client_id, 2 as ticket_type, created_at, amount, amount - all_settle_amount as un_settle_amount, handler, serial_no, abstract FROM "a57be577deb434"."tbl_erp_other_collect_tickets" WHERE ("status"=2) AND (((bank_settle_at IS NOT NULL) AND (amount - all_settle_amount > 0)) OR (0=1)) AND ("supplier_id"='431') )) "sub"

17:25:58.4300.3 msSELECTSELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001

17:25:58.4341.4 msINSERTINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/erp-cash-cost-ticket/search-sales-contract', '{"id":"8489","supplier_id":"431","web_access_token":"s1xKbg9e3rlah-dvFsDEWCxiJPk9VpSm"}', '{"code":2000,"result":{"list":[{"id":"263","sales_contract_id":"","erp_other_collect_ticket_id":63,"client_id":"","ticket_type":2,"created_at":"2026-06-11 17:30:16","amount":"1","un_settle_amount":"1","handler":1001,"serial_no":"QTYSD-20260611-00007","abstract":"","handlerPerson":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M"},"client":{},"ticket_type_display":"\u5176\u4ed6\u5e94\u6536\u5355","handlers":[{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M"}]},{"id":"260","sales_contract_id":"","erp_other_collect_ticket_id":60,"client_id":"","ticket_type":2,"created_at":"2026-06-11 15:26:44","amount":"200","un_settle_amount":"199","handler":1001,"serial_no":"QTYSD-20260611-00004","abstract":"","handlerPerson":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M"},"client":{},"ticket_type_display":"\u5176\u4ed6\u5e94\u6536\u5355","handlers":[{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M"}]},{"id":"261","sales_contract_id":"","erp_other_collect_ticket_id":61,"client_id":"","ticket_type":2,"created_at":"2026-06-11 15:35:42","amount":"0.01","un_settle_amount":"0.01","handler":1001,"serial_no":"QTYSD-20260611-00005","abstract":"","handlerPerson":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M"},"client":{},"ticket_type_display":"\u5176\u4ed6\u5e94\u6536\u5355","handlers":[{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M"}]},{"id":"258","sales_contract_id":"","erp_other_collect_ticket_id":58,"client_id":"","ticket_type":2,"created_at":"2026-06-11 15:14:31","amount":"8000","un_settle_amount":"8000","handler":1001,"serial_no":"QTYSD-20260611-00002","abstract":"","handlerPerson":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M"},"client":{},"ticket_type_display":"\u5176\u4ed6\u5e94\u6536\u5355","handlers":[{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M"}]}],"can_create":true,"pagenation":{"totalcount":4,"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:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-06-16 17:25:58', 16971264) RETURNING "id"