10:38:04.816 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
10:38:04.816 | trace | yii\base\Module::getModule | Loading module: debug |
10:38:04.816 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
10:38:04.816 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
10:38:04.816 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
10:38:04.816 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.816 | trace | yii\base\Module::getModule | Loading module: gii |
10:38:04.816 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
10:38:04.817 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
10:38:04.817 | trace | yii\web\Application::handleRequest | Route requested: 'vue/project/save-edit' |
10:38:04.817 | trace | yii\base\Module::getModule | Loading module: vue |
10:38:04.817 | info | yii\web\Session::open | Session started |
10:38:04.818 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
10:38:04.818 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
10:38:04.822 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.822 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.822 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.823 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.823 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
10:38:04.824 | trace | yii\base\Controller::runAction | Route to run: vue/project/save-edit |
10:38:04.825 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.826 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
10:38:04.826 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ProjectController::actionSaveEdit() |
10:38:04.826 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3256' |
10:38:04.827 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.827 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.827 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.828 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.828 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Projects'. |
10:38:04.828 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'payment_collection_remind_ahead' in 'app\models\Projects'. |
10:38:04.828 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'salesContractPaymentCollectionRemindReceivers' in 'app\models\Projects'. |
10:38:04.828 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'salesContractPaymentCollectionRemindDates' in 'app\models\Projects'. |
10:38:04.828 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'client_name' in 'app\models\Projects'. |
10:38:04.828 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'profit' in 'app\models\Projects'. |
10:38:04.828 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'from_contact_name' in 'app\models\Projects'. |
10:38:04.828 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'salesForecast' in 'app\models\Projects'. |
10:38:04.828 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'purchaseType' in 'app\models\Projects'. |
10:38:04.828 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'opportunityFrom' in 'app\models\Projects'. |
10:38:04.828 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectArchitects' in 'app\models\Projects'. |
10:38:04.828 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectProductRels' in 'app\models\Projects'. |
10:38:04.828 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectContactPoints' in 'app\models\Projects'. |
10:38:04.828 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectContactPointRels' in 'app\models\Projects'. |
10:38:04.828 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectUsedClient' in 'app\models\Projects'. |
10:38:04.828 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectProductTypes' in 'app\models\Projects'. |
10:38:04.828 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'projectRemindReceivers' in 'app\models\Projects'. |
10:38:04.829 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=3256 |
10:38:04.829 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=13) AND ("id" IN (1, 164, 179, 142, 184, 200, 356, 374)) ORDER BY "sort" |
10:38:04.830 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.830 | 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; |
10:38:04.835 | 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 |
10:38:04.839 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.840 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
10:38:04.840 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE ("client_id"='15') AND ("project_title"='虚拟化测试集群') AND ("id" != 3256)) |
10:38:04.841 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contract_types" WHERE "id"='1') |
10:38:04.842 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='15') |
10:38:04.842 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_progresses" WHERE "id"='4') |
10:38:04.843 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='3') |
10:38:04.843 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004) |
10:38:04.844 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_types" WHERE "project_id"=3256 |
10:38:04.844 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.844 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.845 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_product_types" WHERE "project_id"=3256 |
10:38:04.846 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.846 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.846 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_product_types" WHERE "id"=4 |
10:38:04.846 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_project_product_types" ("project_id", "product_type_id", "name", "budget", "pct", "profit") VALUES (3256, 4, '网络设备 ', '135772', 99.46, '135040') |
10:38:04.847 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3256 |
10:38:04.848 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.848 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.848 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.848 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.849 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=2068 |
10:38:04.849 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_product_units" WHERE "id"=2 |
10:38:04.850 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.850 | 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_units'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
10:38:04.852 | 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_units'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
10:38:04.856 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.856 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
10:38:04.857 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=2069 |
10:38:04.857 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_product_units" WHERE "id"=2 |
10:38:04.857 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"='2068' |
10:38:04.858 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_product_units" WHERE "id"=2 |
10:38:04.858 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"='2069' |
10:38:04.858 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_product_units" WHERE "id"=2 |
10:38:04.859 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3256 |
10:38:04.859 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "id"=10590 |
10:38:04.859 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_product_rels" SET "product_id"=2068, "number"=2, "supplier_id"=NULL, "hardware_from"=NULL, "software_from"=NULL, "maintenance_from"=NULL, "hardware_to"=NULL, "software_to"=NULL, "maintenance_to"=NULL WHERE "id"=10590 |
10:38:04.860 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.860 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.861 | 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\ProjectProductRels', 10590, 'a:0:{}', '', 1001, '114.254.2.139') |
10:38:04.862 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "id"=10589 |
10:38:04.862 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_product_rels" SET "product_id"=2069, "number"=2, "supplier_id"=NULL, "hardware_from"=NULL, "software_from"=NULL, "maintenance_from"=NULL, "hardware_to"=NULL, "software_to"=NULL, "maintenance_to"=NULL WHERE "id"=10589 |
10:38:04.863 | 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\ProjectProductRels', 10589, 'a:0:{}', '', 1001, '114.254.2.139') |
10:38:04.864 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_product_rels" WHERE 0=1 |
10:38:04.864 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_contact_points" WHERE "project_id"=3256 |
10:38:04.864 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_contact_points" WHERE "project_id"=3256 |
10:38:04.865 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_contact_point_rels" WHERE "project_id"=3256 |
10:38:04.865 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_project_contact_point_rels" WHERE "project_id"=3256 |
10:38:04.865 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_contact_point_rels" WHERE 0=1 |
10:38:04.866 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
10:38:04.866 | info | yii\db\Command::execute | |
10:38:04.866 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
10:38:04.867 | info | yii\db\Command::execute | |
10:38:04.868 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "client_id"=15, "project_status"=3, "project_progress"=4, "budget"='135772', "profit_pct"='99.46', "updated_at"='now()', "contract_type"=1, "from_contact"=NULL, "project_product_version_id"=978 WHERE "id"=3256 |
10:38:04.869 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3256) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
10:38:04.871 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.871 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.871 | 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', 3256, 'a:0:{}', '', 1001, '114.254.2.139') |
10:38:04.872 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='15' |
10:38:04.872 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.873 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.873 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
10:38:04.873 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_architects" WHERE "project_id"=3256 |
10:38:04.874 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.874 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.874 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_architects" WHERE "project_id"=3256 |
10:38:04.875 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_project_architects" ("project_id", "engineer_id", "contribution", "created_by") VALUES (3256, 1015, '1', 1001) |
10:38:04.878 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=3256 |
10:38:04.879 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=9) AND ("id" IN (1, 164, 179, 142, 184, 200, 356, 374)) ORDER BY "sort" |
10:38:04.879 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=164 |
10:38:04.880 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='164' |
10:38:04.880 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=3256) AND ("term_id"=9) |
10:38:04.881 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.881 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.881 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (9, 164, 3256) |
10:38:04.882 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=142 |
10:38:04.882 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='142' |
10:38:04.883 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=3256) AND ("term_id"=13) |
10:38:04.883 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (13, 142, 3256) |
10:38:04.884 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=3256 |
10:38:04.885 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=3256 |
10:38:04.885 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=3256 |
10:38:04.886 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.886 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.886 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3256) |
10:38:04.887 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_sales_contracts" SET "amount"='135772', "contract_type"=1, "save_collection_at"='now()' WHERE "id"=4082 |
10:38:04.888 | 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\SalesContracts', 4082, 'a:1:{s:18:"save_collection_at";s:5:"now()";}', '', 1001, '114.254.2.139') |
10:38:04.889 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=15 |
10:38:04.889 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3256 |
10:38:04.890 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_contract_default_remind_users" WHERE ("user_id"=1001) AND ("type"=1) |
10:38:04.891 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.891 | 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_contract_default_remind_users'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
10:38:04.893 | 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_contract_default_remind_users'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
10:38:04.897 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.897 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
10:38:04.897 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_contract_default_remind_users" ("user_id", "remind_user", "type") VALUES (1001, 1004, 1), (1001, 1000, 1), (1001, 5250, 1), (1001, 5016, 1), (1001, 5064, 1) |
10:38:04.900 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" WHERE "contract_id"=4082 |
10:38:04.900 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.900 | 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_contract_payment_collection_remind_receivers'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
10:38:04.903 | 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_contract_payment_collection_remind_receivers'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
10:38:04.906 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.906 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
10:38:04.906 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" WHERE "contract_id"=4082 |
10:38:04.907 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4082, 1004) RETURNING "id" |
10:38:04.911 | 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\SalesContractPaymentCollectionRemindReceivers', 8884, 'a:3:{s:2:"id";i:8884;s:11:"contract_id";i:4082;s:7:"user_id";s:4:"1004";}', '', 1001, '114.254.2.139') |
10:38:04.912 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4082, 1000) RETURNING "id" |
10:38:04.913 | 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\SalesContractPaymentCollectionRemindReceivers', 8885, 'a:3:{s:2:"id";i:8885;s:11:"contract_id";i:4082;s:7:"user_id";s:4:"1000";}', '', 1001, '114.254.2.139') |
10:38:04.914 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4082, 5250) RETURNING "id" |
10:38:04.915 | 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\SalesContractPaymentCollectionRemindReceivers', 8886, 'a:3:{s:2:"id";i:8886;s:11:"contract_id";i:4082;s:7:"user_id";s:4:"5250";}', '', 1001, '114.254.2.139') |
10:38:04.916 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4082, 5016) RETURNING "id" |
10:38:04.917 | 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\SalesContractPaymentCollectionRemindReceivers', 8887, 'a:3:{s:2:"id";i:8887;s:11:"contract_id";i:4082;s:7:"user_id";s:4:"5016";}', '', 1001, '114.254.2.139') |
10:38:04.917 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_sales_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4082, 5064) RETURNING "id" |
10:38:04.919 | 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\SalesContractPaymentCollectionRemindReceivers', 8888, 'a:3:{s:2:"id";i:8888;s:11:"contract_id";i:4082;s:7:"user_id";s:4:"5064";}', '', 1001, '114.254.2.139') |
10:38:04.919 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contract_payment_collection_remind_dates" WHERE "contract_id"=4082 |
10:38:04.920 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.920 | 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_contract_payment_collection_remind_dates'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
10:38:04.923 | 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_contract_payment_collection_remind_dates'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
10:38:04.926 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.926 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
10:38:04.927 | error | yii\base\ErrorException:2 | yii\base\ErrorException: Illegal string offset 'remind_date' in /var/www/beta/models/Projects.php:2925
Stack trace:
#0 /var/www/beta/models/Projects.php(2925): yii\base\ErrorHandler->handleError(2, 'Illegal string ...', '/var/www/beta/m...', 2925, Array)
#1 /var/www/beta/modules/vue/controllers/ProjectController.php(2840): app\models\Projects->saveEditModel()
#2 [internal function]: app\modules\vue\controllers\ProjectController->actionSaveEdit()
#3 /var/www/beta/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#4 /var/www/beta/vendor/yiisoft/yii2/base/Controller.php(156): yii\base\InlineAction->runWithParams(Array)
#5 /var/www/beta/vendor/yiisoft/yii2/base/Module.php(522): yii\base\Controller->runAction('save-edit', Array)
#6 /var/www/beta/vendor/yiisoft/yii2/web/Application.php(102): yii\base\Module->runAction('vue/project/sav...', Array)
#7 /var/www/beta/vendor/yiisoft/yii2/base/Application.php(379): yii\web\Application->handleRequest(Object(yii\web\Request))
#8 /var/www/beta/web/index.php(24): yii\base\Application->run()
#9 {main} |
10:38:04.927 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.927 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:38:04.927 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (NULL, 'a57be577deb434', 1001, 5, 'vue/project/save-edit', '{"Projects":{"id":"3256","payment_collection_remind_ahead":"1 day","salesContractPaymentCollectionRemindReceivers":["1004","1000","5250","5016","5064"],"salesContractPaymentCollectionRemindDates":{"0":{"remind_date":"2025-08-12","amount":"135772","pct":"100"},"2553":"2025-08-12"},"client_name":"\u4e2d\u51b6\u4eac\u8bda\u5de5\u7a0b\u6280\u672f\u6709\u9650\u516c\u53f8(\u5317\u4eac\u4eac\u8bda\u745e\u8fbe\u7535\u6c14\u5de5\u7a0b\u6280\u672f\u6709\u9650\u516c\u53f8)(\u5317\u4eac\u4eac\u8bda\u8d5b\u745e\u56fe\u6587\u4fe1\u606f\u79d1\u6280\u6709\u9650\u516c\u53f8)","client_id":"15","project_status":"3","project_progress":"4","profit":"135040","profit_pct":"99.46","bargain_date":"2025-08-01","project_title":"\u865a\u62df\u5316\u6d4b\u8bd5\u96c6\u7fa4","from_contact_name":"","from_contact":"","salesForecast":"142","purchaseType":"164","opportunityFrom":"179","contract_type":"1","projectArchitects":{"1015":"1"},"comment":"\u4e09\u53f0\u8054\u60f3SR650\u670d\u52a1\u5668+\u4e00\u5957FAS2750\u5b58\u50a8\uff0c\u505a\u6210\u865a\u62df\u5316\u73af\u5883\uff0c\u505a\u6d4b\u8bd5\u4f7f\u7528\u3002\r\n","project_product_version_id":"978","projectProductRels":{"10590":{"product_id":"2068","amount":"34534.00","total_amount":"69068","number":"2","cost":"33.00","total_cost":"66","description":"","hardware_from":"","hardware_to":"","maintenance_from":"","maintenance_to":"","software_from":"","software_to":"","supplier_id":""},"10589":{"product_id":"2069","amount":"33352.00","total_amount":"66704","number":"2","cost":"333.00","total_cost":"666","description":"","hardware_from":"","hardware_to":"","maintenance_from":"","maintenance_to":"","software_from":"","software_to":"","supplier_id":""}},"projectContactPoints":"","projectContactPointRels":"","projectUsedClient":{"used_client":"","budget":"","profit":"","profit_pct":"","projectUsedClientPaymentCollectionRemindReceivers":"","projectUsedClientPaymentCollectionRemindDates":"","remind_ahead":"","projectUsedClientPayments":"","projectUsedClientInvoices":""},"projectProductTypes":{"4":{"budget":"135772","profit":"135040","pct":"99.46"}},"projectRemindReceivers":""},"web_access_token":"sV2F29tsogQonulyxXoXQL59i2Ir83nH"}', '{"code":"","data":null,"status":0,"msg":[{"name":"error","success":"","error":"Illegal string offset ''remind_date''","trace":{"name":"PHP Warning","message":"Illegal string offset ''remind_date''","code":2,"type":"yii\\base\\ErrorException","file":"\/var\/www\/beta\/models\/Projects.php","line":2925,"stack-trace":["#0 \/var\/www\/beta\/models\/Projects.php(2925): yii\\base\\ErrorHandler->handleError(2, ''Illegal string ...'', ''\/var\/www\/beta\/m...'', 2925, Array)","#1 \/var\/www\/beta\/modules\/vue\/controllers\/ProjectController.php(2840): app\\models\\Projects->saveEditModel()","#2 [internal function]: app\\modules\\vue\\controllers\\ProjectController->actionSaveEdit()","#3 \/var\/www\/beta\/vendor\/yiisoft\/yii2\/base\/InlineAction.php(57): call_user_func_array(Array, Array)","#4 \/var\/www\/beta\/vendor\/yiisoft\/yii2\/base\/Controller.php(156): yii\\base\\InlineAction->runWithParams(Array)","#5 \/var\/www\/beta\/vendor\/yiisoft\/yii2\/base\/Module.php(522): yii\\base\\Controller->runAction(''save-edit'', Array)","#6 \/var\/www\/beta\/vendor\/yiisoft\/yii2\/web\/Application.php(102): yii\\base\\Module->runAction(''vue\/project\/sav...'', Array)","#7 \/var\/www\/beta\/vendor\/yiisoft\/yii2\/base\/Application.php(379): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))","#8 \/var\/www\/beta\/web\/index.php(24): yii\\base\\Application->run()","#9 {main}"]}}]}', TRUE, '2025-08-15 10:38:04') RETURNING "id" |
10:38:04.929 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:38:04.929 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |