Database Queries

总计30条数据
TimeDurationTypeQuery
  
14:49:53.2492.3 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "id"=1001

14:49:53.2520.7 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "id"=1001

14:49:53.2531.8 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001

14:49:53.2570.7 msSELECTSELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"='3848'

14:49:53.2590.3 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=3848)

14:49:53.2600.3 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=3848)

14:49:53.2603.5 msINSERTINSERT INTO "a57be577deb434"."tbl_purchase_contract_payments" ("contract_id", "collected_date", "description", "amount", "created_by", "created_at") VALUES (3848, '2025/07/03', '', '1', 1001, 'now()') RETURNING "id"

14:49:53.2641.0 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\PurchaseContractPayments', 2097, 'a:8:{s:2:"id";i:2097;s:11:"contract_id";i:3848;s:6:"amount";s:1:"1";s:10:"created_by";i:1001;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:14:"collected_date";s:10:"2025/07/03";s:11:"description";s:0:"";s:11:"paid_amount";N;}', '', 1001, '114.254.1.137')

14:49:53.2650.2 msSELECTSELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=3848

14:49:53.2661.0 msUPDATEUPDATE "a57be577deb434"."tbl_purchase_contract_payments" SET "paid_amount"='0' WHERE "contract_id"=3848

14:49:53.2670.3 msUPDATEUPDATE "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_dates" SET "paid_amount"='0', "status"=0, "overdue_days"=NULL WHERE "contract_id"=3848

14:49:53.2671.1 msSELECTSELECT * FROM "a57be577deb434"."tbl_purchase_contract_payments" WHERE ("contract_id"=3848) AND (amount > 0) AND (amount > paid_amount) ORDER BY "collected_date", "created_at"

14:49:53.2680.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_dates" WHERE ("contract_id"=3848) AND (amount > paid_amount) ORDER BY "remind_date"

14:49:53.2691.3 msDELETEDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=110) AND ("object_id"=2097)

14:49:53.2700.2 msSELECTSELECT * FROM "a57be577deb434"."tbl_purchase_contract_payments" WHERE "id"=2097

14:49:53.2711.1 msINSERTINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 2097, 110, 1001, '2025-07-03 14:49:53', '{"id":2097,"contract_id":3848,"amount":"1","created_by":1001,"created_at":"2025-07-03 14:49:53","collected_date":"2025-07-03","description":"","paid_amount":"0"}', '{"id":2097,"contract_id":3848,"amount":"1","created_by":1001,"created_at":"2025-07-03 14:49:53","collected_date":"2025-07-03","description":"","paid_amount":"0"}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u6536\u6b3e\u4fe1\u606f","d4":[]}') RETURNING "id"

14:49:53.2720.7 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 509726, 'a:13:{s:2:"id";i:509726;s:9:"object_id";i:2097;s:11:"object_type";i:110;s:9:"target_id";N;s:18:"target_object_type";N;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:161:"{"id":2097,"contract_id":3848,"amount":"1","created_by":1001,"created_at":"2025-07-03 14:49:53","collected_date":"2025-07-03","description":"","paid_amount":"0"}";s:9:"new_value";s:161:"{"id":2097,"contract_id":3848,"amount":"1","created_by":1001,"created_at":"2025-07-03 14:49:53","collected_date":"2025-07-03","description":"","paid_amount":"0"}";s:11:"description";s:93:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u6536\u6b3e\u4fe1\u606f","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2025-07-03 14:49:53";s:9:"is_delete";N;}', '', 1001, '114.254.1.137')

14:49:53.2730.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_purchase_client_rels" WHERE "contract_id"=3848 ORDER BY "id"

14:49:53.2740.8 msINSERTINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (2, 'update', 431, 12, 3848, 13, 1001, '[3848]', '[3848]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c"]}') RETURNING "id"

14:49:53.2750.7 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 509727, 'a:13:{s:2:"id";i:509727;s:9:"object_id";i:431;s:11:"object_type";i:12;s:9:"target_id";i:3848;s:18:"target_object_type";i:13;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[3848]";s:9:"new_value";s:6:"[3848]";s:11:"description";s:144:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.254.1.137')

14:49:53.2760.8 msINSERTINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 3848, 13, 2097, 110, 1001, '[2097]', '[2097]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u4ed8\u6b3e\u8bb0\u5f55","d4":["2025-07-03 \uffe51.00"]}') RETURNING "id"

14:49:53.2770.7 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 509728, 'a:13:{s:2:"id";i:509728;s:9:"object_id";i:3848;s:11:"object_type";i:13;s:9:"target_id";i:2097;s:18:"target_object_type";i:110;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[2097]";s:9:"new_value";s:6:"[2097]";s:11:"description";s:116:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u4ed8\u6b3e\u8bb0\u5f55","d4":["2025-07-03 \uffe51.00"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.254.1.137')

14:49:53.2780.2 msSELECTSELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=3848

14:49:53.2800.3 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)

14:49:53.2801.1 msINSERTINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '13', 3848, '刘人诚提交了付款记录:费用合同付款金额1元', TRUE, '采购合同:费用合同') RETURNING "id"

14:49:53.2810.8 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 170205, 'a:11:{s:2:"id";i:170205;s:9:"object_id";i:3848;s:11:"object_type";s:2:"13";s:6:"parent";N;s:11:"description";s:61:"刘人诚提交了付款记录:费用合同付款金额1元";s:10:"created_by";i:1001;s:10:"created_at";N;s:8:"reply_to";N;s:9:"is_system";b:1;s:8:"for_user";N;s:12:"description2";s:27:"采购合同:费用合同";}', '', 1001, '114.254.1.137')

14:49:53.2822.8 msINSERTINSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (3848, '13', 170205, 1011)

14:49:53.2860.3 msSELECTSELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=1011) AND ("id" != 1001) AND (channel_id IS NOT NULL)

14:49:53.2880.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001

14:49:53.3011.0 msINSERTINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/purchase-contract/save-new-payment', '{"PurchaseContractPayments":{"id":"","contract_id":"3848","collected_date":"2025\/07\/03","description":"","amount":"1","files":""},"contract_id":"3848","web_access_token":"er_liQPTz011rRwTshQzixBLTwcD6PCJ"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u65b0\u6536\u6b3e\u4fe1\u606f\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0}', FALSE, '2025-07-03 14:49:53') RETURNING "id"