| 13:35:44.296 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 13:35:44.297 | trace | yii\base\Module::getModule | Loading module: debug |
| 13:35:44.297 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 13:35:44.298 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 13:35:44.298 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 13:35:44.299 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:35:44.299 | info | time tracing start | 1782192944299515136 |
| 13:35:44.299 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 13:35:44.299 | trace | yii\web\Application::handleRequest | Route requested: 'vue/setting/save-edit-sales-goal' |
| 13:35:44.299 | trace | yii\base\Module::getModule | Loading module: vue |
| 13:35:44.301 | info | yii\web\Session::open | Session started |
| 13:35:44.302 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 13:35:44.302 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 13:35:44.304 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:35:44.304 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:35:44.305 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 13:35:44.306 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:35:44.313 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:35:44.315 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:35:44.316 | trace | yii\base\Controller::runAction | Route to run: vue/setting/save-edit-sales-goal |
| 13:35:44.316 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:35:44.320 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 13:35:44.320 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\SettingController::actionSaveEditSalesGoal() |
| 13:35:44.321 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:35:44.321 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:35:44.321 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_goals" WHERE "id"='15' |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'quarterparamvalue' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'monthparamvalue' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'profitparamvalue' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'monthprofitvalue' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'users' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 's1_budget_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 's2_budget_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 's3_budget_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 's4_budget_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm1_budget_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm2_budget_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm3_budget_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm4_budget_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm5_budget_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm6_budget_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm7_budget_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm8_budget_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm9_budget_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm10_budget_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm11_budget_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm12_budget_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 's1_profit_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 's2_profit_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 's3_profit_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 's4_profit_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm1_profit_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm2_profit_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm3_profit_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm4_profit_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm5_profit_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm6_profit_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm7_profit_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm8_profit_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm9_profit_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm10_profit_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm11_profit_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'm12_profit_per' in 'app\models\SalesGoals'. |
| 13:35:44.323 | info | yii\db\Command::query | SELECT EXISTS(SELECT "sg".* FROM "a57be577deb434"."tbl_sales_goals" "sg" LEFT JOIN "a57be577deb434"."tbl_sales_goal_rels" "sgr" ON sgr.sales_goal_id = sg.id WHERE ("sg"."id" != 15) AND ("sgr"."user_id"='1005') AND ("sg"."goal_year"='2026') GROUP BY "sg"."id") |
| 13:35:44.325 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 13:35:44.325 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 13:35:44.326 | info | yii\db\Command::execute | 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.328 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:35:44.329 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:35:44.329 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesGoals', 15, 'a:17:{s:8:"y_profit";s:7:"5000000";s:9:"m1_profit";s:6:"416666";s:9:"m2_profit";s:6:"416666";s:9:"m3_profit";s:6:"416666";s:9:"m4_profit";s:6:"416666";s:9:"m5_profit";s:6:"416666";s:9:"m6_profit";s:6:"416666";s:9:"m7_profit";s:6:"416666";s:9:"m8_profit";s:6:"416666";s:9:"m9_profit";s:6:"416666";s:10:"m10_profit";s:6:"416666";s:10:"m11_profit";s:6:"416666";s:10:"m12_profit";s:6:"416666";s:9:"s1_profit";s:7:"1250000";s:9:"s2_profit";s:7:"1250000";s:9:"s3_profit";s:7:"1250000";s:9:"s4_profit";s:7:"1250000";}', '', 1001, '221.216.117.25') |
| 13:35:44.331 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_sales_goal_rels" WHERE "sales_goal_id"=15 |
| 13:35:44.334 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:35:44.334 | info | yii\db\Command::query | 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.340 | info | yii\db\Command::query | 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_sales_goal_rels'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 13:35:44.359 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:35:44.360 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 13:35:44.360 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_sales_goal_rels" ("sales_goal_id", "user_id") VALUES (15, 1005) |
| 13:35:44.381 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:35:44.383 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:35:44.384 | info | yii\db\Command::query | 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" |
| 13:35:44.387 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:35:44.388 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |