From 98656e4af387f101343f195b966336bcee9e880e Mon Sep 17 00:00:00 2001 From: PIGCLOUD Date: Sun, 8 Mar 2026 15:15:12 +0800 Subject: [PATCH] chore: upgrade version to 5.12.0 (non-AI modules only) Cherry-picked from 799188b31, excluding pigx-aigc and AI-related common modules. --- db/0pigxx_boot.sql | 643 ++++++++++++-------- docker-compose.yml | 2 +- pigx-app-server/pigx-app-server-api/pom.xml | 2 +- pigx-app-server/pigx-app-server-biz/pom.xml | 2 +- pigx-app-server/pom.xml | 2 +- pigx-auth/pom.xml | 4 +- pigx-boot/pom.xml | 64 +- pigx-common/pigx-common-audit/pom.xml | 2 +- pigx-common/pigx-common-bom/pom.xml | 2 +- pigx-common/pigx-common-core/pom.xml | 4 +- pigx-common/pigx-common-data/pom.xml | 4 +- pigx-common/pigx-common-datasource/pom.xml | 2 +- pigx-common/pigx-common-encrypt-api/pom.xml | 4 +- pigx-common/pigx-common-excel/pom.xml | 4 +- pigx-common/pigx-common-feign/pom.xml | 2 +- pigx-common/pigx-common-gateway/pom.xml | 4 +- pigx-common/pigx-common-gray/pom.xml | 4 +- pigx-common/pigx-common-idempotent/pom.xml | 2 +- pigx-common/pigx-common-job/pom.xml | 4 +- pigx-common/pigx-common-log/pom.xml | 4 +- pigx-common/pigx-common-oss/pom.xml | 2 +- pigx-common/pigx-common-seata/pom.xml | 4 +- pigx-common/pigx-common-security/pom.xml | 4 +- pigx-common/pigx-common-sensitive/pom.xml | 4 +- pigx-common/pigx-common-sentinel/pom.xml | 2 +- pigx-common/pigx-common-sequence/pom.xml | 2 +- pigx-common/pigx-common-sse/pom.xml | 2 +- pigx-common/pigx-common-swagger/pom.xml | 4 +- pigx-common/pigx-common-websocket/pom.xml | 2 +- pigx-common/pigx-common-xss/pom.xml | 2 +- pigx-common/pom.xml | 4 +- pigx-flow/pigx-flow-biz/pom.xml | 2 +- pigx-flow/pom.xml | 4 +- pigx-gateway/pom.xml | 4 +- pigx-register/pom.xml | 2 +- pigx-upms/pigx-upms-api/pom.xml | 4 +- pigx-upms/pigx-upms-biz/pom.xml | 4 +- pigx-upms/pom.xml | 4 +- pigx-visual/pigx-codegen/pom.xml | 2 +- pigx-visual/pigx-daemon-elastic-job/pom.xml | 4 +- pigx-visual/pigx-daemon-quartz/pom.xml | 2 +- pigx-visual/pigx-jimu-platform/pom.xml | 2 +- pigx-visual/pigx-monitor/pom.xml | 4 +- pigx-visual/pigx-mp-platform/pom.xml | 2 +- pigx-visual/pigx-pay-platform/pom.xml | 2 +- pigx-visual/pigx-report-platform/pom.xml | 4 +- pigx-visual/pigx-xxl-job-admin/pom.xml | 2 +- pigx-visual/pom.xml | 4 +- 48 files changed, 472 insertions(+), 373 deletions(-) diff --git a/db/0pigxx_boot.sql b/db/0pigxx_boot.sql index 54cb854b9..f80500914 100644 --- a/db/0pigxx_boot.sql +++ b/db/0pigxx_boot.sql @@ -1492,25 +1492,6 @@ SET FOREIGN_KEY_CHECKS = 1; SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -CREATE TABLE `bpm_oa_leave` ( - `id` BIGINT NOT NULL COMMENT '主键', - `process_instance_id` VARCHAR(64) DEFAULT NULL COMMENT '流程实例编号', - `username` VARCHAR(255) NOT NULL COMMENT '申请人', - `leave_type` SMALLINT NOT NULL COMMENT '请假类型', - `leave_reason` VARCHAR(255) DEFAULT NULL COMMENT '请假原因', - `start_time` DATETIME(6) NOT NULL COMMENT '开始时间', - `end_time` DATETIME(6) NOT NULL COMMENT '结束时间', - `leave_day` SMALLINT NOT NULL COMMENT '请假天数', - `leave_status` SMALLINT DEFAULT NULL COMMENT '请假结果', - `create_by` VARCHAR(64) DEFAULT '' COMMENT '创建者', - `create_time` DATETIME(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间', - `update_by` VARCHAR(64) DEFAULT '' COMMENT '更新者', - `update_time` DATETIME(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6) COMMENT '更新时间', - `del_flag` CHAR(1) NOT NULL DEFAULT '0' COMMENT '是否删除', - `tenant_id` BIGINT NOT NULL DEFAULT 0 COMMENT '租户编号', - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='请假申请表'; - -- ---------------------------- -- Table structure for process -- ---------------------------- @@ -1536,7 +1517,6 @@ CREATE TABLE `process` ( `unique_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '唯一性id', `admin_list` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '管理员', `range_show` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '范围描述显示', - `print_template` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '打印模板', `tenant_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '所属租户id', PRIMARY KEY (`id`) USING BTREE, UNIQUE KEY `idx_form_id` (`flow_id`) USING BTREE, @@ -2641,7 +2621,7 @@ INSERT INTO `gen_template` (`id`, `template_name`, `generator_path`, `template_d INSERT INTO `gen_template` (`id`, `template_name`, `generator_path`, `template_desc`, `template_code`, `create_time`, `update_time`, `del_flag`, `tenant_id`, `create_by`, `update_by`) VALUES (1934079921220976642, 'Mapper.xmlV2025001\n', '${backendPath}/src/main/resources/mapper/${ClassName}Mapper.xml', 'Mapper.xmlV2025001\n', '\n\n\n\n\n \n#foreach ($field in $fieldList)\n #if($field.primaryPk == \'1\')\n \n #else\n \n #end\n#end\n \n\n', '2025-06-15 10:46:01', '2025-06-15 10:46:01', '0', 1, 'admin', ' '); INSERT INTO `gen_template` (`id`, `template_name`, `generator_path`, `template_desc`, `template_code`, `create_time`, `update_time`, `del_flag`, `tenant_id`, `create_by`, `update_by`) VALUES (1934079921443274753, '权限菜单V2025001\n', '${backendPath}/menu/${functionName}_menu.sql', '权限菜单V2025001\n', '-- 该脚本不要直接执行, 注意维护菜单的父节点ID 默认 父节点-1 , #if(!$opensource)默认租户 1#end\n#set($menuId=${dateTool.getSystemTime()})\n\n-- 菜单SQL\ninsert into sys_menu ( menu_id,parent_id, path, permission, menu_type, icon, del_flag, create_time, sort_order, update_time, name#if(!$opensource), tenant_id#end)\nvalues (${menuId}, \'-1\', \'/${moduleName}/${functionName}/index\', \'\', \'0\', \'icon-bangzhushouji\', \'0\', null , \'8\', null , \'${tableComment}管理\'#if(!$opensource), 1#end);\n\n-- 菜单对应按钮SQL\ninsert into sys_menu ( menu_id,parent_id, permission, menu_type, path, icon, del_flag, create_time, sort_order, update_time, name#if(!$opensource), tenant_id#end)\nvalues (${math.add($menuId,1)},${menuId}, \'${moduleName}_${functionName}_view\', \'1\', null, \'1\', \'0\', null, \'0\', null, \'${tableComment}查看\'#if(!$opensource), 1#end);\n\ninsert into sys_menu ( menu_id,parent_id, permission, menu_type, path, icon, del_flag, create_time, sort_order, update_time, name#if(!$opensource), tenant_id#end)\nvalues (${math.add($menuId,2)},${menuId}, \'${moduleName}_${functionName}_add\', \'1\', null, \'1\', \'0\', null, \'1\', null, \'${tableComment}新增\'#if(!$opensource), 1#end);\n\ninsert into sys_menu (menu_id, parent_id, permission, menu_type, path, icon, del_flag, create_time, sort_order, update_time, name#if(!$opensource), tenant_id#end)\nvalues (${math.add($menuId,3)},${menuId}, \'${moduleName}_${functionName}_edit\', \'1\', null, \'1\', \'0\', null, \'2\', null, \'${tableComment}修改\'#if(!$opensource), 1#end);\n\ninsert into sys_menu (menu_id, parent_id, permission, menu_type, path, icon, del_flag, create_time, sort_order, update_time, name#if(!$opensource), tenant_id#end)\nvalues (${math.add($menuId,4)},${menuId}, \'${moduleName}_${functionName}_del\', \'1\', null, \'1\', \'0\', null, \'3\', null, \'${tableComment}删除\'#if(!$opensource), 1#end);\n\ninsert into sys_menu ( menu_id,parent_id, permission, menu_type, path, icon, del_flag, create_time, sort_order, update_time, name#if(!$opensource), tenant_id#end)\nvalues (${math.add($menuId,5)},${menuId}, \'${moduleName}_${functionName}_export\', \'1\', null, \'1\', \'0\', null, \'3\', null, \'导入导出\'#if(!$opensource), 1#end);', '2025-06-15 10:46:01', '2025-06-15 10:46:01', '0', 1, 'admin', ' '); INSERT INTO `gen_template` (`id`, `template_name`, `generator_path`, `template_desc`, `template_code`, `create_time`, `update_time`, `del_flag`, `tenant_id`, `create_by`, `update_by`) VALUES (1934079921673961473, 'api.tsV2025001\n', '${frontendPath}/src/api/${moduleName}/${functionName}.ts', 'api.tsV2025001\n', 'import request from \"/@/utils/request\"\n\n// ========== 基础CRUD接口 ==========\n\n/**\n * 分页查询列表数据\n * @param query - 查询参数对象\n * @returns Promise<分页数据>\n */\nexport function fetchList(query?: Object) {\n return request({\n url: \'/${moduleName}/${functionName}/page\',\n method: \'get\',\n params: query\n })\n}\n\n/**\n * 新增数据\n * @param obj - 要新增的数据对象\n * @returns Promise - 操作结果\n */\nexport function addObj(obj?: Object) {\n return request({\n url: \'/${moduleName}/${functionName}\',\n method: \'post\',\n data: obj\n })\n}\n\n/**\n * 获取详情数据\n * @param obj - 查询参数对象(包含ID等)\n * @returns Promise<数据详情>\n */\nexport function getObj(obj?: Object) {\n return request({\n url: \'/${moduleName}/${functionName}/details\',\n method: \'get\',\n params: obj\n })\n}\n\n/**\n * 批量删除数据\n * @param ids - 要删除的ID数组\n * @returns Promise<操作结果>\n */\nexport function delObjs(ids?: Object) {\n return request({\n url: \'/${moduleName}/${functionName}\',\n method: \'delete\',\n data: ids\n })\n}\n\n/**\n * 更新数据\n * @param obj - 要更新的数据对象\n * @returns Promise<操作结果>\n */\nexport function putObj(obj?: Object) {\n return request({\n url: \'/${moduleName}/${functionName}\',\n method: \'put\',\n data: obj\n })\n}\n\n// ========== 工具函数 ==========\n\n/**\n * 验证字段值唯一性\n * @param rule - 验证规则对象\n * @param value - 要验证的值\n * @param callback - 验证回调函数\n * @param isEdit - 是否为编辑模式\n * \n * @example\n * // 在表单验证规则中使用\n * fieldName: [\n * {\n * validator: (rule, value, callback) => {\n * validateExist(rule, value, callback, form.${pk.attrName} !== \'\');\n * },\n * trigger: \'blur\',\n * },\n * ]\n */\nexport function validateExist(rule: any, value: any, callback: any, isEdit: boolean) {\n // 编辑模式下跳过验证\n if (isEdit) {\n return callback();\n }\n\n // 查询是否存在相同值\n getObj({ [rule.field]: value }).then((response) => {\n const result = response.data;\n if (result !== null && result.length > 0) {\n callback(new Error(\'数据已经存在\'));\n } else {\n callback();\n }\n });\n}\n\n#if($ChildClassName)\n// ========== 子表相关接口 ==========\n\n/**\n * 删除子表数据\n * @param ids - 要删除的子表数据ID数组\n * @returns Promise<操作结果>\n */\nexport function delChildObj(ids?: Object) {\n return request({\n url: \'/${moduleName}/${functionName}/child\',\n method: \'delete\',\n data: ids\n })\n}\n#end\n', '2025-06-15 10:46:01', '2025-06-15 10:46:01', '0', 1, 'admin', ' '); -INSERT INTO `gen_template` (`id`, `template_name`, `generator_path`, `template_desc`, `template_code`, `create_time`, `update_time`, `del_flag`, `tenant_id`, `create_by`, `update_by`) VALUES (1934079921900453889, '表格V2025001\n', '${frontendPath}/src/views/${moduleName}/${functionName}/index.vue', '表格V2025001\n', '\n\n\n', '2025-06-15 10:46:02', '2025-06-15 10:46:01', '0', 1, 'admin', ' '); +INSERT INTO `gen_template` (`id`, `template_name`, `generator_path`, `template_desc`, `template_code`, `create_time`, `update_time`, `del_flag`, `tenant_id`, `create_by`, `update_by`) VALUES (1934079921900453889, '表格V2025001\n', '${frontendPath}/src/views/${moduleName}/${functionName}/index.vue', '表格V2025001\n', '\n\n\n', '2025-06-15 10:46:02', '2025-06-15 10:46:01', '0', 1, 'admin', ' '); INSERT INTO `gen_template` (`id`, `template_name`, `generator_path`, `template_desc`, `template_code`, `create_time`, `update_time`, `del_flag`, `tenant_id`, `create_by`, `update_by`) VALUES (1934079922147917825, '表单V2025001\n', '${frontendPath}/src/views/${moduleName}/${functionName}/form.vue', '表单V2025001\n', '\n\n ', '2025-06-15 10:46:02', '2025-06-15 10:46:01', '0', 1, 'admin', ' '); INSERT INTO `gen_template` (`id`, `template_name`, `generator_path`, `template_desc`, `template_code`, `create_time`, `update_time`, `del_flag`, `tenant_id`, `create_by`, `update_by`) VALUES (1934079922437324801, 'ServiceV2025001\n', '${backendPath}/src/main/java/${packagePath}/${moduleName}/service/${ClassName}Service.java', 'ServiceV2025001\n', 'package ${package}.${moduleName}.service;\n\nimport com.github.yulichang.extension.mapping.base.MPJDeepService;\nimport ${package}.${moduleName}.entity.${ChildClassName}Entity;\nimport ${package}.${moduleName}.entity.${ClassName}Entity;\n\npublic interface ${ClassName}Service extends MPJDeepService<${ClassName}Entity> {\n Boolean saveDeep(${ClassName}Entity ${className});\n\n Boolean updateDeep(${ClassName}Entity ${className});\n\n Boolean removeDeep(Long[] ids);\n\n Boolean removeChild(Long[] ids);\n}\n', '2025-06-15 10:46:02', '2025-06-15 10:46:01', '0', 1, 'admin', ' '); INSERT INTO `gen_template` (`id`, `template_name`, `generator_path`, `template_desc`, `template_code`, `create_time`, `update_time`, `del_flag`, `tenant_id`, `create_by`, `update_by`) VALUES (1934079922659622913, 'ServiceImplV2025001\n', '${backendPath}/src/main/java/${packagePath}/${moduleName}/service/impl/${ClassName}ServiceImpl.java', 'ServiceImplV2025001\n', 'package ${package}.${moduleName}.service.impl;\n\nimport com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;\nimport ${package}.${moduleName}.entity.${ClassName}Entity;\nimport ${package}.${moduleName}.mapper.${ClassName}Mapper;\nimport ${package}.${moduleName}.service.${ClassName}Service;\nimport org.springframework.stereotype.Service;\nimport cn.hutool.core.collection.CollUtil;\nimport com.baomidou.mybatisplus.core.toolkit.Wrappers;\nimport ${package}.${moduleName}.entity.${ChildClassName}Entity;\nimport ${package}.${moduleName}.mapper.${ChildClassName}Mapper;\nimport org.springframework.transaction.annotation.Transactional;\nimport lombok.RequiredArgsConstructor;\nimport java.util.Objects;\n\n/**\n * ${tableComment}\n *\n * @author ${author}\n * @date ${datetime}\n */\n@Service\n@RequiredArgsConstructor\npublic class ${ClassName}ServiceImpl extends ServiceImpl<${ClassName}Mapper, ${ClassName}Entity> implements ${ClassName}Service {\n\n private final ${ChildClassName}Mapper ${childClassName}Mapper;\n\n @Override\n @Transactional(rollbackFor = Exception.class)\n public Boolean saveDeep(${ClassName}Entity ${className}) {\n baseMapper.insert(${className});\n for (${ChildClassName}Entity ${childClassName} : ${className}.get${ChildClassName}List()) {\n ${childClassName}.$str.setProperty($childField)(${className}.$str.getProperty($mainField)());\n ${childClassName}Mapper.insert( ${childClassName});\n }\n\n return Boolean.TRUE;\n }\n\n @Override\n @Transactional(rollbackFor = Exception.class)\n public Boolean updateDeep(${ClassName}Entity ${className}) {\n baseMapper.updateById(${className});\n for (${ChildClassName}Entity ${childClassName} : ${className}.get${ChildClassName}List()) {\n#set($getChildPkName=$str.getProperty(${pk.attrName}))\n if (Objects.isNull(${childClassName}.$getChildPkName())) {\n ${childClassName}.$str.setProperty($childField)(${className}.$str.getProperty($mainField)());\n ${childClassName}Mapper.insert(${childClassName});\n } else {\n ${childClassName}Mapper.updateById(${childClassName});\n }\n }\n return Boolean.TRUE;\n }\n\n @Override\n @Transactional(rollbackFor = Exception.class)\n public Boolean removeDeep(Long[] ids) {\n baseMapper.deleteBatchIds(CollUtil.toList(ids));\n ${childClassName}Mapper.delete(Wrappers.<${ChildClassName}Entity>lambdaQuery().in(${ChildClassName}Entity::$str.getProperty($childField), ids));\n return Boolean.TRUE;\n }\n\n @Override\n @Transactional(rollbackFor = Exception.class)\n public Boolean removeChild(Long[] ids) {\n ${childClassName}Mapper.deleteBatchIds(CollUtil.toList(ids));\n return Boolean.TRUE;\n }\n}\n', '2025-06-15 10:46:02', '2025-06-15 10:46:01', '0', 1, 'admin', ' '); @@ -2653,7 +2633,7 @@ INSERT INTO `gen_template` (`id`, `template_name`, `generator_path`, `template_d INSERT INTO `gen_template` (`id`, `template_name`, `generator_path`, `template_desc`, `template_code`, `create_time`, `update_time`, `del_flag`, `tenant_id`, `create_by`, `update_by`) VALUES (1934079923989217282, '子实体V2025001\n', '${backendPath}/src/main/java/${packagePath}/${moduleName}/entity/${ChildClassName}Entity.java', '子实体V2025001\n', 'package ${package}.${moduleName}.entity;\n\nimport com.baomidou.mybatisplus.annotation.*;\nimport com.baomidou.mybatisplus.extension.activerecord.Model;\nimport io.swagger.v3.oas.annotations.media.Schema;\n#if($isChildTenant)\nimport ${package}.common.core.util.TenantTable;\n#end\nimport lombok.Data;\nimport lombok.EqualsAndHashCode;\n#foreach($import in $importList)\nimport $import;\n#end\n\n/**\n * ${tableComment}\n *\n * @author ${author}\n * @date ${datetime}\n */\n@Data\n#if($isChildTenant)\n@TenantTable\n#end\n@TableName(\"${childTableName}\")\n@EqualsAndHashCode(callSuper = true)\n@Schema(description = \"${childTableName}\")\npublic class ${ChildClassName}Entity extends Model<${ChildClassName}Entity> {\n\n#foreach ($field in $childFieldList)\n#if(${field.fieldComment})#set($comment=${field.fieldComment})#else #set($comment=${field.attrName})#end\n /**\n * $comment\n */\n#if($field.primaryPk == \'1\')\n @TableId(type = IdType.ASSIGN_ID)\n#end\n#if($field.autoFill == \'INSERT\')\n @TableField(fill = FieldFill.INSERT)\n#elseif($field.autoFill == \'INSERT_UPDATE\')\n @TableField(fill = FieldFill.INSERT_UPDATE)\n#elseif($field.autoFill == \'UPDATE\')\n @TableField(fill = FieldFill.UPDATE)\n#end\n#if($field.fieldName == \'del_flag\')\n @TableLogic\n @TableField(fill = FieldFill.INSERT)\n#end\n @Schema(description=\"$comment\"#if($field.hidden),hidden=$field.hidden#end)\n#if($field.formType == \'checkbox\')\n private ${field.attrType}[] $field.attrName;\n#else\n private $field.attrType $field.attrName;\n#end \n#end\n}\n', '2025-06-15 10:46:02', '2025-06-15 10:46:02', '0', 1, 'admin', ' '); INSERT INTO `gen_template` (`id`, `template_name`, `generator_path`, `template_desc`, `template_code`, `create_time`, `update_time`, `del_flag`, `tenant_id`, `create_by`, `update_by`) VALUES (1934079924215709698, '主子ContollerV2025001\n', '${backendPath}/src/main/java/${packagePath}/${moduleName}/controller/${ClassName}Controller.java', '主子ContollerV2025001\n', 'package ${package}.${moduleName}.controller;\n\n#if($queryList)\nimport cn.hutool.core.util.StrUtil;\n#end\nimport cn.hutool.core.util.ArrayUtil;\nimport com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;\nimport com.baomidou.mybatisplus.core.toolkit.Wrappers;\nimport com.baomidou.mybatisplus.extension.plugins.pagination.Page;\nimport ${package}.common.core.util.R;\nimport ${package}.common.log.annotation.SysLog;\n#if($opensource)\nimport com.pig4cloud.plugin.excel.annotation.ResponseExcel;\nimport com.pig4cloud.plugin.excel.annotation.RequestExcel;\n#else\nimport ${package}.common.excel.annotation.ResponseExcel;\nimport ${package}.common.excel.annotation.RequestExcel;\n#end\nimport ${package}.${moduleName}.entity.${ClassName}Entity;\nimport ${package}.${moduleName}.entity.${ChildClassName}Entity;\nimport ${package}.${moduleName}.service.${ClassName}Service;\nimport io.swagger.v3.oas.annotations.security.SecurityRequirement;\n#if($isSpringBoot3)\nimport ${package}.common.security.annotation.HasPermission;\nimport org.springdoc.core.annotations.ParameterObject;\n#else\nimport org.springframework.security.access.prepost.PreAuthorize;\nimport org.springdoc.api.annotations.ParameterObject;\n#end\nimport org.springframework.http.HttpHeaders;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport io.swagger.v3.oas.annotations.Operation;\nimport lombok.RequiredArgsConstructor;\nimport org.springframework.validation.BindingResult;\nimport org.springframework.web.bind.annotation.*;\n\nimport java.util.List;\nimport java.util.Objects;\n\n/**\n * ${tableComment}\n *\n * @author ${author}\n * @date ${datetime}\n */\n@RestController\n@RequiredArgsConstructor\n@RequestMapping(\"/${functionName}\" )\n@Tag(description = \"${functionName}\" , name = \"${tableComment}管理\" )\n@SecurityRequirement(name = HttpHeaders.AUTHORIZATION)\npublic class ${ClassName}Controller {\n\n private final ${ClassName}Service ${className}Service;\n\n /**\n * 分页查询\n * @param page 分页对象\n * @param ${className} ${tableComment}\n * @return\n */\n @Operation(summary = \"分页查询\" , description = \"分页查询\" )\n @GetMapping(\"/page\" )\n #if($isSpringBoot3)\n @HasPermission(\"${moduleName}_${functionName}_view\")\n #else\n @PreAuthorize(\"@pms.hasPermission(\'${moduleName}_${functionName}_view\')\" )\n #end\n public R get${ClassName}Page(@ParameterObject Page page, @ParameterObject ${ClassName}Entity ${className}) {\n LambdaQueryWrapper<${ClassName}Entity> wrapper = Wrappers.lambdaQuery();\n#foreach ($field in $queryList)\n#set($getAttrName=$str.getProperty($field.attrName))\n#set($var=\"${className}.$getAttrName()\")\n#if($field.attrType == \'String\')\n#set($expression=\"StrUtil.isNotBlank\")\n#else\n#set($expression=\"Objects.nonNull\")\n#end\n#if($field.queryType == \'=\')\n wrapper.eq($expression($var),${ClassName}Entity::$getAttrName,$var);\n#elseif( $field.queryType == \'like\' )\n wrapper.like($expression($var),${ClassName}Entity::$getAttrName,$var);\n#elseif( $field.queryType == \'!-\' )\n wrapper.ne($expression($var),${ClassName}Entity::$getAttrName,$var);\n#elseif( $field.queryType == \'>\' )\n wrapper.gt($expression($var),${ClassName}Entity::$getAttrName,$var);\n#elseif( $field.queryType == \'<\' )\n wrapper.lt($expression($var),${ClassName}Entity::$getAttrName,$var);\n#elseif( $field.queryType == \'>=\' )\n wrapper.ge($expression($var),${ClassName}Entity::$getAttrName,$var);\n#elseif( $field.queryType == \'<=\' )\n wrapper.le($expression($var),${ClassName}Entity::$getAttrName,$var);\n#elseif( $field.queryType == \'left like\' )\n wrapper.likeLeft($expression($var),${ClassName}Entity::$getAttrName,$var);\n#elseif( $field.queryType == \'right like\' )\n wrapper.likeRight($expression($var),${ClassName}Entity::$getAttrName,$var);\n#end\n#end\n return R.ok(${className}Service.page(page, wrapper));\n }\n\n\n /**\n * 通过条件查询${tableComment}\n * @param ${className} 查询条件\n * @return R 对象列表\n */\n @Operation(summary = \"通过条件查询\" , description = \"通过条件查询对象\" )\n @GetMapping(\"/details\" )\n #if($isSpringBoot3)\n @HasPermission(\"${moduleName}_${functionName}_view\")\n #else\n @PreAuthorize(\"@pms.hasPermission(\'${moduleName}_${functionName}_view\')\" )\n #end\n public R getDetails(@ParameterObject ${ClassName}Entity ${className}) {\n return R.ok(${className}Service.listDeep(Wrappers.query(${className})));\n }\n\n /**\n * 新增${tableComment}\n * @param ${className} ${tableComment}\n * @return R\n */\n @Operation(summary = \"新增${tableComment}\" , description = \"新增${tableComment}\" )\n @SysLog(\"新增${tableComment}\" )\n @PostMapping\n #if($isSpringBoot3)\n @HasPermission(\"${moduleName}_${functionName}_add\")\n #else\n @PreAuthorize(\"@pms.hasPermission(\'${moduleName}_${functionName}_add\')\" )\n #end\n public R save(@RequestBody ${ClassName}Entity ${className}) {\n return R.ok(${className}Service.saveDeep(${className}));\n }\n\n /**\n * 修改${tableComment}\n * @param ${className} ${tableComment}\n * @return R\n */\n @Operation(summary = \"修改${tableComment}\" , description = \"修改${tableComment}\" )\n @SysLog(\"修改${tableComment}\" )\n @PutMapping\n #if($isSpringBoot3)\n @HasPermission(\"${moduleName}_${functionName}_edit\")\n #else\n @PreAuthorize(\"@pms.hasPermission(\'${moduleName}_${functionName}_edit\')\" )\n #end\n public R updateById(@RequestBody ${ClassName}Entity ${className}) {\n return R.ok(${className}Service.updateDeep(${className}));\n }\n\n /**\n * 通过id删除${tableComment}\n * @param ids ${pk.attrName}列表\n * @return R\n */\n @Operation(summary = \"通过id删除${tableComment}\" , description = \"通过id删除${tableComment}\" )\n @SysLog(\"通过id删除${tableComment}\" )\n @DeleteMapping\n #if($isSpringBoot3)\n @HasPermission(\"${moduleName}_${functionName}_del\")\n #else\n @PreAuthorize(\"@pms.hasPermission(\'${moduleName}_${functionName}_del\')\" )\n #end\n public R removeById(@RequestBody ${pk.attrType}[] ids) {\n return R.ok(${className}Service.removeDeep(ids));\n }\n\n /**\n * 通过id删除${tableComment}子表数据\n * @param ids ${pk.attrName}列表\n * @return R\n */\n @Operation(summary = \"通过id删除${tableComment}子表数据\" , description = \"通过id删除${tableComment}子表数据\" )\n @SysLog(\"通过id删除${tableComment}子表数据\" )\n @DeleteMapping(\"/child\")\n #if($isSpringBoot3)\n @HasPermission(\"${moduleName}_${functionName}_del\")\n #else\n @PreAuthorize(\"@pms.hasPermission(\'${moduleName}_${functionName}_del\')\" )\n #end\n public R removeChild(@RequestBody ${pk.attrType}[] ids) {\n return R.ok(${className}Service.removeChild(ids));\n }\n\n /**\n * 导出excel 表格\n * @param ${className} 查询条件\n * @param ids 导出指定ID\n * @return excel 文件流\n */\n @ResponseExcel\n @GetMapping(\"/export\")\n #if($isSpringBoot3)\n @HasPermission(\"${moduleName}_${functionName}_export\")\n #else\n @PreAuthorize(\"@pms.hasPermission(\'${moduleName}_${functionName}_export\')\" )\n #end\n public List<${ClassName}Entity> exportExcel(${ClassName}Entity ${className},${pk.attrType}[] ids) {\n return ${className}Service.list(Wrappers.lambdaQuery(${className}).in(ArrayUtil.isNotEmpty(ids), ${ClassName}Entity::$str.getProperty($pk.attrName), ids));\n }\n\n /**\n * 导入excel 表\n * @param ${className}List 对象实体列表\n * @param bindingResult 错误信息列表\n * @return ok fail\n */\n @PostMapping(\"/import\")\n #if($isSpringBoot3)\n @HasPermission(\"${moduleName}_${functionName}_export\")\n #else\n @PreAuthorize(\"@pms.hasPermission(\'${moduleName}_${functionName}_export\')\" )\n #end\n public R importExcel(@RequestExcel List<${ClassName}Entity> ${className}List, BindingResult bindingResult) {\n return R.ok(${className}Service.saveBatch(${className}List));\n }\n}\n', '2025-06-15 10:46:02', '2025-06-15 10:46:02', '0', 1, 'admin', ' '); INSERT INTO `gen_template` (`id`, `template_name`, `generator_path`, `template_desc`, `template_code`, `create_time`, `update_time`, `del_flag`, `tenant_id`, `create_by`, `update_by`) VALUES (1934079924450590722, '主子表单V2025001\n', '${frontendPath}/src/views/${moduleName}/${functionName}/form.vue', '主子表单V2025001\n', '\n\n\n', '2025-06-15 10:46:02', '2025-06-15 10:46:02', '0', 1, 'admin', ' '); -INSERT INTO `gen_template` (`id`, `template_name`, `generator_path`, `template_desc`, `template_code`, `create_time`, `update_time`, `del_flag`, `tenant_id`, `create_by`, `update_by`) VALUES (1934079924681277442, '主子表格V2025001\n', '${frontendPath}/src/views/${moduleName}/${functionName}/index.vue', '主子表格V2025001\n', '\n\n\n', '2025-06-15 10:46:02', '2025-06-15 10:46:02', '0', 1, 'admin', ' '); +INSERT INTO `gen_template` (`id`, `template_name`, `generator_path`, `template_desc`, `template_code`, `create_time`, `update_time`, `del_flag`, `tenant_id`, `create_by`, `update_by`) VALUES (1934079924681277442, '主子表格V2025001\n', '${frontendPath}/src/views/${moduleName}/${functionName}/index.vue', '主子表格V2025001\n', '\n\n\n', '2025-06-15 10:46:02', '2025-06-15 10:46:02', '0', 1, 'admin', ' '); INSERT INTO `gen_template` (`id`, `template_name`, `generator_path`, `template_desc`, `template_code`, `create_time`, `update_time`, `del_flag`, `tenant_id`, `create_by`, `update_by`) VALUES (1934079924903575554, '子MapperV2025001\n', '${backendPath}/src/main/java/${packagePath}/${moduleName}/mapper/${ChildClassName}Mapper.java', '子MapperV2025001\n', 'package ${package}.${moduleName}.mapper;\n\nimport ${package}.common.data.datascope.PigxBaseMapper;\nimport ${package}.${moduleName}.entity.${ChildClassName}Entity;\nimport org.apache.ibatis.annotations.Mapper;\n\n@Mapper\npublic interface ${ChildClassName}Mapper extends PigxBaseMapper<${ChildClassName}Entity> {\n\n}\n', '2025-06-15 10:46:02', '2025-06-15 10:46:02', '0', 1, 'admin', ' '); COMMIT; @@ -3066,13 +3046,13 @@ INSERT INTO `sys_menu` VALUES (9826,'AI 海报',NULL,'/knowledge/aiPoster/index' INSERT INTO `sys_menu` VALUES (9827,'AI 视频',NULL,'/knowledge/aiChat/video',NULL,9819,'iconfont icon-shipinbofang','1',0,'0','0','0','admin','2025-03-28 12:58:40','admin','2025-03-28 13:12:13','0',1); INSERT INTO `sys_menu` VALUES (9828,'AI 音频',NULL,'/knowledge/aiChat/voice',NULL,9819,'iconfont icon-yinpin','1',0,'0','0','0','admin','2025-03-28 12:58:40','admin','2025-03-28 13:12:13','0',1); INSERT INTO `sys_menu` VALUES (9829,'AI 报告配置',NULL,'/knowledge/aiReport/KonvaPage',NULL,9700,'iconfont icon-yunxiazai_o','0',4,'0','0','0','admin','2024-09-09 17:28:01','admin','2025-03-28 12:51:38','0',1); -INSERT INTO `sys_menu` VALUES (9830,'AI 报告',NULL,'/knowledge/aiReport/index',NULL,9700,'iconfont icon-xitongrizhi','1',4,'0','0','0','admin','2025-03-28 12:41:54','admin','2025-03-28 13:09:31','0',1); +INSERT INTO `sys_menu` VALUES (9830,'AI 报告',NULL,'/knowledge/aiReport/index',NULL,19700,'iconfont icon-xitongrizhi','1',1,'0','0','0','admin','2025-03-28 12:41:54','admin','2025-03-28 13:09:31','0',1); INSERT INTO `sys_menu` VALUES (9831,'查看','knowledge_aiReportConf_view',NULL,NULL,9830,NULL,'1',1,'0','0','1','admin','2025-03-26 21:48:16',' ',NULL,'0',1); INSERT INTO `sys_menu` VALUES (9832,'新增','knowledge_aiReportConf_add',NULL,NULL,9830,NULL,'1',1,'0','0','1','admin','2025-03-26 21:48:16',' ',NULL,'0',1); INSERT INTO `sys_menu` VALUES (9833,'编辑','knowledge_aiReportConf_edit',NULL,NULL,9830,NULL,'1',1,'0','0','1','admin','2025-03-26 21:48:16',' ',NULL,'0',1); INSERT INTO `sys_menu` VALUES (9834,'删除','knowledge_aiReportConf_del',NULL,NULL,9830,NULL,'1',1,'0','0','1','admin','2025-03-26 21:48:16',' ',NULL,'0',1); INSERT INTO `sys_menu` VALUES (9835,'导入导出','knowledge_aiReportConf_export',NULL,NULL,9830,NULL,'1',1,'0','0','1','admin','2025-03-26 21:48:16',' ',NULL,'0',1); -INSERT INTO `sys_menu` VALUES (9836, 'AI 公文', null, '/knowledge/aiWritter/templates', null, 9700, 'fa fa-pencil', '1', 4,'0', '0', '0', 'admin', '2025-08-23 10:30:51', 'admin', '2025-08-23 23:10:18', '0', 1); +INSERT INTO `sys_menu` VALUES (9836, 'AI 公文', null, '/knowledge/aiWritter/templates', null, 19700, 'fa fa-pencil', '1', 2,'0', '0', '0', 'admin', '2025-08-23 10:30:51', 'admin', '2025-08-23 23:10:18', '0', 1); INSERT INTO `sys_menu` VALUES (9837, '新增', 'aiDocumentTemplate_add', null, null, 9836, null, '1', 1,'0', '0', '1', 'admin', '2025-08-22 15:30:39', 'admin', '2025-08-22 15:48:32', '0', 1); INSERT INTO `sys_menu` VALUES (9838, '删除', 'aiDocumentTemplate_del', null, null, 9836, null, '1', 1,'0', '0', '1', 'admin', '2025-08-22 15:30:39', 'admin', '2025-08-22 15:48:27', '0', 1); INSERT INTO `sys_menu` VALUES (9839, '查看', 'aiDocumentTemplate_view', null, null, 9836, null, '1', 0,'0', '0', '1', 'admin', '2025-08-22 15:36:13', 'admin', '2025-08-22 15:48:11', '0', 1); @@ -3085,11 +3065,12 @@ INSERT INTO `sys_menu` VALUES (9845, '编辑', 'knowledge_aiDatasource_edit', nu INSERT INTO `sys_menu` VALUES (9846, '删除', 'knowledge_aiDatasource_del', null, null, 9842, null, '1', 3,'0', '0', '1', 'admin', '2025-04-10 10:30:00', 'admin', '2025-04-10 10:30:00', '0', 1); INSERT INTO `sys_menu` VALUES (9847, '导入导出', 'knowledge_aiDatasource_export', null, null, 9842, null, '1', 4,'0', '0','1', 'admin', '2025-04-10 10:30:00', 'admin', '2025-04-10 10:30:00', '0', 1); INSERT INTO `sys_menu` VALUES (9848,'数据统计','','/knowledge/aiChatRecord/dashboard/index',NULL,9818,'iconfont icon-anquanjiance','1',7,'0','0','0','admin','2025-04-10 10:30:00','admin','2025-03-28 12:49:59','0',1); +INSERT INTO `sys_menu` VALUES (9849, '编辑', 'knowledge_aiPoster_edit', null, null, 9826, null, '1', 2,'0', '0', '1', 'admin', '2025-04-10 10:30:00', 'admin', '2025-04-10 10:30:00', '0', 1); -- ---------------------------- -- AI 存储管理菜单 -- ---------------------------- -INSERT INTO `sys_menu` VALUES (9850, 'AI 存储', null, '/knowledge/aiStorage/index', null, 9700, 'iconfont icon-yunpan', '1', 6,'0', '0', '0', 'admin', '2025-10-09 10:00:00', 'admin', '2025-10-09 10:00:00', '0', 1); +INSERT INTO `sys_menu` VALUES (9850, 'AI 存储', null, '/knowledge/aiStorage/index', null, 19700, 'iconfont icon-yunpan', '1', 3,'0', '0', '0', 'admin', '2025-10-09 10:00:00', 'admin', '2025-10-09 10:00:00', '0', 1); -- 文件管理菜单及权限 INSERT INTO `sys_menu` VALUES (9852, '文件查看', 'knowledge_aiStorageFile_view', null, null, 9850, null, '1', 0,'0', '0', '1', 'admin', '2025-10-09 10:00:00', 'admin', '2025-10-09 10:00:00', '0', 1); @@ -3116,23 +3097,47 @@ INSERT INTO `sys_menu` VALUES (9882, '术语新增', 'knowledge_aiTerminology_ad INSERT INTO `sys_menu` VALUES (9883, '术语编辑', 'knowledge_aiTerminology_edit', null, null, 9880, null, '1', 2,'0', '0', '1', 'admin', '2025-10-09 12:00:00', 'admin', '2025-10-09 12:00:00', '0', 1); INSERT INTO `sys_menu` VALUES (9884, '术语删除', 'knowledge_aiTerminology_del', null, null, 9880, null, '1', 3,'0', '0', '1', 'admin', '2025-10-09 12:00:00', 'admin', '2025-10-09 12:00:00', '0', 1); +-- 智能巡检菜单及权限 +INSERT INTO `sys_menu` VALUES (29840, '智能巡检', NULL, '/knowledge/aiOpsInspection/index', NULL, 19700, 'iconfont icon-xunjianrenwu', '1', 4, '0', '0', '0', 'admin', NOW(), 'admin', NOW(), '0', 1); +INSERT INTO `sys_menu` VALUES (29841, '查看', 'knowledge_aiOpsInspection_view', NULL, NULL, 29840, NULL, '1', 0, '0', '0', '1', 'admin', NOW(), NULL, NULL, '0', 1); +INSERT INTO `sys_menu` VALUES (29842, '新增', 'knowledge_aiOpsInspection_add', NULL, NULL, 29840, NULL, '1', 1, '0', '0', '1', 'admin', NOW(), NULL, NULL, '0', 1); +INSERT INTO `sys_menu` VALUES (29843, '编辑', 'knowledge_aiOpsInspection_edit', NULL, NULL, 29840, NULL, '1', 2, '0', '0', '1', 'admin', NOW(), NULL, NULL, '0', 1); +INSERT INTO `sys_menu` VALUES (29844, '删除', 'knowledge_aiOpsInspection_del', NULL, NULL, 29840, NULL, '1', 3, '0', '0', '1', 'admin', NOW(), NULL, NULL, '0', 1); +INSERT INTO `sys_menu` VALUES (29845, '执行', 'knowledge_aiOpsInspection_run', NULL, NULL, 29840, NULL, '1', 4, '0', '0', '1', 'admin', NOW(), NULL, NULL, '0', 1); + +-- ------------------------------------------- +-- AI代码评审菜单权限 +-- ------------------------------------------- +INSERT INTO `sys_menu` VALUES (29850,'代码评审',NULL,'/knowledge/aiCodeReview/index',NULL,19700,'iconfont icon-code-review','1',5,'0','0','0','admin','2025-02-02 00:00:00','admin','2025-02-02 00:00:00','0',1); +INSERT INTO `sys_menu` VALUES (29851,'查看','ai_codereview_view',NULL,NULL,29850,NULL,'1',0,'0','0','1','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (29852,'新增','ai_codereview_add',NULL,NULL,29850,NULL,'1',1,'0','0','1','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (29853,'编辑','ai_codereview_edit',NULL,NULL,29850,NULL,'1',2,'0','0','1','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (29854,'删除','ai_codereview_del',NULL,NULL,29850,NULL,'1',3,'0','0','1','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (29855,'执行','ai_codereview_run',NULL,NULL,29850,NULL,'1',4,'0','0','1','admin','2025-02-02 00:00:00',' ',NULL,'0',1); + +-- AI 办公菜单 +INSERT INTO `sys_menu` VALUES (19700,'AI 办公',NULL,'/ai-office',NULL,9700,'iconfont icon-shenpi','1',6,'0','0','0','admin','2025-02-02 00:00:00','admin','2025-02-02 00:00:00','0',1); + -- AI 审校菜单及权限 -INSERT INTO `sys_menu` (`menu_id`, `name`, `permission`, `path`, `component`, `parent_id`, `icon`, `visible`, `sort_order`, `keep_alive`, `embedded`, `menu_type`, `del_flag`, `tenant_id`) VALUES (19800, 'AI 审校', NULL, '/knowledge/aiProofreading/', NULL, -1, 'iconfont icon-ico_yuyueguanli_jiedaiyuyue', '1', 6, '0', '0', '0', '0', 1); -INSERT INTO `sys_menu` (`menu_id`, `name`, `permission`, `path`, `component`, `parent_id`, `icon`, `visible`, `sort_order`, `keep_alive`, `embedded`, `menu_type`, `del_flag`, `tenant_id`) VALUES (19810, '文档审校', NULL, '/knowledge/aiProofreading/index', NULL, 19800, 'iconfont icon-xitongrizhi', '1', 0, '0', '0', '0', '0', 1); -INSERT INTO `sys_menu` (`menu_id`, `name`, `permission`, `path`, `component`, `parent_id`, `icon`, `visible`, `sort_order`, `keep_alive`, `embedded`, `menu_type`, `del_flag`, `tenant_id`) VALUES (19820, '审校历史', NULL, '/knowledge/aiProofreading/history', NULL, 19800, 'iconfont icon-ico_yuyueguanli_jiedaiyuyue', '1', 1, '0', '0', '0', '0', 1); -INSERT INTO `sys_menu` (`menu_id`, `name`, `permission`, `path`, `component`, `parent_id`, `icon`, `visible`, `sort_order`, `keep_alive`, `embedded`, `menu_type`, `del_flag`, `tenant_id`) VALUES (19821, '审校历史查看', 'knowledge_proofreadJob_view', NULL, NULL, 19820, NULL, '1', 0, '0', NULL, '1', '0', 1); -INSERT INTO `sys_menu` (`menu_id`, `name`, `permission`, `path`, `component`, `parent_id`, `icon`, `visible`, `sort_order`, `keep_alive`, `embedded`, `menu_type`, `del_flag`, `tenant_id`) VALUES (19822, '审校历史新增', 'knowledge_proofreadJob_add', NULL, NULL, 19820, NULL, '1', 1, '0', NULL, '1', '0', 1); -INSERT INTO `sys_menu` (`menu_id`, `name`, `permission`, `path`, `component`, `parent_id`, `icon`, `visible`, `sort_order`, `keep_alive`, `embedded`, `menu_type`, `del_flag`, `tenant_id`) VALUES (19823, '审校历史修改', 'knowledge_proofreadJob_edit', NULL, NULL, 19820, NULL, '1', 2, '0', NULL, '1', '0', 1); -INSERT INTO `sys_menu` (`menu_id`, `name`, `permission`, `path`, `component`, `parent_id`, `icon`, `visible`, `sort_order`, `keep_alive`, `embedded`, `menu_type`, `del_flag`, `tenant_id`) VALUES (19824, '审校历史删除', 'knowledge_proofreadJob_del', NULL, NULL, 19820, NULL, '1', 3, '0', NULL, '1', '0', 1); -INSERT INTO `sys_menu` (`menu_id`, `name`, `permission`, `path`, `component`, `parent_id`, `icon`, `visible`, `sort_order`, `keep_alive`, `embedded`, `menu_type`, `del_flag`, `tenant_id`) VALUES (19825, '审校历史导出', 'knowledge_proofreadJob_export', NULL, NULL, 19820, NULL, '1', 4, '0', NULL, '1', '0', 1); -INSERT INTO `sys_menu` (`menu_id`, `name`, `permission`, `path`, `component`, `parent_id`, `icon`, `visible`, `sort_order`, `keep_alive`, `embedded`, `menu_type`, `del_flag`, `tenant_id`) VALUES (19830, '审校词库', NULL, '/knowledge/aiProofreading/customDict', NULL, 19800, 'iconfont icon-cidian', '1', 2, '0', '0', '0', '0', 1); -INSERT INTO `sys_menu` (`menu_id`, `name`, `permission`, `path`, `component`, `parent_id`, `icon`, `visible`, `sort_order`, `keep_alive`, `embedded`, `menu_type`, `del_flag`, `tenant_id`) VALUES (19840, '校对规则', NULL, '/knowledge/aiProofreading/dimension/index', NULL, 19800, 'iconfont icon-yunpan', '1', 3, '0', NULL, '0', '0', 1); -INSERT INTO `sys_menu` (`menu_id`, `name`, `permission`, `path`, `component`, `parent_id`, `icon`, `visible`, `sort_order`, `keep_alive`, `embedded`, `menu_type`, `del_flag`, `tenant_id`) VALUES (19841, '校对维度查看', 'knowledge_dimension_view', NULL, NULL, 19840, NULL, '1', 0, '0', NULL, '1', '0', 1); -INSERT INTO `sys_menu` (`menu_id`, `name`, `permission`, `path`, `component`, `parent_id`, `icon`, `visible`, `sort_order`, `keep_alive`, `embedded`, `menu_type`, `del_flag`, `tenant_id`) VALUES (19842, '校对维度新增', 'knowledge_dimension_add', NULL, NULL, 19840, NULL, '1', 1, '0', NULL, '1', '0', 1); -INSERT INTO `sys_menu` (`menu_id`, `name`, `permission`, `path`, `component`, `parent_id`, `icon`, `visible`, `sort_order`, `keep_alive`, `embedded`, `menu_type`, `del_flag`, `tenant_id`) VALUES (19843, '校对维度修改', 'knowledge_dimension_edit', NULL, NULL, 19840, NULL, '1', 2, '0', NULL, '1', '0', 1); -INSERT INTO `sys_menu` (`menu_id`, `name`, `permission`, `path`, `component`, `parent_id`, `icon`, `visible`, `sort_order`, `keep_alive`, `embedded`, `menu_type`, `del_flag`, `tenant_id`) VALUES (19844, '校对维度删除', 'knowledge_dimension_del', NULL, NULL, 19840, NULL, '1', 3, '0', NULL, '1', '0', 1); -INSERT INTO `sys_menu` (`menu_id`, `name`, `permission`, `path`, `component`, `parent_id`, `icon`, `visible`, `sort_order`, `keep_alive`, `embedded`, `menu_type`, `del_flag`, `tenant_id`) VALUES (19845, '校对维度导出', 'knowledge_dimension_export', NULL, NULL, 19840, NULL, '1', 4, '0', NULL, '1', '0', 1); -INSERT INTO `sys_menu` (`menu_id`, `name`, `permission`, `path`, `component`, `parent_id`, `icon`, `visible`, `sort_order`, `keep_alive`, `embedded`, `menu_type`, `del_flag`, `tenant_id`) VALUES (19846, '校对维度导入', 'knowledge_dimension_import', NULL, NULL, 19840, NULL, '1', 5, '0', NULL, '1', '0', 1); +INSERT INTO `sys_menu` VALUES (19800,'AI 审校',NULL,'/knowledge/aiProofreading/',NULL,19700,'iconfont icon-ico_yuyueguanli_jiedaiyuyue','1',0,'0','0','0','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (19810,'文档审校',NULL,'/knowledge/aiProofreading/index',NULL,19800,'iconfont icon-xitongrizhi','1',0,'0','0','0','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (19820,'审校历史',NULL,'/knowledge/aiProofreading/history',NULL,19800,'iconfont icon-ico_yuyueguanli_jiedaiyuyue','1',1,'0','0','0','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (19821,'审校历史查看','knowledge_proofreadJob_view',NULL,NULL,19820,NULL,'1',0,'0','0','1','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (19822,'审校历史新增','knowledge_proofreadJob_add',NULL,NULL,19820,NULL,'1',1,'0','0','1','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (19823,'审校历史修改','knowledge_proofreadJob_edit',NULL,NULL,19820,NULL,'1',2,'0','0','1','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (19824,'审校历史删除','knowledge_proofreadJob_del',NULL,NULL,19820,NULL,'1',3,'0','0','1','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (19825,'审校历史导出','knowledge_proofreadJob_export',NULL,NULL,19820,NULL,'1',4,'0','0','1','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (19830,'审校词库',NULL,'/knowledge/aiProofreading/customDict',NULL,19800,'iconfont icon-cidian','1',2,'0','0','0','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (19840,'校对规则',NULL,'/knowledge/aiProofreading/dimension/index',NULL,19800,'iconfont icon-yunpan','1',3,'0','0','0','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (19841,'校对维度查看','knowledge_dimension_view',NULL,NULL,19840,NULL,'1',0,'0','0','1','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (19842,'校对维度新增','knowledge_dimension_add',NULL,NULL,19840,NULL,'1',1,'0','0','1','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (19843,'校对维度修改','knowledge_dimension_edit',NULL,NULL,19840,NULL,'1',2,'0','0','1','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (19844,'校对维度删除','knowledge_dimension_del',NULL,NULL,19840,NULL,'1',3,'0','0','1','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (19845,'校对维度导出','knowledge_dimension_export',NULL,NULL,19840,NULL,'1',4,'0','0','1','admin','2025-02-02 00:00:00',' ',NULL,'0',1); +INSERT INTO `sys_menu` VALUES (19846,'校对维度导入','knowledge_dimension_import',NULL,NULL,19840,NULL,'1',5,'0','0','1','admin','2025-02-02 00:00:00',' ',NULL,'0',1); + +-- AI 办公菜单权限 +INSERT INTO `sys_role_menu` VALUES (1, 19700); INSERT INTO `sys_role_menu` VALUES (1, 9700); INSERT INTO `sys_role_menu` VALUES (1, 9710); @@ -3242,6 +3247,7 @@ INSERT INTO `sys_role_menu` VALUES (1, 9845); INSERT INTO `sys_role_menu` VALUES (1, 9846); INSERT INTO `sys_role_menu` VALUES (1, 9847); INSERT INTO `sys_role_menu` VALUES (1, 9848); +INSERT INTO `sys_role_menu` VALUES (1, 9849); -- AI 存储管理角色权限关联 INSERT INTO `sys_role_menu` VALUES (1, 9850); @@ -3287,6 +3293,19 @@ INSERT INTO `sys_role_menu` VALUES (1, 19844); INSERT INTO `sys_role_menu` VALUES (1, 19845); INSERT INTO `sys_role_menu` VALUES (1, 19846); +INSERT INTO `sys_role_menu` VALUES (1, 29840); +INSERT INTO `sys_role_menu` VALUES (1, 29841); +INSERT INTO `sys_role_menu` VALUES (1, 29842); +INSERT INTO `sys_role_menu` VALUES (1, 29843); +INSERT INTO `sys_role_menu` VALUES (1, 29844); +INSERT INTO `sys_role_menu` VALUES (1, 29845); +INSERT INTO `sys_role_menu` VALUES (1, 29850); +INSERT INTO `sys_role_menu` VALUES (1, 29851); +INSERT INTO `sys_role_menu` VALUES (1, 29852); +INSERT INTO `sys_role_menu` VALUES (1, 29853); +INSERT INTO `sys_role_menu` VALUES (1, 29854); +INSERT INTO `sys_role_menu` VALUES (1, 29855); + INSERT INTO `sys_dict` VALUES (129, 'source_type', '文件来源', 'admin', ' ', '2023-10-27 10:29:48', NULL, NULL, '1', '0', 1); INSERT INTO `sys_dict` VALUES (130, 'slice_status', '切片状态', 'admin', ' ', '2023-10-27 10:29:48', NULL, NULL, '1', '0', 1); INSERT INTO `sys_dict` VALUES (131, 'summary_status', '总结状态', 'admin', ' ', '2023-10-27 10:29:48', NULL, NULL, '1', '0', 1); @@ -3315,6 +3334,7 @@ INSERT INTO `sys_dict_item` VALUES (213, 133, 'neo4j', 'neo4j', 'embed_store_typ INSERT INTO `sys_dict_item` VALUES (214, 133, 'pgvector', 'pgvector', 'embed_store_type', 'pgvector', NULL, 3, 'admin', ' ', '2023-10-27 10:30:47', NULL, NULL, '0', 1); INSERT INTO `sys_dict_item` VALUES (215, 130, '3', 'AI解析中', 'slice_status', '解析中', NULL, 3, 'admin', ' ', '2023-10-27 10:30:47', NULL, NULL, '0', 1); INSERT INTO `sys_dict_item` VALUES (216, 130, '4', 'AI异步解析中', 'slice_status', 'AI异步解析中', NULL, 3, 'admin', ' ', '2023-10-27 10:30:47', NULL, NULL, '0', 1); +INSERT INTO `sys_dict_item` VALUES (217, 133, 'seekdb', 'seekdb', 'embed_store_type', 'seekdb', NULL, 6, 'admin', ' ', '2023-10-27 10:30:47', NULL, NULL, '0', 1); -- ---------------------------- -- Table structure for ai_model @@ -3329,7 +3349,7 @@ CREATE TABLE `ai_model` ( `response_limit` int DEFAULT NULL COMMENT '响应长度', `temperature` double DEFAULT NULL COMMENT '温度', `top_p` double DEFAULT NULL, - `api_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL, + `api_key` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL, `base_url` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL, `secret_key` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL, `endpoint` varchar(100) COLLATE utf8mb4_bin DEFAULT NULL, @@ -3347,6 +3367,7 @@ CREATE TABLE `ai_model` ( `create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '创建人', `update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '修改人', `ext_data` longtext COLLATE utf8mb4_bin COMMENT '扩展字段', + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='模型配置表'; @@ -3370,6 +3391,7 @@ CREATE TABLE `ai_bill` ( `create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '创建人', `update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '修改人', `use_time` bigint DEFAULT NULL COMMENT '使用时间,单位毫秒', + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='账单'; @@ -3401,6 +3423,8 @@ CREATE TABLE `ai_chat_record` ( `llm_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '大模型交互结果', `ext_details` text COLLATE utf8mb4_general_ci COMMENT '详细信息', `use_time` bigint DEFAULT NULL COMMENT '使用时间,单位毫秒', + `llm_type` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'LLM调用类型 chat-聊天 embedding-向量嵌入', + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`record_id`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='聊天记录'; @@ -3446,6 +3470,7 @@ CREATE TABLE `ai_dataset` ( `ai_tag_flag` char(1) COLLATE utf8mb4_bin DEFAULT '1' COMMENT 'AI标签开关(0-关闭 1-开启)', `tags` text COLLATE utf8mb4_bin COMMENT '知识库标签(逗号分隔)', `similar_question_flag` char(1) COLLATE utf8mb4_bin DEFAULT '1' COMMENT '相似问题开关(0-关闭 1-开启)', + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='知识库'; @@ -3460,11 +3485,13 @@ CREATE TABLE `ai_embed_store` ( `use_tls` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否使用安全模式', `api_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '密钥', `ext_data` longtext COLLATE utf8mb4_general_ci COMMENT '扩展参数', + `default_store` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '是否默认向量库', `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '删除标记', `create_time` datetime DEFAULT NULL COMMENT '创建时间', `update_time` datetime DEFAULT NULL COMMENT '更新时间', `create_by` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人', `update_by` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人', + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`store_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='向量库配置'; -- ---------------------------- @@ -3497,6 +3524,7 @@ CREATE TABLE `ai_document` ( `update_time` datetime DEFAULT NULL COMMENT '修改时间', `create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '创建人', `update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '修改人', + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='知识文档'; @@ -3505,7 +3533,7 @@ CREATE TABLE `ai_document` ( -- ---------------------------- DROP TABLE IF EXISTS `ai_slice`; CREATE TABLE `ai_slice` ( - `id` bigint NOT NULL COMMENT '主键', + `slice_id` bigint NOT NULL COMMENT '主键', `document_id` bigint DEFAULT NULL COMMENT '文档ID', `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '名称', `units` bigint DEFAULT NULL COMMENT '知识数量', @@ -3523,7 +3551,8 @@ CREATE TABLE `ai_slice` ( `update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '修改人', `slice_status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '训练状态', `qdrant_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '向量ID', - PRIMARY KEY (`id`) USING BTREE + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', + PRIMARY KEY (`slice_id`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='知识切片'; DROP TABLE IF EXISTS `ai_ocr_conf`; @@ -3538,6 +3567,7 @@ CREATE TABLE `ai_ocr_conf` ( `create_by` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `update_by` datetime DEFAULT NULL, `del_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL, + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='AI OCR'; @@ -3558,6 +3588,7 @@ CREATE TABLE `ai_flow` ( `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '1' COMMENT '状态', `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '是否已删除', `result` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '最终结果', + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='大模型流程表'; @@ -3584,6 +3615,7 @@ CREATE TABLE `ai_flow_log` ( `update_time` datetime DEFAULT NULL COMMENT '修改时间', `status` int DEFAULT '1' COMMENT '状态', `is_deleted` int DEFAULT '0' COMMENT '是否已删除', + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='大模型流程日志表'; @@ -3603,6 +3635,7 @@ CREATE TABLE `ai_data` ( `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人', `update_time` datetime DEFAULT NULL COMMENT '更新时间', `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标记 (0-正常, 1-删除)', + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`data_id`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='AI 数据集管理表'; @@ -3626,6 +3659,7 @@ CREATE TABLE `ai_data_field` ( `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人', `update_time` datetime DEFAULT NULL COMMENT '更新时间', `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标记 (0-正常, 1-删除)', + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`field_id`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='AI 字段管理表'; @@ -3645,6 +3679,7 @@ CREATE TABLE `ai_data_table` ( `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人', `update_time` datetime DEFAULT NULL COMMENT '更新时间', `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标记 (0-正常, 1-删除)', + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`table_id`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='AI 数据表管理表'; @@ -3667,6 +3702,7 @@ CREATE TABLE `ai_mcp_config` ( `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人', `update_time` datetime DEFAULT NULL COMMENT '更新时间', `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标记', + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`mcp_id`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='MCP配置表'; @@ -3677,6 +3713,7 @@ CREATE TABLE `ai_poster` ( `template_code` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '模板代码', `template_css` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '模板CSS', `template_style` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '模板风格', + `is_default` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '是否默认模板', `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人', `create_time` datetime DEFAULT NULL COMMENT '创建时间', `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人', @@ -3689,21 +3726,21 @@ CREATE TABLE `ai_poster` ( -- Records of ai_poster -- ---------------------------- BEGIN; -INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES (1, '红色党政风', '
\n
\n
二〇二五年七月一日
\n

新时代为民服务

\n

践行初心使命 提升服务效能

\n
\n
\n 全心全意为人民服务是我们一切工作的根本宗旨,要始终把人民放在心中最高位置。\n
\n
\n
\n 01\n 深化简政放权,推进\"最多跑一次\"改革\n
\n
\n 02\n 完善基层服务体系,打通服务群众\"最后一公里\"\n
\n
\n 03\n 强化数字赋能,建设智慧服务平台\n
\n
\n 04\n 健全监督机制,确保权力在阳光下运行\n
\n
\n
\n \"QR\n
扫码进入便民服务直通车
\n
\n
\n 重要通知: 本年度将全面推进服务型建设,欢迎广大群众监督并提出宝贵意见建议,共同推动服务工作提质增效。\n
\n
', '', '采用党政风格设计,体现庄重典雅与为民服务的特质。使用浅红色背景,配以党政标准色调如正红、米白和浅灰。排版应规整大气,使用传统中文排版元素,与普通政务风格相比更具文化底蕴。字体选择宋体或仿宋等衬线字体,字重适中确保正式感。装饰元素应体现传统文化特色,使用五角星、红色圆形徽章等元素。内容区块采用对称布局,参考党政刊物和红色宣传品的版式设计。整体设计应呈现出庄重、温暖且富有文化底蕴的特质,平衡权威性与亲和力,体现\"以人民为中心\"的服务理念。', NULL, NULL, NULL, NULL, '0'); -INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES (2, '淡雅政务风', '
\n
\n
2025年5月15日
\n

政务服务优化

\n

推动便民利企服务高质量发展

\n
\n
\n 坚持以人民为中心的发展思想,持续深化\"放管服\"改革,打造高效、透明、便民的政务服务体系。\n
\n
\n
\n 一\n 推进\"一网通办\",实现政务服务事项全程网上办理\n
\n
\n 二\n 优化审批流程,压缩办理时限,提升服务效率\n
\n
\n 三\n 加强政务公开,保障群众知情权、参与权、监督权\n
\n
\n 四\n 完善投诉反馈机制,及时解决群众反映的问题\n
\n
\n
\n \"QR\n
扫描二维码,进入政务服务网上大厅
\n
\n
\n 政务公告: 本年度将继续推进政务服务标准化规范化便利化建设,欢迎广大市民群众监督并提出宝贵意见。\n
\n
', '', '采用政务风格设计,体现政府文件的权威性与亲民服务的平衡。使用浅灰背景,配以政务标准色调如深蓝、浅灰和米白。排版应规整有序,使用大量留白保持清晰可读性,但与公文不同,应加入适度亲和元素。字体选择标准无衬线字体如微软雅黑或思源黑体,字重适中确保易读性。装饰元素应精简但体现正式感,可使用传统政务元素如徽章、双分隔线和编号圆点。内容区块采用清晰分隔,参考政府公报和政务公开栏目的版式设计。整体设计应呈现出庄重、清晰且亲民的政务特质,平衡权威性与服务性,参考国务院公报和省级政府门户网站的视觉规范。', NULL, NULL, NULL, NULL, '0'); -INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES (3, '新表现主义风格', '
\n
\n
2025年03月28日
\n

黑胶复兴

\n

模拟声音的回归,旧时代技术在数字世界中的意外胜利

\n \n
\n
\n 在完美无瑕的数字音频中,我们失去了音乐的灵魂;而在黑胶唱片的噼啪声中,我们重新找到了它。\n
\n
\n \n
\n
\n 1\n
触觉体验:黑胶唱片提供了一种物理仪式感,从挑选唱片到放上唱盘的每一步都是体验的一部分
\n
\n
\n 2\n
温暖声学:模拟录制的非线性特性创造出数字完美主义无法复制的声音质感
\n
\n
\n 3\n
艺术载体:12英寸唱片封面成为视觉艺术的重要媒介,许多经典专辑因其封面设计而被铭记
\n
\n
\n 4\n
慢听革命:黑胶体验鼓励人们完整聆听一张专辑,抵抗流媒体时代的碎片化消费
\n
\n
\n \n
\n \"QR\n
扫码探索珍稀黑胶唱片收藏
\n
\n \n
\n 编辑笔记:黑胶唱片的复兴超越了单纯的怀旧,它代表了人们对实体音乐体验的渴望与反抗。在数字极简主义主导的今天,这种\"不完美\"的媒介正在成为艺术真实性的象征。\n
\n
\n
', '', '采用新表现主义风格设计,体现80年代艺术运动的原始能量和情感表达。色彩应强烈且不协调,使用原始、未经调和的色彩组合,可包含泼溅和涂抹效果。排版应富有表现力且不规则,使用手写或笔刷字体,文字可被部分遮挡或融入背景。线条必须粗犷且富有动感,展现明显的笔触和手工感。图像应被重新诠释,可添加涂鸦、划痕或重绘效果。装饰元素应看似随意但富有象征性,如原始符号、面具图案或抽象人物。整体设计应呈现出强烈的情感张力和原始能量,仿佛一幅由情感驱动的表现主义画作,参考Jean-Michel Basquiat和Georg Baselitz的作品风格。', NULL, NULL, NULL, NULL, '0'); -INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES (4, '波普艺术风格', '
\n
\n
\n
\n
\n
2025年6月15日
\n
\n
VIRAL!
\n

网红经济

\n
网红经济
\n
\n

社交媒体如何彻底改变了我们的消费方式、审美标准与名人文化

\n
\n

\"在这个时代,每个人都有15分钟的成名机会,但网红们用算法延长了这个时间到无限!\"

\n
\n
\n
\n
1
\n
信任营销:相比传统广告,76%的消费者更相信真实人物的产品推荐
\n
\n
\n
2
\n
微网红崛起:专注小众领域的内容创作者正获得比大网红更高的互动率
\n
\n
\n
3
\n
真实性危机:完美人设背后,创作者身份与现实生活的严重割裂导致心理健康问题
\n
\n
\n
4
\n
算法控制:平台推荐机制决定了谁能出名,创作者如何迎合算法成为成功关键
\n
\n
\n
\n
\n \"QR\n
\n
扫码关注我们的爆款网红推荐
\n
\n
\n 网红经济不仅创造了全新的职业,更重塑了整个市场营销生态。当每个人都能成为媒体时,影响力成为新的货币,而真实性则成为最稀缺的资源。\n
\n
\n
', '', '采用波普艺术风格设计,重现60年代艺术运动的大胆美学。必须使用亮丽原色(红、黄、蓝)和黑色轮廓线,色彩应平面且不含渐变。排版应大胆且戏剧化,使用漫画风格字体和夸张的感叹词,文字可放置在对话气泡中。图像处理是关键,应使用半调网点(Halftone)效果模拟印刷,将图像简化为点阵和色块。装饰元素应包含漫画风格的线条、爆炸形状和拟声词。可使用重复图案和网格排列增强视觉冲击。整体设计应呈现出鲜明、直接且充满流行文化引用的视觉效果,仿佛一页来自60年代漫画或安迪·沃霍尔的艺术作品,参考Roy Lichtenstein的绘画和经典漫画书的视觉语言。', NULL, NULL, NULL, NULL, '0'); -INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES (5, '极简主义风格', '
\n
2025.05.18
\n

摄影的艺术

\n

光影与构图的永恒魅力

\n
\n
\n \"摄影不仅是捕捉瞬间,而是创造永恒。\"\n
\n
\n
\n 01\n 摄影是光影的艺术,掌握光线是创作好照片的关键\n
\n
\n 02\n 构图是视觉语言,通过空间关系传达情感与故事\n
\n
\n 03\n 数码技术改变了摄影工具,但不改变摄影的本质\n
\n
\n 04\n 真正的摄影眼光将在视觉饱和的时代成为宝贵能力\n
\n
\n
\n \"QR\n
扫描二维码,获取更多摄影技巧
\n
\n
\n 编辑笔记: 在图像泛滥的数字时代,摄影的形式在变,但作为记录与表达的方式,其艺术本质不变。\n
\n
', '', '采用极简主义风格设计,遵循\"少即是多\"的理念。使用大量留白创造呼吸空间,仅保留最必要的元素。配色方案限制在2-3种中性色,主要为白色背景配以黑色或深灰色文字。排版应精确到像素级别,使用精心设计的网格系统和黄金比例。字体选择无衬线字体如Helvetica或Noto Sans,字重变化作为主要层次手段。装饰元素几乎为零,仅使用极细的分隔线和微妙的阴影。整体设计应呈现出克制、优雅且永恒的美学,让内容本身成为焦点。参考Dieter Rams的设计原则和日本无印良品(MUJI)的产品美学。', NULL, NULL, NULL, NULL, '0'); -INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES (6, '优雅复古\n', '
\n
\n
\n
\n
\n
\n
Le 15 Avril, 2025
\n

古典音乐的复兴

\n

在数字时代,巴赫、莫扎特与贝多芬的永恒旋律重获新生

\n
\n
\n 古典音乐不是过去的遗物,而是人类灵魂深处永恒的共鸣,跨越时空与文化的界限。\n
\n
\n
\n ※\n 古典音乐与现代聆听:流媒体平台革命性地改变了年轻一代接触古典音乐的方式\n
\n
\n ※\n 数字化保存:高保真技术让历史录音重获新生,填补音乐史的空白\n
\n
\n ※\n 跨界融合:古典元素在电影、游戏与流行音乐中的创新应用\n
\n
\n ※\n 音乐教育的变革:虚拟现实和交互式应用为古典音乐普及带来新机遇\n
\n
\n
\n \"QR\n
扫描二维码,聆听精选古典音乐集
\n
\n
\n 编辑笔记: 在这个快节奏的数字时代,古典音乐以其深度与复杂性,为我们提供了一种珍贵的沉浸式体验,让我们能够暂时脱离浮躁,回归内心的宁静。\n
\n
', '', '采用优雅复古风格设计,重现20世纪初期印刷品的精致美学。使用米色或淡黄色纸张质感背景,配以深棕、暗红等老式印刷色。字体必须使用衬线字体如Baskerville或Noto Serif,标题可使用装饰性字体。排版应对称且庄重,遵循传统书籍设计原则。装饰元素包括精致的花纹边框、古典分隔线和角落装饰,可添加轻微做旧效果如纸张纹理和微妙污点。图像应用复古滤镜处理,呈现褪色照片效果。整体设计应散发出典雅、成熟且历经时间考验的气质,参考The New Yorker和老式法国时尚杂志的设计语言。', NULL, NULL, NULL, NULL, '0'); -INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES (7, '大胆现代', '
\n
15 JULY 2025
\n

城市重构

\n

新型建筑正在重塑城市景观,打造更具可持续性与人文关怀的未来生活空间

\n
\n
\n \"未来的城市不仅是由玻璃、钢铁和混凝土构成的,更应该是由社区、生态和创新精神塑造的有机体。\"\n
\n
\n
\n 01\n 垂直森林:建筑外立面融合大量植被,每栋建筑成为碳吸收器和生物多样性中心\n
\n
\n 02\n 模块化设计:可重配置的建筑系统使空间根据需求灵活变化,减少资源浪费\n
\n
\n 03\n 智能材料:自修复混凝土和光伏玻璃等材料革命性地改变建筑能耗与寿命\n
\n
\n 04\n 社区导向:建筑设计重新聚焦于创造有意义的公共空间,促进人际互动\n
\n
\n
\n \"QR\n
扫描二维码,探索全球创新建筑案例
\n
\n
\n EDITOR\'S NOTE: 现代建筑正走向一个关键转折点,从单纯追求形式美学转向整合生态系统、人文关怀与技术创新的综合解决方案。\n
\n
', '', '采用大胆现代风格设计,打破传统排版规则,创造强烈视觉冲击。使用鲜艳对比色如荧光粉、电子蓝、亮黄等,背景可使用深色或鲜艳色块。排版应不对称且动态,标题文字极大(至少60px),可使用极粗字重或压缩字体,甚至允许文字重叠和溢出。图形元素应用几何形状,边缘锐利,可添加不规则裁切效果。层次感通过大小、颜色和位置的极端对比创造。整体设计应充满张力和活力,像一张视觉宣言,参考Wired杂志和Pentagram设计工作室的作品。添加微妙动效如悬停放大或颜色变换,增强现代感。', NULL, NULL, NULL, NULL, '0'); -INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES (8, '日式极简\n', '
\n
\n
2025年5月17日
\n
\n
\n

茶道之美

\n
\n

一碗茶,一方宇宙,茶道中蕴含的东方生活美学与哲思

\n
\n 茶道不只是饮茶仪式,更是对和、敬、清、寂四大原则的生活实践。\n
\n
\n
\n 待客之心:茶室中每一个动作,每一处设计都体现对客人的至高敬意\n
\n
\n 四季感知:茶道仪式随季节变化而调整,体现与自然和谐共处的理念\n
\n
\n 珍视瞬间:茶道秉持\"一期一会\"精神,视每次相聚为人生独特相遇\n
\n
\n 留白之美:茶室布置的极简与留白,是对内心平静的物理表达\n
\n
\n
\n \"QR\n
扫描二维码,探索更多日本传统美学
\n
\n
\n 編集者注: 在这个快节奏的现代社会,茶道所蕴含的慢生活哲学,为我们提供了一种回归本真、寻找内心平静的方式。\n
\n
\n
', '', '采用日式极简风格设计,体现\"侘寂\"(Wabi-Sabi)美学——接受不完美、无常与不完整的哲学。使用极度克制的色彩,主要为白、灰、黑和淡墨色。留白(Ma)是核心元素,至少70%的设计应为空白,创造宁静感。排版应非对称且垂直,可使用垂直书写模式,体现日本传统排版。字体应极度简约,笔画轻盈。装饰元素几乎为零,但可添加一处墨迹、简单印章或单一线条作为点睛之笔。整体设计应呈现出深度宁静、精致且富有禅意的视觉体验,仿佛一页来自京都寺院的书页,参考原研哉的MUJI设计理念和日本传统水墨画的留白美学', NULL, NULL, NULL, NULL, '0'); -INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES (9, '赛博朋克风格', '
\n
\n
03.09.2025 :: RENDER_LOG
\n

\n
\n
沉浸式艺术
\n
\n

\n

数字技术正在重塑艺术创作与体验的边界,建立物理与虚拟世界之间的无缝连接

\n
\n
\n \"当代艺术已不再局限于观看,而是成为一种全身心参与的多感官体验;技术不只是工具,更是创作的共同体。\"\n
\n
\n
\n 01\n 生成式艺术:AI算法已从辅助工具发展为独立创作者,挑战我们对原创性与创造力的理解\n
\n
\n 02\n 物理-数字混合:增强现实技术使艺术装置可以同时存在于物理空间和数字领域,创造多层次叙事\n
\n
\n 03\n 神经反馈:新一代沉浸式作品可读取观众脑电波,实时调整内容以优化情感体验\n
\n
\n 04\n 非永久性艺术:数字作品的短暂性和动态性正挑战艺术保存的传统理念,强调体验而非收藏\n
\n
\n
\n \"QR\n
扫码进入虚拟展览,体验最前沿沉浸式艺术作品
\n
\n
\n 数字艺术生态正在迅速演变,技术与创意的融合不仅创造了前所未有的表达形式,也重新定义了艺术与观众、艺术与社会的关系。在这个新兴领域,体验已成为作品的核心。\n
\n
', '', '采用赛博朋克风格设计,体现\"高科技,低生活\"的反乌托邦美学。背景必须为深色(黑色或深蓝),配以霓虹色彩如荧光粉、电子蓝和酸性绿,创造夜间都市氛围。排版应模拟故障效果,使用像素化字体或未来感等宽字体,添加字符错位、扫描线和数字噪点。装饰元素必须包含科技界面、数据流、电路板图案和全息投影效果。必须添加故障艺术(Glitch Art)效果如RGB分离、数据损坏和画面撕裂。图像应高对比且添加霓虹光效,模拟雨夜霓虹灯反射。整体设计应呈现出未来主义与复古科技的混搭,营造一种数字化衰败的氛围,参考《银翼杀手》、《神经漫游者》和《赛博朋克2077》的视觉语言。', NULL, NULL, NULL, NULL, '0'); -INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES (10, '瑞士国际主义风格的解构版', '
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
17.08.2025
\n
\n

字体革命

\n
字体革命
\n
\n

在数字时代,字体设计如何突破传统边界,重新定义可读性与表现力的平衡

\n
\n
\n
\n
\n \"字体不仅是内容的载体,更是信息本身的一部分;它以无声的方式塑造我们的阅读体验与情感反应。\"\n
\n
\n
\n
\n
01
\n
可变字体技术:单一字体文件可实现无限权重变化,为设计师提供前所未有的精细控制
\n
\n
\n
02
\n
屏幕优化:新一代数字字体通过亚像素渲染技术,解决了高分辨率显示器上的清晰度挑战
\n
\n
\n
03
\n
多语言兼容:字体设计正在拥抱全球化,单一字体系统可支持多达十几种文字系统
\n
\n
\n
04
\n
表情符号演变:从简单图标到复杂表情系统,它们已成为现代字体设计中不可或缺的部分
\n
\n
\n
\n \"QR\n
扫描探索当代最具创新性的字体设计
\n
\n
\n 编辑笔记: 字体设计正处于历史性转折点,数字工具与多屏阅读体验正推动这门古老艺术形式进入全新时代。设计师不再只关注形式美学,更需思考跨平台、跨文化的视觉语言建构。\n
\n
', '', '采用瑞士国际主义风格的解构版设计,在严格网格系统的基础上进行有意识的破坏和重组。排版应基于经典瑞士网格,但故意打破和扭曲,文字可越过栏格、重叠或被切割。色彩应保持瑞士风格的克制,主要使用黑白,但可添加一两种鲜艳原色作为点缀。字体必须使用无衬线几何字体如Helvetica或Akzidenz-Grotesk,但可通过极端的字重、间距和大小变化创造张力。图像应高对比且可被解构或重组。装饰元素几乎为零,但可使用解构的网格线和参考点。整体设计应呈现出理性与叛逆并存的视觉效果,像是经典瑞士设计被有意识地挑战和重新诠释,参考Wolfgang Weingart和April Greiman的实验性作品。', NULL, NULL, NULL, NULL, '0'); -INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES (11, '新未来主义', '
\n
\n
\n \n
\n
2025.09.21
\n \n
\n

星际探索

\n

当代太空技术正在重新定义人类的边界,开启多行星文明的新篇章

\n
\n \n
\n
\n 宇宙不仅比我们想象的更奇异,甚至比我们能够想象的还要奇异。探索太空不只是关于发现新世界,更是重新认识我们自己。\n
\n
\n \n
\n
\n
01
\n
可重复使用火箭:航天发射成本降低90%,开启太空旅行的商业化时代
\n
\n
\n
02
\n
月球基地建设:国际联合计划已进入实质性阶段,首个永久前哨将于2030年建成
\n
\n
\n
03
\n
深空通信网络:量子纠缠技术突破将实现与火星探测器的即时通信
\n
\n
\n
04
\n
小行星采矿:近地轨道资源开发预计将在2035年实现商业化,创造万亿级市场
\n
\n
\n \n
\n \"QR\n
扫描观看最新太空任务实时数据与高清图像
\n
\n \n
\n 编辑注释:太空探索已从政府主导的国家项目转变为公私合作的产业生态。这一转变不仅加速了技术创新,也正在为地球资源、能源与环境危机提供潜在解决方案。\n
\n
\n
', '', '采用新未来主义风格设计,体现当代建筑和产品设计中的前沿美学。形态应强调流线型曲线和有机几何形状,避免直角和静态形式。色彩应使用金属色调如银色、钛白和铬黄,配以一两种高饱和度的强调色。材质表现是关键,应模拟高科技材料如拉丝金属、碳纤维和磨砂玻璃。排版应动态且流畅,使用现代无衬线字体,可沿曲线排列或呈放射状。装饰元素应包含参数化生成的图案、流体动力学形态和仿生学结构。整体设计应呈现出高度发达的技术美学和动态感,仿佛来自近未来的高端产品,参考扎哈·哈迪德的建筑、特斯拉Cybertruck和Apple产品的设计语言', NULL, NULL, NULL, NULL, '0'); -INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES (12, '超现实主义数字拼贴风格', '
\n
\n
\n
\n
RÉALITÉ • 17 JUIN 2025
\n
\n

数字身份的迷宫

\n

在社交媒体的万花筒中,我们的自我变成了一系列精心策划的数字碎片

\n
\n
\n
\n \"我们创造了数字化的第二自我,它既是我们的延伸,又是我们的囚笼;既是真实的表达,又是精心构建的幻象。\"\n
\n
\n
\n
\n
数字拼贴:现代人的身份已成为多平台角色的复合体,每个平台展现不同的自我片段
\n
\n
\n
算法回音室:我们所见的内容塑造着我们的认知,而我们的行为又强化着算法的预测
\n
\n
\n
真实与表演的融合:在持续的公开展示中,表演逐渐成为真实,界限被永久模糊
\n
\n
\n
集体孤独:我们从未如此紧密连接,却同时经历着新形式的社交隔离与疏离
\n
\n
\n
\n \"QR\n
扫描进入一场关于数字身份的沉浸式体验
\n
\n
\n ÉDITORIAL:\n 社交媒体已不仅是我们使用的工具,更成为塑造我们思维与互动方式的环境。理解这种新现实的超现实性质,是我们在数字时代保持真实与连接的关键。\n
\n
', '', '采用超现实主义数字拼贴风格设计,创造梦境般的视觉叙事。图像处理是核心,应组合不相关元素创造意外联系,如古典雕塑与现代电子产品、自然元素与几何形状。比例应故意失调,创造视觉张力。色彩可使用梦幻般的组合,如暖日落色调或冷月光色调,添加轻微的色偏。排版应融入拼贴中,文字可环绕物体、穿过图像或成为构图的一部分。装饰元素应包含超现实符号如悬浮物体、不可能的建筑、变形的人物或动物。可添加微妙的阴影和光效增强立体感。整体设计应呈现出一种介于现实与梦境之间的视觉体验,引发观者的想象和潜意识联想,参考René Magritte的绘画和现代数字艺术家如Justin Peters的作品。', NULL, NULL, NULL, NULL, '0'); -INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES (13, '新巴洛克数字风格', '
\n
\n
\n
\n
\n
\n \n
\n
LE XVII AOÛT • ANNO DOMINI MMXXIV
\n
✧ ✦ ✧
\n

交响盛宴

\n

古典音乐的永恒华彩,在当代世界中绽放出永不褪色的光辉

\n \n
\n \n
\n \"交响乐不仅是音符的组合,更是人类情感的建筑;每一个乐章如同巴洛克宫殿的厅堂,宏伟、精致且充满戏剧性。\"\n
\n \n
\n
\n
管弦乐团正在经历数字化复兴,通过沉浸式技术与全息投影,为古典音乐带来革命性的聆听体验
\n
\n
\n
巴洛克音乐的复杂对位法与华丽装饰音,成为当代作曲家重新探索的灵感源泉,影响着电影配乐与游戏音乐
\n
\n
\n
年轻指挥家正在打破传统界限,将古典作品与现代元素融合,吸引新一代观众走进音乐厅
\n
\n
\n
高分辨率音频技术使巴赫、亨德尔与维瓦尔第的作品呈现出前所未有的细节与层次,重现巴洛克音乐的精髓
\n
\n
\n \n
\n
\n
HARMONIA MUNDI
\n \"QR\n
扫描聆听精选巴洛克音乐杰作
\n
\n
\n \n
\n MAESTRO\'S NOTE:\n 古典音乐的魅力在于它超越了时间的限制。几个世纪前的作品至今仍能唤起深刻的共鸣,提醒我们艺术的永恒价值。在这个快节奏的数字时代,交响乐团提供了一种珍贵的共同体验,让我们暂时脱离碎片化的现代生活。\n
\n
\n
', '', '采用新巴洛克数字风格设计,将17世纪的华丽美学重新诠释为数字形式。装饰是核心元素,应使用极其丰富的数字化巴洛克花纹、卷轴和浮雕效果,每个角落都应有精致细节。色彩应奢华且戏剧性,主要使用金色、深红、皇家蓝和黑色,可添加金属光泽和渐变效果。排版应华丽且层次丰富,使用装饰性强的衬线字体,可添加花体字母和装饰性首字母。图像应添加华丽框架和装饰性边缘。光影效果是关键,应创造强烈的明暗对比,模拟巴洛克绘画的戏剧性光效。整体设计应呈现出极度奢华、复杂且充满戏剧性的视觉体验,仿佛数字时代的凡尔赛宫,参考巴洛克艺术大师如鲁本斯的作品和现代奢侈品牌的视觉语言。', NULL, NULL, NULL, NULL, '0'); -INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES (15, '斯堪的纳维亚风格', '
\n
\n
Juni 20, 2025
\n

可持续设计

\n

如何通过设计创造更环保的未来

\n
\n
\n 优秀的设计不只是看起来美观,更应该对地球和人类的未来负责。\n
\n
\n
\n 1\n 可循环材料:选择可生物降解或可完全回收的材料是可持续设计的基础\n
\n
\n 2\n 长久耐用:设计应超越短暂流行,创造能经受时间考验的产品\n
\n
\n 3\n 节能生产:优化制造流程,减少能源消耗和碳排放\n
\n
\n 4\n 全生命周期:考虑产品从原材料到废弃处理的完整环境影响\n
\n
\n
\n \"QR\n
扫描二维码,了解更多可持续设计案例
\n
\n
\n 编辑手记: 在资源有限的世界里,可持续设计不再是选择而是必需。北欧设计一直引领这一理念,将简约美学与环保责任完美结合。\n
\n
', '', '采用斯堪的纳维亚风格设计,体现北欧设计的简约与功能美学。使用纯白背景,配以特定的北欧色调如淡蓝、浅灰、原木色和淡粉。排版应极度克制且有序,使用大量留白,但与极简主义不同,应加入温暖质感。字体选择无衬线几何字体如Futura或Circular,字重轻盈。装饰元素应极少但精心选择,可使用简单几何图案如三角形和线条,参考马勒维奇的构成主义。图像应明亮、简洁且自然。整体设计应呈现出清爽、实用且温暖的北欧特质,平衡美学与功能性,参考Kinfolk杂志和丹麦设计品牌HAY的产品美学。', NULL, NULL, NULL, NULL, '0'); -INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES (16, '未来科技风格', '
\n
2025.03.21
\n

深空探索

\n

人类文明跨越星际的下一步

\n
\n
\n \"我们在地球上的存在只是宇宙意识的短暂火花,深空探索是延续这火花的唯一希望。\"\n
\n
\n
\n 001\n 量子引擎突破光速限制的理论基础已初步验证,星际旅行不再是科幻\n
\n
\n 002\n 近星系人工智能探测网络已部署,预计5年内发回首批系外行星详细数据\n
\n
\n 003\n 深空辐射防护技术解决了长期太空旅行的最大生物学障碍\n
\n
\n 004\n 月球永久基地将成为人类迈向火星与更远星系的跳板\n
\n
\n
\n \"QR\n
扫描接入星际探索实时数据网络
\n
\n
\n 编辑笔记: 本报道基于最新深空探索计划发布的官方数据。部分预测基于当前技术发展曲线,实际进展可能因政治或资金因素有所调整。\n
\n
', '', '采用未来科技风格设计,呈现高度发达的数字界面美学。背景必须使用深蓝或纯黑,配以霓虹蓝、电子紫等高饱和度荧光色。排版应模拟高科技显示界面,使用等宽字体如Space Mono,添加数据可视化元素如图表、网格和代码片段。装饰元素包括科技感线条、HUD界面框架和全息投影效果。必须添加动态元素如扫描线、数据流动效果和微妙闪烁。可使用半透明叠加层和模糊效果创造深度。整体设计应呈现出未来感、高科技和信息密集的视觉体验,仿佛来自几十年后的界面,参考《银翼杀手2049》和《攻壳机动队》的视觉设计。', '1', '2025-04-04 14:42:37', '1', '2025-04-04 14:42:40', '0'); +INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `is_default`) VALUES (1, '红色党政风', '
\n
\n
二〇二五年七月一日
\n

新时代为民服务

\n

践行初心使命 提升服务效能

\n
\n
\n 全心全意为人民服务是我们一切工作的根本宗旨,要始终把人民放在心中最高位置。\n
\n
\n
\n 01\n 深化简政放权,推进\"最多跑一次\"改革\n
\n
\n 02\n 完善基层服务体系,打通服务群众\"最后一公里\"\n
\n
\n 03\n 强化数字赋能,建设智慧服务平台\n
\n
\n 04\n 健全监督机制,确保权力在阳光下运行\n
\n
\n
\n \"QR\n
扫码进入便民服务直通车
\n
\n
\n 重要通知: 本年度将全面推进服务型建设,欢迎广大群众监督并提出宝贵意见建议,共同推动服务工作提质增效。\n
\n
', '', '采用党政风格设计,体现庄重典雅与为民服务的特质。使用浅红色背景,配以党政标准色调如正红、米白和浅灰。排版应规整大气,使用传统中文排版元素,与普通政务风格相比更具文化底蕴。字体选择宋体或仿宋等衬线字体,字重适中确保正式感。装饰元素应体现传统文化特色,使用五角星、红色圆形徽章等元素。内容区块采用对称布局,参考党政刊物和红色宣传品的版式设计。整体设计应呈现出庄重、温暖且富有文化底蕴的特质,平衡权威性与亲和力,体现\"以人民为中心\"的服务理念。', NULL, NULL, NULL, NULL, '0', '1'); +INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `is_default`) VALUES (2, '淡雅政务风', '
\n
\n
2025年5月15日
\n

政务服务优化

\n

推动便民利企服务高质量发展

\n
\n
\n 坚持以人民为中心的发展思想,持续深化\"放管服\"改革,打造高效、透明、便民的政务服务体系。\n
\n
\n
\n 一\n 推进\"一网通办\",实现政务服务事项全程网上办理\n
\n
\n 二\n 优化审批流程,压缩办理时限,提升服务效率\n
\n
\n 三\n 加强政务公开,保障群众知情权、参与权、监督权\n
\n
\n 四\n 完善投诉反馈机制,及时解决群众反映的问题\n
\n
\n
\n \"QR\n
扫描二维码,进入政务服务网上大厅
\n
\n
\n 政务公告: 本年度将继续推进政务服务标准化规范化便利化建设,欢迎广大市民群众监督并提出宝贵意见。\n
\n
', '', '采用政务风格设计,体现政府文件的权威性与亲民服务的平衡。使用浅灰背景,配以政务标准色调如深蓝、浅灰和米白。排版应规整有序,使用大量留白保持清晰可读性,但与公文不同,应加入适度亲和元素。字体选择标准无衬线字体如微软雅黑或思源黑体,字重适中确保易读性。装饰元素应精简但体现正式感,可使用传统政务元素如徽章、双分隔线和编号圆点。内容区块采用清晰分隔,参考政府公报和政务公开栏目的版式设计。整体设计应呈现出庄重、清晰且亲民的政务特质,平衡权威性与服务性,参考国务院公报和省级政府门户网站的视觉规范。', NULL, NULL, NULL, NULL, '0', '0'); +INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `is_default`) VALUES (3, '新表现主义风格', '
\n
\n
2025年03月28日
\n

黑胶复兴

\n

模拟声音的回归,旧时代技术在数字世界中的意外胜利

\n \n
\n
\n 在完美无瑕的数字音频中,我们失去了音乐的灵魂;而在黑胶唱片的噼啪声中,我们重新找到了它。\n
\n
\n \n
\n
\n 1\n
触觉体验:黑胶唱片提供了一种物理仪式感,从挑选唱片到放上唱盘的每一步都是体验的一部分
\n
\n
\n 2\n
温暖声学:模拟录制的非线性特性创造出数字完美主义无法复制的声音质感
\n
\n
\n 3\n
艺术载体:12英寸唱片封面成为视觉艺术的重要媒介,许多经典专辑因其封面设计而被铭记
\n
\n
\n 4\n
慢听革命:黑胶体验鼓励人们完整聆听一张专辑,抵抗流媒体时代的碎片化消费
\n
\n
\n \n
\n \"QR\n
扫码探索珍稀黑胶唱片收藏
\n
\n \n
\n 编辑笔记:黑胶唱片的复兴超越了单纯的怀旧,它代表了人们对实体音乐体验的渴望与反抗。在数字极简主义主导的今天,这种\"不完美\"的媒介正在成为艺术真实性的象征。\n
\n
\n
', '', '采用新表现主义风格设计,体现80年代艺术运动的原始能量和情感表达。色彩应强烈且不协调,使用原始、未经调和的色彩组合,可包含泼溅和涂抹效果。排版应富有表现力且不规则,使用手写或笔刷字体,文字可被部分遮挡或融入背景。线条必须粗犷且富有动感,展现明显的笔触和手工感。图像应被重新诠释,可添加涂鸦、划痕或重绘效果。装饰元素应看似随意但富有象征性,如原始符号、面具图案或抽象人物。整体设计应呈现出强烈的情感张力和原始能量,仿佛一幅由情感驱动的表现主义画作,参考Jean-Michel Basquiat和Georg Baselitz的作品风格。', NULL, NULL, NULL, NULL, '0', '0'); +INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `is_default`) VALUES (4, '波普艺术风格', '
\n
\n
\n
\n
\n
2025年6月15日
\n
\n
VIRAL!
\n

网红经济

\n
网红经济
\n
\n

社交媒体如何彻底改变了我们的消费方式、审美标准与名人文化

\n
\n

\"在这个时代,每个人都有15分钟的成名机会,但网红们用算法延长了这个时间到无限!\"

\n
\n
\n
\n
1
\n
信任营销:相比传统广告,76%的消费者更相信真实人物的产品推荐
\n
\n
\n
2
\n
微网红崛起:专注小众领域的内容创作者正获得比大网红更高的互动率
\n
\n
\n
3
\n
真实性危机:完美人设背后,创作者身份与现实生活的严重割裂导致心理健康问题
\n
\n
\n
4
\n
算法控制:平台推荐机制决定了谁能出名,创作者如何迎合算法成为成功关键
\n
\n
\n
\n
\n \"QR\n
\n
扫码关注我们的爆款网红推荐
\n
\n
\n 网红经济不仅创造了全新的职业,更重塑了整个市场营销生态。当每个人都能成为媒体时,影响力成为新的货币,而真实性则成为最稀缺的资源。\n
\n
\n
', '', '采用波普艺术风格设计,重现60年代艺术运动的大胆美学。必须使用亮丽原色(红、黄、蓝)和黑色轮廓线,色彩应平面且不含渐变。排版应大胆且戏剧化,使用漫画风格字体和夸张的感叹词,文字可放置在对话气泡中。图像处理是关键,应使用半调网点(Halftone)效果模拟印刷,将图像简化为点阵和色块。装饰元素应包含漫画风格的线条、爆炸形状和拟声词。可使用重复图案和网格排列增强视觉冲击。整体设计应呈现出鲜明、直接且充满流行文化引用的视觉效果,仿佛一页来自60年代漫画或安迪·沃霍尔的艺术作品,参考Roy Lichtenstein的绘画和经典漫画书的视觉语言。', NULL, NULL, NULL, NULL, '0', '0'); +INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `is_default`) VALUES (5, '极简主义风格', '
\n
2025.05.18
\n

摄影的艺术

\n

光影与构图的永恒魅力

\n
\n
\n \"摄影不仅是捕捉瞬间,而是创造永恒。\"\n
\n
\n
\n 01\n 摄影是光影的艺术,掌握光线是创作好照片的关键\n
\n
\n 02\n 构图是视觉语言,通过空间关系传达情感与故事\n
\n
\n 03\n 数码技术改变了摄影工具,但不改变摄影的本质\n
\n
\n 04\n 真正的摄影眼光将在视觉饱和的时代成为宝贵能力\n
\n
\n
\n \"QR\n
扫描二维码,获取更多摄影技巧
\n
\n
\n 编辑笔记: 在图像泛滥的数字时代,摄影的形式在变,但作为记录与表达的方式,其艺术本质不变。\n
\n
', '', '采用极简主义风格设计,遵循\"少即是多\"的理念。使用大量留白创造呼吸空间,仅保留最必要的元素。配色方案限制在2-3种中性色,主要为白色背景配以黑色或深灰色文字。排版应精确到像素级别,使用精心设计的网格系统和黄金比例。字体选择无衬线字体如Helvetica或Noto Sans,字重变化作为主要层次手段。装饰元素几乎为零,仅使用极细的分隔线和微妙的阴影。整体设计应呈现出克制、优雅且永恒的美学,让内容本身成为焦点。参考Dieter Rams的设计原则和日本无印良品(MUJI)的产品美学。', NULL, NULL, NULL, NULL, '0', '0'); +INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `is_default`) VALUES (6, '优雅复古\n', '
\n
\n
\n
\n
\n
\n
Le 15 Avril, 2025
\n

古典音乐的复兴

\n

在数字时代,巴赫、莫扎特与贝多芬的永恒旋律重获新生

\n
\n
\n 古典音乐不是过去的遗物,而是人类灵魂深处永恒的共鸣,跨越时空与文化的界限。\n
\n
\n
\n ※\n 古典音乐与现代聆听:流媒体平台革命性地改变了年轻一代接触古典音乐的方式\n
\n
\n ※\n 数字化保存:高保真技术让历史录音重获新生,填补音乐史的空白\n
\n
\n ※\n 跨界融合:古典元素在电影、游戏与流行音乐中的创新应用\n
\n
\n ※\n 音乐教育的变革:虚拟现实和交互式应用为古典音乐普及带来新机遇\n
\n
\n
\n \"QR\n
扫描二维码,聆听精选古典音乐集
\n
\n
\n 编辑笔记: 在这个快节奏的数字时代,古典音乐以其深度与复杂性,为我们提供了一种珍贵的沉浸式体验,让我们能够暂时脱离浮躁,回归内心的宁静。\n
\n
', '', '采用优雅复古风格设计,重现20世纪初期印刷品的精致美学。使用米色或淡黄色纸张质感背景,配以深棕、暗红等老式印刷色。字体必须使用衬线字体如Baskerville或Noto Serif,标题可使用装饰性字体。排版应对称且庄重,遵循传统书籍设计原则。装饰元素包括精致的花纹边框、古典分隔线和角落装饰,可添加轻微做旧效果如纸张纹理和微妙污点。图像应用复古滤镜处理,呈现褪色照片效果。整体设计应散发出典雅、成熟且历经时间考验的气质,参考The New Yorker和老式法国时尚杂志的设计语言。', NULL, NULL, NULL, NULL, '0', '0'); +INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `is_default`) VALUES (7, '大胆现代', '
\n
15 JULY 2025
\n

城市重构

\n

新型建筑正在重塑城市景观,打造更具可持续性与人文关怀的未来生活空间

\n
\n
\n \"未来的城市不仅是由玻璃、钢铁和混凝土构成的,更应该是由社区、生态和创新精神塑造的有机体。\"\n
\n
\n
\n 01\n 垂直森林:建筑外立面融合大量植被,每栋建筑成为碳吸收器和生物多样性中心\n
\n
\n 02\n 模块化设计:可重配置的建筑系统使空间根据需求灵活变化,减少资源浪费\n
\n
\n 03\n 智能材料:自修复混凝土和光伏玻璃等材料革命性地改变建筑能耗与寿命\n
\n
\n 04\n 社区导向:建筑设计重新聚焦于创造有意义的公共空间,促进人际互动\n
\n
\n
\n \"QR\n
扫描二维码,探索全球创新建筑案例
\n
\n
\n EDITOR\'S NOTE: 现代建筑正走向一个关键转折点,从单纯追求形式美学转向整合生态系统、人文关怀与技术创新的综合解决方案。\n
\n
', '', '采用大胆现代风格设计,打破传统排版规则,创造强烈视觉冲击。使用鲜艳对比色如荧光粉、电子蓝、亮黄等,背景可使用深色或鲜艳色块。排版应不对称且动态,标题文字极大(至少60px),可使用极粗字重或压缩字体,甚至允许文字重叠和溢出。图形元素应用几何形状,边缘锐利,可添加不规则裁切效果。层次感通过大小、颜色和位置的极端对比创造。整体设计应充满张力和活力,像一张视觉宣言,参考Wired杂志和Pentagram设计工作室的作品。添加微妙动效如悬停放大或颜色变换,增强现代感。', NULL, NULL, NULL, NULL, '0', '0'); +INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `is_default`) VALUES (8, '日式极简\n', '
\n
\n
2025年5月17日
\n
\n
\n

茶道之美

\n
\n

一碗茶,一方宇宙,茶道中蕴含的东方生活美学与哲思

\n
\n 茶道不只是饮茶仪式,更是对和、敬、清、寂四大原则的生活实践。\n
\n
\n
\n 待客之心:茶室中每一个动作,每一处设计都体现对客人的至高敬意\n
\n
\n 四季感知:茶道仪式随季节变化而调整,体现与自然和谐共处的理念\n
\n
\n 珍视瞬间:茶道秉持\"一期一会\"精神,视每次相聚为人生独特相遇\n
\n
\n 留白之美:茶室布置的极简与留白,是对内心平静的物理表达\n
\n
\n
\n \"QR\n
扫描二维码,探索更多日本传统美学
\n
\n
\n 編集者注: 在这个快节奏的现代社会,茶道所蕴含的慢生活哲学,为我们提供了一种回归本真、寻找内心平静的方式。\n
\n
\n
', '', '采用日式极简风格设计,体现\"侘寂\"(Wabi-Sabi)美学——接受不完美、无常与不完整的哲学。使用极度克制的色彩,主要为白、灰、黑和淡墨色。留白(Ma)是核心元素,至少70%的设计应为空白,创造宁静感。排版应非对称且垂直,可使用垂直书写模式,体现日本传统排版。字体应极度简约,笔画轻盈。装饰元素几乎为零,但可添加一处墨迹、简单印章或单一线条作为点睛之笔。整体设计应呈现出深度宁静、精致且富有禅意的视觉体验,仿佛一页来自京都寺院的书页,参考原研哉的MUJI设计理念和日本传统水墨画的留白美学', NULL, NULL, NULL, NULL, '0', '0'); +INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `is_default`) VALUES (9, '赛博朋克风格', '
\n
\n
03.09.2025 :: RENDER_LOG
\n

\n
\n
沉浸式艺术
\n
\n

\n

数字技术正在重塑艺术创作与体验的边界,建立物理与虚拟世界之间的无缝连接

\n
\n
\n \"当代艺术已不再局限于观看,而是成为一种全身心参与的多感官体验;技术不只是工具,更是创作的共同体。\"\n
\n
\n
\n 01\n 生成式艺术:AI算法已从辅助工具发展为独立创作者,挑战我们对原创性与创造力的理解\n
\n
\n 02\n 物理-数字混合:增强现实技术使艺术装置可以同时存在于物理空间和数字领域,创造多层次叙事\n
\n
\n 03\n 神经反馈:新一代沉浸式作品可读取观众脑电波,实时调整内容以优化情感体验\n
\n
\n 04\n 非永久性艺术:数字作品的短暂性和动态性正挑战艺术保存的传统理念,强调体验而非收藏\n
\n
\n
\n \"QR\n
扫码进入虚拟展览,体验最前沿沉浸式艺术作品
\n
\n
\n 数字艺术生态正在迅速演变,技术与创意的融合不仅创造了前所未有的表达形式,也重新定义了艺术与观众、艺术与社会的关系。在这个新兴领域,体验已成为作品的核心。\n
\n
', '', '采用赛博朋克风格设计,体现\"高科技,低生活\"的反乌托邦美学。背景必须为深色(黑色或深蓝),配以霓虹色彩如荧光粉、电子蓝和酸性绿,创造夜间都市氛围。排版应模拟故障效果,使用像素化字体或未来感等宽字体,添加字符错位、扫描线和数字噪点。装饰元素必须包含科技界面、数据流、电路板图案和全息投影效果。必须添加故障艺术(Glitch Art)效果如RGB分离、数据损坏和画面撕裂。图像应高对比且添加霓虹光效,模拟雨夜霓虹灯反射。整体设计应呈现出未来主义与复古科技的混搭,营造一种数字化衰败的氛围,参考《银翼杀手》、《神经漫游者》和《赛博朋克2077》的视觉语言。', NULL, NULL, NULL, NULL, '0', '0'); +INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `is_default`) VALUES (10, '瑞士国际主义风格的解构版', '
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
17.08.2025
\n
\n

字体革命

\n
字体革命
\n
\n

在数字时代,字体设计如何突破传统边界,重新定义可读性与表现力的平衡

\n
\n
\n
\n
\n \"字体不仅是内容的载体,更是信息本身的一部分;它以无声的方式塑造我们的阅读体验与情感反应。\"\n
\n
\n
\n
\n
01
\n
可变字体技术:单一字体文件可实现无限权重变化,为设计师提供前所未有的精细控制
\n
\n
\n
02
\n
屏幕优化:新一代数字字体通过亚像素渲染技术,解决了高分辨率显示器上的清晰度挑战
\n
\n
\n
03
\n
多语言兼容:字体设计正在拥抱全球化,单一字体系统可支持多达十几种文字系统
\n
\n
\n
04
\n
表情符号演变:从简单图标到复杂表情系统,它们已成为现代字体设计中不可或缺的部分
\n
\n
\n
\n \"QR\n
扫描探索当代最具创新性的字体设计
\n
\n
\n 编辑笔记: 字体设计正处于历史性转折点,数字工具与多屏阅读体验正推动这门古老艺术形式进入全新时代。设计师不再只关注形式美学,更需思考跨平台、跨文化的视觉语言建构。\n
\n
', '', '采用瑞士国际主义风格的解构版设计,在严格网格系统的基础上进行有意识的破坏和重组。排版应基于经典瑞士网格,但故意打破和扭曲,文字可越过栏格、重叠或被切割。色彩应保持瑞士风格的克制,主要使用黑白,但可添加一两种鲜艳原色作为点缀。字体必须使用无衬线几何字体如Helvetica或Akzidenz-Grotesk,但可通过极端的字重、间距和大小变化创造张力。图像应高对比且可被解构或重组。装饰元素几乎为零,但可使用解构的网格线和参考点。整体设计应呈现出理性与叛逆并存的视觉效果,像是经典瑞士设计被有意识地挑战和重新诠释,参考Wolfgang Weingart和April Greiman的实验性作品。', NULL, NULL, NULL, NULL, '0', '0'); +INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `is_default`) VALUES (11, '新未来主义', '
\n
\n
\n \n
\n
2025.09.21
\n \n
\n

星际探索

\n

当代太空技术正在重新定义人类的边界,开启多行星文明的新篇章

\n
\n \n
\n
\n 宇宙不仅比我们想象的更奇异,甚至比我们能够想象的还要奇异。探索太空不只是关于发现新世界,更是重新认识我们自己。\n
\n
\n \n
\n
\n
01
\n
可重复使用火箭:航天发射成本降低90%,开启太空旅行的商业化时代
\n
\n
\n
02
\n
月球基地建设:国际联合计划已进入实质性阶段,首个永久前哨将于2030年建成
\n
\n
\n
03
\n
深空通信网络:量子纠缠技术突破将实现与火星探测器的即时通信
\n
\n
\n
04
\n
小行星采矿:近地轨道资源开发预计将在2035年实现商业化,创造万亿级市场
\n
\n
\n \n
\n \"QR\n
扫描观看最新太空任务实时数据与高清图像
\n
\n \n
\n 编辑注释:太空探索已从政府主导的国家项目转变为公私合作的产业生态。这一转变不仅加速了技术创新,也正在为地球资源、能源与环境危机提供潜在解决方案。\n
\n
\n
', '', '采用新未来主义风格设计,体现当代建筑和产品设计中的前沿美学。形态应强调流线型曲线和有机几何形状,避免直角和静态形式。色彩应使用金属色调如银色、钛白和铬黄,配以一两种高饱和度的强调色。材质表现是关键,应模拟高科技材料如拉丝金属、碳纤维和磨砂玻璃。排版应动态且流畅,使用现代无衬线字体,可沿曲线排列或呈放射状。装饰元素应包含参数化生成的图案、流体动力学形态和仿生学结构。整体设计应呈现出高度发达的技术美学和动态感,仿佛来自近未来的高端产品,参考扎哈·哈迪德的建筑、特斯拉Cybertruck和Apple产品的设计语言', NULL, NULL, NULL, NULL, '0', '0'); +INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `is_default`) VALUES (12, '超现实主义数字拼贴风格', '
\n
\n
\n
\n
RÉALITÉ • 17 JUIN 2025
\n
\n

数字身份的迷宫

\n

在社交媒体的万花筒中,我们的自我变成了一系列精心策划的数字碎片

\n
\n
\n
\n \"我们创造了数字化的第二自我,它既是我们的延伸,又是我们的囚笼;既是真实的表达,又是精心构建的幻象。\"\n
\n
\n
\n
\n
数字拼贴:现代人的身份已成为多平台角色的复合体,每个平台展现不同的自我片段
\n
\n
\n
算法回音室:我们所见的内容塑造着我们的认知,而我们的行为又强化着算法的预测
\n
\n
\n
真实与表演的融合:在持续的公开展示中,表演逐渐成为真实,界限被永久模糊
\n
\n
\n
集体孤独:我们从未如此紧密连接,却同时经历着新形式的社交隔离与疏离
\n
\n
\n
\n \"QR\n
扫描进入一场关于数字身份的沉浸式体验
\n
\n
\n ÉDITORIAL:\n 社交媒体已不仅是我们使用的工具,更成为塑造我们思维与互动方式的环境。理解这种新现实的超现实性质,是我们在数字时代保持真实与连接的关键。\n
\n
', '', '采用超现实主义数字拼贴风格设计,创造梦境般的视觉叙事。图像处理是核心,应组合不相关元素创造意外联系,如古典雕塑与现代电子产品、自然元素与几何形状。比例应故意失调,创造视觉张力。色彩可使用梦幻般的组合,如暖日落色调或冷月光色调,添加轻微的色偏。排版应融入拼贴中,文字可环绕物体、穿过图像或成为构图的一部分。装饰元素应包含超现实符号如悬浮物体、不可能的建筑、变形的人物或动物。可添加微妙的阴影和光效增强立体感。整体设计应呈现出一种介于现实与梦境之间的视觉体验,引发观者的想象和潜意识联想,参考René Magritte的绘画和现代数字艺术家如Justin Peters的作品。', NULL, NULL, NULL, NULL, '0', '0'); +INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `is_default`) VALUES (13, '新巴洛克数字风格', '
\n
\n
\n
\n
\n
\n \n
\n
LE XVII AOÛT • ANNO DOMINI MMXXIV
\n
✧ ✦ ✧
\n

交响盛宴

\n

古典音乐的永恒华彩,在当代世界中绽放出永不褪色的光辉

\n \n
\n \n
\n \"交响乐不仅是音符的组合,更是人类情感的建筑;每一个乐章如同巴洛克宫殿的厅堂,宏伟、精致且充满戏剧性。\"\n
\n \n
\n
\n
管弦乐团正在经历数字化复兴,通过沉浸式技术与全息投影,为古典音乐带来革命性的聆听体验
\n
\n
\n
巴洛克音乐的复杂对位法与华丽装饰音,成为当代作曲家重新探索的灵感源泉,影响着电影配乐与游戏音乐
\n
\n
\n
年轻指挥家正在打破传统界限,将古典作品与现代元素融合,吸引新一代观众走进音乐厅
\n
\n
\n
高分辨率音频技术使巴赫、亨德尔与维瓦尔第的作品呈现出前所未有的细节与层次,重现巴洛克音乐的精髓
\n
\n
\n \n
\n
\n
HARMONIA MUNDI
\n \"QR\n
扫描聆听精选巴洛克音乐杰作
\n
\n
\n \n
\n MAESTRO\'S NOTE:\n 古典音乐的魅力在于它超越了时间的限制。几个世纪前的作品至今仍能唤起深刻的共鸣,提醒我们艺术的永恒价值。在这个快节奏的数字时代,交响乐团提供了一种珍贵的共同体验,让我们暂时脱离碎片化的现代生活。\n
\n
\n
', '', '采用新巴洛克数字风格设计,将17世纪的华丽美学重新诠释为数字形式。装饰是核心元素,应使用极其丰富的数字化巴洛克花纹、卷轴和浮雕效果,每个角落都应有精致细节。色彩应奢华且戏剧性,主要使用金色、深红、皇家蓝和黑色,可添加金属光泽和渐变效果。排版应华丽且层次丰富,使用装饰性强的衬线字体,可添加花体字母和装饰性首字母。图像应添加华丽框架和装饰性边缘。光影效果是关键,应创造强烈的明暗对比,模拟巴洛克绘画的戏剧性光效。整体设计应呈现出极度奢华、复杂且充满戏剧性的视觉体验,仿佛数字时代的凡尔赛宫,参考巴洛克艺术大师如鲁本斯的作品和现代奢侈品牌的视觉语言。', NULL, NULL, NULL, NULL, '0', '0'); +INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `is_default`) VALUES (15, '斯堪的纳维亚风格', '
\n
\n
Juni 20, 2025
\n

可持续设计

\n

如何通过设计创造更环保的未来

\n
\n
\n 优秀的设计不只是看起来美观,更应该对地球和人类的未来负责。\n
\n
\n
\n 1\n 可循环材料:选择可生物降解或可完全回收的材料是可持续设计的基础\n
\n
\n 2\n 长久耐用:设计应超越短暂流行,创造能经受时间考验的产品\n
\n
\n 3\n 节能生产:优化制造流程,减少能源消耗和碳排放\n
\n
\n 4\n 全生命周期:考虑产品从原材料到废弃处理的完整环境影响\n
\n
\n
\n \"QR\n
扫描二维码,了解更多可持续设计案例
\n
\n
\n 编辑手记: 在资源有限的世界里,可持续设计不再是选择而是必需。北欧设计一直引领这一理念,将简约美学与环保责任完美结合。\n
\n
', '', '采用斯堪的纳维亚风格设计,体现北欧设计的简约与功能美学。使用纯白背景,配以特定的北欧色调如淡蓝、浅灰、原木色和淡粉。排版应极度克制且有序,使用大量留白,但与极简主义不同,应加入温暖质感。字体选择无衬线几何字体如Futura或Circular,字重轻盈。装饰元素应极少但精心选择,可使用简单几何图案如三角形和线条,参考马勒维奇的构成主义。图像应明亮、简洁且自然。整体设计应呈现出清爽、实用且温暖的北欧特质,平衡美学与功能性,参考Kinfolk杂志和丹麦设计品牌HAY的产品美学。', NULL, NULL, NULL, NULL, '0', '0'); +INSERT INTO `ai_poster` (`id`, `template_name`, `template_code`, `template_css`, `template_style`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `is_default`) VALUES (16, '未来科技风格', '
\n
2025.03.21
\n

深空探索

\n

人类文明跨越星际的下一步

\n
\n
\n \"我们在地球上的存在只是宇宙意识的短暂火花,深空探索是延续这火花的唯一希望。\"\n
\n
\n
\n 001\n 量子引擎突破光速限制的理论基础已初步验证,星际旅行不再是科幻\n
\n
\n 002\n 近星系人工智能探测网络已部署,预计5年内发回首批系外行星详细数据\n
\n
\n 003\n 深空辐射防护技术解决了长期太空旅行的最大生物学障碍\n
\n
\n 004\n 月球永久基地将成为人类迈向火星与更远星系的跳板\n
\n
\n
\n \"QR\n
扫描接入星际探索实时数据网络
\n
\n
\n 编辑笔记: 本报道基于最新深空探索计划发布的官方数据。部分预测基于当前技术发展曲线,实际进展可能因政治或资金因素有所调整。\n
\n
', '', '采用未来科技风格设计,呈现高度发达的数字界面美学。背景必须使用深蓝或纯黑,配以霓虹蓝、电子紫等高饱和度荧光色。排版应模拟高科技显示界面,使用等宽字体如Space Mono,添加数据可视化元素如图表、网格和代码片段。装饰元素包括科技感线条、HUD界面框架和全息投影效果。必须添加动态元素如扫描线、数据流动效果和微妙闪烁。可使用半透明叠加层和模糊效果创造深度。整体设计应呈现出未来感、高科技和信息密集的视觉体验,仿佛来自几十年后的界面,参考《银翼杀手2049》和《攻壳机动队》的视觉设计。', '1', '2025-04-04 14:42:37', '1', '2025-04-04 14:42:40', '0', '0'); COMMIT; -- ---------------------------- @@ -3723,6 +3760,7 @@ CREATE TABLE `ai_material_log` ( `update_time` datetime DEFAULT NULL COMMENT '更新时间', `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标记', `material_status` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '资源状态', + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='AI资源记录'; @@ -3741,6 +3779,7 @@ CREATE TABLE `ai_report_conf` ( `create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `update_by` datetime DEFAULT NULL, `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='AI 报告'; @@ -3751,6 +3790,7 @@ DROP TABLE IF EXISTS `ai_dataset_user`; CREATE TABLE `ai_dataset_user` ( `dataset_id` bigint NOT NULL COMMENT '知识库ID', `user_id` bigint NOT NULL COMMENT '用户ID', + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`dataset_id`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='知识库用户权限'; @@ -3769,7 +3809,8 @@ CREATE TABLE `ai_document_template` ( `update_time` datetime DEFAULT NULL, `create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, - `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL + `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='AI公文模板'; DROP TABLE IF EXISTS `ai_datasource`; @@ -3923,7 +3964,6 @@ CREATE TABLE `ai_proofread_check_dimension` ( `update_time` datetime DEFAULT NULL COMMENT '更新时间', `create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人', `update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人', - `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`id`), UNIQUE KEY `uk_ai_proofread_check_dimension_code` (`code`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='AI校对检查维度'; @@ -3932,69 +3972,69 @@ CREATE TABLE `ai_proofread_check_dimension` ( -- Records of ai_proofread_check_dimension -- ---------------------------- BEGIN; -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (1, 'DEEP_CORRECTION', '深度纠错', 'DEEP_CORRECTION', NULL, 1, '深度纠错专项,包括标点符号、基础质量、政治表述等专项纠错能力。', 1, 1, '1', '0', NULL, '2025-12-15 13:33:39', NULL, 'admin', 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (2, 'BASIC_QUALITY', '基础质量', 'BASIC_QUALITY', NULL, 1, '对稿件中的错别字、语法/句法错误、常识错误和生僻字进行识别和提示。', 1, 2, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (3, 'IDEOLOGY', '意识形态', 'IDEOLOGY', NULL, 1, '对稿件中存在的意识形态相关内容进行识别和提示。', 1, 3, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (4, 'SAFETY_COMPLIANCE', '安全合规', 'SAFETY_COMPLIANCE', NULL, 1, '对稿件中存在的违规负面信息、涉政信息、个人隐私信息进行识别和提示。', 1, 4, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (5, 'DEEP_PUNCTUATION', '标点符号纠错', 'DEEP_CORRECTION', 'DEEP_CORRECTION', 2, '识别标点使用问题,避免歧义,提升文本准确性。', 1, 1, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (6, 'DEEP_BASIC_QUALITY', '基础质量纠错', 'DEEP_CORRECTION', 'DEEP_CORRECTION', 2, '识别错别字及误用词语,规范表达,提升文本质量。', 1, 0, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (7, 'DEEP_POLITICAL_EXPRESSION', '政治表述校对', 'DEEP_CORRECTION', 'IDEOLOGY', 2, '校对政治表述问题,包括表述不规范、顺序错误等。', 1, 0, '1', '0', NULL, '2025-12-15 13:33:19', NULL, 'admin', 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (8, 'BASIC_TYPO', '错别字', 'BASIC_QUALITY', 'BASIC_QUALITY', 2, '识别稿件中的错别字问题。', 1, 0, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (9, 'BASIC_GRAMMAR', '语法/句法错误', 'BASIC_QUALITY', 'BASIC_QUALITY', 2, '识别稿件中的语法和句法错误。', 1, 1, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (10, 'BASIC_COMMON_SENSE', '常识错误', 'BASIC_QUALITY', 'BASIC_QUALITY', 2, '识别稿件中的常识性错误。', 1, 2, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (11, 'BASIC_TYPO_PHONETIC_SHAPE', '音/形相似错误', 'BASIC_QUALITY', 'BASIC_TYPO', 3, '因为汉字的发音或形状相似而导致的错别字。', 1, 0, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (12, 'BASIC_TYPO_PUNCTUATION', '标点符号错误', 'BASIC_QUALITY', 'BASIC_TYPO', 3, '标点符号使用不正确或位置不当,导致句子意思不明确或语法错误。', 1, 1, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (13, 'BASIC_TYPO_DE_DI_DE', '“的、地、得”使用错误', 'BASIC_QUALITY', 'BASIC_TYPO', 3, '“的、地、得”三者使用不当或混淆所产生的错误。', 1, 2, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (14, 'BASIC_GRAMMAR_WORDING', '用词不当/语法错误', 'BASIC_QUALITY', 'BASIC_GRAMMAR', 3, '包括拼写错误、用词不当、语法结构错误等。', 1, 0, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (15, 'BASIC_GRAMMAR_COLLOCATION', '搭配不当错误', 'BASIC_QUALITY', 'BASIC_GRAMMAR', 3, '词语之间搭配不当导致语法、语义或逻辑上的错误。', 1, 1, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (16, 'BASIC_GRAMMAR_SENTENCE', '常见句法错误', 'BASIC_QUALITY', 'BASIC_GRAMMAR', 3, '如主谓不一致、语序错误、代词使用不当等句子结构问题。', 1, 2, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (17, 'BASIC_COMMON_SENSE_PLACE', '常见地名错误', 'BASIC_QUALITY', 'BASIC_COMMON_SENSE', 3, '常见地名出现了名称错误或书写不规范。', 1, 0, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (18, 'BASIC_COMMON_SENSE_REPEAT_SENTENCE', '句子重复错误', 'BASIC_QUALITY', 'BASIC_COMMON_SENSE', 3, '同一句子在文章或段落中重复出现的错误。', 1, 1, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (19, 'IDEOLOGY_LEADERS', '领导干部相关', 'IDEOLOGY', 'IDEOLOGY', 2, '与领导干部及其相关表述规范有关的内容。', 1, 0, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (20, 'IDEOLOGY_FALLEN_OFFICIAL', '落马官员', 'IDEOLOGY', 'IDEOLOGY', 2, '与已被立案调查、审查或起诉的落马官员相关的内容。', 1, 1, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (21, 'IDEOLOGY_EXPRESSION', '表述错误/表述建议', 'IDEOLOGY', 'IDEOLOGY', 2, '涉及意识形态相关表述是否准确、规范及其优化建议。', 1, 2, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (22, 'IDEOLOGY_LEADER_ORDER', '领导人排序', 'IDEOLOGY', 'IDEOLOGY_LEADERS', 3, '检测稿件中的领导人名字顺序是否规范、合理。', 1, 0, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (23, 'IDEOLOGY_LEADER_POSITION_ORDER', '领导人职务排序', 'IDEOLOGY', 'IDEOLOGY_LEADERS', 3, '检测稿件中同一领导人的多个职务顺序是否正确。', 1, 1, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (24, 'IDEOLOGY_LEADER_TITLE_INCONSISTENT', '领导人称谓不一致', 'IDEOLOGY', 'IDEOLOGY_LEADERS', 3, '检测稿件中同一领导人称谓前后是否存在不一致情况。', 1, 2, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (25, 'IDEOLOGY_LEADER_TITLE_ERROR', '领导人职称错误', 'IDEOLOGY', 'IDEOLOGY_LEADERS', 3, '对某个领导人的职称信息描述或称呼错误。', 1, 3, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (26, 'IDEOLOGY_LEADER_NEGATIVE', '领导人负面内容', 'IDEOLOGY', 'IDEOLOGY_LEADERS', 3, '关于领导人的不准确、诋毁等负面内容。', 1, 4, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (27, 'IDEOLOGY_LEADER_THOUGHT', '领导人思想表述', 'IDEOLOGY', 'IDEOLOGY_LEADERS', 3, '与领导人思想表述相关的内容是否符合规范表述。', 1, 5, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (28, 'IDEOLOGY_LEADER_NAME_RELATED', '领导干部名称相关', 'IDEOLOGY', 'IDEOLOGY_LEADERS', 3, '检测与核心领导人、省部级以上干部名称相关的内容。', 1, 6, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (29, 'IDEOLOGY_HKMO_TAIWAN_CHIEF_EXEC', '港澳台特首', 'IDEOLOGY', 'IDEOLOGY_LEADERS', 3, '与香港、澳门、台湾特首相关的信息表述。', 1, 7, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (30, 'IDEOLOGY_FALLEN_OFFICIAL_CASE', '落马官员', 'IDEOLOGY', 'IDEOLOGY_FALLEN_OFFICIAL', 3, '被政府或有关部门立案调查、审查或起诉的涉嫌违法犯罪的省部级官员相关内容。', 1, 0, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (31, 'IDEOLOGY_EXPR_COMMON_ERROR', '常见表述错误', 'IDEOLOGY', 'IDEOLOGY_EXPRESSION', 3, '在阐述某一思想或观点时出现的不准确表述问题。', 1, 0, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (32, 'IDEOLOGY_EXPR_AUTHORITY_SUGGEST', '权威表述建议', 'IDEOLOGY', 'IDEOLOGY_EXPRESSION', 3, '对某一思想或观点的表达方式提出权威、规范的改进建议。', 1, 1, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (33, 'IDEOLOGY_EXPR_HKMO_TAIWAN_SOVEREIGN', '港澳台领土/主权表述建议', 'IDEOLOGY', 'IDEOLOGY_EXPRESSION', 3, '对稿件中与港澳台领土/主权相关内容的表述给出规范性建议。', 1, 2, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (34, 'IDEOLOGY_EXPR_ETHNIC_RELIGION', '民族宗教表述建议', 'IDEOLOGY', 'IDEOLOGY_EXPRESSION', 3, '对稿件中与民族、宗教相关内容的表述给出规范性建议。', 1, 3, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (35, 'IDEOLOGY_EXPR_TAG', '意识形态内容标记', 'IDEOLOGY', 'IDEOLOGY_EXPRESSION', 3, '对文中涉及意识形态相关内容进行标记和提示。', 1, 4, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (36, 'IDEOLOGY_EXPR_INTL_RELATIONS', '国际关系表述建议', 'IDEOLOGY', 'IDEOLOGY_EXPRESSION', 3, '对稿件中与国际关系相关内容的表述提出改进或规范建议。', 1, 5, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (37, 'IDEOLOGY_EXPR_CPC_THEORY', '共产党思想理论', 'IDEOLOGY', 'IDEOLOGY_EXPRESSION', 3, '涉及共产党思想理论相关的内容识别与表述规范。', 1, 6, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (38, 'IDEOLOGY_EXPR_ORG_NAME', '机构检测', 'IDEOLOGY', 'IDEOLOGY_EXPRESSION', 3, '对机构名称进行检测,判断是否规范、准确。', 1, 7, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (39, 'SAFETY_RISK', '合规风险信息', 'SAFETY_COMPLIANCE', 'SAFETY_COMPLIANCE', 2, '与违规负面信息、劣迹人物、敏感内容相关的风险信息。', 1, 0, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (40, 'SAFETY_POLITICAL', '涉政信息', 'SAFETY_COMPLIANCE', 'SAFETY_COMPLIANCE', 2, '涉国内外时事、公共政策、社会事件等相关信息。', 1, 1, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (41, 'SAFETY_PRIVACY', '个人隐私信息', 'SAFETY_COMPLIANCE', 'SAFETY_COMPLIANCE', 2, '涉及个人隐私数据泄露的相关信息。', 1, 2, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (42, 'SAFETY_RISK_BAD_ARTIST', '劣迹艺人', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '有不良行为、有争议或涉及犯罪的艺人相关内容。', 1, 0, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (43, 'SAFETY_RISK_NEGATIVE_PERSON', '负面人物', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '包括但不限于罪犯、暴力分子、极端分子等负面人物。', 1, 1, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (44, 'SAFETY_RISK_SENSITIVE_INFO', '敏感信息', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '能够引起不良情感或道德争议的敏感事件、敏感话题等内容。', 1, 2, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (45, 'SAFETY_RISK_TERROR', '暴恐', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '包含暴力、恐怖、恐吓等性质事件相关的内容。', 1, 3, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (46, 'SAFETY_RISK_PORN', '色情低俗', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '包含色情或低俗内容的部分。', 1, 4, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (47, 'SAFETY_RISK_NEGATIVE_VALUES', '负面价值观', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '传播消极、极端、错误价值观的内容。', 1, 5, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (48, 'SAFETY_RISK_CULT', '邪教', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '涉及邪教组织或传播邪教思想的内容。', 1, 6, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (49, 'SAFETY_RISK_RELIGION', '宗教', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '与宗教相关内容,需要识别其合规性与敏感性。', 1, 7, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (50, 'SAFETY_RISK_ABUSE', '攻击谩骂', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '侮辱、恶意攻击、诽谤等不良内容。', 1, 8, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (51, 'SAFETY_POLITICAL_FOREIGN_LEADER', '国外领导人', 'SAFETY_COMPLIANCE', 'SAFETY_POLITICAL', 3, '与国外政治领导人(总统、首相等)相关的信息。', 1, 0, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (52, 'SAFETY_POLITICAL_HERO_MARTYR', '英雄烈士', 'SAFETY_COMPLIANCE', 'SAFETY_POLITICAL', 3, '与英雄人物、烈士等相关的信息。', 1, 1, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (53, 'SAFETY_POLITICAL_QINGLANG', '清朗指数', 'SAFETY_COMPLIANCE', 'SAFETY_POLITICAL', 3, '涉国内外时事、公共政策、社会事件等相关信息的清朗度与风险提示。', 1, 2, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (54, 'SAFETY_PRIVACY_PHONE', '电话号码', 'SAFETY_COMPLIANCE', 'SAFETY_PRIVACY', 3, '检测稿件中是否存在暴露电话号码的内容。', 1, 0, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (55, 'SAFETY_PRIVACY_BANKCARD', '银行卡号', 'SAFETY_COMPLIANCE', 'SAFETY_PRIVACY', 3, '检测稿件中是否存在暴露银行卡号的内容。', 1, 1, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (56, 'SAFETY_PRIVACY_IDCARD', '身份证号', 'SAFETY_COMPLIANCE', 'SAFETY_PRIVACY', 3, '检测稿件中是否存在暴露身份证号的内容。', 1, 2, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (57, 'SAFETY_PRIVACY_EMAIL', '电子邮件', 'SAFETY_COMPLIANCE', 'SAFETY_PRIVACY', 3, '检测稿件中是否存在暴露电子邮件地址的内容。', 1, 3, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (58, 'CUSTOM', '自定义词库', 'CUSTOM', NULL, 1, '检测自定义词库中的词汇是否出现', 1, 0, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (59, 'CUSTOM_SENSITIVE_WORD', '敏感词', 'CUSTOM_SENSITIVE_WORD', 'CUSTOM', 2, '检测是否存在自定义敏感词', 1, 1, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (60, 'CUSTOM_LEADER', '自定义领导人相关', 'CUSTOM_LEADER', 'CUSTOM', 2, '检测是否存在自定义的领导人信息', 1, 0, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (61, 'BASIC_DATA_VALIDATION', '数据校验', 'BASIC_QUALITY', 'BASIC_QUALITY', 2, '检测文本中的测试数据、无效字符和格式错误问题。', 1, 3, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (62, 'BASIC_DATA_TEST_CHAR', '测试数据/无效字符', 'BASIC_QUALITY', 'BASIC_DATA_VALIDATION', 3, '识别文本中混入的测试数据、占位符、无意义字符(如aaa、xxx、测试、TODO等)。', 1, 0, '1', '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (63, 'BASIC_DATA_FORMAT', '格式校验', 'BASIC_QUALITY', 'BASIC_DATA_VALIDATION', 3, '检测邮箱、电话、网址等常见格式是否规范正确。', 1, 1, '1', '0', NULL, NULL, NULL, NULL, 1); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (1, 'DEEP_CORRECTION', '深度纠错', 'DEEP_CORRECTION', NULL, 1, '深度纠错专项,包括标点符号、基础质量、政治表述等专项纠错能力。', 1, 1, '1', '0', NULL, '2025-12-15 13:33:39', NULL, 'admin'); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (2, 'BASIC_QUALITY', '基础质量', 'BASIC_QUALITY', NULL, 1, '对稿件中的错别字、语法/句法错误、常识错误和生僻字进行识别和提示。', 1, 2, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (3, 'IDEOLOGY', '意识形态', 'IDEOLOGY', NULL, 1, '对稿件中存在的意识形态相关内容进行识别和提示。', 1, 3, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (4, 'SAFETY_COMPLIANCE', '安全合规', 'SAFETY_COMPLIANCE', NULL, 1, '对稿件中存在的违规负面信息、涉政信息、个人隐私信息进行识别和提示。', 1, 4, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (5, 'DEEP_PUNCTUATION', '标点符号纠错', 'DEEP_CORRECTION', 'DEEP_CORRECTION', 2, '识别标点使用问题,避免歧义,提升文本准确性。', 1, 1, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (6, 'DEEP_BASIC_QUALITY', '基础质量纠错', 'DEEP_CORRECTION', 'DEEP_CORRECTION', 2, '识别错别字及误用词语,规范表达,提升文本质量。', 1, 0, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (7, 'DEEP_POLITICAL_EXPRESSION', '政治表述校对', 'DEEP_CORRECTION', 'IDEOLOGY', 2, '校对政治表述问题,包括表述不规范、顺序错误等。', 1, 0, '1', '0', NULL, '2025-12-15 13:33:19', NULL, 'admin'); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (8, 'BASIC_TYPO', '错别字', 'BASIC_QUALITY', 'BASIC_QUALITY', 2, '识别稿件中的错别字问题。', 1, 0, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (9, 'BASIC_GRAMMAR', '语法/句法错误', 'BASIC_QUALITY', 'BASIC_QUALITY', 2, '识别稿件中的语法和句法错误。', 1, 1, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (10, 'BASIC_COMMON_SENSE', '常识错误', 'BASIC_QUALITY', 'BASIC_QUALITY', 2, '识别稿件中的常识性错误。', 1, 2, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (11, 'BASIC_TYPO_PHONETIC_SHAPE', '音/形相似错误', 'BASIC_QUALITY', 'BASIC_TYPO', 3, '因为汉字的发音或形状相似而导致的错别字。', 1, 0, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (12, 'BASIC_TYPO_PUNCTUATION', '标点符号错误', 'BASIC_QUALITY', 'BASIC_TYPO', 3, '标点符号使用不正确或位置不当,导致句子意思不明确或语法错误。', 1, 1, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (13, 'BASIC_TYPO_DE_DI_DE', '“的、地、得”使用错误', 'BASIC_QUALITY', 'BASIC_TYPO', 3, '“的、地、得”三者使用不当或混淆所产生的错误。', 1, 2, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (14, 'BASIC_GRAMMAR_WORDING', '用词不当/语法错误', 'BASIC_QUALITY', 'BASIC_GRAMMAR', 3, '包括拼写错误、用词不当、语法结构错误等。', 1, 0, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (15, 'BASIC_GRAMMAR_COLLOCATION', '搭配不当错误', 'BASIC_QUALITY', 'BASIC_GRAMMAR', 3, '词语之间搭配不当导致语法、语义或逻辑上的错误。', 1, 1, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (16, 'BASIC_GRAMMAR_SENTENCE', '常见句法错误', 'BASIC_QUALITY', 'BASIC_GRAMMAR', 3, '如主谓不一致、语序错误、代词使用不当等句子结构问题。', 1, 2, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (17, 'BASIC_COMMON_SENSE_PLACE', '常见地名错误', 'BASIC_QUALITY', 'BASIC_COMMON_SENSE', 3, '常见地名出现了名称错误或书写不规范。', 1, 0, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (18, 'BASIC_COMMON_SENSE_REPEAT_SENTENCE', '句子重复错误', 'BASIC_QUALITY', 'BASIC_COMMON_SENSE', 3, '同一句子在文章或段落中重复出现的错误。', 1, 1, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (19, 'IDEOLOGY_LEADERS', '领导干部相关', 'IDEOLOGY', 'IDEOLOGY', 2, '与领导干部及其相关表述规范有关的内容。', 1, 0, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (20, 'IDEOLOGY_FALLEN_OFFICIAL', '落马官员', 'IDEOLOGY', 'IDEOLOGY', 2, '与已被立案调查、审查或起诉的落马官员相关的内容。', 1, 1, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (21, 'IDEOLOGY_EXPRESSION', '表述错误/表述建议', 'IDEOLOGY', 'IDEOLOGY', 2, '涉及意识形态相关表述是否准确、规范及其优化建议。', 1, 2, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (22, 'IDEOLOGY_LEADER_ORDER', '领导人排序', 'IDEOLOGY', 'IDEOLOGY_LEADERS', 3, '检测稿件中的领导人名字顺序是否规范、合理。', 1, 0, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (23, 'IDEOLOGY_LEADER_POSITION_ORDER', '领导人职务排序', 'IDEOLOGY', 'IDEOLOGY_LEADERS', 3, '检测稿件中同一领导人的多个职务顺序是否正确。', 1, 1, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (24, 'IDEOLOGY_LEADER_TITLE_INCONSISTENT', '领导人称谓不一致', 'IDEOLOGY', 'IDEOLOGY_LEADERS', 3, '检测稿件中同一领导人称谓前后是否存在不一致情况。', 1, 2, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (25, 'IDEOLOGY_LEADER_TITLE_ERROR', '领导人职称错误', 'IDEOLOGY', 'IDEOLOGY_LEADERS', 3, '对某个领导人的职称信息描述或称呼错误。', 1, 3, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (26, 'IDEOLOGY_LEADER_NEGATIVE', '领导人负面内容', 'IDEOLOGY', 'IDEOLOGY_LEADERS', 3, '关于领导人的不准确、诋毁等负面内容。', 1, 4, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (27, 'IDEOLOGY_LEADER_THOUGHT', '领导人思想表述', 'IDEOLOGY', 'IDEOLOGY_LEADERS', 3, '与领导人思想表述相关的内容是否符合规范表述。', 1, 5, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (28, 'IDEOLOGY_LEADER_NAME_RELATED', '领导干部名称相关', 'IDEOLOGY', 'IDEOLOGY_LEADERS', 3, '检测与核心领导人、省部级以上干部名称相关的内容。', 1, 6, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (29, 'IDEOLOGY_HKMO_TAIWAN_CHIEF_EXEC', '港澳台特首', 'IDEOLOGY', 'IDEOLOGY_LEADERS', 3, '与香港、澳门、台湾特首相关的信息表述。', 1, 7, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (30, 'IDEOLOGY_FALLEN_OFFICIAL_CASE', '落马官员', 'IDEOLOGY', 'IDEOLOGY_FALLEN_OFFICIAL', 3, '被政府或有关部门立案调查、审查或起诉的涉嫌违法犯罪的省部级官员相关内容。', 1, 0, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (31, 'IDEOLOGY_EXPR_COMMON_ERROR', '常见表述错误', 'IDEOLOGY', 'IDEOLOGY_EXPRESSION', 3, '在阐述某一思想或观点时出现的不准确表述问题。', 1, 0, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (32, 'IDEOLOGY_EXPR_AUTHORITY_SUGGEST', '权威表述建议', 'IDEOLOGY', 'IDEOLOGY_EXPRESSION', 3, '对某一思想或观点的表达方式提出权威、规范的改进建议。', 1, 1, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (33, 'IDEOLOGY_EXPR_HKMO_TAIWAN_SOVEREIGN', '港澳台领土/主权表述建议', 'IDEOLOGY', 'IDEOLOGY_EXPRESSION', 3, '对稿件中与港澳台领土/主权相关内容的表述给出规范性建议。', 1, 2, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (34, 'IDEOLOGY_EXPR_ETHNIC_RELIGION', '民族宗教表述建议', 'IDEOLOGY', 'IDEOLOGY_EXPRESSION', 3, '对稿件中与民族、宗教相关内容的表述给出规范性建议。', 1, 3, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (35, 'IDEOLOGY_EXPR_TAG', '意识形态内容标记', 'IDEOLOGY', 'IDEOLOGY_EXPRESSION', 3, '对文中涉及意识形态相关内容进行标记和提示。', 1, 4, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (36, 'IDEOLOGY_EXPR_INTL_RELATIONS', '国际关系表述建议', 'IDEOLOGY', 'IDEOLOGY_EXPRESSION', 3, '对稿件中与国际关系相关内容的表述提出改进或规范建议。', 1, 5, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (37, 'IDEOLOGY_EXPR_CPC_THEORY', '共产党思想理论', 'IDEOLOGY', 'IDEOLOGY_EXPRESSION', 3, '涉及共产党思想理论相关的内容识别与表述规范。', 1, 6, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (38, 'IDEOLOGY_EXPR_ORG_NAME', '机构检测', 'IDEOLOGY', 'IDEOLOGY_EXPRESSION', 3, '对机构名称进行检测,判断是否规范、准确。', 1, 7, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (39, 'SAFETY_RISK', '合规风险信息', 'SAFETY_COMPLIANCE', 'SAFETY_COMPLIANCE', 2, '与违规负面信息、劣迹人物、敏感内容相关的风险信息。', 1, 0, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (40, 'SAFETY_POLITICAL', '涉政信息', 'SAFETY_COMPLIANCE', 'SAFETY_COMPLIANCE', 2, '涉国内外时事、公共政策、社会事件等相关信息。', 1, 1, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (41, 'SAFETY_PRIVACY', '个人隐私信息', 'SAFETY_COMPLIANCE', 'SAFETY_COMPLIANCE', 2, '涉及个人隐私数据泄露的相关信息。', 1, 2, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (42, 'SAFETY_RISK_BAD_ARTIST', '劣迹艺人', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '有不良行为、有争议或涉及犯罪的艺人相关内容。', 1, 0, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (43, 'SAFETY_RISK_NEGATIVE_PERSON', '负面人物', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '包括但不限于罪犯、暴力分子、极端分子等负面人物。', 1, 1, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (44, 'SAFETY_RISK_SENSITIVE_INFO', '敏感信息', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '能够引起不良情感或道德争议的敏感事件、敏感话题等内容。', 1, 2, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (45, 'SAFETY_RISK_TERROR', '暴恐', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '包含暴力、恐怖、恐吓等性质事件相关的内容。', 1, 3, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (46, 'SAFETY_RISK_PORN', '色情低俗', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '包含色情或低俗内容的部分。', 1, 4, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (47, 'SAFETY_RISK_NEGATIVE_VALUES', '负面价值观', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '传播消极、极端、错误价值观的内容。', 1, 5, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (48, 'SAFETY_RISK_CULT', '邪教', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '涉及邪教组织或传播邪教思想的内容。', 1, 6, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (49, 'SAFETY_RISK_RELIGION', '宗教', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '与宗教相关内容,需要识别其合规性与敏感性。', 1, 7, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (50, 'SAFETY_RISK_ABUSE', '攻击谩骂', 'SAFETY_COMPLIANCE', 'SAFETY_RISK', 3, '侮辱、恶意攻击、诽谤等不良内容。', 1, 8, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (51, 'SAFETY_POLITICAL_FOREIGN_LEADER', '国外领导人', 'SAFETY_COMPLIANCE', 'SAFETY_POLITICAL', 3, '与国外政治领导人(总统、首相等)相关的信息。', 1, 0, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (52, 'SAFETY_POLITICAL_HERO_MARTYR', '英雄烈士', 'SAFETY_COMPLIANCE', 'SAFETY_POLITICAL', 3, '与英雄人物、烈士等相关的信息。', 1, 1, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (53, 'SAFETY_POLITICAL_QINGLANG', '清朗指数', 'SAFETY_COMPLIANCE', 'SAFETY_POLITICAL', 3, '涉国内外时事、公共政策、社会事件等相关信息的清朗度与风险提示。', 1, 2, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (54, 'SAFETY_PRIVACY_PHONE', '电话号码', 'SAFETY_COMPLIANCE', 'SAFETY_PRIVACY', 3, '检测稿件中是否存在暴露电话号码的内容。', 1, 0, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (55, 'SAFETY_PRIVACY_BANKCARD', '银行卡号', 'SAFETY_COMPLIANCE', 'SAFETY_PRIVACY', 3, '检测稿件中是否存在暴露银行卡号的内容。', 1, 1, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (56, 'SAFETY_PRIVACY_IDCARD', '身份证号', 'SAFETY_COMPLIANCE', 'SAFETY_PRIVACY', 3, '检测稿件中是否存在暴露身份证号的内容。', 1, 2, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (57, 'SAFETY_PRIVACY_EMAIL', '电子邮件', 'SAFETY_COMPLIANCE', 'SAFETY_PRIVACY', 3, '检测稿件中是否存在暴露电子邮件地址的内容。', 1, 3, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (58, 'CUSTOM', '自定义词库', 'CUSTOM', NULL, 1, '检测自定义词库中的词汇是否出现', 1, 0, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (59, 'CUSTOM_SENSITIVE_WORD', '敏感词', 'CUSTOM_SENSITIVE_WORD', 'CUSTOM', 2, '检测是否存在自定义敏感词', 1, 1, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (60, 'CUSTOM_LEADER', '自定义领导人相关', 'CUSTOM_LEADER', 'CUSTOM', 2, '检测是否存在自定义的领导人信息', 1, 0, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (61, 'BASIC_DATA_VALIDATION', '数据校验', 'BASIC_QUALITY', 'BASIC_QUALITY', 2, '检测文本中的测试数据、无效字符和格式错误问题。', 1, 3, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (62, 'BASIC_DATA_TEST_CHAR', '测试数据/无效字符', 'BASIC_QUALITY', 'BASIC_DATA_VALIDATION', 3, '识别文本中混入的测试数据、占位符、无意义字符(如aaa、xxx、测试、TODO等)。', 1, 0, '1', '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_check_dimension` (`id`, `code`, `name`, `category`, `parent_code`, `dimension_level`, `description`, `default_enabled`, `sort_order`, `dimension_status`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (63, 'BASIC_DATA_FORMAT', '格式校验', 'BASIC_QUALITY', 'BASIC_DATA_VALIDATION', 3, '检测邮箱、电话、网址等常见格式是否规范正确。', 1, 1, '1', '0', NULL, NULL, NULL, NULL); COMMIT; -- ---------------------------- @@ -4052,6 +4092,7 @@ CREATE TABLE `ai_proofread_check_job_result` ( `change_to` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '修改为', `job_id` bigint DEFAULT NULL COMMENT '校对任务id', `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', + `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`id`), KEY `ai_proofread_check_job_result_job_id_index` (`job_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='AI校对结果'; @@ -4070,7 +4111,6 @@ CREATE TABLE `ai_proofread_check_leader` ( `update_time` datetime DEFAULT NULL COMMENT '更新时间', `create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建者', `update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人', - `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`id`), KEY `ai_proofread_check_leader_create_by_index` (`create_by`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='AI校对-领导人相关'; @@ -4096,7 +4136,6 @@ CREATE TABLE `ai_proofread_prompt_block` ( `update_time` datetime DEFAULT NULL COMMENT '更新时间', `create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人', `update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人', - `tenant_id` bigint DEFAULT NULL COMMENT '租户ID', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='AI校对提示块'; @@ -4104,64 +4143,65 @@ CREATE TABLE `ai_proofread_prompt_block` ( -- Records of ai_proofread_prompt_block -- ---------------------------- BEGIN; -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (1, 'DEEP_PUNCTUATION', '- 标点符号纠错:识别标点缺失、误用、位置错误导致歧义的问题。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (2, 'DEEP_BASIC_QUALITY', '- 基础质量纠错:识别错别字、误用词语、表达不规范等质量问题。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (3, 'DEEP_POLITICAL_EXPRESSION', '- 政治表述校对:识别政治相关表述的不规范、顺序错误和用语错误。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (4, 'BASIC_TYPO_PHONETIC_SHAPE', '- 音形相似:识别因发音或字形相似导致的汉字误写。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (5, 'BASIC_TYPO_PUNCTUATION', '- 标点错误:识别标点符号使用不当、位置不当或缺失的问题。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (6, 'BASIC_TYPO_DE_DI_DE', '- 的/地/得 使用错误:识别这三类助词混淆或误用的情况。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (7, 'BASIC_GRAMMAR_WORDING', '- 用词不当/语法错误:识别拼写错误、语法结构错误、用词错误等问题。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (8, 'BASIC_GRAMMAR_COLLOCATION', '- 搭配不当:识别词语搭配不合理造成的语义或逻辑问题。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (9, 'BASIC_GRAMMAR_SENTENCE', '- 句法错误:识别主谓不一致、语序错误、代词指代不清等句子结构问题。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (10, 'BASIC_COMMON_SENSE_PLACE', '- 常见地名错误:识别地名使用错误、名称不规范等问题。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (11, 'BASIC_COMMON_SENSE_REPEAT_SENTENCE', '- 句子重复错误:识别同一句子在段落或全文中重复出现的问题。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (12, 'IDEOLOGY_LEADER_ORDER', '- 领导人排序:检测领导人姓名出现顺序是否规范、符合政治表述要求。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (13, 'IDEOLOGY_LEADER_POSITION_ORDER', '- 职务排序:检测同一领导人的多个职务书写顺序是否正确。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (14, 'IDEOLOGY_LEADER_TITLE_INCONSISTENT', '- 领导人称谓不一致:检测同一领导人称谓前后是否一致。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (15, 'IDEOLOGY_LEADER_TITLE_ERROR', '- 领导人职称错误:检测领导人职务、职位是否存在描述错误。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (16, 'IDEOLOGY_LEADER_NEGATIVE', '- 领导人负面内容:识别涉及领导人的不准确、贬损或负面描述。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (17, 'IDEOLOGY_LEADER_THOUGHT', '- 领导人思想表述:检测是否符合规范的思想理论表述方式。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (18, 'IDEOLOGY_LEADER_NAME_RELATED', '- 领导人姓名相关:检测涉及核心领导人、省部级以上干部的姓名与使用规范。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (19, 'IDEOLOGY_HKMO_TAIWAN_CHIEF_EXEC', '- 港澳台特首:识别与港澳台行政长官相关的内容是否表述规范。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (20, 'IDEOLOGY_FALLEN_OFFICIAL_CASE', '- 落马官员:识别涉及被立案调查、审查或起诉的省部级官员的内容。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (21, 'IDEOLOGY_EXPR_COMMON_ERROR', '- 常见表述错误:识别思想表达不准确、逻辑混乱或用语错误的问题。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (22, 'IDEOLOGY_EXPR_AUTHORITY_SUGGEST', '- 权威表述建议:为思想观点类表述提供更加规范、专业的建议。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (23, 'IDEOLOGY_EXPR_HKMO_TAIWAN_SOVEREIGN', '- 港澳台主权/领土表述:识别相关内容是否存在不当、需规范的表述。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (24, 'IDEOLOGY_EXPR_ETHNIC_RELIGION', '- 民族宗教表述:识别民族、宗教内容表述不当的问题并给出规范建议。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (25, 'IDEOLOGY_EXPR_TAG', '- 意识形态内容标记:识别文中涉及意识形态的关键内容。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (26, 'IDEOLOGY_EXPR_INTL_RELATIONS', '- 国际关系表述建议:识别涉外交往、国际关系内容的表述规范性问题。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (27, 'IDEOLOGY_EXPR_CPC_THEORY', '- 共产党思想理论:识别相关表述是否准确、规范。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (28, 'IDEOLOGY_EXPR_ORG_NAME', '- 机构名称检测:识别机构名称是否使用准确、规范。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (29, 'SAFETY_RISK_BAD_ARTIST', '- 劣迹艺人:识别涉及有不良行为或涉案艺人的内容。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (30, 'SAFETY_RISK_NEGATIVE_PERSON', '- 负面人物:识别与犯罪、暴力、极端人员等相关的内容。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (31, 'SAFETY_RISK_SENSITIVE_INFO', '- 敏感信息:识别可能引发社会情绪波动或争议的敏感事件内容。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (32, 'SAFETY_RISK_TERROR', '- 暴恐内容:识别涉及暴力、恐怖、恐吓等内容。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (33, 'SAFETY_RISK_PORN', '- 色情低俗:识别色情、低俗或性暗示内容。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (34, 'SAFETY_RISK_NEGATIVE_VALUES', '- 负面价值观:识别极端、消极、有害价值观的表达。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (35, 'SAFETY_RISK_CULT', '- 邪教:识别涉及邪教组织、邪教思想的内容。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (36, 'SAFETY_RISK_RELIGION', '- 宗教:识别宗教相关内容可能存在的敏感风险。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (37, 'SAFETY_RISK_ABUSE', '- 攻击谩骂:识别侮辱、诽谤、攻击性语言。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (38, 'SAFETY_POLITICAL_FOREIGN_LEADER', '- 国外领导人:识别涉及外国总统、首相等政治人物的内容风险。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (39, 'SAFETY_POLITICAL_HERO_MARTYR', '- 英雄烈士:识别涉及烈士、英雄人物等敏感内容。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (40, 'SAFETY_POLITICAL_QINGLANG', '- 清朗指数:识别国内外事件、政策、公共议题中的潜在风险点。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (41, 'SAFETY_PRIVACY_PHONE', '- 电话号码:识别文中暴露电话号码的隐私风险。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (42, 'SAFETY_PRIVACY_BANKCARD', '- 银行卡号:识别银行卡号泄露的隐私风险。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (43, 'SAFETY_PRIVACY_IDCARD', '- 身份证号:识别身份证号码泄露的隐私风险。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (44, 'SAFETY_PRIVACY_EMAIL', '- 电子邮件:识别电子邮箱地址泄露的隐私风险。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (46, 'BASIC_TYPO', '- 识别稿件中的错别字问题。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (47, 'BASIC_GRAMMAR', '- 识别稿件中的语法和句法错误。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (48, 'BASIC_COMMON_SENSE', '- 识别稿件中的常识性错误。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (49, 'IDEOLOGY_LEADERS', '- 与领导干部及其相关表述规范有关的内容。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (50, 'IDEOLOGY_FALLEN_OFFICIAL', '- 与已被立案调查、审查或起诉的落马官员相关的内容。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (51, 'IDEOLOGY_EXPRESSION', '- 涉及意识形态相关表述是否准确、规范及其优化建议。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (52, 'SAFETY_RISK', '- 与违规负面信息、劣迹人物、敏感内容相关的风险信息。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (53, 'SAFETY_POLITICAL', '- 涉国内外时事、公共政策、社会事件等相关信息。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (54, 'SAFETY_PRIVACY', '- 涉及个人隐私数据泄露的相关信息。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (55, 'BASIC_DATA_VALIDATION', '- 数据校验:检测文本中的测试数据、无效字符和格式错误问题。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (56, 'BASIC_DATA_TEST_CHAR', '- 测试数据/无效字符:识别文本中混入的测试数据、占位符、无意义字符串(如连续重复字母aaa/xxx/zzz、测试、TODO、TBD、占位符等),这些通常是开发或编辑过程中遗留的临时内容。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); -INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`, `tenant_id`) VALUES (57, 'BASIC_DATA_FORMAT', '- 格式校验:检测邮箱(如缺少@符号)、电话号码(位数不对)、网址(格式不完整)、日期(格式错误)等常见格式是否规范正确。', '1', 1, '0', NULL, NULL, NULL, NULL, 1); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (1, 'DEEP_PUNCTUATION', '- 标点符号纠错:识别标点缺失、误用、位置错误导致歧义的问题。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (2, 'DEEP_BASIC_QUALITY', '- 基础质量纠错:识别错别字、误用词语、表达不规范等质量问题。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (3, 'DEEP_POLITICAL_EXPRESSION', '- 政治表述校对:识别政治相关表述的不规范、顺序错误和用语错误。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (4, 'BASIC_TYPO_PHONETIC_SHAPE', '- 音形相似:识别因发音或字形相似导致的汉字误写。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (5, 'BASIC_TYPO_PUNCTUATION', '- 标点错误:识别标点符号使用不当、位置不当或缺失的问题。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (6, 'BASIC_TYPO_DE_DI_DE', '- 的/地/得 使用错误:识别这三类助词混淆或误用的情况。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (7, 'BASIC_GRAMMAR_WORDING', '- 用词不当/语法错误:识别拼写错误、语法结构错误、用词错误等问题。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (8, 'BASIC_GRAMMAR_COLLOCATION', '- 搭配不当:识别词语搭配不合理造成的语义或逻辑问题。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (9, 'BASIC_GRAMMAR_SENTENCE', '- 句法错误:识别主谓不一致、语序错误、代词指代不清等句子结构问题。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (10, 'BASIC_COMMON_SENSE_PLACE', '- 常见地名错误:识别地名使用错误、名称不规范等问题。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (11, 'BASIC_COMMON_SENSE_REPEAT_SENTENCE', '- 句子重复错误:识别同一句子在段落或全文中重复出现的问题。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (12, 'IDEOLOGY_LEADER_ORDER', '- 领导人排序:检测领导人姓名出现顺序是否规范、符合政治表述要求。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (13, 'IDEOLOGY_LEADER_POSITION_ORDER', '- 职务排序:检测同一领导人的多个职务书写顺序是否正确。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (14, 'IDEOLOGY_LEADER_TITLE_INCONSISTENT', '- 领导人称谓不一致:检测同一领导人称谓前后是否一致。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (15, 'IDEOLOGY_LEADER_TITLE_ERROR', '- 领导人职称错误:检测领导人职务、职位是否存在描述错误。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (16, 'IDEOLOGY_LEADER_NEGATIVE', '- 领导人负面内容:识别涉及领导人的不准确、贬损或负面描述。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (17, 'IDEOLOGY_LEADER_THOUGHT', '- 领导人思想表述:检测是否符合规范的思想理论表述方式。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (18, 'IDEOLOGY_LEADER_NAME_RELATED', '- 领导人姓名相关:检测涉及核心领导人、省部级以上干部的姓名与使用规范。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (19, 'IDEOLOGY_HKMO_TAIWAN_CHIEF_EXEC', '- 港澳台特首:识别与港澳台行政长官相关的内容是否表述规范。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (20, 'IDEOLOGY_FALLEN_OFFICIAL_CASE', '- 落马官员:识别涉及被立案调查、审查或起诉的省部级官员的内容。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (21, 'IDEOLOGY_EXPR_COMMON_ERROR', '- 常见表述错误:识别思想表达不准确、逻辑混乱或用语错误的问题。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (22, 'IDEOLOGY_EXPR_AUTHORITY_SUGGEST', '- 权威表述建议:为思想观点类表述提供更加规范、专业的建议。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (23, 'IDEOLOGY_EXPR_HKMO_TAIWAN_SOVEREIGN', '- 港澳台主权/领土表述:识别相关内容是否存在不当、需规范的表述。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (24, 'IDEOLOGY_EXPR_ETHNIC_RELIGION', '- 民族宗教表述:识别民族、宗教内容表述不当的问题并给出规范建议。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (25, 'IDEOLOGY_EXPR_TAG', '- 意识形态内容标记:识别文中涉及意识形态的关键内容。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (26, 'IDEOLOGY_EXPR_INTL_RELATIONS', '- 国际关系表述建议:识别涉外交往、国际关系内容的表述规范性问题。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (27, 'IDEOLOGY_EXPR_CPC_THEORY', '- 共产党思想理论:识别相关表述是否准确、规范。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (28, 'IDEOLOGY_EXPR_ORG_NAME', '- 机构名称检测:识别机构名称是否使用准确、规范。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (29, 'SAFETY_RISK_BAD_ARTIST', '- 劣迹艺人:识别涉及有不良行为或涉案艺人的内容。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (30, 'SAFETY_RISK_NEGATIVE_PERSON', '- 负面人物:识别与犯罪、暴力、极端人员等相关的内容。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (31, 'SAFETY_RISK_SENSITIVE_INFO', '- 敏感信息:识别可能引发社会情绪波动或争议的敏感事件内容。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (32, 'SAFETY_RISK_TERROR', '- 暴恐内容:识别涉及暴力、恐怖、恐吓等内容。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (33, 'SAFETY_RISK_PORN', '- 色情低俗:识别色情、低俗或性暗示内容。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (34, 'SAFETY_RISK_NEGATIVE_VALUES', '- 负面价值观:识别极端、消极、有害价值观的表达。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (35, 'SAFETY_RISK_CULT', '- 邪教:识别涉及邪教组织、邪教思想的内容。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (36, 'SAFETY_RISK_RELIGION', '- 宗教:识别宗教相关内容可能存在的敏感风险。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (37, 'SAFETY_RISK_ABUSE', '- 攻击谩骂:识别侮辱、诽谤、攻击性语言。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (38, 'SAFETY_POLITICAL_FOREIGN_LEADER', '- 国外领导人:识别涉及外国总统、首相等政治人物的内容风险。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (39, 'SAFETY_POLITICAL_HERO_MARTYR', '- 英雄烈士:识别涉及烈士、英雄人物等敏感内容。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (40, 'SAFETY_POLITICAL_QINGLANG', '- 清朗指数:识别国内外事件、政策、公共议题中的潜在风险点。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (41, 'SAFETY_PRIVACY_PHONE', '- 电话号码:识别文中暴露电话号码的隐私风险。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (42, 'SAFETY_PRIVACY_BANKCARD', '- 银行卡号:识别银行卡号泄露的隐私风险。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (43, 'SAFETY_PRIVACY_IDCARD', '- 身份证号:识别身份证号码泄露的隐私风险。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (44, 'SAFETY_PRIVACY_EMAIL', '- 电子邮件:识别电子邮箱地址泄露的隐私风险。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (46, 'BASIC_TYPO', '- 识别稿件中的错别字问题。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (47, 'BASIC_GRAMMAR', '- 识别稿件中的语法和句法错误。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (48, 'BASIC_COMMON_SENSE', '- 识别稿件中的常识性错误。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (49, 'IDEOLOGY_LEADERS', '- 与领导干部及其相关表述规范有关的内容。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (50, 'IDEOLOGY_FALLEN_OFFICIAL', '- 与已被立案调查、审查或起诉的落马官员相关的内容。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (51, 'IDEOLOGY_EXPRESSION', '- 涉及意识形态相关表述是否准确、规范及其优化建议。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (52, 'SAFETY_RISK', '- 与违规负面信息、劣迹人物、敏感内容相关的风险信息。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (53, 'SAFETY_POLITICAL', '- 涉国内外时事、公共政策、社会事件等相关信息。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (54, 'SAFETY_PRIVACY', '- 涉及个人隐私数据泄露的相关信息。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (55, 'BASIC_DATA_VALIDATION', '- 数据校验:检测文本中的测试数据、无效字符和格式错误问题。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (56, 'BASIC_DATA_TEST_CHAR', '- 测试数据/无效字符:识别文本中混入的测试数据、占位符、无意义字符串(如连续重复字母aaa/xxx/zzz、测试、TODO、TBD、占位符等),这些通常是开发或编辑过程中遗留的临时内容。', '1', 1, '0', NULL, NULL, NULL, NULL); +INSERT INTO `ai_proofread_prompt_block` (`id`, `dimension_code`, `prompt_content`, `block_status`, `block_version`, `del_flag`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES (57, 'BASIC_DATA_FORMAT', '- 格式校验:检测邮箱(如缺少@符号)、电话号码(位数不对)、网址(格式不完整)、日期(格式错误)是否规范正确。', '1', 1, '0', NULL, NULL, NULL, NULL); COMMIT; + -- ---------------------------- -- Table structure for ai_prompt_history -- ---------------------------- @@ -4179,10 +4219,9 @@ CREATE TABLE `ai_prompt_history` ( `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '变更时间', `update_by` varchar(255) DEFAULT NULL, `update_time` datetime DEFAULT NULL, - `tenant_id` bigint NOT NULL COMMENT '租户ID', PRIMARY KEY (`id`), KEY `idx_template_id` (`template_id`), - KEY `idx_code_tenant_version` (`history_code`,`tenant_id`,`history_version`) + KEY `idx_code_version` (`history_code`,`history_version`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='提示词版本历史表'; -- ---------------------------- @@ -4211,11 +4250,8 @@ CREATE TABLE `ai_prompt_template` ( `create_time` datetime DEFAULT CURRENT_TIMESTAMP, `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '修改人', `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - `tenant_id` bigint NOT NULL DEFAULT '1' COMMENT '租户ID', PRIMARY KEY (`id`), UNIQUE KEY `uk_ai_prompt_template_code` (`template_code`), - UNIQUE KEY `uk_code_tenant_delflag` (`template_code`,`tenant_id`,`del_flag`), - KEY `idx_tenant_id` (`tenant_id`), KEY `idx_category` (`category`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='AI提示词模板'; @@ -4223,60 +4259,185 @@ CREATE TABLE `ai_prompt_template` ( -- Records of ai_prompt_template -- ---------------------------- BEGIN; -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (1, 'knowledge-system.st', '知识库系统提示词', '/no_think 作为资深的专业顾问,我能深入了解用户需求,结合语境或参考资料提供准确的答案,禁止提供不准确、不完整或不恰当的信息。\n已知信息中的任何图片、链接都应直接返回\n当前时间:{systemTime}', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '知识库对话的系统提示词,定义AI顾问角色', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (2, 'knowledge-user.st', '知识库用户提示词', '## 用户问题\n{userMessage}\n## 已知信息\n{contents}\n## 回答要求\n- 使用与问题相同的语言回答,回答必须基于以上已知信息,并确保准确性和相关性,\n- 已知信息中的任何图片、链接都应直接原样返回在回答中。\n- 如无法回答,请回复:{emptyDesc}。\n- 回答必须使用 Markdown 语法返回,包括但不限于标题、列表、粗体、斜体等。\n- 请根据以上要求提供准确、全面且格式优化的答案。', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '知识库RAG用户提示词模板', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (3, 'knowledge-rag-compress.st', 'RAG查询压缩', 'Based on the new user query and prior conversation, reformulate this query into a clear, concise, and self-contained format suitable for information retrieval.Here is the context:\n## User new query\n{query}\n## prior conversation\n{chatMemory}\nNote: It is crucial to provide the reformulated query only. Do not prepend the query with any other information', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '根据对话历史压缩重构用户查询', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (4, 'knowledge-rag-qa.st', 'RAG问答格式', '## {question}\n{answer}', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', 'RAG问答对格式模板', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (5, 'knowledge-rag-summary.st', 'RAG文档摘要', '/no_think Read the provided article carefully and analyze it to create a summary that meets the specified requirements.\n\n## Analysis Requirements:\n1. Limit the summary length to **within 100 words**, striving to be both concise and comprehensive.\n2. Extract the **core information** and **main points** of the article, ensuring no key content is missed.\n3. Summarize the main points in **concise and clear language**, avoiding redundant expressions.\n4. Maintain an **objective and neutral tone**, without adding personal opinions or interpretations.\n\n# Output Format\n\nThe summary should be a well-structured paragraph, clearly outlining the main ideas while adhering to the specified word limit.\n\n# Examples\n\n**Input:**\n{summary}\n\n**Output:**\n[Insert a concise and comprehensive summary of the article here, ensuring it is within 100 words and maintains an objective tone.]\n\n(Real examples should reflect the nuances and details of the article while being succinct.)\n\n# Notes\n\nEnsure that all critical points are covered while maintaining clarity and neutrality in the summary. Avoid any speculation or subjective language in the analysis.', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '文档摘要生成提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (6, 'knowledge-func-limit.st', '知识库功能限制', '.', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '知识库功能调用限制提示', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (7, 'knowledge-func-metadata.st', '知识库元数据', '## Metadata (Return as-is)\nThe system-provided parameter values need to be returned exactly as they are: current messageKey: {messageKey}, current dateTime: {systemTime}', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '知识库功能调用元数据模板', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (8, 'knowledge-func-select.st', '知识库功能选择', '根据用户输入的描述,从下边的列表中选择一个最符合的功能编码,如不符合则返回空字符串不需要有默认值', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '从功能列表中选择匹配功能的提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (9, 'similar-questions-system.st', '相似问题系统提示词', '你是一个专业的问题改写专家。你的任务是生成语义相似但表达不同的问题变体。\n\n【核心原则】\n1. 语义一致性:生成的问题必须与原问题表达相同或高度相关的意图\n2. 表达多样性:使用不同的句式、词汇、角度进行改写\n3. 长度控制:问题长度控制在10-40个字符\n4. 可回答性:确保生成的问题能被有效回答\n\n【输出要求】\n- 严格按JSON格式输出,不要包含任何其他内容\n- 不要输出markdown代码块\n- 格式:\\{\"questions\": [\"问题1\", \"问题2\", \"问题3\"]\\}', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '相似问题推荐系统提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-17 10:00:00', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (10, 'similar-questions-user.st', '相似问题用户提示词', '【用户原问题】\n{userQuery}\n\n【相关知识内容】\n{context}\n\n【任务】\n基于上述知识内容,生成3个用户可能感兴趣的延伸问题。\n\n【要求】\n- 问题必须能从给定的知识内容中找到答案\n- 不能超出知识范围\n- 问题长度10-40字', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '相似问题推荐用户提示词(RAG场景)', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-17 10:00:00', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (11, 'similar-questions-database-user.st', '数据库相似问题用户提示词', '【用户原问题】\n{userQuery}\n\n【数据表结构】\n{tableSchema}\n\n【任务】\n基于上述表结构,生成3个用户可能感兴趣的数据查询问题。\n\n【要求】\n- 问题范围不能超出数据表结构\n- 问题应具有实际查询价值\n- 问题长度10-40字', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '基于数据库表结构的相似问题推荐', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-17 10:00:00', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (12, 'chat2db-user.st', 'Chat2DB用户提示词', '### 用户问题\n{userInput}\n### 表结构信息\n{tableSchema}\n### 已知信息(术语同义词)\n{terminologies}\n### 输出限制\n1. 字段限定:只能使用数据库表结构中已定义的字段,禁止使用未被指定的额外列。\n2. SQL 查询结果字段应使用 AS 关键字附加字段注释,以提高可读性。\n3. 如果表结构中包含 del_flag ,那么过滤条件del_flag为0\n4. 如果表结构中包含 tenant_id ,那么过滤条件tenant_id为{tenantId}\n5. 查询结果仅显示前十条记录。', 1, 1, '1', 'SQL', 'STRING_TEMPLATE', 'Chat2DB自然语言转SQL用户提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (13, 'chat2db-result.st', 'Chat2DB结果展示', '# Present the results in Markdown table format. Do not output any other content\n{result}', 1, 1, '1', 'SQL', 'STRING_TEMPLATE', 'Chat2DB查询结果Markdown展示', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (14, 'chat2db-result-chart.st', 'Chat2DB图表配置', '/no_think 你是专注于处理和可视化数据的工程师,根据用户提供的数据和需求,生成有效的 {chartType} 图表 JSON 配置。\n\n### Skill:\n1. 深入理解 json schema 数据结构及字段含义。\n2. 根据用户需求调整 {chartType} 的 xAxis.data 和 series.data 字段的数据\n## Question:\n{result}\n\n## json schema\n{jsonSchema}', 1, 1, '1', 'SQL', 'STRING_TEMPLATE', 'Chat2DB图表JSON配置生成', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (15, 'Chat2SqlFunctionCalling.st', 'Chat2SQL函数调用', 'The function is to generate executable SQL based on the input in natural language combined with the input table column structure', 1, 1, '1', 'SQL', 'STRING_TEMPLATE', 'Chat2SQL函数调用描述', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (16, 'chat2db-table-schema.ftl', 'Chat2DB表结构模板', '<#list tables as table>\n ### 数据库类型: ${table.dbType!}\n ### 表名:**${table.tableName}**\n 注释:${table.tableComment!}\n ### 数据列:\n | 名称 | 数据类型 | 注释 |\n |------|------|------|\n <#list table.fields as field>\n |${field.fieldName} | ${field.fieldType} | ${field.fieldComment!} |\n \n', 1, 1, '1', 'SQL', 'FREEMARKER', 'Chat2DB表结构信息Freemarker模板', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:22:05', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (17, 'chat2db-terminologies.ftl', 'Chat2DB术语同义词', '<#list terminologies as terminology>\n \n \n ${terminology.word}\n <#list terminology.synonymsList as synonyms>\n ${synonyms}\n \n \n ${terminology.description}\n \n', 1, 1, '1', 'SQL', 'FREEMARKER', 'Chat2DB术语同义词Freemarker模板', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:22:09', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (18, 'ocr-common.st', 'OCR通用识别', '请对给定的图片进行 OCR 识别,提取出其中的所有文字内容,不需要额外任何总结和推理操作。\n- 在输出文字时,请确保去掉图片中的敏感词,以避免触发内容审查机制。\n- 输出结果应仅包含提取的文字,不需要附加任何其他信息或说明。\n# 输出格式\n请以纯文本的形式输出识别到的文字内容。', 1, 1, '1', 'OCR', 'STRING_TEMPLATE', 'OCR通用文字识别提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (19, 'ocr-image.st', 'OCR图片转文本', 'Convert the following image to text.\nReturn only the markdown with no explanation text. Do not include deliminators like \'\'\'markdown.\nYou must include all information on the page. Do not exclude headers, footers, or subtext.', 1, 1, '1', 'OCR', 'STRING_TEMPLATE', 'OCR图片转Markdown文本', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (20, 'ocr-image-json.st', 'OCR图片JSON提取', 'You are a specialized Natural Language Understanding (NLU) assistant. Your primary function is to extract structured information from natural language input and convert it into well-formatted JSON output.', 1, 1, '1', 'OCR', 'STRING_TEMPLATE', 'OCR图片结构化JSON提取系统提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (21, 'ocr-image-user-json.st', 'OCR图片JSON用户提示词', '请严格按照以下JSON schema格式返回分析结果:{jsonSchema}', 1, 1, '1', 'OCR', 'STRING_TEMPLATE', 'OCR图片JSON输出用户提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (22, 'ocr-system-json.st', 'OCR系统JSON提示词', '您应该始终遵循指令并输出一个有效的JSON对象。请根据指令使用指定的JSON对象结构。', 1, 1, '1', 'OCR', 'STRING_TEMPLATE', 'OCR JSON输出系统提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (23, 'ocr-user-json.st', 'OCR用户JSON提示词', 'user input: {userInput}\n\nYou must strictly follow the format defined by the following json schema to output the json object answer:\n{jsonSchema}', 1, 1, '1', 'OCR', 'STRING_TEMPLATE', 'OCR用户输入JSON输出提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (24, 'ocr-image-security-system.st', 'OCR安全分析系统提示词', '你是一个专业的工作场所安全分析专家。请仔细分析图像中的安全风险并提供详细的JSON格式分析结果。', 1, 1, '1', 'OCR', 'STRING_TEMPLATE', '工作场所安全分析系统提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (25, 'ocr-image-security-user.st', 'OCR安全分析用户提示词', '请分析提供的图像中的工作场所中的\"个人防护用品\"、\"四口五临边\" 防护安全风险。识别风险程度最高的{securityLevel}个安全风险,评估其风险等级,建议控制措施,并提供其位置的边界框或多边形。请严格按照提供的JSON模式执行。\n- 风险ID和对应区域的ID必须完全匹配(例如,风险\"H1\"对应区域\"H1\")。\n- 必须为每个识别的风险提供区域信息。这是强制性的。\n- 区域坐标请提供0到1之间的标准化值。\n- 对于\'rect\',使用x, y, w, h。对于\'poly\',使用\'points\'。\n- 所有返回的文本内容必须使用中文。\n- 请严格按照以下JSON schema格式返回分析结果:', 1, 1, '1', 'OCR', 'STRING_TEMPLATE', '工作场所安全分析用户提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (26, 'ocr-image-security-user-schema.st', 'OCR安全分析JSON Schema', '{\"type\":\"object\",\"properties\":{\"caption\":{\"type\":\"string\",\"description\":\"图像内容的简短描述性标题,概括图像的主要内容和场景\"},\"isConstructionScene\":{\"type\":\"boolean\",\"description\":\"是否工地场景:true(是工地场景)、false(不是工地场景)\"},\"hazards\":{\"type\":\"array\",\"description\":\"图像中识别出的安全风险列表,每个风险包含详细信息和应对措施\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"风险唯一标识符,格式为\'H1\'、\'H2\'等,用于关联图像区域\"},\"hazard\":{\"type\":\"string\",\"description\":\"具体风险描述,详细说明风险的性质和潜在危害\"},\"risk\":{\"type\":\"object\",\"properties\":{\"severity\":{\"type\":\"string\",\"enum\":[\"LOW\",\"MEDIUM\",\"HIGH\"],\"description\":\"风险严重程度:LOW(轻微)、MEDIUM(中等)、HIGH(严重)\"},\"reason\":{\"type\":\"string\",\"description\":\"风险评估的详细理由和依据,解释为什么给出此等级评估\"}},\"required\":[\"severity\",\"reason\"]},\"decide_controls\":{\"type\":\"array\",\"description\":\"针对该风险推荐的管控措施列表,提供具体的预防和应对建议\",\"items\":{\"type\":\"string\"}}},\"required\":[\"id\",\"hazard\",\"risk\",\"decide_controls\"]}},\"regions\":{\"type\":\"array\",\"description\":\"图像中对应风险区域的坐标信息列表,每个区域ID必须与风险ID匹配\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"对应风险的ID,必须与hazards数组中的某个风险ID一致\"},\"shape\":{\"type\":\"string\",\"enum\":[\"rect\",\"poly\"],\"description\":\"区域形状类型:rect(矩形)、poly(多边形)\"},\"x\":{\"type\":\"number\",\"description\":\"矩形区域左上角X坐标,取值范围0-1(相对坐标)\"},\"y\":{\"type\":\"number\",\"description\":\"矩形区域左上角Y坐标,取值范围0-1(相对坐标)\"},\"w\":{\"type\":\"number\",\"description\":\"矩形区域宽度,取值范围0-1(相对坐标)\"},\"h\":{\"type\":\"number\",\"description\":\"矩形区域高度,取值范围0-1(相对坐标)\"},\"points\":{\"type\":\"array\",\"description\":\"多边形区域顶点坐标数组,每个元素为[x,y]坐标对,取值范围0-1(相对坐标)\",\"items\":{\"type\":\"array\",\"items\":{\"type\":\"number\"}}}},\"required\":[\"id\",\"shape\"]}}},\"required\":[\"caption\",\"isConstructionScene\",\"hazards\",\"regions\"]}', 1, 1, '1', 'OCR', 'FREEMARKER', '工作场所安全分析JSON Schema定义', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (27, 'mcp.st', 'MCP交互提示词', '深入理解用户需求,实现目标MCP的交互,系统提供的参数值需要完全按原样返回 accessToken: {accessToken}, 当前时间: {systemTime}。\n\n### Skill:\n1. 理解用户目标和需求背景。\n2. 调用目标MCP Server: {mcpName}\n## Goals:\n{inputMessage}', 1, 1, '1', 'MCP', 'STRING_TEMPLATE', 'MCP Server交互提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (28, 'flow-format-json.st', '工作流JSON格式', '你必须严格按照以下 JSON Schema 格式输出,不要包含任何其他文本\n## 输出限制\n- 1. 输出必须是有效的 JSON 格式\n- 2. 所有必填字段都必须提供\n- 3. 不要输出代码块标记(如 ```json 或 ```\n- 4. 只输出 JSON 对象本身,不要添加任何解释性文字\n- 5. 字段类型必须与 Schema 定义一致', 1, 1, '1', 'FLOW', 'STRING_TEMPLATE', '工作流JSON格式输出提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (29, 'flow-question-json.st', '工作流问题分类', '### Skill:\n1. 精通语义分析和意图识别\n2. 熟悉分类匹配技术\n3. 能够处理复杂的分类选择任务\n## 用户输入\n{input}\n## 标签列表\n{categories}\n## OutputFormat:\n1. 输出结果必须为JSON格式\n2. 仅返回匹配分类的value值\n## Examples JSON Schema:\n{jsonSchema}', 1, 1, '1', 'FLOW', 'STRING_TEMPLATE', '工作流问题分类用户提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (30, 'flow-question-system-json.st', '工作流问题分类系统', '作为一名分类选择专家,我擅长分析问题的语义和意图,并从可用分类中选择最相关的分类\n\n当前日期时间: {systemTime}', 1, 1, '1', 'FLOW', 'STRING_TEMPLATE', '工作流问题分类系统提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (31, 'FlowFunctionCalling.st', '工作流函数调用', '函数的作用:帮助发起请假流程,从用户的输入的自然语言中,提取请假流程所需的各种数据,并能够通过系统提供的参数值分析出上下文所需的各种参数。', 1, 1, '1', 'FLOW', 'STRING_TEMPLATE', '请假流程函数调用描述', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (32, 'MiIotFunctionCalling.st', '智能家居函数调用', '函数的作用:帮助管理智能家居的设备,从用户的输入的自然语言中,提取需要操作的设备的状态(0关闭,1打开),并能够通过系统提供的参数值分析出上下文所需的各种参数。', 1, 1, '1', 'FLOW', 'STRING_TEMPLATE', '智能家居设备控制函数调用描述', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (33, 'SysUserFunctionCalling.st', '系统用户函数调用', '函数的作用:帮助用户创建系统用户,需要用户输入用户名、手机号、密码三个必填字段。', 1, 1, '1', 'FLOW', 'STRING_TEMPLATE', '系统用户创建函数调用描述', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (34, 'base-simple-system.st', '基础系统提示词', '/no_think You are a helpful and harmless assistant.\ncurrent date and time systemTime: {systemTime}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '基础简单系统提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (35, 'reason-system.st', '推理系统提示词', '你是一个专注于逻辑推理和问题解决的智能助手。面对任何问题时,请按照以下步骤逐步思考:\n\n1) 理解问题的核心要求;\n2) 分析可能的解决路径;\n3) 一步步推导答案,确保逻辑清晰且无遗漏;\n4) 在给出最终答案前,检查推理过程是否一致。思考过程请尽量详细,最终答案要简洁准确。如果问题超出你的能力范围,请诚实地说\'我不知道\'。\n\n当前日期时间: {systemTime}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '逻辑推理系统提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (36, 'ai-poster.st', 'AI海报生成', '你是一名专业的内容策展人和视觉设计师,擅长从用户输入的文章或段落中提炼精华并创建视觉冲击力强的知识海报,禁止输出 ``` 的代码块标识\n{templateStyle}\n相关的HTML class类:\n.container 主容器类,定义了基本样式和背景效果\n.content - 内容容器类,确保内容在装饰层之上\n.date - 日期显示类,有倾斜和特殊背景\n.title - 标题类,具有大号字体、倾斜和文字阴影效果\n.subtitle - 副标题类,带有左侧彩色边框\n.quote-container - 引用容器类\n.quote - 引用文本类,有特殊背景和边框\n.points - 要点列表容器类\n.point - 单个要点类,有轻微旋转和背景变化\n.point-text - 要点文本类\n.point-number - 要点编号类,采用醒目的颜色和大号字体\n.qr-section - 二维码部分容器类\n.qr-code - 二维码图像类\n.qr-text - 二维码说明文本类\n.editor-note - 编辑注释类,有虚线边框和装饰符号\n## 设计要求\n- 日期区域:以各风格特有的方式呈现当前日期\n- 标题和副标题:根据风格调整字体、大小、排版方式\n- 引用区块:设计独特的引用样式,体现风格特点\n- 核心要点列表:以符合风格的方式呈现列表内容\n- 二维码区域:将二维码融入整体设计\n- 编辑笔记/小贴士:设计成符合风格的边栏或注释\n## 输出要求\n- 只需要输出带有如上class 类的 div HTML代码,不需要 style 和其他\n- 只需要div 代码,不需要额外的解释,禁止输出 ``` 的代码块标识\n- 二维码图片的地址为: {qrCode}\n## 待处理的文本:\n{prompt}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', 'AI知识海报HTML生成', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (37, 'ai-writer-text-ops.st', 'AI写作文本操作', '/no_think\n你是专业的中文与英文写作助手。当前日期为: {systemTime}\n对用户给出的选中文本执行指定的写作动作。\n除非特别要求,不添加前后额外说明,只输出处理后的正文。\n输出语言使用与输入文本一致。\n动作:{action}\n指令:{instruction}\n待处理文本:\n{text}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', 'AI写作文本操作提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (38, 'ai-writter-document.st', 'AI公文写作', '/no_think\n你是一个专业的公文写手,你需要根据用户提供的信息,写出一个符合要求的公文。\n当前日期为: {systemTime}\n请基于提供的信息,生成一个符合要求的公文。\n标题:{title}\n参考资料:\n{abstractContent}\n参考模板:\n{doc_template}\n要求:\n- 1. 符合用户提供的要求\n- 2. 严格按照格式输出\n- 3. 字体、大小、颜色等严格参照模板\n- 4. 如果是红头文件,只允许生成模板正文部分,其他部分不可修改。\n- 5. 只允许直接返回html,不要返回其他内容,不要做任何解释。\n- 6. 不要返回代码块(```),直接返回html文本', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', 'AI公文写作提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (39, 'gen-image.st', 'AI图片生成翻译', 'You are a professional English translator, especially good at translating Chinese articles into English articles suitable for Americans to read.\n#Rule 1.: Must output English\n#Rule 2: Use paraphrase when translating, and strictly prohibit literal translation\n#Rule 3: According to the results of paraphrase, polish the article, and make the content more understandable and in line with English expression habits while adhering to the original meaning\nPlease translate the Chinese article into English according to the above rules. The following is the content to be translated: {input}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '图片生成提示词中英翻译', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (40, 'gen-image-limit.st', 'AI图片生成限制', '## Restrictions\n- The image size must be within the range of {imageSize}\n- Pictures cannot contain elements [{negativePrompt}]', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '图片生成限制条件', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (41, 'gen-image-result.st', 'AI图片生成结果', '![]({url})', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '图片生成结果展示模板', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (42, 'gen-markmap.st', 'AI思维导图生成', '# Role\nYou are a Markdown outline format engineer who focuses on answering user questions. You can quickly and accurately convert user questions into refined Markdown outline titles, and refine the specific details of each title.\n\n## Skills\n### Skill 1: Identify user question intent\n- Accurately understand the specific content and needs of user questions.\n### Skill 2: Convert to Markdown outline\n- Simplify user questions into Markdown outline-style titles.\n### Skill 3: Return to user\n- Return the optimized outline to the user.\n\n## Constraints\n- Only return the organized format content text, without ``` code flag\n- Answer the question in the language used by the user.\n- Return the answer in Markdown style, keep the main title as concise as possible; and refine the specific step information of each main title in the subtitle.\n\nThe user input is as follows: {input}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '思维导图Markdown生成提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (43, 'gen-text.st', 'AI文本补全', '你是一个全能的补全助手,可以根据用户的输入:{prompt},输出文本的具体的结果,不需要任何其他文字或提示。\n## 数据格式要求参考如下:\n{conditions}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', 'AI文本补全提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (44, 'meta-prompt.st', '元提示词生成', ' Given a task description or existing prompt, produce a detailed system prompt to guide a language model in completing the task effectively.\n\n# Guidelines\n\n- Understand the Task: Grasp the main objective, goals, requirements, constraints, and expected output.\n- Minimal Changes: If an existing prompt is provided, improve it only if it\'s simple. For complex prompts, enhance clarity and add missing elements without altering the original structure.\n- Reasoning Before Conclusions**: Encourage reasoning steps before any conclusions are reached. ATTENTION! If the user provides examples where the reasoning happens afterward, REVERSE the order! NEVER START EXAMPLES WITH CONCLUSIONS!\n - Reasoning Order: Call out reasoning portions of the prompt and conclusion parts (specific fields by name). For each, determine the ORDER in which this is done, and whether it needs to be reversed.\n - Conclusion, classifications, or results should ALWAYS appear last.\n- Examples: Include high-quality examples if helpful, using placeholders [in brackets] for complex elements.\n - What kinds of examples may need to be included, how many, and whether they are complex enough to benefit from placeholders.\n- Clarity and Conciseness: Use clear, specific language. Avoid unnecessary instructions or bland statements.\n- Formatting: Use markdown features for readability. DO NOT USE ``` CODE BLOCKS UNLESS SPECIFICALLY REQUESTED.\n- Preserve User Content: If the input task or prompt includes extensive guidelines or examples, preserve them entirely, or as closely as possible. If they are vague, consider breaking down into sub-steps. Keep any details, guidelines, examples, variables, or placeholders provided by the user.\n- Constants: DO include constants in the prompt, as they are not susceptible to prompt injection. Such as guides, rubrics, and examples.\n- Output Format: Explicitly the most appropriate output format, in detail. This should include length and syntax (e.g. short sentence, paragraph, JSON, etc.)\n - For tasks outputting well-defined or structured data (classification, JSON, etc.) bias toward outputting a JSON.\n - JSON should never be wrapped in code blocks (```) unless explicitly requested.\n\nThe final prompt you output should adhere to the following structure below. Do not include any additional commentary, only output the completed system prompt. SPECIFICALLY, do not include any additional messages at the start or end of the prompt. (e.g. no \"---\")\n\n[Concise instruction describing the task - this should be the first line in the prompt, no section header]\n\n[Additional details as needed.]\n\n[Optional sections with headings or bullet points for detailed steps.]\n\n# Steps [optional]\n\n[optional: a detailed breakdown of the steps necessary to accomplish the task]\n\n# Output Format\n\n[Specifically call out how the output should be formatted, be it response length, structure e.g. JSON, markdown, etc]\n\n# Examples [optional]\n\n[Optional: 1-3 well-defined examples with placeholders if necessary. Clearly mark where examples start and end, and what the input and output are. User placeholders as necessary.]\n[If the examples are shorter than what a realistic example is expected to be, make a reference with () explaining how real examples should be longer / shorter / different. AND USE PLACEHOLDERS! ]\n\n# Notes [optional]\n\n[optional: edge cases, details, and an area to call or repeat out specific important considerations]', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '元提示词生成器', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (45, 'report-polish.st', '报告润色', '## 核心目标\n{reportPrompt}\n## 输入信息\n{prompt}\n\n参考资料:当前时间:{systemTime},用户名:{username}。\n\n## 输出要求\n* 输出内容必须是优化后的报告本身, 应清晰、简洁、准确地反映报告内容。\n* 不得包含任何markdown语法的修饰字符例如:``` ** ###', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '报告润色优化提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (46, 'report-system-json.st', '报告系统JSON', '您应该始终遵循指令并输出一个有效的JSON对象。请根据指令使用指定的JSON对象结构。\n当前时间: {systemTime}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '报告JSON输出系统提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (47, 'report-user-json.st', '报告用户JSON', '请根据提供的 JSON Schema,严格解析并格式化以下用户输入内容 (`{userInput}`) 为格式化为一个 JSON 对象。\n\n在处理过程中,请遵循以下规则:\n1. **严格遵守 Schema**: 输出的 JSON 对象必须完全符合 JSON Schema 中定义的结构、字段类型和约束。\n2. **解析与提取**: 从用户输入中准确提取信息,填充到 JSON 对象的相应字段中。\n3. **补充与优化**: 如果用户输入中的信息对于某个 Schema 字段不规范、不完整或缺失,请根据 Schema 的定义和用户输入的上下文,尝试进行合理的补充或优化,确保字段值有效且符合预期。\n4. **输出格式**: 仅输出最终生成的 JSON 对象字符串,不包含任何额外文本、解释或标记。\n\n## JSON Schema\n{jsonSchema}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '报告JSON输出用户提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (48, 'user-json.st', '通用用户JSON', '根据用户当前输入: {userInput} 并结合上文历史聊天,总结整理出要求的JSON结果。\n\n您必须严格遵循以下json模式定义的格式来输出json对象答案:\n{jsonSchema}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '通用JSON输出用户提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (49, 'web-search.st', '网页搜索', '{input}\n\nAnswer using the following information:\ncurrentDate: {currentDate}\n{searchResult}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '网页搜索结果整合提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (52, 'PROOFREAD_SYSTEM', '校对System提示词', '你是一名严格、谨慎、专业的中文稿件审核与校对专家。\n\n## 核心职责\n仅识别问题并给出修改建议,不改写全文。\n\n## 输出规范\n- 必须输出 JSON 数组格式,不得包含任何其他内容\n- 若未发现问题,返回 []\n\n## JSON 字段结构\n{\n \"category\": \"所属大类(政务性差错|一般性差错|疑似差错)\",\n \"type\": \"问题子类型\",\n \"text\": \"触发问题的原文片段(html标签中最简短的文本原文,便于定位)\",\n \"description\": \"对问题的描述与原因分析\",\n \"suggestion\": \"给出的修改或处理建议\",\n \"changeTo\": \"建议修改成的内容(如有)\"\n}\n\n## 重要约束\n1. 只允许找出检查维度提到的问题,其余问题一律忽略\n2. 必须根据上下文语义进行判断\n3. 已排查出的问题不必重复提醒\n4. 修改建议优先级: 删除 > 修改\n5. text 字段只返回纯文本,带上前后文便于定位\n6. category 不确定时设为\"疑似差错\"', 1, 1, '1', 'PROOFREAD', 'STRING_TEMPLATE', '校对功能的System Message模板,定义角色、输出规范和核心约束', '0', 'admin', '2025-12-16 10:00:00', 'admin', '2025-12-16 10:00:00', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (53, 'PROOFREAD_USER', '校对User提示词', '当前时间: {CURRENT_TIME}\n\n## 检查维度\n{CHECK_DESC}\n\n## 已排查问题\n{JOB_RESULT}\n\n## 待审核内容\n{CONTENT}', 1, 1, '1', 'PROOFREAD', 'STRING_TEMPLATE', '校对功能的User Message模板,包含检查维度、已排查问题和待审核内容', '0', 'admin', '2025-12-16 10:00:00', 'admin', '2025-12-16 10:00:00', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (54, 'PROOFREAD_LEADER_SYSTEM', '领导审核System提示词', '你是一名严格、谨慎、专业的中文稿件审核与校对专家。\n\n## 核心职责\n检查文档中涉及领导人的内容,包括姓名、职务、排序是否正确。\n\n## 输出规范\n- 必须输出 JSON 数组格式,不得包含任何其他内容\n- 若未发现问题,返回 []\n\n## JSON 字段结构\n{\n \"type\": \"领导姓名错误/领导职务错误/领导姓名排序错误\",\n \"text\": \"触发问题的原文片段(html标签中最简短的文本原文,便于定位)\",\n \"description\": \"问题描述\",\n \"suggestion\": \"建议\",\n \"changeTo\": \"建议修改为(如有)\"\n}\n\n## 重要约束\n1. 只允许找\"领导清单\"中已存在领导的相关问题,其余问题一律忽略\n2. 必须根据上下文语义进行判断\n3. 修改建议优先级: 删除 > 修改\n4. text 字段只返回纯文本,带上前后文便于定位\n5. 原文不能改变,没有空格不要自作主张增加空格', 1, 1, '1', 'PROOFREAD', 'STRING_TEMPLATE', '领导相关审核的System Message模板', '0', 'admin', '2025-12-16 10:00:00', 'admin', '2025-12-16 10:00:00', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (55, 'PROOFREAD_LEADER_USER', '领导审核User提示词', '当前时间: {CURRENT_TIME}\n\n## 公司领导清单\n{LEADER_TABLE}\n\n## 检查项目\n- 检查已出现的领导职务是否正确(若有)\n- 检查已出现的领导姓名是否正确(若有)\n- 检查已出现的领导姓名排序是否正确(若有,排序数字越大越应该靠前)\n\n## 待审核内容\n{CONTENT}', 1, 1, '1', 'PROOFREAD', 'STRING_TEMPLATE', '领导相关审核的User Message模板', '0', 'admin', '2025-12-16 10:00:00', 'admin', '2025-12-16 10:00:00', 1); -INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`) VALUES (56, 'similar-questions-manual-user.st', '手动问答相似问题用户提示词', '【原问题】\n{question}\n\n【参考答案】\n{answer}\n\n【任务】\n请根据以上问答对,生成不同表达方式的相似问法。\n\n【要求】\n1. 生成的问题必须与原问题语义相同,能用相同答案回答\n2. 使用不同的句式、词汇或角度来表达\n3. 每个问题长度10-40字\n4. 避免简单的词语替换,要有实质性的表达差异\n5. 不要生成与原问题完全相同的问题\n\n直接输出JSON,不要有其他内容。', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '手动问答录入场景的相似问法生成提示词', '0', 'admin', '2025-12-17 10:00:00', 'admin', '2025-12-17 10:00:00', 1); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (1, 'knowledge-system.st', '知识库系统提示词', '# 角色\n你是一名资深专业顾问,擅长在检索增强生成(RAG)场景下,基于给定资料回答问题。你的回答必须严谨、准确、完整,禁止编造或补充资料中不存在的信息。\n\n## 当前时间\n{systemTime}\n\n# 任务\n请仅基于「已知信息」回答「用户问题」。你需要对资料进行归纳总结,输出清晰、结构化、可读性强的答案。\n\n# 强制规则\n1. 语言一致:使用与「用户问题」相同的语言作答。\n2. 严格依据资料:只能使用「已知信息」中的内容;不允许推测、脑补、常识补全或引入外部信息。\n3. 禁止原文堆砌:不得把「已知信息」整段/大段原样复述;只输出你总结后的结论与必要的要点。\n4. 图片/链接处理: \n - 若「已知信息」中包含图片或链接,且与回答内容直接相关,必须原样保留并输出(保持链接/图片地址不变)。 \n - 若图片/链接与问题无关,则不要输出。', 2, '1', '1', 'RAG', 'STRING_TEMPLATE', '知识库对话的系统提示词,定义AI顾问角色', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2026-02-05 14:12:39'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (2, 'knowledge-user.st', '知识库用户提示词', '## 用户问题\n{userMessage}\n## 已知信息\n{contents}\n## 回答要求\n- 使用与问题相同的语言回答,回答必须基于以上已知信息,并确保准确性和相关性,\n- 如无法回答,请回复:{emptyDesc}。', 2, '1', '1', 'RAG', 'STRING_TEMPLATE', '知识库RAG用户提示词模板', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2026-02-05 14:14:01'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (3, 'knowledge-rag-compress.st', 'RAG查询压缩', 'Based on the new user query and prior conversation, reformulate this query into a clear, concise, and self-contained format suitable for information retrieval.Here is the context:\n## User new query\n{query}\n## prior conversation\n{chatMemory}\nNote: It is crucial to provide the reformulated query only. Do not prepend the query with any other information', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '根据对话历史压缩重构用户查询', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (4, 'knowledge-rag-qa.st', 'RAG问答格式', '## {question}\n{answer}', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', 'RAG问答对格式模板', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (5, 'knowledge-rag-summary.st', 'RAG文档摘要', '/no_think Read the provided article carefully and analyze it to create a summary that meets the specified requirements.\n\n## Analysis Requirements:\n1. Limit the summary length to **within 100 words**, striving to be both concise and comprehensive.\n2. Extract the **core information** and **main points** of the article, ensuring no key content is missed.\n3. Summarize the main points in **concise and clear language**, avoiding redundant expressions.\n4. Maintain an **objective and neutral tone**, without adding personal opinions or interpretations.\n\n# Output Format\n\nThe summary should be a well-structured paragraph, clearly outlining the main ideas while adhering to the specified word limit.\n\n# Examples\n\n**Input:**\n{summary}\n\n**Output:**\n[Insert a concise and comprehensive summary of the article here, ensuring it is within 100 words and maintains an objective tone.]\n\n(Real examples should reflect the nuances and details of the article while being succinct.)\n\n# Notes\n\nEnsure that all critical points are covered while maintaining clarity and neutrality in the summary. Avoid any speculation or subjective language in the analysis.', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '文档摘要生成提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (6, 'knowledge-func-limit.st', '知识库功能限制', '.', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '知识库功能调用限制提示', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (7, 'knowledge-func-metadata.st', '知识库元数据', '## Metadata (Return as-is)\nThe system-provided parameter values need to be returned exactly as they are: current messageKey: {messageKey}, current dateTime: {systemTime}', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '知识库功能调用元数据模板', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (8, 'knowledge-func-select.st', '知识库功能选择', '根据用户输入的描述,从下边的列表中选择一个最符合的功能编码,如不符合则返回空字符串不需要有默认值', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '从功能列表中选择匹配功能的提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (9, 'similar-questions-system.st', '相似问题系统提示词', '你是一个专业的问题改写专家。你的任务是生成语义相似但表达不同的问题变体。\n\n【核心原则】\n1. 语义一致性:生成的问题必须与原问题表达相同或高度相关的意图\n2. 表达多样性:使用不同的句式、词汇、角度进行改写\n3. 长度控制:问题长度控制在10-40个字符\n4. 可回答性:确保生成的问题能被有效回答\n\n【输出要求】\n- 严格按JSON格式输出,不要包含任何其他内容\n- 不要输出markdown代码块\n- 格式:\\{\"questions\": [\"问题1\", \"问题2\", \"问题3\"]\\}', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '相似问题推荐系统提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-17 10:00:00'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (10, 'similar-questions-user.st', '相似问题用户提示词', '【用户原问题】\n{userQuery}\n\n【相关知识内容】\n{context}\n\n【任务】\n基于上述知识内容,生成3个用户可能感兴趣的延伸问题。\n\n【要求】\n- 问题必须能从给定的知识内容中找到答案\n- 不能超出知识范围\n- 问题长度10-40字', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '相似问题推荐用户提示词(RAG场景)', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-17 10:00:00'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (11, 'similar-questions-database-user.st', '数据库相似问题用户提示词', '【用户原问题】\n{userQuery}\n\n【数据表结构】\n{tableSchema}\n\n【任务】\n基于上述表结构,生成3个用户可能感兴趣的数据查询问题。\n\n【要求】\n- 问题范围不能超出数据表结构\n- 问题应具有实际查询价值\n- 问题长度10-40字', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '基于数据库表结构的相似问题推荐', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-17 10:00:00'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (12, 'chat2db-user.st', 'Chat2DB用户提示词', '### 用户问题\n{userInput}\n### 表结构信息\n{tableSchema}\n### 已知信息(术语同义词)\n{terminologies}\n### 输出限制\n1. 字段限定:只能使用数据库表结构中已定义的字段,禁止使用未被指定的额外列。\n2. SQL 查询结果字段应使用 AS 关键字附加字段注释,以提高可读性。\n3. 如果表结构中包含 del_flag ,那么过滤条件del_flag为0\n4. 如果表结构中包含 tenant_id ,那么过滤条件tenant_id为{tenantId}\n5. 查询结果仅显示前十条记录。', 1, 1, '1', 'SQL', 'STRING_TEMPLATE', 'Chat2DB自然语言转SQL用户提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (13, 'chat2db-result.st', 'Chat2DB结果展示', '# Present the results in Markdown table format. Do not output any other content\n{result}', 1, 1, '1', 'SQL', 'STRING_TEMPLATE', 'Chat2DB查询结果Markdown展示', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (14, 'chat2db-result-chart.st', 'Chat2DB图表配置', '/no_think 你是专注于处理和可视化数据的工程师,根据用户提供的数据和需求,生成有效的 {chartType} 图表 JSON 配置。\n\n### Skill:\n1. 深入理解 json schema 数据结构及字段含义。\n2. 根据用户需求调整 {chartType} 的 xAxis.data 和 series.data 字段的数据\n## Question:\n{result}\n\n## json schema\n{jsonSchema}', 1, 1, '1', 'SQL', 'STRING_TEMPLATE', 'Chat2DB图表JSON配置生成', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (15, 'Chat2SqlFunctionCalling.st', 'Chat2SQL函数调用', 'The function is to generate executable SQL based on the input in natural language combined with the input table column structure', 1, 1, '1', 'SQL', 'STRING_TEMPLATE', 'Chat2SQL函数调用描述', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (16, 'chat2db-table-schema.ftl', 'Chat2DB表结构模板', '<#list tables as table>\n ### 数据库类型: ${table.dbType!}\n ### 表名:**${table.tableName}**\n 注释:${table.tableComment!}\n ### 数据列:\n | 名称 | 数据类型 | 注释 |\n |------|------|------|\n <#list table.fields as field>\n |${field.fieldName} | ${field.fieldType} | ${field.fieldComment!} |\n \n', 1, 1, '1', 'SQL', 'FREEMARKER', 'Chat2DB表结构信息Freemarker模板', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:22:05'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (17, 'chat2db-terminologies.ftl', 'Chat2DB术语同义词', '<#list terminologies as terminology>\n \n \n ${terminology.word}\n <#list terminology.synonymsList as synonyms>\n ${synonyms}\n \n \n ${terminology.description}\n \n', 1, 1, '1', 'SQL', 'FREEMARKER', 'Chat2DB术语同义词Freemarker模板', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:22:09'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (18, 'ocr-common.st', 'OCR通用识别', '请对给定的图片进行 OCR 识别,提取出其中的所有文字内容,不需要额外任何总结和推理操作。\n- 在输出文字时,请确保去掉图片中的敏感词,以避免触发内容审查机制。\n- 输出结果应仅包含提取的文字,不需要附加任何其他信息或说明。\n# 输出格式\n请以纯文本的形式输出识别到的文字内容。', 1, 1, '1', 'OCR', 'STRING_TEMPLATE', 'OCR通用文字识别提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (19, 'ocr-image.st', 'OCR图片转文本', 'Convert the following image to text.\nReturn only the markdown with no explanation text. Do not include deliminators like \'\'\'markdown.\nYou must include all information on the page. Do not exclude headers, footers, or subtext.', 1, 1, '1', 'OCR', 'STRING_TEMPLATE', 'OCR图片转Markdown文本', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (20, 'ocr-image-json.st', 'OCR图片JSON提取', 'You are a specialized Natural Language Understanding (NLU) assistant. Your primary function is to extract structured information from natural language input and convert it into well-formatted JSON output.', 1, 1, '1', 'OCR', 'STRING_TEMPLATE', 'OCR图片结构化JSON提取系统提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (21, 'ocr-image-user-json.st', 'OCR图片JSON用户提示词', '请严格按照以下JSON schema格式返回分析结果:{jsonSchema}', 1, 1, '1', 'OCR', 'STRING_TEMPLATE', 'OCR图片JSON输出用户提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (22, 'ocr-system-json.st', 'OCR系统JSON提示词', '您应该始终遵循指令并输出一个有效的JSON对象。请根据指令使用指定的JSON对象结构。', 1, 1, '1', 'OCR', 'STRING_TEMPLATE', 'OCR JSON输出系统提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (23, 'ocr-user-json.st', 'OCR用户JSON提示词', 'user input: {userInput}\n\nYou must strictly follow the format defined by the following json schema to output the json object answer:\n{jsonSchema}', 1, 1, '1', 'OCR', 'STRING_TEMPLATE', 'OCR用户输入JSON输出提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (24, 'ocr-image-security-system.st', 'OCR安全分析系统提示词', '你是一个专业的工作场所安全分析专家。请仔细分析图像中的安全风险并提供详细的JSON格式分析结果。', 1, 1, '1', 'OCR', 'STRING_TEMPLATE', '工作场所安全分析系统提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (25, 'ocr-image-security-user.st', 'OCR安全分析用户提示词', '请分析提供的图像中的工作场所中的\"个人防护用品\"、\"四口五临边\" 防护安全风险。识别风险程度最高的{securityLevel}个安全风险,评估其风险等级,建议控制措施,并提供其位置的边界框或多边形。请严格按照提供的JSON模式执行。\n- 风险ID和对应区域的ID必须完全匹配(例如,风险\"H1\"对应区域\"H1\")。\n- 必须为每个识别的风险提供区域信息。这是强制性的。\n- 区域坐标请提供0到1之间的标准化值。\n- 对于\'rect\',使用x, y, w, h。对于\'poly\',使用\'points\'。\n- 所有返回的文本内容必须使用中文。\n- 请严格按照以下JSON schema格式返回分析结果:', 1, 1, '1', 'OCR', 'STRING_TEMPLATE', '工作场所安全分析用户提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (26, 'ocr-image-security-user-schema.st', 'OCR安全分析JSON Schema', '{\"type\":\"object\",\"properties\":{\"caption\":{\"type\":\"string\",\"description\":\"图像内容的简短描述性标题,概括图像的主要内容和场景\"},\"isConstructionScene\":{\"type\":\"boolean\",\"description\":\"是否工地场景:true(是工地场景)、false(不是工地场景)\"},\"hazards\":{\"type\":\"array\",\"description\":\"图像中识别出的安全风险列表,每个风险包含详细信息和应对措施\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"风险唯一标识符,格式为\'H1\'、\'H2\'等,用于关联图像区域\"},\"hazard\":{\"type\":\"string\",\"description\":\"具体风险描述,详细说明风险的性质和潜在危害\"},\"risk\":{\"type\":\"object\",\"properties\":{\"severity\":{\"type\":\"string\",\"enum\":[\"LOW\",\"MEDIUM\",\"HIGH\"],\"description\":\"风险严重程度:LOW(轻微)、MEDIUM(中等)、HIGH(严重)\"},\"reason\":{\"type\":\"string\",\"description\":\"风险评估的详细理由和依据,解释为什么给出此等级评估\"}},\"required\":[\"severity\",\"reason\"]},\"decide_controls\":{\"type\":\"array\",\"description\":\"针对该风险推荐的管控措施列表,提供具体的预防和应对建议\",\"items\":{\"type\":\"string\"}}},\"required\":[\"id\",\"hazard\",\"risk\",\"decide_controls\"]}},\"regions\":{\"type\":\"array\",\"description\":\"图像中对应风险区域的坐标信息列表,每个区域ID必须与风险ID匹配\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"对应风险的ID,必须与hazards数组中的某个风险ID一致\"},\"shape\":{\"type\":\"string\",\"enum\":[\"rect\",\"poly\"],\"description\":\"区域形状类型:rect(矩形)、poly(多边形)\"},\"x\":{\"type\":\"number\",\"description\":\"矩形区域左上角X坐标,取值范围0-1(相对坐标)\"},\"y\":{\"type\":\"number\",\"description\":\"矩形区域左上角Y坐标,取值范围0-1(相对坐标)\"},\"w\":{\"type\":\"number\",\"description\":\"矩形区域宽度,取值范围0-1(相对坐标)\"},\"h\":{\"type\":\"number\",\"description\":\"矩形区域高度,取值范围0-1(相对坐标)\"},\"points\":{\"type\":\"array\",\"description\":\"多边形区域顶点坐标数组,每个元素为[x,y]坐标对,取值范围0-1(相对坐标)\",\"items\":{\"type\":\"array\",\"items\":{\"type\":\"number\"}}}},\"required\":[\"id\",\"shape\"]}}},\"required\":[\"caption\",\"isConstructionScene\",\"hazards\",\"regions\"]}', 1, 1, '1', 'OCR', 'FREEMARKER', '工作场所安全分析JSON Schema定义', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (27, 'mcp.st', 'MCP交互提示词', '深入理解用户需求,实现目标MCP的交互,系统提供的参数值需要完全按原样返回 accessToken: {accessToken}, 当前时间: {systemTime}。\n\n### Skill:\n1. 理解用户目标和需求背景。\n2. 调用目标MCP Server: {mcpName}\n## Goals:\n{inputMessage}', 1, 1, '1', 'MCP', 'STRING_TEMPLATE', 'MCP Server交互提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (28, 'flow-format-json.st', '工作流JSON格式', '你必须严格按照以下 JSON Schema 格式输出,不要包含任何其他文本\n## 输出限制\n- 1. 输出必须是有效的 JSON 格式\n- 2. 所有必填字段都必须提供\n- 3. 不要输出代码块标记(如 ```json 或 ```\n- 4. 只输出 JSON 对象本身,不要添加任何解释性文字\n- 5. 字段类型必须与 Schema 定义一致', 1, 1, '1', 'FLOW', 'STRING_TEMPLATE', '工作流JSON格式输出提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (29, 'flow-question-json.st', '工作流问题分类', '### Skill:\n1. 精通语义分析和意图识别\n2. 熟悉分类匹配技术\n3. 能够处理复杂的分类选择任务\n## 用户输入\n{input}\n## 标签列表\n{categories}\n## OutputFormat:\n1. 输出结果必须为JSON格式\n2. 仅返回匹配分类的value值\n## Examples JSON Schema:\n{jsonSchema}', 1, 1, '1', 'FLOW', 'STRING_TEMPLATE', '工作流问题分类用户提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (30, 'flow-question-system-json.st', '工作流问题分类系统', '作为一名分类选择专家,我擅长分析问题的语义和意图,并从可用分类中选择最相关的分类\n\n当前日期时间: {systemTime}', 1, 1, '1', 'FLOW', 'STRING_TEMPLATE', '工作流问题分类系统提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (31, 'FlowFunctionCalling.st', '工作流函数调用', '函数的作用:帮助发起请假流程,从用户的输入的自然语言中,提取请假流程所需的各种数据,并能够通过系统提供的参数值分析出上下文所需的各种参数。', 1, 1, '1', 'FLOW', 'STRING_TEMPLATE', '请假流程函数调用描述', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (32, 'MiIotFunctionCalling.st', '智能家居函数调用', '函数的作用:帮助管理智能家居的设备,从用户的输入的自然语言中,提取需要操作的设备的状态(0关闭,1打开),并能够通过系统提供的参数值分析出上下文所需的各种参数。', 1, 1, '1', 'FLOW', 'STRING_TEMPLATE', '智能家居设备控制函数调用描述', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (33, 'SysUserFunctionCalling.st', '系统用户函数调用', '函数的作用:帮助用户创建系统用户,需要用户输入用户名、手机号、密码三个必填字段。', 1, 1, '1', 'FLOW', 'STRING_TEMPLATE', '系统用户创建函数调用描述', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (34, 'base-simple-system.st', '基础系统提示词', '/no_think You are a helpful and harmless assistant.\ncurrent date and time systemTime: {systemTime}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '基础简单系统提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (35, 'reason-system.st', '推理系统提示词', '你是一个专注于逻辑推理和问题解决的智能助手。面对任何问题时,请按照以下步骤逐步思考:\n\n1) 理解问题的核心要求;\n2) 分析可能的解决路径;\n3) 一步步推导答案,确保逻辑清晰且无遗漏;\n4) 在给出最终答案前,检查推理过程是否一致。思考过程请尽量详细,最终答案要简洁准确。如果问题超出你的能力范围,请诚实地说\'我不知道\'。\n\n当前日期时间: {systemTime}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '逻辑推理系统提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (36, 'ai-poster.ftl', 'AI海报生成', '你是一名专业的内容策展人和视觉设计师,擅长从用户输入的文章或段落中提炼精华并创建视觉冲击力强的知识海报,禁止输出 ``` 的代码块标识\n${templateStyle}\n相关的HTML class类:\n.container 主容器类,定义了基本样式和背景效果\n.content - 内容容器类,确保内容在装饰层之上\n.date - 日期显示类,有倾斜和特殊背景\n.title - 标题类,具有大号字体、倾斜和文字阴影效果\n.subtitle - 副标题类,带有左侧彩色边框\n.quote-container - 引用容器类\n.quote - 引用文本类,有特殊背景和边框\n.points - 要点列表容器类\n.point - 单个要点类,有轻微旋转和背景变化\n.point-text - 要点文本类\n.point-number - 要点编号类,采用醒目的颜色和大号字体\n.editor-note - 编辑注释类,有虚线边框和装饰符号\n<#if hasQrCode>\n.qr-section - 二维码部分容器类\n.qr-code - 二维码图像类\n.qr-text - 二维码说明文本类\n\n## 设计要求\n- 日期区域:以各风格特有的方式呈现当前日期\n- 标题和副标题:根据风格调整字体、大小、排版方式\n- 引用区块:设计独特的引用样式,体现风格特点\n- 核心要点列表:以符合风格的方式呈现列表内容\n<#if hasQrCode>\n- 二维码区域:将二维码融入整体设计\n\n- 编辑笔记/小贴士:设计成符合风格的边栏或注释\n## 输出要求\n- 只需要输出带有如上class 类的 div HTML代码,不需要 style 和其他\n- 只需要div 代码,不需要额外的解释,禁止输出 ``` 的代码块标识\n<#if hasQrCode>\n- 二维码图片的地址为: ${qrCode}\n\n## 待处理的文本:\n${prompt}', 1, '1', '1', 'OTHER', 'FREEMARKER', 'AI知识海报HTML生成', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2026-01-20 21:47:13'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (37, 'ai-writer-text-ops.st', 'AI写作文本操作', '/no_think\n你是专业的中文与英文写作助手。当前日期为: {systemTime}\n对用户给出的选中文本执行指定的写作动作。\n除非特别要求,不添加前后额外说明,只输出处理后的正文。\n输出语言使用与输入文本一致。\n动作:{action}\n指令:{instruction}\n待处理文本:\n{text}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', 'AI写作文本操作提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (38, 'ai-writter-document.st', 'AI公文写作', '/no_think\n你是一个专业的公文写手,你需要根据用户提供的信息,写出一个符合要求的公文。\n当前日期为: {systemTime}\n请基于提供的信息,生成一个符合要求的公文。\n标题:{title}\n参考资料:\n{abstractContent}\n参考模板:\n{doc_template}\n要求:\n- 1. 符合用户提供的要求\n- 2. 严格按照格式输出\n- 3. 字体、大小、颜色等严格参照模板\n- 4. 如果是红头文件,只允许生成模板正文部分,其他部分不可修改。\n- 5. 只允许直接返回html,不要返回其他内容,不要做任何解释。\n- 6. 不要返回代码块(```),直接返回html文本', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', 'AI公文写作提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (39, 'gen-image.st', 'AI图片生成翻译', 'You are a professional English translator, especially good at translating Chinese articles into English articles suitable for Americans to read.\n#Rule 1.: Must output English\n#Rule 2: Use paraphrase when translating, and strictly prohibit literal translation\n#Rule 3: According to the results of paraphrase, polish the article, and make the content more understandable and in line with English expression habits while adhering to the original meaning\nPlease translate the Chinese article into English according to the above rules. The following is the content to be translated: {input}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '图片生成提示词中英翻译', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (40, 'gen-image-limit.st', 'AI图片生成限制', '## Restrictions\n- The image size must be within the range of {imageSize}\n- Pictures cannot contain elements [{negativePrompt}]', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '图片生成限制条件', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (41, 'gen-image-result.st', 'AI图片生成结果', '![]({url})', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '图片生成结果展示模板', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (42, 'gen-markmap.st', 'AI思维导图生成', '# Role\nYou are a Markdown outline format engineer who focuses on answering user questions. You can quickly and accurately convert user questions into refined Markdown outline titles, and refine the specific details of each title.\n\n## Skills\n### Skill 1: Identify user question intent\n- Accurately understand the specific content and needs of user questions.\n### Skill 2: Convert to Markdown outline\n- Simplify user questions into Markdown outline-style titles.\n### Skill 3: Return to user\n- Return the optimized outline to the user.\n\n## Constraints\n- Only return the organized format content text, without ``` code flag\n- Answer the question in the language used by the user.\n- Return the answer in Markdown style, keep the main title as concise as possible; and refine the specific step information of each main title in the subtitle.\n\nThe user input is as follows: {input}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '思维导图Markdown生成提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (43, 'gen-text.st', 'AI文本补全', '你是一个全能的补全助手,可以根据用户的输入:{prompt},输出文本的具体的结果,不需要任何其他文字或提示。\n## 数据格式要求参考如下:\n{conditions}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', 'AI文本补全提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (44, 'meta-prompt.st', '元提示词生成', ' Given a task description or existing prompt, produce a detailed system prompt to guide a language model in completing the task effectively.\n\n# Guidelines\n\n- Understand the Task: Grasp the main objective, goals, requirements, constraints, and expected output.\n- Minimal Changes: If an existing prompt is provided, improve it only if it\'s simple. For complex prompts, enhance clarity and add missing elements without altering the original structure.\n- Reasoning Before Conclusions**: Encourage reasoning steps before any conclusions are reached. ATTENTION! If the user provides examples where the reasoning happens afterward, REVERSE the order! NEVER START EXAMPLES WITH CONCLUSIONS!\n - Reasoning Order: Call out reasoning portions of the prompt and conclusion parts (specific fields by name). For each, determine the ORDER in which this is done, and whether it needs to be reversed.\n - Conclusion, classifications, or results should ALWAYS appear last.\n- Examples: Include high-quality examples if helpful, using placeholders [in brackets] for complex elements.\n - What kinds of examples may need to be included, how many, and whether they are complex enough to benefit from placeholders.\n- Clarity and Conciseness: Use clear, specific language. Avoid unnecessary instructions or bland statements.\n- Formatting: Use markdown features for readability. DO NOT USE ``` CODE BLOCKS UNLESS SPECIFICALLY REQUESTED.\n- Preserve User Content: If the input task or prompt includes extensive guidelines or examples, preserve them entirely, or as closely as possible. If they are vague, consider breaking down into sub-steps. Keep any details, guidelines, examples, variables, or placeholders provided by the user.\n- Constants: DO include constants in the prompt, as they are not susceptible to prompt injection. Such as guides, rubrics, and examples.\n- Output Format: Explicitly the most appropriate output format, in detail. This should include length and syntax (e.g. short sentence, paragraph, JSON, etc.)\n - For tasks outputting well-defined or structured data (classification, JSON, etc.) bias toward outputting a JSON.\n - JSON should never be wrapped in code blocks (```) unless explicitly requested.\n\nThe final prompt you output should adhere to the following structure below. Do not include any additional commentary, only output the completed system prompt. SPECIFICALLY, do not include any additional messages at the start or end of the prompt. (e.g. no \"---\")\n\n[Concise instruction describing the task - this should be the first line in the prompt, no section header]\n\n[Additional details as needed.]\n\n[Optional sections with headings or bullet points for detailed steps.]\n\n# Steps [optional]\n\n[optional: a detailed breakdown of the steps necessary to accomplish the task]\n\n# Output Format\n\n[Specifically call out how the output should be formatted, be it response length, structure e.g. JSON, markdown, etc]\n\n# Examples [optional]\n\n[Optional: 1-3 well-defined examples with placeholders if necessary. Clearly mark where examples start and end, and what the input and output are. User placeholders as necessary.]\n[If the examples are shorter than what a realistic example is expected to be, make a reference with () explaining how real examples should be longer / shorter / different. AND USE PLACEHOLDERS! ]\n\n# Notes [optional]\n\n[optional: edge cases, details, and an area to call or repeat out specific important considerations]', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '元提示词生成器', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (45, 'report-polish.st', '报告润色', '## 核心目标\n{reportPrompt}\n## 输入信息\n{prompt}\n\n参考资料:当前时间:{systemTime},用户名:{username}。\n\n## 输出要求\n* 输出内容必须是优化后的报告本身, 应清晰、简洁、准确地反映报告内容。\n* 不得包含任何markdown语法的修饰字符例如:``` ** ###', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '报告润色优化提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (46, 'report-system-json.st', '报告系统JSON', '您应该始终遵循指令并输出一个有效的JSON对象。请根据指令使用指定的JSON对象结构。\n当前时间: {systemTime}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '报告JSON输出系统提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (47, 'report-user-json.st', '报告用户JSON', '请根据提供的 JSON Schema,严格解析并格式化以下用户输入内容 (`{userInput}`) 为格式化为一个 JSON 对象。\n\n在处理过程中,请遵循以下规则:\n1. **严格遵守 Schema**: 输出的 JSON 对象必须完全符合 JSON Schema 中定义的结构、字段类型和约束。\n2. **解析与提取**: 从用户输入中准确提取信息,填充到 JSON 对象的相应字段中。\n3. **补充与优化**: 如果用户输入中的信息对于某个 Schema 字段不规范、不完整或缺失,请根据 Schema 的定义和用户输入的上下文,尝试进行合理的补充或优化,确保字段值有效且符合预期。\n4. **输出格式**: 仅输出最终生成的 JSON 对象字符串,不包含任何额外文本、解释或标记。\n\n## JSON Schema\n{jsonSchema}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '报告JSON输出用户提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (48, 'user-json.st', '通用用户JSON', '根据用户当前输入: {userInput} 并结合上文历史聊天,总结整理出要求的JSON结果。\n\n您必须严格遵循以下json模式定义的格式来输出json对象答案:\n{jsonSchema}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '通用JSON输出用户提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (49, 'web-search.st', '网页搜索', '{input}\n\nAnswer using the following information:\ncurrentDate: {currentDate}\n{searchResult}', 1, 1, '1', 'OTHER', 'STRING_TEMPLATE', '网页搜索结果整合提示词', '0', 'admin', '2025-12-14 15:45:05', 'admin', '2025-12-14 17:21:40'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (52, 'PROOFREAD_SYSTEM', '校对System提示词', '你是一名严格、谨慎、专业的中文稿件审核与校对专家。\n\n## 核心职责\n仅识别问题并给出修改建议,不改写全文。\n\n## 输出规范\n- 必须输出 JSON 数组格式,不得包含任何其他内容\n- 若未发现问题,返回 []\n\n## JSON 字段结构\n{\n \"category\": \"所属大类(政务性差错|一般性差错|疑似差错)\",\n \"type\": \"问题子类型\",\n \"text\": \"触发问题的原文片段(html标签中最简短的文本原文,便于定位)\",\n \"description\": \"对问题的描述与原因分析\",\n \"suggestion\": \"给出的修改或处理建议\",\n \"changeTo\": \"建议修改成的内容(如有)\"\n}\n\n## 重要约束\n1. 只允许找出检查维度提到的问题,其余问题一律忽略\n2. 必须根据上下文语义进行判断\n3. 已排查出的问题不必重复提醒\n4. 修改建议优先级: 删除 > 修改\n5. text 字段只返回纯文本,带上前后文便于定位\n6. category 不确定时设为\"疑似差错\"', 1, 1, '1', 'PROOFREAD', 'STRING_TEMPLATE', '校对功能的System Message模板,定义角色、输出规范和核心约束', '0', 'admin', '2025-12-16 10:00:00', 'admin', '2025-12-16 10:00:00'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (53, 'PROOFREAD_USER', '校对User提示词', '当前时间: {CURRENT_TIME}\n\n## 检查维度\n{CHECK_DESC}\n\n## 已排查问题\n{JOB_RESULT}\n\n## 待审核内容\n{CONTENT}', 1, 1, '1', 'PROOFREAD', 'STRING_TEMPLATE', '校对功能的User Message模板,包含检查维度、已排查问题和待审核内容', '0', 'admin', '2025-12-16 10:00:00', 'admin', '2025-12-16 10:00:00'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (54, 'PROOFREAD_LEADER_SYSTEM', '领导审核System提示词', '你是一名严格、谨慎、专业的中文稿件审核与校对专家。\n\n## 核心职责\n检查文档中涉及领导人的内容,包括姓名、职务、排序是否正确。\n\n## 输出规范\n- 必须输出 JSON 数组格式,不得包含任何其他内容\n- 若未发现问题,返回 []\n\n## JSON 字段结构\n{\n \"type\": \"领导姓名错误/领导职务错误/领导姓名排序错误\",\n \"text\": \"触发问题的原文片段(html标签中最简短的文本原文,便于定位)\",\n \"description\": \"问题描述\",\n \"suggestion\": \"建议\",\n \"changeTo\": \"建议修改为(如有)\"\n}\n\n## 重要约束\n1. 只允许找\"领导清单\"中已存在领导的相关问题,其余问题一律忽略\n2. 必须根据上下文语义进行判断\n3. 修改建议优先级: 删除 > 修改\n4. text 字段只返回纯文本,带上前后文便于定位\n5. 原文不能改变,没有空格不要自作主张增加空格', 1, 1, '1', 'PROOFREAD', 'STRING_TEMPLATE', '领导相关审核的System Message模板', '0', 'admin', '2025-12-16 10:00:00', 'admin', '2025-12-16 10:00:00'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (55, 'PROOFREAD_LEADER_USER', '领导审核User提示词', '当前时间: {CURRENT_TIME}\n\n## 公司领导清单\n{LEADER_TABLE}\n\n## 检查项目\n- 检查已出现的领导职务是否正确(若有)\n- 检查已出现的领导姓名是否正确(若有)\n- 检查已出现的领导姓名排序是否正确(若有,排序数字越大越应该靠前)\n\n## 待审核内容\n{CONTENT}', 1, 1, '1', 'PROOFREAD', 'STRING_TEMPLATE', '领导相关审核的User Message模板', '0', 'admin', '2025-12-16 10:00:00', 'admin', '2025-12-16 10:00:00'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (56, 'similar-questions-manual-user.st', '手动问答相似问题用户提示词', '【原问题】\n{question}\n\n【参考答案】\n{answer}\n\n【任务】\n请根据以上问答对,生成不同表达方式的相似问法。\n\n【要求】\n1. 生成的问题必须与原问题语义相同,能用相同答案回答\n2. 使用不同的句式、词汇或角度来表达\n3. 每个问题长度10-40字\n4. 避免简单的词语替换,要有实质性的表达差异\n5. 不要生成与原问题完全相同的问题\n\n直接输出JSON,不要有其他内容。', 1, 1, '1', 'RAG', 'STRING_TEMPLATE', '手动问答录入场景的相似问法生成提示词', '0', 'admin', '2025-12-17 10:00:00', 'admin', '2025-12-17 10:00:00'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (57, 'system-gen-infographic.st', '信息图生成提示词', '## 角色说明\n\n你是一个专业的信息图生成助手,熟悉 AntV Infographic 语法(形如 Mermaid 的文本语法)。当用户给出内容或需求时,你需要:\n1. 提炼关键信息结构(标题、描述、条目、层级、指标等)\n2. 结合语义选择合适的模板(template)与主题\n3. 将内容用规范的 Infographic 语法描述,方便实时流式渲染\n\n## 输出格式\n\n始终使用纯文本输出,不得输出解释性文字、禁止任何```包裹。语法结构示例:\n\ninfographic list-row-horizontal-icon-arrow\ndata\n title 标题\n desc 描述\n items\n - label 条目\n value 12.5\n desc 说明\n icon mdi/rocket-launch\ntheme\n palette\n - #3b82f6\n - #8b5cf6\n - #f97316\n\n## 语法要点\n\n- 第一行以 `infographic ` 开头,模板从下方列表中选择\n- 使用 block 描述 data / theme,层级通过两个空格缩进\n- 键值对使用「键 值」形式,数组通过 `-` 分项\n- icon 值直接提供关键词或图标名(如 `mdi/chart-line`)\n- data 应包含 title/desc/items(根据语义可省略不必要字段)\n- data.items 可包含 label(string)/value(number)/desc(string)/icon(string)/children(array) 等字段,children 表示层级结构\n- 对比类模板(名称以 `compare-` 开头)应构建两个根节点,所有对比项作为这两个根节点的 children,确保结构清晰\n- hierarchy-structure 模板最多支持 3 层(根层 → 分组 → 子项),且 data.items 顺序即从上到下的层级顺序(第 1 个在最上)\n- theme 可用 `theme `,或使用 block 自定义 palette 等;不写即默认主题,可选:dark、hand-drawn\n- 根据语义选择模板:列表用 list-*,顺序用 sequence-*,对比用 compare-*,层级用 hierarchy-*,统计用 chart-*,象限用 quadrant-*,关系用 relation-*\n- 严禁输出 JSON、Markdown、解释或额外文本\n\n## 模板 (template)\n\n- sequence-zigzag-steps-underline-text\n- sequence-horizontal-zigzag-underline-text\n- sequence-horizontal-zigzag-simple-illus\n- sequence-circular-simple\n- sequence-filter-mesh-simple\n- sequence-mountain-underline-text\n- sequence-cylinders-3d-simple\n- sequence-color-snake-steps-horizontal-icon-line\n- sequence-pyramid-simple\n- sequence-funnel-simple\n- sequence-roadmap-vertical-simple\n- sequence-roadmap-vertical-plain-text\n- sequence-zigzag-pucks-3d-simple\n- sequence-ascending-steps\n- sequence-ascending-stairs-3d-underline-text\n- sequence-snake-steps-compact-card\n- sequence-snake-steps-underline-text\n- sequence-snake-steps-simple\n- sequence-stairs-front-compact-card\n- sequence-stairs-front-pill-badge\n- sequence-timeline-simple\n- sequence-timeline-rounded-rect-node\n- sequence-timeline-simple-illus\n- compare-binary-horizontal-simple-fold\n- compare-hierarchy-left-right-circle-node-pill-badge\n- compare-swot\n- quadrant-quarter-simple-card\n- quadrant-quarter-circular\n- quadrant-simple-illus\n- relation-circle-icon-badge\n- relation-circle-circular-progress\n- compare-binary-horizontal-badge-card-arrow\n- compare-binary-horizontal-underline-text-vs\n- hierarchy-tree-tech-style-capsule-item\n- hierarchy-tree-curved-line-rounded-rect-node\n- hierarchy-tree-tech-style-badge-card\n- hierarchy-structure\n- chart-column-simple\n- chart-bar-plain-text\n- chart-line-plain-text\n- chart-pie-plain-text\n- chart-pie-compact-card\n- chart-pie-donut-plain-text\n- chart-pie-donut-pill-badge\n- chart-wordcloud\n- list-grid-badge-card\n- list-grid-candy-card-lite\n- list-grid-ribbon-card\n- list-row-horizontal-icon-arrow\n- list-row-simple-illus\n- list-sector-plain-text\n- list-column-done-list\n- list-column-vertical-icon-arrow\n- list-column-simple-vertical-arrow\n- list-zigzag-down-compact-card\n- list-zigzag-down-simple\n- list-zigzag-up-compact-card\n- list-zigzag-up-simple\n\n## 注意事项\n\n- 输出必须符合语法规范与缩进规则,禁止任何```包裹,方便前端组件渲染\n- 结合用户输入给出结构化 data,勿编造无关内容\n- 如用户指定风格/色彩/语气,可在 theme 中体现\n- 若信息不足,可合理假设补全,但要保持连贯与可信', 1, '1', '1', 'OTHER', 'STRING_TEMPLATE', '将用户文本描述转换为 AntV Infographic 语法', '0', NULL, '2026-01-12 22:29:06', 'admin', '2026-01-13 11:51:00'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (58, 'ops-inspection-system.ftl', '运维巡检系统提示词', '你是一个专业的运维巡检专家。你的任务是分析应用日志,识别潜在问题,并生成巡检报告。\n \n <#if taskName?has_content>\n 当前巡检任务:${taskName}\n \n \n 请保持客观、专业的态度,基于日志内容进行分析。', 1, '1', '0', NULL, 'FREEMARKER', NULL, '0', NULL, '2026-01-26 23:16:06', NULL, '2026-01-26 23:16:06'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (59, 'ops-inspection-user.ftl', '运维巡检用户提示词', '当前时间:${now} ,分析日志目录:${logDir} \n\n<#if hasTimeRange?? && hasTimeRange>\n## 时间范围\n**重要**:请仅分析从 ${timeRange} 这段时间内产生的日志。\n这是本次巡检的增量分析范围,请重点关注此时间段内的日志变化。\n\n\n## 分析要求\n1. 识别 ERROR 和 WARN 级别的日志,分析其根因\n2. 发现异常模式和趋势\n3. 评估系统健康状态\n4. 提供可操作的修复建议\n\n## 输出格式\n请使用 Markdown 格式输出报告,包含以下章节:\n- 📊 概览摘要\n- 🔴 严重问题(需立即处理)\n- 🟡 警告问题(需关注)\n- 📈 趋势分析\n- 💡 优化建议\n\n## 注意事项\n- 基于日志内容进行客观分析,不要臆测\n- 如果日志正常,明确说明\"未发现异常\"\n- 建议要具体、可执行', 2, '1', '0', NULL, 'FREEMARKER', NULL, '0', NULL, '2026-01-26 23:16:06', 'admin', '2026-01-27 09:19:26'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (60, 'code-review-system.ftl', '代码评审系统提示词', '你是一个专业的代码评审专家,擅长分析代码质量、发现潜在问题并提供改进建议。\n\n## 核心原则\n\n**【强制要求】时间范围过滤**\n- 你必须严格按照用户指定的时间范围过滤 Git 提交记录\n- 使用 `git log --after="开始时间" --before="结束时间"` 进行精确过滤\n- 如果指定时间范围内没有任何提交记录,必须立即返回「没有相关记录」,不得进行任何其他分析或操作\n- 禁止分析时间范围之外的任何提交\n\n## 你的职责\n\n1. 克隆指定的 Git 仓库\n2. 按照用户指定的时间范围过滤提交记录\n3. 如果没有符合时间条件的提交,直接返回「没有相关记录」并结束\n4. 如果有符合条件的提交,评审代码变更,关注代码质量和潜在问题\n5. 生成结构化的评审报告\n\n请使用中文输出评审报告。', 1, '1', '1', 'CODE_REVIEW', 'FREEMARKER', '代码评审任务的系统提示词,定义 AI 角色和职责', '0', 'admin', '2026-02-02 10:00:00', 'admin', '2026-02-02 10:00:00'); +INSERT INTO `ai_prompt_template` (`id`, `template_code`, `template_name`, `template_content`, `template_version`, `template_status`, `system_flag`, `category`, `template_type`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (61, 'code-review-user.ftl', '代码评审用户提示词', '请对以下 Git 仓库进行代码评审:\n\n## 仓库信息\n- Git 地址: ${gitSshUrl}\n- 分支: ${branch}\n- 认证类型: <#if authType == \"ssh\">SSH 私钥<#else>HTTP 用户名密码\n<#if timeRange?has_content>\n- 时间范围: ${timeRange}\n\n\n<#if authType == "ssh" && sshPrivateKey?has_content>\n## SSH 私钥\n```\n${sshPrivateKey}\n```\n\n<#if authType == "http" && httpUsername?has_content>\n## HTTP 认证信息\n- 用户名: ${httpUsername}\n- 密码/Token: ${httpPassword}\n\n\n## 评审要求\n1. <#if authType == \"ssh\">使用 SSH 私钥 clone 仓库到临时目录<#else>使用 HTTP 用户名密码 clone 仓库到临时目录\n2. 执行 git log 统计时间范围内的提交信息(提交次数、贡献者、代码行数)\n3. 执行 git diff 获取代码变更\n4. 评审代码变更,关注:\n - 代码规范问题\n - 命名风格建议\n - 重复代码检测\n - 明显 bug 识别\n5. 生成 Markdown 格式的评审报告,包含统计概览和评审详情\n6. 评审完成后清理临时目录\n\n## 报告格式\n请按以下格式输出报告:\n\n# 代码评审报告\n\n## 一、统计概览\n| 指标 | 数值 |\n|------|------|\n| 提交次数 | xxx |\n| 贡献者数量 | xxx |\n| 新增行数 | xxx |\n| 删除行数 | xxx |\n\n## 二、评审详情\n\n### 2.1 代码规范问题\n...\n\n### 2.2 命名风格建议\n...\n\n### 2.3 重复代码检测\n...\n\n### 2.4 潜在 Bug 识别\n...\n\n## 三、改进建议\n...', 2, '1', '1', 'CODE_REVIEW', 'FREEMARKER', '代码评审任务的用户提示词,包含仓库信息、SSH私钥和评审要求', '0', 'admin', '2026-02-02 10:00:00', 'admin', NOW()); COMMIT; +-- ------------------------------------------- +-- 1. 巡检任务配置表 +-- ------------------------------------------- +CREATE TABLE IF NOT EXISTS `ai_ops_inspection_task` ( + `id` bigint NOT NULL COMMENT '任务ID', + `task_name` varchar(128) COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务名称', + `service_id` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '服务标识(可选,用于多服务扩展)', + `log_dir` varchar(1024) COLLATE utf8mb4_general_ci NOT NULL COMMENT '日志目录(需在允许白名单内)', + `file_glob` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '*.log' COMMENT '文件匹配(glob)', + `cron_expression` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'cron表达式(Spring Cron,预留)', + `time_zone` varchar(64) COLLATE utf8mb4_general_ci DEFAULT 'Asia/Shanghai' COMMENT '时区', + `time_range` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '时间范围(格式:startTime-endTime)', + `max_total_bytes` bigint NOT NULL DEFAULT '3145728' COMMENT '最大读取总字节数(默认3MB)', + `system_prompt_template_id` bigint DEFAULT NULL COMMENT '系统提示词模板ID(ai_prompt_template)', + `user_prompt_template_id` bigint DEFAULT NULL COMMENT '用户提示词模板ID(ai_prompt_template)', + `enabled` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '1' COMMENT '启用状态(0-停用 1-启用)', + `notify_email_enabled` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '邮件通知开关(0-关 1-开,预留)', + `notify_email_biz_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '邮件业务编码(预留)', + `notify_email_receivers` longtext COLLATE utf8mb4_general_ci COMMENT '邮件接收人(逗号分隔,预留)', + `notify_hook_enabled` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT 'Webhook通知开关(0-关 1-开,预留)', + `notify_hook_biz_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'Webhook业务编码(预留)', + `notify_hook_message_type` varchar(32) COLLATE utf8mb4_general_ci DEFAULT 'MARKDOWN' COMMENT '消息类型(预留)', + `notify_hook_notice_all` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '通知全部(0-否 1-是,预留)', + `notify_hook_phone_list` longtext COLLATE utf8mb4_general_ci COMMENT '通知人手机号列表(逗号分隔,预留)', + `notify_on` varchar(32) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'FAILED' COMMENT '触发条件(FAILED/SUCCESS/BOTH,预留)', + `last_run_time` datetime DEFAULT NULL COMMENT '最近执行时间', + `del_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标记', + `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人', + `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', + `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '修改人', + `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', + `tenant_id` bigint NOT NULL DEFAULT '1' COMMENT '租户ID', + PRIMARY KEY (`id`), + KEY `idx_task_tenant` (`tenant_id`), + KEY `idx_task_enabled` (`enabled`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='智能巡检任务配置'; + +-- ------------------------------------------- +-- 2. 巡检执行记录表 +-- ------------------------------------------- +CREATE TABLE IF NOT EXISTS `ai_ops_inspection_run` ( + `run_id` bigint NOT NULL COMMENT '巡检执行ID', + `task_id` bigint NOT NULL COMMENT '任务ID', + `trigger_type` varchar(20) COLLATE utf8mb4_general_ci NOT NULL COMMENT '触发方式(SCHEDULED/MANUAL/API)', + `start_time` datetime NOT NULL COMMENT '开始时间', + `end_time` datetime DEFAULT NULL COMMENT '结束时间', + `status` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '状态(0-RUNNING 1-SUCCESS 2-FAILED)', + `stop_reason` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'stop hook reason', + `input_meta` longtext COLLATE utf8mb4_general_ci COMMENT '输入元数据(JSON:文件列表、大小、时间窗、hash等)', + `summary` text COLLATE utf8mb4_general_ci COMMENT '摘要结论', + `report_md` longtext COLLATE utf8mb4_general_ci COMMENT '巡检报告(Markdown)', + `model` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '模型名称', + `prompt_tokens` bigint DEFAULT NULL COMMENT '提示tokens', + `completion_tokens` bigint DEFAULT NULL COMMENT '补全tokens', + `total_tokens` bigint DEFAULT NULL COMMENT '总tokens', + `cost` decimal(13,6) DEFAULT NULL COMMENT '成本(若可得)', + `duration_ms` bigint DEFAULT NULL COMMENT '耗时毫秒', + `error` longtext COLLATE utf8mb4_general_ci COMMENT '失败错误信息', + `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人', + `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', + `tenant_id` bigint NOT NULL DEFAULT '1' COMMENT '租户ID', + PRIMARY KEY (`run_id`), + KEY `idx_run_task_time` (`task_id`, `start_time`), + KEY `idx_run_status` (`status`), + KEY `idx_run_tenant` (`tenant_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='智能巡检执行记录'; + +-- ------------------------------------------- +-- AI代码评审任务配置表 +-- ------------------------------------------- +CREATE TABLE IF NOT EXISTS `ai_code_review_task` ( + `id` bigint NOT NULL COMMENT '任务ID', + `task_name` varchar(128) NOT NULL COMMENT '任务名称', + `git_ssh_url` varchar(512) NOT NULL COMMENT 'Git SSH 地址', + `ssh_private_key` text COMMENT 'SSH 私钥(AES加密存储)', + `http_username` varchar(256) DEFAULT NULL COMMENT 'HTTP认证用户名', + `http_password` text COMMENT 'HTTP认证密码/Token(AES加密存储)', + `auth_type` varchar(16) DEFAULT 'ssh' COMMENT '认证类型(ssh-SSH私钥认证, http-HTTP用户名密码认证)', + `branch` varchar(128) DEFAULT 'main' COMMENT '分支名', + `time_range` varchar(64) DEFAULT NULL COMMENT '时间范围(格式:startTime-endTime)', + `model` varchar(64) DEFAULT 'claude-sonnet-4-5-20250929' COMMENT '模型名称', + `enabled` char(1) NOT NULL DEFAULT '1' COMMENT '启用状态(0-停用 1-启用)', + `last_run_time` datetime DEFAULT NULL COMMENT '最近执行时间', + `del_flag` char(1) DEFAULT '0' COMMENT '删除标记', + `create_by` varchar(64) DEFAULT NULL COMMENT '创建人', + `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', + `update_by` varchar(64) DEFAULT NULL COMMENT '修改人', + `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', + `tenant_id` bigint NOT NULL DEFAULT '1' COMMENT '租户ID', + PRIMARY KEY (`id`), + UNIQUE KEY `uk_task_name_tenant` (`task_name`, `tenant_id`, `del_flag`), + KEY `idx_task_tenant` (`tenant_id`), + KEY `idx_task_enabled` (`enabled`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='AI代码评审任务配置'; + +-- ------------------------------------------- +-- AI代码评审执行记录表 +-- ------------------------------------------- +CREATE TABLE IF NOT EXISTS `ai_code_review_run` ( + `run_id` bigint NOT NULL COMMENT '执行ID', + `task_id` bigint NOT NULL COMMENT '任务ID', + `status` char(1) NOT NULL DEFAULT '0' COMMENT '状态(0-运行中 1-成功 2-失败)', + `start_time` datetime NOT NULL COMMENT '开始时间', + `end_time` datetime DEFAULT NULL COMMENT '结束时间', + `duration_ms` bigint DEFAULT NULL COMMENT '耗时毫秒', + `commit_count` int DEFAULT 0 COMMENT '提交次数', + `contributor_count` int DEFAULT 0 COMMENT '贡献者数量', + `additions` int DEFAULT 0 COMMENT '新增行数', + `deletions` int DEFAULT 0 COMMENT '删除行数', + `report_md` longtext COMMENT '评审报告(Markdown)', + `error` text COMMENT '失败错误信息', + `create_by` varchar(64) DEFAULT NULL COMMENT '创建人', + `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', + `tenant_id` bigint NOT NULL DEFAULT '1' COMMENT '租户ID', + PRIMARY KEY (`run_id`), + KEY `idx_run_task_time` (`task_id`, `start_time`), + KEY `idx_run_status` (`status`), + KEY `idx_run_tenant` (`tenant_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='AI代码评审执行记录'; + SET FOREIGN_KEY_CHECKS = 1; diff --git a/docker-compose.yml b/docker-compose.yml index b1aad7e24..d3acf7b0b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -# 使用说明 V5.10 +# 使用说明 V5.11 - 微服务架构版本 # 1. 使用docker-compose 宿主机不需要配置host来发现 # 2. 无需修改源码,根目录 docker-compose up 即可 # 3. 静静等待服务启动 diff --git a/pigx-app-server/pigx-app-server-api/pom.xml b/pigx-app-server/pigx-app-server-api/pom.xml index 547542226..d73bf41ae 100644 --- a/pigx-app-server/pigx-app-server-api/pom.xml +++ b/pigx-app-server/pigx-app-server-api/pom.xml @@ -7,7 +7,7 @@ com.pig4cloud pigx-app-server - 5.11.0 + 5.12.0 pigx-app-server-api diff --git a/pigx-app-server/pigx-app-server-biz/pom.xml b/pigx-app-server/pigx-app-server-biz/pom.xml index e68ea2d37..0ca3823e3 100644 --- a/pigx-app-server/pigx-app-server-biz/pom.xml +++ b/pigx-app-server/pigx-app-server-biz/pom.xml @@ -7,7 +7,7 @@ com.pig4cloud pigx-app-server - 5.11.0 + 5.12.0 pigx-app-server-biz diff --git a/pigx-app-server/pom.xml b/pigx-app-server/pom.xml index 82bc1be07..2430d7b55 100644 --- a/pigx-app-server/pom.xml +++ b/pigx-app-server/pom.xml @@ -7,7 +7,7 @@ com.pig4cloud pigx - 5.11.0 + 5.12.0 pigx-app-server diff --git a/pigx-auth/pom.xml b/pigx-auth/pom.xml index eeccd9d63..5766f4161 100644 --- a/pigx-auth/pom.xml +++ b/pigx-auth/pom.xml @@ -1,7 +1,7 @@ - - com.pig4cloud - pigx-codegen - ${project.version} - - - com.pig4cloud - pigx-app-server-biz - ${project.version} - - - com.pig4cloud - pigx-daemon-quartz - ${project.version} - - - com.pig4cloud - pigx-flow-biz - ${project.version} - - - com.pig4cloud - pigx-mp-platform - ${project.version} - - - com.pig4cloud - pigx-pay-platform - ${project.version} - - - - com.pig4cloud - pigx-codegen - ${project.version} - - - com.pig4cloud - pigx-app-server-biz - ${project.version} - - - com.pig4cloud - pigx-daemon-quartz - ${project.version} - - - com.pig4cloud - pigx-flow-biz - ${project.version} - - - com.pig4cloud - pigx-mp-platform - ${project.version} - - - com.pig4cloud - pigx-pay-platform - ${project.version} - com.pig4cloud diff --git a/pigx-common/pigx-common-audit/pom.xml b/pigx-common/pigx-common-audit/pom.xml index f6f3e169b..9a6a76aed 100644 --- a/pigx-common/pigx-common-audit/pom.xml +++ b/pigx-common/pigx-common-audit/pom.xml @@ -5,7 +5,7 @@ com.pig4cloud pigx-common - 5.11.0 + 5.12.0 pigx-common-audit diff --git a/pigx-common/pigx-common-bom/pom.xml b/pigx-common/pigx-common-bom/pom.xml index 519b34d26..2cbd0ee4e 100644 --- a/pigx-common/pigx-common-bom/pom.xml +++ b/pigx-common/pigx-common-bom/pom.xml @@ -11,7 +11,7 @@ pigx 公共版本控制,在此pom定义的依赖,全局业务微服务不需要指定版本。 - 5.11.1 + 5.12.0 3.5.16 1.5.5 4.5.0 diff --git a/pigx-common/pigx-common-core/pom.xml b/pigx-common/pigx-common-core/pom.xml index 7a806d938..a9c0cb7b5 100644 --- a/pigx-common/pigx-common-core/pom.xml +++ b/pigx-common/pigx-common-core/pom.xml @@ -1,7 +1,7 @@