| 13:35:44.326 | 1.8 ms | UPDATE | UPDATE "a57be577deb434"."tbl_sales_goals" SET "goal_year"=2026, "y_profit"='5000000', "m1_profit"='416666', "m2_profit"='416666', "m3_profit"='416666', "m4_profit"='416666', "m5_profit"='416666', "m6_profit"='416666', "m7_profit"='416666', "m8_profit"='416666', "m9_profit"='416666', "m10_profit"='416666', "m11_profit"='416666', "m12_profit"='416666', "s1_profit"='1250000', "s2_profit"='1250000', "s3_profit"='1250000', "s4_profit"='1250000', "updated_at"='now()', "has_budget"=TRUE, "has_profit"=TRUE WHERE "id"=15 |
| 13:35:44.334 | 5.9 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_sales_goal_rels'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 13:35:44.384 | 2.8 ms | INSERT | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/setting/save-edit-sales-goal', '{"SalesGoals":{"quarterparamvalue":"0","monthparamvalue":"0","profitparamvalue":"0","monthprofitvalue":"0","has_budget":"1","has_profit":"1","title":"\u6d4b\u8bd5","id":"15","users":["1005"],"goal_year":"2026","y_budget":"12000000","y_profit":"5000000","s1_budget":"3000000","s2_budget":"3000000","s3_budget":"3000000","s4_budget":"3000000","m1_budget":"1000000","m2_budget":"1000000","m3_budget":"1000000","m4_budget":"1000000","m5_budget":"1000000","m6_budget":"1000000","m7_budget":"1000000","m8_budget":"1000000","m9_budget":"1000000","m10_budget":"1000000","m11_budget":"1000000","m12_budget":"1000000","s1_budget_per":"25","s2_budget_per":"25","s3_budget_per":"25","s4_budget_per":"25","m1_budget_per":"8.33","m2_budget_per":"8.33","m3_budget_per":"8.33","m4_budget_per":"8.33","m5_budget_per":"8.33","m6_budget_per":"8.33","m7_budget_per":"8.33","m8_budget_per":"8.33","m9_budget_per":"8.33","m10_budget_per":"8.33","m11_budget_per":"8.33","m12_budget_per":"8.33","s1_profit":"1250000","s2_profit":"1250000","s3_profit":"1250000","s4_profit":"1250000","m1_profit":"416666","m2_profit":"416666","m3_profit":"416666","m4_profit":"416666","m5_profit":"416666","m6_profit":"416666","m7_profit":"416666","m8_profit":"416666","m9_profit":"416666","m10_profit":"416666","m11_profit":"416666","m12_profit":"416666","s1_profit_per":"25","s2_profit_per":"25","s3_profit_per":"25","s4_profit_per":"25","m1_profit_per":"8.33","m2_profit_per":"8.33","m3_profit_per":"8.33","m4_profit_per":"8.33","m5_profit_per":"8.33","m6_profit_per":"8.33","m7_profit_per":"8.33","m8_profit_per":"8.33","m9_profit_per":"8.33","m10_profit_per":"8.33","m11_profit_per":"8.33","m12_profit_per":"8.33"},"web_access_token":"s1xKbg9e3rlah-dvFsDEWCxiJPk9VpSm"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u9500\u552e\u4efb\u52a1\u5df2\u88ab\u6210\u529f\u4fee\u6539","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-23 13:35:44', 84617984) RETURNING "id" |