17:24:55.528 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
17:24:55.528 | trace | yii\base\Module::getModule | Loading module: debug |
17:24:55.528 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
17:24:55.528 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
17:24:55.528 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
17:24:55.529 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.529 | trace | yii\base\Module::getModule | Loading module: gii |
17:24:55.529 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
17:24:55.529 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
17:24:55.529 | trace | yii\web\Application::handleRequest | Route requested: 'v2/project/save-edit' |
17:24:55.529 | trace | yii\base\Module::getModule | Loading module: v2 |
17:24:55.529 | info | yii\web\Session::open | Session started |
17:24:55.530 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:24:55.532 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='NwDlebRkXSJbZFNIiImHKy4sVWr3Lufc' |
17:24:55.535 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.535 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.535 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.535 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.535 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:24:55.537 | trace | yii\base\Controller::runAction | Route to run: v2/project/save-edit |
17:24:55.537 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.537 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:24:55.538 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateProject |
17:24:55.538 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Accountant |
17:24:55.538 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:24:55.538 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
17:24:55.538 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ProjectController::actionSaveEdit() |
17:24:55.538 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3822' |
17:24:55.538 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.539 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.539 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.539 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.540 | info | yii\db\Command::query | SELECT EXISTS(SELECT "p".* FROM "a57be577deb434"."tbl_projects" "p" LEFT JOIN "a57be577deb434"."tbl_project_remind_receivers" "prr" ON prr.project_id = p.id LEFT JOIN "a57be577deb434"."tbl_clients" "c" ON p.client_id = c.id WHERE ((c.sales_rep IS NULL) OR ("c"."sales_rep" IN (1004, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 5072, 5033, 5359, 5409, 5412, 5229, 1005, 5304, 5358, 1006, 5093)) OR ("prr"."user_id"=1004) OR ("c"."id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1004))) AND ("p"."id"=3822)) |
17:24:55.542 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Projects'. |
17:24:55.542 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectArchitects' in 'app\models\Projects'. |
17:24:55.542 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectProductTypes' in 'app\models\Projects'. |
17:24:55.542 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectRemindReceivers' in 'app\models\Projects'. |
17:24:55.542 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'purchaseType' in 'app\models\Projects'. |
17:24:55.542 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'salesForecast' in 'app\models\Projects'. |
17:24:55.542 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Projects'. |
17:24:55.542 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectArchitects' in 'app\models\Projects'. |
17:24:55.542 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectProductTypes' in 'app\models\Projects'. |
17:24:55.542 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectRemindReceivers' in 'app\models\Projects'. |
17:24:55.542 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'purchaseType' in 'app\models\Projects'. |
17:24:55.542 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'salesForecast' in 'app\models\Projects'. |
17:24:55.542 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=3822 |
17:24:55.543 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=13) AND ("id" IN (226, 128, 136, 140, 181, 184, 189, 349)) ORDER BY "sort" |
17:24:55.543 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.543 | 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_term_taxonomies'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
17:24:55.548 | 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_term_taxonomies'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
17:24:55.555 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.555 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
17:24:55.556 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE ("client_id"='2815') AND ("project_title"='高德康软') AND ("id" != 3822)) |
17:24:55.557 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contract_types" WHERE "id"='2') |
17:24:55.557 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815') |
17:24:55.557 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_progresses" WHERE "id"='2') |
17:24:55.558 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='2') |
17:24:55.558 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004) |
17:24:55.559 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_types" WHERE "project_id"=3822 |
17:24:55.559 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.559 | 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_product_types'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
17:24:55.562 | 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_product_types'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
17:24:55.570 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.570 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
17:24:55.570 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_product_types" WHERE "id"=4 |
17:24:55.571 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:24:55.571 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.571 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.571 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'projectProductTypes', 3822, 1, 1004, 'now()', '[["\u7f51\u7edc\u8bbe\u5907 :5215\u5143 12%"]]', '[[]]', '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a\u91d1\u989d","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u7f51\u7edc\u8bbe\u5907 :5215\u5143 12%;"]}') |
17:24:55.573 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
17:24:55.573 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.574 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.574 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:24:55.574 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.574 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.574 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (2, 'projectProductTypes', 3822, 1, 1004, 'now()', '[["\u7f51\u7edc\u8bbe\u5907 :5215\u5143 12%"]]', '[[]]', array[1004], '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a\u91d1\u989d","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u7f51\u7edc\u8bbe\u5907 :5215\u5143 12%;"]}') |
17:24:55.576 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=3822 |
17:24:55.576 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_product_types" WHERE "project_id"=3822 |
17:24:55.577 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_product_types" WHERE "id"=4 |
17:24:55.577 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.577 | 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_project_product_types'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
17:24:55.580 | 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_project_product_types'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
17:24:55.589 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.589 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
17:24:55.589 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_project_product_types" ("project_id", "product_type_id", "name", "budget", "pct", "profit") VALUES (3822, 4, '网络设备 ', '5215', 12, '625.8') |
17:24:55.593 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:24:55.593 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.593 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.593 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='2' |
17:24:55.594 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=1 |
17:24:55.594 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'project_status', 3822, 1, 1004, 'now()', '["\u660e\u786e\u9700\u6c42"]', '["\u9690\u6027\u9700\u6c42"]', '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a\u72b6\u6001","d4":["\u9690\u6027\u9700\u6c42 <b>\u53d8\u4e3a<\/b> \u660e\u786e\u9700\u6c42"]}'), (2, 'profit_pct', 3822, 1, 1004, 'now()', '["12%"]', '["0"]', '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u5229\u6da6\u7387","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> 12%"]}') |
17:24:55.595 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:24:55.595 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='2' |
17:24:55.596 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=1 |
17:24:55.596 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (2, 'project_status', 3822, 1, 1004, 'now()', '["\u660e\u786e\u9700\u6c42"]', '["\u9690\u6027\u9700\u6c42"]', array[1004], '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a\u72b6\u6001","d4":["\u9690\u6027\u9700\u6c42 <b>\u53d8\u4e3a<\/b> \u660e\u786e\u9700\u6c42"]}'), (2, 'profit_pct', 3822, 1, 1004, 'now()', '["12%"]', '["0"]', array[1004], '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u5229\u6da6\u7387","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> 12%"]}') |
17:24:55.597 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.597 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.597 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_project_status_logs" ("project_id", "old_status", "new_status", "created_by", "created_at") VALUES (3822, 1, 2, 1004, 'now()') RETURNING "id" |
17:24:55.599 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.599 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.599 | 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 ('INSERT', 'app\models\ProjectStatusLogs', 3418, 'a:6:{s:2:"id";i:3418;s:10:"project_id";i:3822;s:10:"new_status";s:1:"2";s:10:"old_status";i:1;s:10:"created_by";i:1004;s:10:"created_at";s:19:"1970-01-01 08:00:00";}', '', 1004, '120.244.156.33') |
17:24:55.601 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "client_id"=2815, "project_status"=2, "project_progress"=2, "budget"='5215', "profit_pct"='12', "updated_at"='now()', "status_updated_at"='now()', "contract_type"=2, "used_client"=NULL, "from_contact"=NULL WHERE "id"=3822 |
17:24:55.602 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3822) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
17:24:55.604 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.604 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.604 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_change_logs" SET "end_at"='now()' WHERE "id"=16128 |
17:24:55.605 | 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\ProjectChangeLogs', 16128, 'a:1:{s:6:"end_at";s:19:"1970-01-01 08:00:00";}', '', 1004, '120.244.156.33') |
17:24:55.606 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_project_change_logs" ("project_id", "project_status", "budget", "profit_pct", "collected", "start_from", "end_at") VALUES (3822, 2, '5215', '12', '0', 'now()', NULL) RETURNING "id" |
17:24:55.607 | 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 ('INSERT', 'app\models\ProjectChangeLogs', 16129, 'a:8:{s:2:"id";i:16129;s:10:"project_id";i:3822;s:14:"project_status";s:1:"2";s:6:"budget";i:5215;s:10:"profit_pct";d:12;s:9:"collected";s:1:"0";s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1004, '120.244.156.33') |
17:24:55.608 | 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\Projects', 3822, 'a:3:{s:14:"project_status";i:1;s:6:"budget";i:5215;s:10:"profit_pct";d:12;}', '', 1004, '120.244.156.33') |
17:24:55.609 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
17:24:55.609 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:24:55.610 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_architects" WHERE "project_id"=3822 |
17:24:55.610 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.611 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.611 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_architects" WHERE "project_id"=3822 |
17:24:55.611 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_project_architects" ("project_id", "engineer_id", "contribution", "created_by") VALUES (3822, 1022, '0.4', 1004), (3822, 5248, '0.6', 1004) |
17:24:55.613 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=3822 |
17:24:55.613 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=9) AND ("id" IN (226, 128, 136, 140, 181, 184, 189, 349)) ORDER BY "sort" |
17:24:55.613 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=128 |
17:24:55.614 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='128' |
17:24:55.614 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=3822) AND ("term_id"=9) |
17:24:55.615 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.615 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.615 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (9, 128, 3822) |
17:24:55.616 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=181 |
17:24:55.616 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='181' |
17:24:55.616 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=3822) AND ("term_id"=13) |
17:24:55.617 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (13, 181, 3822) |
17:24:55.618 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=3822 |
17:24:55.618 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=3822 |
17:24:55.618 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=1 |
17:24:55.619 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='2' |
17:24:55.619 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=3822 |
17:24:55.619 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.619 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.619 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3822 |
17:24:55.620 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004) |
17:24:55.620 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "is_system", "description", "description2") VALUES (1004, '1', 3822, TRUE, '伊峻辰更新了一条商机状态隐性需求变为明确需求', '从vv') RETURNING "id" |
17:24:55.621 | 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 ('INSERT', 'app\models\Comments', 170496, 'a:11:{s:2:"id";i:170496;s:9:"object_id";i:3822;s:11:"object_type";s:1:"1";s:6:"parent";N;s:11:"description";s:66:"伊峻辰更新了一条商机状态隐性需求变为明确需求";s:10:"created_by";i:1004;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:5:"从vv";}', '', 1004, '120.244.156.33') |
17:24:55.622 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1004) AND (channel_id IS NOT NULL) |
17:24:55.623 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:24:55.623 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
17:24:55.623 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
17:24:55.623 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
17:24:55.624 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=3822 |
17:24:55.624 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
17:24:55.625 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2815 |
17:24:55.627 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2815) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
17:24:55.636 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.636 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.636 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2815, 1004, 'now()', NULL) RETURNING "id" |
17:24:55.637 | 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 ('INSERT', 'app\models\ClientAmChangeLogs', 165351, 'a:5:{s:2:"id";i:165351;s:9:"client_id";i:2815;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1004, '120.244.156.33') |
17:24:55.638 | 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\Clients', 2815, 'a:0:{}', '', 1004, '120.244.156.33') |
17:24:55.639 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:24:55.640 | info | yii\db\Command::query | INSERT 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', 2815, 10, 3822, 1, 1004, '[3822]', '[3822]', '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["\u9ad8\u5fb7\u5eb7\u8f6f"]}') RETURNING "id" |
17:24:55.640 | 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 ('INSERT', 'app\models\ObjectChangeLogs', 510815, 'a:13:{s:2:"id";i:510815;s:9:"object_id";s:4:"2815";s:11:"object_type";i:10;s:9:"target_id";i:3822;s:18:"target_object_type";i:1;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[3822]";s:9:"new_value";s:6:"[3822]";s:11:"description";s:107:"{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["\u9ad8\u5fb7\u5eb7\u8f6f"]}";s:10:"created_by";i:1004;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1004, '120.244.156.33') |
17:24:55.641 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
17:24:55.642 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_projects" WHERE ("project_status"=3) AND ("bargain_date" >= '2025-01-01 00:00:00') AND ("bargain_date" <= '2025-12-31 23:59:59') AND ("client_id"=2815) |
17:24:55.643 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2815) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
17:24:55.651 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2815, 1004, 'now()', NULL) RETURNING "id" |
17:24:55.652 | 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 ('INSERT', 'app\models\ClientAmChangeLogs', 165352, 'a:5:{s:2:"id";i:165352;s:9:"client_id";i:2815;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1004, '120.244.156.33') |
17:24:55.653 | 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\Clients', 2815, 'a:0:{}', '', 1004, '120.244.156.33') |
17:24:55.654 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
17:24:55.654 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
17:24:55.654 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
17:24:55.654 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
17:24:55.654 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
17:24:55.654 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
17:24:55.654 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:24:55.654 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:24:55.654 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1004, 2, 1141, 'v2/project/save-edit', '{"Projects":{"bargain_date":"2025-09-13","client_id":"2815","comment":"\u4ecevv","contract_type":"2","from_contact":"","id":"3822","projectArchitects":{"1022":"0.4","5248":"0.6"},"projectProductTypes":{"4":{"budget":"5215","pct":"12"}},"projectRemindReceivers":"","project_progress":"2","project_status":"2","project_title":"\u9ad8\u5fb7\u5eb7\u8f6f","purchaseType":"128","salesForecast":"181","used_client":""},"access_token":"NwDlebRkXSJbZFNIiImHKy4sVWr3Lufc","device_type":"2","posttime":"1752398720","token":"0a6ad256708c4d84a7dafda918de7fbc","version_code":"1141"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u5546\u673a\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}]}', FALSE, '2025-07-13 17:24:55') RETURNING "id" |