19:35:02.213 | 3.0 ms | SELECT | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='hLtdglndkreOmfJjmOe7Mve0kQO2lAQu' |
19:35:02.217 | 1.3 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
19:35:02.223 | 1.7 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "created_by"=1000 ORDER BY "created_at" DESC |
19:35:02.246 | 0.3 ms | SELECT | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
19:35:02.247 | 0.4 ms | SELECT | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1000) |
19:35:02.247 | 0.4 ms | SELECT | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10 |
19:35:02.248 | 0.5 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=8204 |
19:35:02.248 | 0.2 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("term_id"=18) AND ("object_type"=7) AND ("object_id"=8204) |
19:35:02.249 | 0.3 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=8204 |
19:35:02.249 | 0.7 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE ("user_id"=1000) AND ("reimbursement_id"=8204) |
19:35:02.250 | 0.5 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=8204 |
19:35:02.250 | 1.5 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=8204 ORDER BY "id" |
19:35:02.252 | 1.2 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status"=0) AND ("reimbursement_id"=8204) ORDER BY "id" |
19:35:02.253 | 1.3 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status" != 0) AND ("reimbursement_id"=8204) ORDER BY "id" |
19:35:02.255 | 2.2 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=8204) |
19:35:02.257 | 0.5 ms | SELECT | SELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id"=28231 |
19:35:02.258 | 1.8 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=22) AND ("object_id"=8204) |
19:35:02.260 | 1.3 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "reimbursement_id"=8204 |
19:35:02.261 | 53.0 ms | SELECT | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=20) AND ("object_id"=8204) GROUP BY "object_id" |
19:35:02.315 | 17.2 ms | SELECT | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=20) AND (remind_user_id = 1000 AND is_read = false) AND ("object_id"=8204) GROUP BY "object_id" |
19:35:02.332 | 0.4 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_reimbursement_invoice_numbers" WHERE "reimbursement_id"=8204 |
19:35:02.333 | 0.5 ms | SELECT | SELECT count(distinct reimbursement_id) as count, number FROM "a57be577deb434"."tbl_reimbursement_invoice_numbers" WHERE (number is not null) AND ("number"='11100208115114867884') GROUP BY "number" |
19:35:02.333 | 0.4 ms | SELECT | SELECT "id" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("is_delete"=FALSE) |
19:35:02.334 | 0.2 ms | SELECT | SELECT "id" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=18) AND ("is_delete"=FALSE) |
19:35:02.337 | 1.3 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "name"='' |
19:35:02.338 | 2.1 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_reimbursements" ("status", "amount", "occurrence_at", "created_by") VALUES (0, '5.00', NULL, 1000) RETURNING "id" |
19:35:02.341 | 4.4 ms | SELECT | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_action_logs'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
19:35:02.346 | 3.8 ms | SELECT | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_action_logs'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
19:35:02.350 | 1.0 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Reimbursements', 8277, 'a:18:{s:2:"id";i:8277;s:6:"status";i:0;s:6:"amount";s:4:"5.00";s:13:"occurrence_at";N;s:18:"settle_accounts_at";N;s:18:"settle_accounts_by";N;s:11:"description";N;s:10:"created_by";i:1000;s:10:"created_at";N;s:10:"updated_at";N;s:18:"refuse_description";N;s:9:"client_id";N;s:10:"project_id";N;s:16:"next_verify_user";N;s:13:"is_resubmited";N;s:11:"work_log_id";N;s:12:"pre_sales_id";N;s:19:"implement_record_id";N;}', '', 1000, '39.107.117.60') |
19:35:02.351 | 0.2 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_attachments" WHERE "id"='28213' |
19:35:02.351 | 2.6 ms | SELECT | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_attachments'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
19:35:02.354 | 3.4 ms | SELECT | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_attachments'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
19:35:02.384 | 2.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_attachments" ("name", "path", "orig_name", "extension", "file_type", "file_size", "ip_address", "created_by") VALUES ('0ef9250f-ef35-3766-b172-3a9bb4e3c8e9', '/var/www/beta/web/files/protected/a57be577deb434/2025/09/', '20250918153355.jpeg', 'jpeg', 'image/jpeg', 74561, '223.104.42.217', 1000) RETURNING "id" |
19:35:02.387 | 0.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Attachments', 28359, 'a:10:{s:2:"id";i:28359;s:9:"orig_name";s:19:"20250918153355.jpeg";s:4:"path";s:57:"/var/www/beta/web/files/protected/a57be577deb434/2025/09/";s:4:"name";s:36:"0ef9250f-ef35-3766-b172-3a9bb4e3c8e9";s:9:"extension";s:4:"jpeg";s:9:"file_size";i:74561;s:10:"ip_address";s:14:"223.104.42.217";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"file_type";s:10:"image/jpeg";}', '', 1000, '39.107.117.60') |
19:35:02.388 | 2.5 ms | SELECT | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_attachement_relationships'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
19:35:02.390 | 3.6 ms | SELECT | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_attachement_relationships'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
19:35:02.394 | 1.5 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_attachement_relationships" ("object_type", "object_id", "attachment_id") VALUES (19, 8277, 28359) RETURNING "id" |
19:35:02.396 | 0.7 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\AttachmentRelationships', 49723, 'a:4:{s:2:"id";i:49723;s:11:"object_type";i:19;s:9:"object_id";i:8277;s:13:"attachment_id";i:28359;}', '', 1000, '39.107.117.60') |
19:35:02.397 | 2.3 ms | SELECT | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_reimbursement_invoice_numbers'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
19:35:02.399 | 3.6 ms | SELECT | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_reimbursement_invoice_numbers'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
19:35:02.403 | 1.0 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_reimbursement_invoice_numbers" ("op", "attachment_id", "reimbursement_id", "number") VALUES (NULL, 28359, 8277, '11100208115114867885') RETURNING "id" |
19:35:02.404 | 0.7 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ReimbursementInvoiceNumbers', 104, 'a:5:{s:2:"id";i:104;s:16:"reimbursement_id";i:8277;s:13:"attachment_id";i:28359;s:2:"op";N;s:6:"number";s:20:"11100208115114867885";}', '', 1000, '39.107.117.60') |
19:35:02.405 | 0.6 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "name"='' |
19:35:02.406 | 0.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_reimbursements" ("status", "amount", "occurrence_at", "created_by") VALUES (0, '5.00', NULL, 1000) RETURNING "id" |
19:35:02.407 | 0.7 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Reimbursements', 8278, 'a:18:{s:2:"id";i:8278;s:6:"status";i:0;s:6:"amount";s:4:"5.00";s:13:"occurrence_at";N;s:18:"settle_accounts_at";N;s:18:"settle_accounts_by";N;s:11:"description";N;s:10:"created_by";i:1000;s:10:"created_at";N;s:10:"updated_at";N;s:18:"refuse_description";N;s:9:"client_id";N;s:10:"project_id";N;s:16:"next_verify_user";N;s:13:"is_resubmited";N;s:11:"work_log_id";N;s:12:"pre_sales_id";N;s:19:"implement_record_id";N;}', '', 1000, '39.107.117.60') |
19:35:02.408 | 0.3 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_attachments" WHERE "id"='28213' |
19:35:02.426 | 1.0 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_attachments" ("name", "path", "orig_name", "extension", "file_type", "file_size", "ip_address", "created_by") VALUES ('a77be6da-a7f9-35e3-90e6-fd58e49fdbb5', '/var/www/beta/web/files/protected/a57be577deb434/2025/09/', '20250918153355.jpeg', 'jpeg', 'image/jpeg', 77498, '223.104.42.217', 1000) RETURNING "id" |
19:35:02.427 | 0.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Attachments', 28360, 'a:10:{s:2:"id";i:28360;s:9:"orig_name";s:19:"20250918153355.jpeg";s:4:"path";s:57:"/var/www/beta/web/files/protected/a57be577deb434/2025/09/";s:4:"name";s:36:"a77be6da-a7f9-35e3-90e6-fd58e49fdbb5";s:9:"extension";s:4:"jpeg";s:9:"file_size";i:77498;s:10:"ip_address";s:14:"223.104.42.217";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"file_type";s:10:"image/jpeg";}', '', 1000, '39.107.117.60') |
19:35:02.428 | 0.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_attachement_relationships" ("object_type", "object_id", "attachment_id") VALUES (19, 8278, 28360) RETURNING "id" |
19:35:02.429 | 0.7 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\AttachmentRelationships', 49724, 'a:4:{s:2:"id";i:49724;s:11:"object_type";i:19;s:9:"object_id";i:8278;s:13:"attachment_id";i:28360;}', '', 1000, '39.107.117.60') |
19:35:02.430 | 0.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_reimbursement_invoice_numbers" ("op", "attachment_id", "reimbursement_id", "number") VALUES (NULL, 28360, 8278, '11100208115114867884') RETURNING "id" |
19:35:02.431 | 0.7 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ReimbursementInvoiceNumbers', 105, 'a:5:{s:2:"id";i:105;s:16:"reimbursement_id";i:8278;s:13:"attachment_id";i:28360;s:2:"op";N;s:6:"number";s:20:"11100208115114867884";}', '', 1000, '39.107.117.60') |
19:35:02.432 | 1.1 ms | INSERT | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 2, 1149, 'v2/reimbursement/save-recognize', '{"InvoiceRecognize":[{"amount":"5.00","attachment_id":"28213","invoice_duplicated":"0","occurrence_at":"","saler_name":"","serial_no":"11100208115114867885","x0":"122","x1":"847","x2":"890","x3":"152","y0":"165","y1":"90","y2":"570","y3":"626"},{"amount":"5.00","attachment_id":"28213","invoice_duplicated":"0","occurrence_at":"","saler_name":"","serial_no":"11100208115114867884","x0":"148","x1":"902","x2":"916","x3":"142","y0":"611","y1":"589","y2":"1099","y3":"1103"}],"access_token":"hLtdglndkreOmfJjmOe7Mve0kQO2lAQu","device_type":"2","posttime":"1758195302","version_code":"1149","token":"8f0655a1394e1f1855c738fe72bf8911"}', '{"code":200,"data":{"success":2},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-09-18 19:35:02') RETURNING "id" |