| 17:44:30.681 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 17:44:30.681 | trace | yii\base\Module::getModule | Loading module: debug |
| 17:44:30.681 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 17:44:30.681 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 17:44:30.681 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 17:44:30.681 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.682 | info | time tracing start | 1780047870682233088 |
| 17:44:30.682 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 17:44:30.682 | trace | yii\web\Application::handleRequest | Route requested: 'vue/account/save-edit' |
| 17:44:30.682 | trace | yii\base\Module::getModule | Loading module: vue |
| 17:44:30.682 | info | yii\web\Session::open | Session started |
| 17:44:30.683 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=5493 |
| 17:44:30.683 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 17:44:30.684 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.684 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:44:30.684 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.684 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:44:30.685 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"=5493 |
| 17:44:30.685 | trace | yii\base\Controller::runAction | Route to run: vue/account/save-edit |
| 17:44:30.685 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.686 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 17:44:30.686 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\AccountController::actionSaveEdit() |
| 17:44:30.686 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE ("id"='5495') AND ("user_status" IN ('1', '2')) |
| 17:44:30.687 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_auth_assignments" WHERE "user_id"=5495 |
| 17:44:30.688 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_auth_items" WHERE ("type"='1') AND ("name"='CommercialAttache') |
| 17:44:30.688 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.688 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:44:30.688 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateAccount |
| 17:44:30.688 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 17:44:30.688 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'userRoles' in 'app\models\Users'. |
| 17:44:30.688 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'engineerGroup' in 'app\models\Users'. |
| 17:44:30.695 | info | yii\db\Command::query | SELECT "id" FROM "o6a13e2c574d5a"."tbl_users" WHERE "mobile"='17600801168' LIMIT 2 |
| 17:44:30.696 | info | yii\db\Command::query | SELECT * FROM "global"."tbl_logins" WHERE ("mobile"='17600801168') AND ("id" != '5495') |
| 17:44:30.696 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_department_positions" WHERE "id"='9') |
| 17:44:30.697 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_departments" WHERE "id"='4') |
| 17:44:30.698 | info | yii\db\Command::query | SELECT "b".* FROM "o6a13e2c574d5a"."tbl_auth_assignments" "a", "o6a13e2c574d5a"."tbl_auth_items" "b" WHERE ("a"."item_name"="b"."name") AND ("a"."user_id"='5495') AND ("b"."type"=1) |
| 17:44:30.698 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.698 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:44:30.698 | info | yii\db\Command::query | SELECT * FROM "global"."tbl_logins" WHERE "id"='5495' |
| 17:44:30.700 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.700 | 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_action_logs'
and d.nspname = 'o6a13e2c574d5a'
ORDER BY
a.attnum; |
| 17:44:30.703 | 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_action_logs'
and ns.nspname='o6a13e2c574d5a'
order by
fns.nspname, fc.relname, a.attnum |
| 17:44:30.713 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:44:30.714 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:44:30.714 | info | yii\db\Command::execute | INSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Logins', 5495, 'a:0:{}', '', 5493, '43.224.72.82') |
| 17:44:30.761 | info | yii\db\Command::query | SELECT "id" FROM "o6a13e2c574d5a"."tbl_users" WHERE "mobile"='17600801168' LIMIT 2 |
| 17:44:30.763 | info | yii\db\Command::query | SELECT * FROM "global"."tbl_logins" WHERE ("mobile"='17600801168') AND ("id" != '5495') |
| 17:44:30.763 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_department_positions" WHERE "id"='9') |
| 17:44:30.764 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_departments" WHERE "id"='4') |
| 17:44:30.765 | info | yii\db\Command::execute | UPDATE "o6a13e2c574d5a"."tbl_users" SET "id"=5495, "department_id"=4, "department_position_id"=9, "updated_at"='now()' WHERE "id"=5495 |
| 17:44:30.771 | info | yii\db\Command::execute | INSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Users', 5495, 'a:0:{}', '', 5493, '43.224.72.82') |
| 17:44:30.772 | info | yii\db\Command::query | SELECT "b".* FROM "o6a13e2c574d5a"."tbl_auth_assignments" "a", "o6a13e2c574d5a"."tbl_auth_items" "b" WHERE ("a"."item_name"="b"."name") AND ("a"."user_id"='5495') AND ("b"."type"=1) |
| 17:44:30.772 | info | yii\db\Command::query | SELECT DISTINCT "u"."id" FROM "o6a13e2c574d5a"."tbl_users" "u" LEFT JOIN "o6a13e2c574d5a"."tbl_auth_assignments" "aa" ON aa.user_id = u.id WHERE ("aa"."item_name"='Admin') AND ("u"."user_status"='1') |
| 17:44:30.774 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.774 | 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_auth_assignments'
and d.nspname = 'o6a13e2c574d5a'
ORDER BY
a.attnum; |
| 17:44:30.779 | 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_auth_assignments'
and ns.nspname='o6a13e2c574d5a'
order by
fns.nspname, fc.relname, a.attnum |
| 17:44:30.796 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:44:30.796 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:44:30.796 | info | yii\db\Command::execute | INSERT INTO "o6a13e2c574d5a"."tbl_auth_assignments" ("user_id", "item_name", "created_at") VALUES (5495, 'Engineer', 1780047870) |
| 17:44:30.804 | info | yii\db\Command::execute | DELETE FROM "o6a13e2c574d5a"."tbl_auth_assignments" WHERE ("user_id"='5495') AND ("item_name"='CommercialAttache') |
| 17:44:30.805 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_user_role_change_logs" WHERE ("user_id"='5495') AND ("role_name"='CommercialAttache') AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 17:44:30.806 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.806 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:44:30.806 | info | yii\db\Command::execute | UPDATE "o6a13e2c574d5a"."tbl_user_role_change_logs" SET "end_at"='now()' WHERE "id"=1 |
| 17:44:30.808 | info | yii\db\Command::execute | INSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\UserRoleChangeLogs', 1, 'a:1:{s:6:"end_at";s:19:"1970-01-01 08:00:00";}', '', 5493, '43.224.72.82') |
| 17:44:30.809 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_user_role_change_logs" WHERE ("user_id"='5495') AND ("role_name"='Engineer') AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 17:44:30.809 | info | yii\db\Command::query | INSERT INTO "o6a13e2c574d5a"."tbl_user_role_change_logs" ("user_id", "role_name", "start_from", "end_at") VALUES (5495, 'Engineer', 'now()', NULL) RETURNING "id" |
| 17:44:30.813 | info | yii\db\Command::execute | INSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserRoleChangeLogs', 4, 'a:5:{s:2:"id";i:4;s:7:"user_id";s:4:"5495";s:9:"role_name";s:8:"Engineer";s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 5493, '43.224.72.82') |
| 17:44:30.814 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.814 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:44:30.814 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: DEL |
| 17:44:30.815 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: DEL |
| 17:44:30.815 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.815 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.815 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_groups" ORDER BY "level", "id" |
| 17:44:30.821 | info | yii\db\Command::query | SELECT "id", "name", "email" FROM "o6a13e2c574d5a"."tbl_users" ORDER BY
pinyin1 nulls first, namecut1 nulls first,
pinyin2 nulls first, namecut2 nulls first,
pinyin3 nulls first, namecut3 nulls first,
pinyin4 nulls first, namecut4 nulls first |
| 17:44:30.822 | info | yii\db\Command::query | SELECT "sales_id", "group_id" FROM "o6a13e2c574d5a"."tbl_sales_group_relationships" "sgr" LEFT JOIN "o6a13e2c574d5a"."tbl_users" "u" ON sgr.sales_id = u.id GROUP BY "sales_id", "group_id", "pinyin1", "namecut1", "pinyin2", "namecut2", "pinyin3", "namecut3", "pinyin4", "namecut4" ORDER BY
pinyin1 nulls first, namecut1 nulls first,
pinyin2 nulls first, namecut2 nulls first,
pinyin3 nulls first, namecut3 nulls first,
pinyin4 nulls first, namecut4 nulls first |
| 17:44:30.824 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.824 | 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_group_relationships'
and d.nspname = 'o6a13e2c574d5a'
ORDER BY
a.attnum; |
| 17:44:30.828 | 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_group_relationships'
and ns.nspname='o6a13e2c574d5a'
order by
fns.nspname, fc.relname, a.attnum |
| 17:44:30.847 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:44:30.847 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:44:30.848 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_settings" |
| 17:44:30.849 | info | yii\db\Command::query | SELECT "a"."user_id", "b".* FROM "o6a13e2c574d5a"."tbl_auth_assignments" "a", "o6a13e2c574d5a"."tbl_auth_items" "b" WHERE (a.item_name = b.name) AND ("a"."user_id" IN (5493, 5495)) AND ("b"."type"=1) ORDER BY "user_id" |
| 17:44:30.849 | info | yii\db\Command::query | SELECT "u"."id" AS "id" FROM "o6a13e2c574d5a"."tbl_users" "u" ORDER BY
pinyin1 nulls first, namecut1 nulls first,
pinyin2 nulls first, namecut2 nulls first,
pinyin3 nulls first, namecut3 nulls first,
pinyin4 nulls first, namecut4 nulls first |
| 17:44:30.850 | info | yii\db\Command::query | SELECT "user_id" FROM "o6a13e2c574d5a"."tbl_user_role_change_logs" WHERE ("role_name"='AccountManager') AND (user_id IS NOT NULL) GROUP BY "user_id" |
| 17:44:30.850 | info | yii\db\Command::query | SELECT "u"."id" FROM "o6a13e2c574d5a"."tbl_users" "u" WHERE "id"=5493 ORDER BY
pinyin1 nulls first, namecut1 nulls first,
pinyin2 nulls first, namecut2 nulls first,
pinyin3 nulls first, namecut3 nulls first,
pinyin4 nulls first, namecut4 nulls first |
| 17:44:30.851 | info | yii\db\Command::query | SELECT "group_id" FROM "o6a13e2c574d5a"."tbl_user_resource_relationships" WHERE ("user_id"=5493) AND (group_id IS NOT NULL) |
| 17:44:30.853 | info | yii\db\Command::query | SELECT "sales_id" FROM "o6a13e2c574d5a"."tbl_user_resource_relationships" WHERE ("user_id"=5495) AND (sales_id IS NOT NULL) |
| 17:44:30.853 | info | yii\db\Command::query | SELECT "u"."id" FROM "o6a13e2c574d5a"."tbl_users" "u" WHERE "id"=5493 ORDER BY
pinyin1 nulls first, namecut1 nulls first,
pinyin2 nulls first, namecut2 nulls first,
pinyin3 nulls first, namecut3 nulls first,
pinyin4 nulls first, namecut4 nulls first |
| 17:44:30.854 | info | yii\db\Command::query | SELECT "group_id" FROM "o6a13e2c574d5a"."tbl_user_resource_relationships" WHERE ("user_id"=5495) AND (group_id IS NOT NULL) |
| 17:44:30.854 | info | yii\db\Command::query | SELECT * FROM "global"."tbl_enterprises" WHERE "id"=312 |
| 17:44:30.854 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:44:30.854 | info | yii\db\Command::query | SELECT "user_id", "sales_id" FROM "o6a13e2c574d5a"."tbl_user_resource_relationships" WHERE sales_id IS NOT NULL ORDER BY "user_id", "sales_id" |
| 17:44:30.855 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: DEL |
| 17:44:30.855 | info | yii\db\Command::query | SELECT "b".* FROM "o6a13e2c574d5a"."tbl_auth_assignments" "a", "o6a13e2c574d5a"."tbl_auth_items" "b" WHERE ("a"."item_name"="b"."name") AND ("a"."user_id"='5495') AND ("b"."type"=1) |
| 17:44:30.855 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.855 | 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_clients'
and d.nspname = 'o6a13e2c574d5a'
ORDER BY
a.attnum; |
| 17:44:30.861 | 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_clients'
and ns.nspname='o6a13e2c574d5a'
order by
fns.nspname, fc.relname, a.attnum |
| 17:44:30.902 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:44:30.906 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:44:30.909 | info | yii\db\Command::execute | UPDATE "o6a13e2c574d5a"."tbl_clients" SET "sales_rep"=NULL, "is_overdue_remind"=FALSE WHERE "sales_rep"='5495' |
| 17:44:30.910 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_sales_group_relationships" WHERE "sales_id"='5495') |
| 17:44:30.912 | info | yii\db\Command::execute | INSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Users', 5495, 'a:0:{}', '', 5493, '43.224.72.82') |
| 17:44:30.913 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_engineer_group_relationships" WHERE "engineer_id"='5495' |
| 17:44:30.913 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.913 | 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_engineer_group_relationships'
and d.nspname = 'o6a13e2c574d5a'
ORDER BY
a.attnum; |
| 17:44:30.917 | 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_engineer_group_relationships'
and ns.nspname='o6a13e2c574d5a'
order by
fns.nspname, fc.relname, a.attnum |
| 17:44:30.941 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:44:30.941 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:44:30.942 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_engineer_groups" WHERE "id"='1') |
| 17:44:30.942 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"='5495') |
| 17:44:30.943 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_engineer_groups" WHERE "id"='1') |
| 17:44:30.944 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"='5495') |
| 17:44:30.944 | info | yii\db\Command::query | INSERT INTO "o6a13e2c574d5a"."tbl_engineer_group_relationships" ("engineer_id", "engineer_group_id") VALUES (5495, 1) RETURNING "id" |
| 17:44:30.947 | info | yii\db\Command::execute | INSERT INTO "o6a13e2c574d5a"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\EngineerGroupRelationships', 1, 'a:3:{s:2:"id";i:1;s:17:"engineer_group_id";s:1:"1";s:11:"engineer_id";s:4:"5495";}', '', 5493, '43.224.72.82') |
| 17:44:30.948 | info | yii\db\Command::query | SELECT "b".* FROM "o6a13e2c574d5a"."tbl_auth_assignments" "a", "o6a13e2c574d5a"."tbl_auth_items" "b" WHERE ("a"."item_name"="b"."name") AND ("a"."user_id"='5495') AND ("b"."type"=1) |
| 17:44:30.949 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: DEL |
| 17:44:30.949 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.949 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.949 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_groups" ORDER BY "level", "id" |
| 17:44:30.949 | info | yii\db\Command::query | SELECT "id", "name", "email" FROM "o6a13e2c574d5a"."tbl_users" ORDER BY
pinyin1 nulls first, namecut1 nulls first,
pinyin2 nulls first, namecut2 nulls first,
pinyin3 nulls first, namecut3 nulls first,
pinyin4 nulls first, namecut4 nulls first |
| 17:44:30.950 | info | yii\db\Command::query | SELECT "sales_id", "group_id" FROM "o6a13e2c574d5a"."tbl_sales_group_relationships" "sgr" LEFT JOIN "o6a13e2c574d5a"."tbl_users" "u" ON sgr.sales_id = u.id GROUP BY "sales_id", "group_id", "pinyin1", "namecut1", "pinyin2", "namecut2", "pinyin3", "namecut3", "pinyin4", "namecut4" ORDER BY
pinyin1 nulls first, namecut1 nulls first,
pinyin2 nulls first, namecut2 nulls first,
pinyin3 nulls first, namecut3 nulls first,
pinyin4 nulls first, namecut4 nulls first |
| 17:44:30.951 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_settings" |
| 17:44:30.951 | info | yii\db\Command::query | SELECT "a"."user_id", "b".* FROM "o6a13e2c574d5a"."tbl_auth_assignments" "a", "o6a13e2c574d5a"."tbl_auth_items" "b" WHERE (a.item_name = b.name) AND ("a"."user_id" IN (5493, 5495)) AND ("b"."type"=1) ORDER BY "user_id" |
| 17:44:30.952 | info | yii\db\Command::query | SELECT "u"."id" AS "id" FROM "o6a13e2c574d5a"."tbl_users" "u" ORDER BY
pinyin1 nulls first, namecut1 nulls first,
pinyin2 nulls first, namecut2 nulls first,
pinyin3 nulls first, namecut3 nulls first,
pinyin4 nulls first, namecut4 nulls first |
| 17:44:30.953 | info | yii\db\Command::query | SELECT "user_id" FROM "o6a13e2c574d5a"."tbl_user_role_change_logs" WHERE ("role_name"='AccountManager') AND (user_id IS NOT NULL) GROUP BY "user_id" |
| 17:44:30.953 | info | yii\db\Command::query | SELECT "u"."id" FROM "o6a13e2c574d5a"."tbl_users" "u" WHERE "id"=5493 ORDER BY
pinyin1 nulls first, namecut1 nulls first,
pinyin2 nulls first, namecut2 nulls first,
pinyin3 nulls first, namecut3 nulls first,
pinyin4 nulls first, namecut4 nulls first |
| 17:44:30.954 | info | yii\db\Command::query | SELECT "group_id" FROM "o6a13e2c574d5a"."tbl_user_resource_relationships" WHERE ("user_id"=5493) AND (group_id IS NOT NULL) |
| 17:44:30.954 | info | yii\db\Command::query | SELECT "sales_id" FROM "o6a13e2c574d5a"."tbl_user_resource_relationships" WHERE ("user_id"=5495) AND (sales_id IS NOT NULL) |
| 17:44:30.954 | info | yii\db\Command::query | SELECT "u"."id" FROM "o6a13e2c574d5a"."tbl_users" "u" WHERE "id"=5493 ORDER BY
pinyin1 nulls first, namecut1 nulls first,
pinyin2 nulls first, namecut2 nulls first,
pinyin3 nulls first, namecut3 nulls first,
pinyin4 nulls first, namecut4 nulls first |
| 17:44:30.955 | info | yii\db\Command::query | SELECT "group_id" FROM "o6a13e2c574d5a"."tbl_user_resource_relationships" WHERE ("user_id"=5495) AND (group_id IS NOT NULL) |
| 17:44:30.955 | info | yii\db\Command::query | SELECT * FROM "global"."tbl_enterprises" WHERE "id"=312 |
| 17:44:30.955 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:44:30.956 | info | yii\db\Command::query | SELECT "user_id", "sales_id" FROM "o6a13e2c574d5a"."tbl_user_resource_relationships" WHERE sales_id IS NOT NULL ORDER BY "user_id", "sales_id" |
| 17:44:30.956 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: DEL |
| 17:44:30.974 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 17:44:30.974 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 17:44:30.974 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 17:44:30.975 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.975 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:44:30.975 | 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, 'o6a13e2c574d5a', 5493, 5, 'vue/account/save-edit', '{"Users":{"id":"5495","name":"\u903b\u8f91\u6d4b\u8bd5","email":"","sex":"F","entry_date":"2026-05-25","department_id":"4","department_position_id":"9","mobile":"17600801168","telephone":"","telephone_area_code":"","telephone_extension_number":"","id_number":"","native_place":"","graduate_school":"","specialty":"","education":"","userRoles":["Engineer"],"engineerGroup":"1","birth_date":"2026-05-25"},"web_access_token":"YwFaPh8a1dbQrFwOp6grZ7RlSTuMSejO"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u7528\u6237\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}],"mod":0,"ip":"43.224.72.82","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-05-29 17:44:30', 293173760) RETURNING "id" |
| 17:44:30.977 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:44:30.977 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |