创建索引 ALTER TABLE smt_pro ADD INDEX idx_smt_factorys ((CAST(smt_factorys->>'$[*]' AS UNSIGNED ARRAY)));