@@ -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 ' , ' <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/dtd/mybatis-3-mapper.dtd\">\n\n<mapper namespace=\"${package}.${moduleName}.mapper.${ClassName}Mapper\">\n\n <resultMap id=\"${className}Map\" type=\"${package}.${moduleName}.entity.${ClassName}Entity\">\n#foreach ($field in $fieldList)\n #if($field.primaryPk == \ ' 1 \ ' )\n <id property=\"$field.attrName\" column=\"$field.fieldName\"/>\n #else\n <result property=\"$field.attrName\" column=\"$field.fieldName\"/>\n #end\n#end\n </resultMap>\n</mapper>\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<boolean> - 操作结果\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 ' , ' <template>\n <div class=\"layout-padding\">\n <div class=\"layout-padding-auto layout-padding-view\">\n#if($queryList)\n <!-- 查询表单区域 -->\n <el-row v-show=\"showSearch\">\n <el-form :model=\"state.queryForm\" ref=\"queryRef\" :inline=\"true\" @keyup.enter=\"getDataList\">\n#foreach($field in $queryList)\n#if($field.queryFormType == \ ' select \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-select v-model=\"state.queryForm.${field.attrName}\" placeholder=\"请选择#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\">\n#if($field.fieldDict)\n <el-option \n :label=\"item.label\" \n :value=\"item.value\" \n v-for=\"(item, index) in ${field.fieldDict}\" \n :key=\"index\"\n />\n#else\n <el-option label=\"请选择\" value=\"0\" />\n#end\n </el-select>\n </el-form-item>\n#elseif($field.queryFormType == \ ' date \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-date-picker \n type=\"date\" \n placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" \n v-model=\"state.queryForm.${field.attrName}\"\n />\n </el-form-item>\n#elseif($field.queryFormType == \ ' datetime \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-date-picker \n type=\"datetime\" \n placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" \n v-model=\"state.queryForm.${field.attrName}\"\n />\n </el-form-item>\n#elseif($field.formType == \ ' radio \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-radio-group v-model=\"state.queryForm.${field.attrName}\">\n#if($field.fieldDict)\n <el-radio \n :label=\"item.value\" \n v-for=\"(item, index) in ${field.fieldDict}\" \n border \n :key=\"index\"\n >\n {{ item.label }}\n </el-radio>\n#else\n <el-radio label=\"${field.fieldComment}\" border>\n ${field.fieldComment}\n </el-radio>\n#end\n </el-radio-group>\n </el-form-item>\n#else\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-input \n placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" \n v-model=\"state.queryForm.${field.attrName}\" \n />\n </el-form-item>\n#end\n#end\n <el-form-item>\n <el-button icon=\"search\" type=\"primary\" @click=\"getDataList\">\n 查询\n </el-button>\n <el-button icon=\"Refresh\" @click=\"resetQuery\">重置</el-button>\n </el-form-item>\n </el-form>\n </el-row>\n#end\n\n <!-- 操作按钮区域 -->\n <el-row>\n <div class=\"mb8\" style=\"width: 100%\">\n <el-button \n icon=\"folder-add\" \n type=\"primary\" \n class=\"ml10\" \n @click=\"formDialogRef.openDialog()\"\n v-auth=\"\ ' $ { moduleName } _$ { functionName } _add \ ' \"\n >\n 新增\n </el-button>\n <el-button \n plain \n icon=\"upload-filled\" \n type=\"primary\" \n class=\"ml10\" \n @click=\"excelUploadRef.show()\" \n v-auth=\"\ ' $ { moduleName } _$ { functionName } _add \ ' \"\n >\n 导入\n </el-button>\n <el-button \n plain \n :disabled=\"multiple\" \n icon=\"Delete\" \n type=\"primary\"\n v-auth=\"\ ' $ { moduleName } _$ { functionName } _del \ ' \" \n @click=\"handleDelete(selectObjs)\"\n >\n 删除\n </el-button>\n <right-toolbar \n v-model:showSearch=\"showSearch\" \n :export=\"\ ' $ { moduleName } _$ { functionName } _export \ ' \"\n @exportExcel=\"exportExcel\" \n class=\"ml10 mr20\" \n style=\" Line truncated
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 ' , ' <template>\n <div class=\"layout-padding\">\n <div class=\"layout-padding-auto layout-padding-view\">\n#if($queryList)\n <!-- 查询表单区域 -->\n <el-row v-show=\"showSearch\">\n <el-form :model=\"state.queryForm\" ref=\"queryRef\" :inline=\"true\" @keyup.enter=\"getDataList\">\n#foreach($field in $queryList)\n#if($field.queryFormType == \ ' select \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-select v-model=\"state.queryForm.${field.attrName}\" placeholder=\"请选择#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\">\n#if($field.fieldDict)\n <el-option \n :label=\"item.label\" \n :value=\"item.value\" \n v-for=\"(item, index) in ${field.fieldDict}\" \n :key=\"index\"\n />\n#else\n <el-option label=\"请选择\" value=\"0\" />\n#end\n </el-select>\n </el-form-item>\n#elseif($field.queryFormType == \ ' date \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-date-picker \n type=\"date\" \n placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" \n v-model=\"state.queryForm.${field.attrName}\"\n />\n </el-form-item>\n#elseif($field.queryFormType == \ ' datetime \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-date-picker \n type=\"datetime\" \n placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" \n v-model=\"state.queryForm.${field.attrName}\"\n />\n </el-form-item>\n#elseif($field.formType == \ ' radio \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-radio-group v-model=\"state.queryForm.${field.attrName}\">\n#if($field.fieldDict)\n <el-radio \n :label=\"item.value\" \n v-for=\"(item, index) in ${field.fieldDict}\" \n border \n :key=\"index\"\n >\n {{ item.label }}\n </el-radio>\n#else\n <el-radio label=\"${field.fieldComment}\" border>\n ${field.fieldComment}\n </el-radio>\n#end\n </el-radio-group>\n </el-form-item>\n#else\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-input \n placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" \n v-model=\"state.queryForm.${field.attrName}\" \n />\n </el-form-item>\n#end\n#end\n <el-form-item>\n <el-button icon=\"search\" type=\"primary\" @click=\"getDataList\">\n 查询\n </el-button>\n <el-button icon=\"Refresh\" @click=\"resetQuery\">重置</el-button>\n </el-form-item>\n </el-form>\n </el-row>\n#end\n\n <!-- 操作按钮区域 -->\n <el-row>\n <div class=\"mb8\" style=\"width: 100%\">\n <el-button \n icon=\"folder-add\" \n type=\"primary\" \n class=\"ml10\" \n @click=\"formDialogRef.openDialog()\"\n v-auth=\"\ ' $ { moduleName } _$ { functionName } _add \ ' \"\n >\n 新增\n </el-button>\n <el-button \n plain \n icon=\"upload-filled\" \n type=\"primary\" \n class=\"ml10\" \n @click=\"excelUploadRef.show()\" \n v-auth=\"\ ' $ { moduleName } _$ { functionName } _add \ ' \"\n >\n 导入\n </el-button>\n <el-button \n plain \n :disabled=\"multiple\" \n icon=\"Delete\" \n type=\"primary\"\n v-auth=\"\ ' $ { moduleName } _$ { functionName } _del \ ' \" \n @click=\"handleDelete(selectObjs)\"\n >\n 删除\n </el-button>\n <right-toolbar \n v-model:showSearch=\"showSearch\" \n :export=\"\ ' $ { moduleName } _$ { functionName } _export \ ' \"\n @exportExcel=\"exportExcel\" \n class=\"ml10 mr20\" \n style=\" Line truncated
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 ' , ' <template>\n <el-dialog :title=\"form.${pk.attrName} ? \ ' 编 辑 \ ' : \ ' 新 增 \ ' \" v-model=\"visible\"\n :close-on-click-modal=\"false\" draggable>\n <el-form ref=\"dataFormRef\" :model=\"form\" :rules=\"dataRules\" formDialogRef label-width=\"90px\" v-loading=\"loading\">\n <el-row :gutter=\"24\">\n#foreach($field in $formList)\n#if($field.attrName != ${pk.attrName})\n#if($formLayout == 1)\n <el-col :span=\"24\" class=\"mb20\">\n#elseif($formLayout == 2)\n <el-col :span=\"12\" class=\"mb20\">\n#end\n#if($field.formType == \ ' text \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-input v-model=\"form.${field.attrName}\" placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\"/>\n </el-form-item>\n </el-col>\n#elseif($field.formType == \ ' textarea \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-input type=\"textarea\" v-model=\"form.${field.attrName}\" placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\"/>\n </el-form-item>\n </el-col>\n#elseif($field.formType == \ ' select \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-select v-model=\"form.${field.attrName}\" placeholder=\"请选择#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\">\n#if($field.fieldDict)\n <el-option :value=\"item.value\" :label=\"item.label\" v-for=\"(item, index) in ${field.fieldDict}\" :key=\"index\"></el-option>\n#else\n <el-option label=\"请选择\" value=\"0\"></el-option>\n#end\n </el-select>\n </el-form-item>\n </el-col>\n#elseif($field.formType == \ ' radio \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-radio-group v-model=\"form.${field.attrName}\">\n#if($field.fieldDict)\n <el-radio :label=\"item.value\" v-for=\"(item, index) in ${field.fieldDict}\" border :key=\"index\">{{ item.label }}</el-radio>\n#else\n <el-radio label=\"${field.fieldComment}\" border>${field.fieldComment}</el-radio>\n#end\n </el-radio-group>\n </el-form-item>\n </el-col>\n#elseif($field.formType == \ ' checkbox \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-checkbox-group v-model=\"form.${field.attrName}\">\n#if($field.fieldDict)\n <el-checkbox :label=\"item.value\" v-for=\"(item, index) in ${field.fieldDict}\" :key=\"index\">{{ item.label }}</el-checkbox>\n#else\n <el-checkbox label=\"启用\" name=\"type\"></el-checkbox>\n <el-checkbox label=\"禁用\" name=\"type\"></el-checkbox>\n#end\n </el-checkbox-group>\n </el-form-item>\n </el-col>\n#elseif($field.formType == \ ' date \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-date-picker type=\"date\" placeholder=\"请选择#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" v-model=\"form.${field.attrName}\" :value-format=\"dateStr\"></el-date-picker>\n </el-form-item>\n </el-col>\n#elseif($field.formType == \ ' datetime \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-date-picker type=\"datetime\" placeholder=\"请选择#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" v-model=\"form.${field.attrName}\" :value-format=\"dateTimeStr\"></el-date-picker>\n </el-form-item>\n </el-col>\n#elseif($field.formType == \ ' number \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-input-number :min=\"1\" :max=\"1000\" v-model=\"form.${field.attrName}\" placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\"></el-input-number>\n </el-form-item>\n </el-col>\n#elseif($field.formType == \ ' upload - file \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field Line truncated
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 * Line truncated
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 ' , ' <template>\n <el-drawer :title=\"form.${pk.attrName} ? (detail ? \ ' 详 情 \ ' : \ ' 编 辑 \ ' ) : \ ' 添 加 \ ' \" v-model=\"visible\" size=\"50%\">\n <el-form ref=\"dataFormRef\" :model=\"form\" :rules=\"dataRules\" :disabled=\"detail\" v-loading=\"loading\">\n <el-row :gutter=\"24\">\n#foreach($field in $formList)\n#if($field.attrName != ${pk.attrName})\n#if($formLayout == 1)\n <el-col :span=\"24\" class=\"mb20\">\n#elseif($formLayout == 2)\n <el-col :span=\"12\" class=\"mb20\">\n#end\n#if($field.formType == \ ' text \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.fieldName}#end\" prop=\"${field.attrName}\">\n <el-input v-model=\"form.${field.attrName}\" placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.fieldName}#end\"/>\n </el-form-item>\n </el-col>\n#elseif($field.formType == \ ' textarea \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.fieldName}#end\" prop=\"${field.attrName}\">\n <el-input type=\"textarea\" v-model=\"form.${field.attrName}\" placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.fieldName}#end\"/>\n </el-form-item>\n </el-col>\n#elseif($field.formType == \ ' select \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.fieldName}#end\" prop=\"${field.attrName}\">\n <el-select v-model=\"form.${field.attrName}\" placeholder=\"请选择#if(${field.fieldComment})${field.fieldComment}#else${field.fieldName}#end\">\n#if($field.fieldDict)\n <el-option :value=\"item.value\" :label=\"item.label\" v-for=\"(item, index) in ${field.fieldDict}\" :key=\"index\"></el-option>\n#else\n <el-option label=\"请选择\" value=\"0\"></el-option>\n#end\n </el-select>\n </el-form-item>\n </el-col>\n#elseif($field.formType == \ ' radio \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.fieldName}#end\" prop=\"${field.attrName}\">\n <el-radio-group v-model=\"form.${field.attrName}\">\n#if($field.fieldDict)\n <el-radio :label=\"item.value\" v-for=\"(item, index) in ${field.fieldDict}\" border :key=\"index\">{{ item.label }}</el-radio>\n#else\n <el-radio label=\"${field.fieldComment}\" border>${field.fieldComment}</el-radio>\n#end\n </el-radio-group>\n </el-form-item>\n </el-col>\n#elseif($field.formType == \ ' checkbox \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.fieldName}#end\" prop=\"${field.attrName}\">\n <el-checkbox-group v-model=\"form.${field.attrName}\">\n#if($field.fieldDict)\n <el-checkbox :label=\"item.value\" v-for=\"(item, index) in ${field.fieldDict}\" :key=\"index\">{{ item.label }}</el-checkbox>\n#else\n <el-checkbox label=\"启用\" name=\"type\"></el-checkbox>\n <el-checkbox label=\"禁用\" name=\"type\"></el-checkbox>\n#end\n </el-checkbox-group>\n </el-form-item>\n </el-col>\n#elseif($field.formType == \ ' date \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.fieldName}#end\" prop=\"${field.attrName}\">\n <el-date-picker type=\"date\" placeholder=\"请选择#if(${field.fieldComment})${field.fieldComment}#else${field.fieldName}#end\" v-model=\"form.${field.attrName}\" :value-format=\"dateStr\"></el-date-picker>\n </el-form-item>\n </el-col>\n#elseif($field.formType == \ ' datetime \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.fieldName}#end\" prop=\"${field.attrName}\">\n <el-date-picker type=\"datetime\" placeholder=\"请选择#if(${field.fieldComment})${field.fieldComment}#else${field.fieldName}#end\" v-model=\"form.${field.attrName}\" :value-format=\"dateTimeStr\"></el-date-picker>\n </el-form-item>\n </el-col>\n#elseif($field.formType == \ ' number \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.fieldName}#end\" prop=\"${field.attrName}\">\n <el-input-number :min=\"1\" :max=\"1000\" v-model=\"form.${field.attrName}\" placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.fieldName}#end\"></el-input-number>\n </el-form-item>\n </el-col>\n#elseif($field.formType == \ ' upload - file \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${fie Line truncated
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 ' , ' <template>\n <div class=\"layout-padding\">\n <div class=\"layout-padding-auto layout-padding-view\">\n#if($queryList)\n <el-row v-show=\"showSearch\">\n <el-form :model=\"state.queryForm\" ref=\"queryRef\" :inline=\"true\" @keyup.enter=\"getDataList\">\n#foreach($field in $queryList)\n#if($field.queryFormType == \ ' select \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-select v-model=\"state.queryForm.${field.attrName}\" placeholder=\"请选择#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\">\n#if($field.fieldDict)\n <el-option \n :label=\"item.label\" \n :value=\"item.value\" \n v-for=\"(item, index) in ${field.fieldDict}\" \n :key=\"index\">\n </el-option>\n#else\n <el-option label=\"请选择\">0</el-option>\n#end\n </el-select>\n </el-form-item>\n#elseif($field.queryFormType == \ ' date \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-date-picker \n type=\"date\" \n placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" \n v-model=\"state.queryForm.${field.attrName}\">\n </el-date-picker>\n </el-form-item>\n#elseif($field.queryFormType == \ ' datetime \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-date-picker \n type=\"datetime\" \n placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" \n v-model=\"state.queryForm.${field.attrName}\">\n </el-date-picker>\n </el-form-item>\n#elseif($field.formType == \ ' radio \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-radio-group v-model=\"state.queryForm.${field.attrName}\">\n#if($field.fieldDict)\n <el-radio \n :label=\"item.value\" \n v-for=\"(item, index) in ${field.fieldDict}\" \n border \n :key=\"index\">\n {{ item.label }}\n </el-radio>\n#else\n <el-radio label=\"${field.fieldComment}\" border>${field.fieldComment}</el-radio>\n#end\n </el-radio-group>\n </el-form-item>\n#else\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-input \n placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" \n v-model=\"state.queryForm.${field.attrName}\"\n style=\"max-width: 180px\" \n />\n </el-form-item>\n#end\n#end\n <el-form-item>\n <el-button icon=\"search\" type=\"primary\" @click=\"getDataList\">\n 查询\n </el-button>\n <el-button icon=\"Refresh\" @click=\"resetQuery\">重置</el-button>\n </el-form-item>\n </el-form>\n </el-row>\n#end\n <el-row>\n <div class=\"mb8\" style=\"width: 100%\">\n <el-button \n icon=\"folder-add\" \n type=\"primary\" \n class=\"ml10\" \n @click=\"formDialogRef.openDialog()\"\n v-auth=\"\ ' $ { moduleName } _$ { functionName } _add \ ' \">\n 新增\n </el-button>\n <el-button \n plain \n :disabled=\"multiple\" \n icon=\"Delete\" \n type=\"primary\"\n v-auth=\"\ ' $ { moduleName } _$ { functionName } _del \ ' \" \n @click=\"handleDelete(selectObjs)\">\n 删除\n </el-button>\n <right-toolbar \n v-model:showSearch=\"showSearch\" \n :export=\"\ ' $ { moduleName } _$ { functionName } _export \ ' \"\n @exportExcel=\"exportExcel\" \n class=\"ml10 mr20\" \n style=\"float: right;\"\n @queryTable=\"getDataList\">\n </right-toolbar>\n </div>\n </el-row>\n <el-table \n :data=\"state.dataList\" \n v-loading=\"state.loading\" \n border \n :cell-style=\"tableStyle.cellStyle\" \n :header-cell-style=\"tableStyle.headerCellStyle\"\n @selection-cha Line truncated
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 ' , ' <template>\n <div class=\"layout-padding\">\n <div class=\"layout-padding-auto layout-padding-view\">\n#if($queryList)\n <el-row v-show=\"showSearch\">\n <el-form :model=\"state.queryForm\" ref=\"queryRef\" :inline=\"true\" @keyup.enter=\"getDataList\">\n#foreach($field in $queryList)\n#if($field.queryFormType == \ ' select \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-select v-model=\"state.queryForm.${field.attrName}\" placeholder=\"请选择#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\">\n#if($field.fieldDict)\n <el-option \n :label=\"item.label\" \n :value=\"item.value\" \n v-for=\"(item, index) in ${field.fieldDict}\" \n :key=\"index\">\n </el-option>\n#else\n <el-option label=\"请选择\">0</el-option>\n#end\n </el-select>\n </el-form-item>\n#elseif($field.queryFormType == \ ' date \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-date-picker \n type=\"date\" \n placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" \n v-model=\"state.queryForm.${field.attrName}\">\n </el-date-picker>\n </el-form-item>\n#elseif($field.queryFormType == \ ' datetime \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-date-picker \n type=\"datetime\" \n placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" \n v-model=\"state.queryForm.${field.attrName}\">\n </el-date-picker>\n </el-form-item>\n#elseif($field.formType == \ ' radio \ ' )\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-radio-group v-model=\"state.queryForm.${field.attrName}\">\n#if($field.fieldDict)\n <el-radio \n :label=\"item.value\" \n v-for=\"(item, index) in ${field.fieldDict}\" \n border \n :key=\"index\">\n {{ item.label }}\n </el-radio>\n#else\n <el-radio label=\"${field.fieldComment}\" border>${field.fieldComment}</el-radio>\n#end\n </el-radio-group>\n </el-form-item>\n#else\n <el-form-item label=\"#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" prop=\"${field.attrName}\">\n <el-input \n placeholder=\"请输入#if(${field.fieldComment})${field.fieldComment}#else${field.attrName}#end\" \n v-model=\"state.queryForm.${field.attrName}\"\n style=\"max-width: 180px\" \n />\n </el-form-item>\n#end\n#end\n <el-form-item>\n <el-button icon=\"search\" type=\"primary\" @click=\"getDataList\">\n 查询\n </el-button>\n <el-button icon=\"Refresh\" @click=\"resetQuery\">重置</el-button>\n </el-form-item>\n </el-form>\n </el-row>\n#end\n <el-row>\n <div class=\"mb8\" style=\"width: 100%\">\n <el-button \n icon=\"folder-add\" \n type=\"primary\" \n class=\"ml10\" \n @click=\"formDialogRef.openDialog()\"\n v-auth=\"\ ' $ { moduleName } _$ { functionName } _add \ ' \">\n 新增\n </el-button>\n <el-button \n plain \n :disabled=\"multiple\" \n icon=\"Delete\" \n type=\"primary\"\n v-auth=\"\ ' $ { moduleName } _$ { functionName } _del \ ' \" \n @click=\"handleDelete(selectObjs)\">\n 删除\n </el-button>\n <right-toolbar \n v-model:showSearch=\"showSearch\" \n :export=\"\ ' $ { moduleName } _$ { functionName } _export \ ' \"\n @exportExcel=\"exportExcel\" \n class=\"ml10 mr20\" \n style=\"float: right;\"\n @queryTable=\"getDataList\">\n </right-toolbar>\n </div>\n </el-row>\n <el-table \n :data=\"state.dataList\" \n v-loading=\"state.loading\" \n border \n :cell-style=\"tableStyle.cellStyle\" \n :header-cell-style=\"tableStyle.headerCellStyle\"\n @selection-cha Line truncated
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 , ' 红色党政风 ' , ' <div class=\"container\">\n <div class=\"emblem-decor\"></div>\n <div class=\"date\">二〇二五年七月一日</div>\n <h1 class=\"title\">新时代为民服务</h1>\n <p class=\"subtitle\">践行初心使命 提升服务效能</p>\n <div class=\"divider\"></div>\n <blockquote class=\"quote\">\n 全心全意为人民服务是我们一切工作的根本宗旨,要始终把人民放在心中最高位置。\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-number\">01</span>\n <span>深化简政放权,推进\"最多跑一次\"改革</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">02</span>\n <span>完善基层服务体系,打通服务群众\"最后一公里\"</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">03</span>\n <span>强化数字赋能,建设智慧服务平台</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">04</span>\n <span>健全监督机制,确保权力在阳光下运行</span>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://obj.lemonc.cc/files/2025/04/09/145324.png\" alt=\"QR Code\">\n <div class=\"qr-text\">扫码进入便民服务直通车</div>\n </div>\n <div class=\"editor-note\">\n <strong>重要通知:</strong> 本年度将全面推进服务型建设,欢迎广大群众监督并提出宝贵意见建议,共同推动服务工作提质增效。\n </div>\n </div> ' , ' <style>\n /* 党政风格 */\n .container {\n font-family: \ ' SimSun \ ' , \ ' Noto Serif SC \ ' , serif;\n --party-bg: #fff9f9;\n --party-text: #4a4a4a;\n --party-accent: #c12c2c;\n --party-secondary: #f0e6e6;\n --party-pale: #fdf0f0;\n --party-gray: #8c8c8c;\n background-color: var(--party-bg);\n color: var(--party-text);\n padding: 40px;\n position: relative;\n line-height: 1.8;\n border: 1px solid var(--party-secondary);\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);\n }\n\n .container .emblem-decor {\n position: absolute;\n top: 20px;\n right: 20px;\n width: 60px;\n height: 60px;\n background-color: var(--party-accent);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n font-weight: bold;\n font-size: 14px;\n text-align: center;\n line-height: 1.2;\n }\n\n .container .emblem-decor::before {\n content: \"为民\\A服务\";\n white-space: pre;\n }\n\n .container .date {\n font-size: 16px;\n font-weight: 400;\n color: var(--party-accent);\n margin-bottom: 30px;\n text-align: center;\n letter-spacing: 5px;\n }\n\n .container .title {\n font-size: 36px;\n font-weight: 700;\n margin-bottom: 16px;\n color: var(--party-accent);\n text-align: center;\n letter-spacing: 10px;\n text-shadow: 1px 1px 2px rgba(0,0,0,0.1);\n }\n\n .container .subtitle {\n font-size: 20px;\n font-weight: 400;\n margin-bottom: 40px;\n color: var(--party-accent);\n text-align: center;\n letter-spacing: 2px;\n }\n\n .container .divider {\n height: 3px;\n width: 120px;\n background: linear-gradient(90deg, transparent, var(--party-accent), transparent);\n margin: 30px auto;\n position: relative;\n }\n\n .container .divider::before,\n .container .divider::after {\n content: \"★\";\n position: absolute;\n top: -12px;\n color: var(--party-accent);\n font-size: 16px;\n }\n\n .container .divider::before {\n left: -20px;\n }\n\n .container .divider::after {\n right: -20px;\n }\n\n .container .quote {\n font-size: 20px;\n line-height: 1.8;\n padding: 25px 30px;\n margin: 30px 0;\n background-color: var(--party-pale);\n border: 1px solid var(--party-secondary);\n color: var(--party-accent);\n text-align: center;\n font-weight: 500;\n }\n\n .container .points {\n margin: 40px 0;\n padding: 0 20px;\n }\n\n .container .point {\n Line truncated
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 , ' 淡雅政务风 ' , ' <div class=\"container\">\n <div class=\"badge-decor\"></div>\n <div class=\"date\">2025年5月15日</div>\n <h1 class=\"title\">政务服务优化</h1>\n <p class=\"subtitle\">推动便民利企服务高质量发展</p>\n <div class=\"divider\"></div>\n <blockquote class=\"quote\">\n 坚持以人民为中心的发展思想,持续深化\"放管服\"改革,打造高效、透明、便民的政务服务体系。\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-number\">一</span>\n <span>推进\"一网通办\",实现政务服务事项全程网上办理</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">二</span>\n <span>优化审批流程,压缩办理时限,提升服务效率</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">三</span>\n <span>加强政务公开,保障群众知情权、参与权、监督权</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">四</span>\n <span>完善投诉反馈机制,及时解决群众反映的问题</span>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://obj.lemonc.cc/files/2025/04/09/145324.png\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描二维码,进入政务服务网上大厅</div>\n </div>\n <div class=\"editor-note\">\n <strong>政务公告:</strong> 本年度将继续推进政务服务标准化规范化便利化建设,欢迎广大市民群众监督并提出宝贵意见。\n </div>\n </div> ' , ' <style>\n /* 政务风格 */\n .container {\n font-family: \ ' Microsoft YaHei \ ' , \ ' Noto Sans SC \ ' , sans-serif;\n --gov-bg: #f5f7fa;\n --gov-text: #333333;\n --gov-accent: #1a56a7;\n --gov-secondary: #d9e3f2;\n --gov-pale: #e8edf5;\n --gov-gray: #666666;\n background-color: var(--gov-bg);\n color: var(--gov-text);\n padding: 40px;\n position: relative;\n line-height: 1.6;\n border: 1px solid var(--gov-secondary);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);\n }\n\n .container .badge-decor {\n position: absolute;\n top: 20px;\n right: 20px;\n width: 60px;\n height: 60px;\n background-color: var(--gov-accent);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n font-weight: bold;\n font-size: 12px;\n text-align: center;\n line-height: 1.2;\n }\n\n .container .badge-decor::before {\n content: \"政务\\A服务\";\n white-space: pre;\n }\n\n .container .date {\n font-size: 14px;\n font-weight: 400;\n color: var(--gov-gray);\n margin-bottom: 30px;\n }\n\n .container .title {\n font-size: 32px;\n font-weight: 600;\n margin-bottom: 16px;\n color: var(--gov-accent);\n text-align: center;\n }\n\n .container .subtitle {\n font-size: 18px;\n font-weight: 400;\n margin-bottom: 40px;\n color: var(--gov-gray);\n text-align: center;\n }\n\n .container .divider {\n height: 3px;\n width: 100px;\n background-color: var(--gov-accent);\n margin: 30px auto;\n position: relative;\n }\n\n .container .divider::before,\n .container .divider::after {\n content: \"\";\n position: absolute;\n top: -3px;\n width: 6px;\n height: 9px;\n background-color: var(--gov-accent);\n }\n\n .container .divider::before {\n left: -10px;\n }\n\n .container .divider::after {\n right: -10px;\n }\n\n .container .quote {\n font-size: 18px;\n line-height: 1.8;\n padding: 25px;\n margin: 30px 0;\n background-color: var(--gov-pale);\n border-left: 4px solid var(--gov-accent);\n color: var(--gov-text);\n }\n\n .container .points {\n margin: 40px 0;\n }\n\n .container .point {\n margin-bottom: 24px;\n display: flex;\n align-items: flex-start;\n }\n\n .container .point-number {\n min-width: 30px;\n height: 30px;\n border-radius: 50%;\n background-color: var(--gov-accen Line truncated
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 , ' 新表现主义风格 ' , ' <div class=\"container\">\n <div class=\"content\">\n <div class=\"date\">2025年03月28日</div>\n <h1 class=\"title\">黑胶复兴</h1>\n <p class=\"subtitle\">模拟声音的回归,旧时代技术在数字世界中的意外胜利</p>\n \n <div class=\"quote-container\">\n <blockquote class=\"quote\">\n 在完美无瑕的数字音频中,我们失去了音乐的灵魂;而在黑胶唱片的噼啪声中,我们重新找到了它。\n </blockquote>\n </div>\n \n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-number\">1</span>\n <div class=\"point-text\">触觉体验:黑胶唱片提供了一种物理仪式感,从挑选唱片到放上唱盘的每一步都是体验的一部分</div>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">2</span>\n <div class=\"point-text\">温暖声学:模拟录制的非线性特性创造出数字完美主义无法复制的声音质感</div>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">3</span>\n <div class=\"point-text\">艺术载体:12英寸唱片封面成为视觉艺术的重要媒介,许多经典专辑因其封面设计而被铭记</div>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">4</span>\n <div class=\"point-text\">慢听革命:黑胶体验鼓励人们完整聆听一张专辑,抵抗流媒体时代的碎片化消费</div>\n </div>\n </div>\n \n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫码探索珍稀黑胶唱片收藏</div>\n </div>\n \n <div class=\"editor-note\">\n <strong>编辑笔记:</strong>黑胶唱片的复兴超越了单纯的怀旧,它代表了人们对实体音乐体验的渴望与反抗。在数字极简主义主导的今天,这种\"不完美\"的媒介正在成为艺术真实性的象征。\n </div>\n </div>\n </div> ' , ' <style>\n /* 新表现主义风格 */\n .container {\n font-family: \ ' Comic Sans MS \ ' , \ ' Noto Sans SC \ ' , cursive, sans-serif;\n --neo-exp-bg: #f8f4e0;\n --neo-exp-primary: #d62828;\n --neo-exp-secondary: #003049;\n --neo-exp-accent: #fcbf49;\n --neo-exp-text: #252422;\n background-color: var(--neo-exp-bg);\n color: var(--neo-exp-text);\n padding: 30px;\n position: relative;\n overflow: hidden;\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: -10%;\n right: -10%;\n width: 60%;\n height: 70%;\n background-color: var(--neo-exp-accent);\n opacity: 0.4;\n transform: rotate(15deg);\n z-index: 0;\n }\n \n .container::after {\n content: \"\";\n position: absolute;\n bottom: -5%;\n left: -5%;\n width: 35%;\n height: 45%;\n background-color: var(--neo-exp-primary);\n opacity: 0.3;\n transform: rotate(-10deg);\n z-index: 0;\n }\n \n .container .content {\n position: relative;\n z-index: 1;\n }\n \n .container .date {\n font-family: \ ' Courier New \ ' , monospace;\n font-weight: bold;\n font-size: 16px;\n margin-bottom: 20px;\n transform: rotate(-2deg);\n display: inline-block;\n padding: 5px 15px;\n background-color: var(--neo-exp-secondary);\n color: var(--neo-exp-bg);\n }\n \n .container .title {\n font-size: 68px;\n line-height: 0.9;\n font-weight: 900;\n margin-bottom: 25px;\n color: var(--neo-exp-primary);\n transform: skew(-5deg);\n text-shadow: 3px 3px 0 var(--neo-exp-secondary);\n letter-spacing: -2px;\n }\n \n .container .subtitle {\n font-size: 22px;\n font-weight: 600;\n line-height: 1.2;\n margin-bottom: 30px;\n padding-left: 20px;\n border-left: 8px solid var(--neo-exp-accent);\n position: relative;\n z-index: 2;\n }\n \n .container .quote-container {\n margin: 40px 0;\n position: relative;\n }\n \n .container .quote {\n Line truncated
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 , ' 波普艺术风格 ' , ' <div class=\"container\">\n <div class=\"halftone-bg\"></div>\n <div class=\"star\"></div>\n <div class=\"star\"></div>\n <div class=\"content\">\n <div class=\"date\">2025年6月15日</div>\n <div class=\"title-container\">\n <div class=\"boom\">VIRAL!</div>\n <h1 class=\"title\">网红经济</h1>\n <div class=\"title-bg\">网红经济</div>\n </div>\n <p class=\"subtitle\">社交媒体如何彻底改变了我们的消费方式、审美标准与名人文化</p>\n <div class=\"quote-bubble\">\n <p class=\"quote\">\"在这个时代,每个人都有15分钟的成名机会,但网红们用算法延长了这个时间到无限!\"</p>\n </div>\n <div class=\"points\">\n <div class=\"point\">\n <div class=\"point-number\">1</div>\n <div class=\"point-content\">信任营销:相比传统广告,76%的消费者更相信真实人物的产品推荐</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">2</div>\n <div class=\"point-content\">微网红崛起:专注小众领域的内容创作者正获得比大网红更高的互动率</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">3</div>\n <div class=\"point-content\">真实性危机:完美人设背后,创作者身份与现实生活的严重割裂导致心理健康问题</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">4</div>\n <div class=\"point-content\">算法控制:平台推荐机制决定了谁能出名,创作者如何迎合算法成为成功关键</div>\n </div>\n </div>\n <div class=\"qr-section\">\n <div class=\"qr-container\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n </div>\n <div class=\"qr-text\">扫码关注我们的爆款网红推荐</div>\n </div>\n <div class=\"editor-note\">\n 网红经济不仅创造了全新的职业,更重塑了整个市场营销生态。当每个人都能成为媒体时,影响力成为新的货币,而真实性则成为最稀缺的资源。\n </div>\n </div>\n </div> ' , ' <style>\n /* 波普艺术风格 */\n @import url(\ ' https : / / fonts . googleapis . com / css2 ? family = Bangers & family = Poppins : wght @ 400 ; 700 & display = swap \ ' );\n \n .container {\n font-family: \ ' Poppins \ ' , sans-serif;\n --pop-red: #ff214f;\n --pop-yellow: #ffde03;\n --pop-blue: #0066ff;\n --pop-bg: #ffffff;\n --pop-black: #000000;\n background-color: var(--pop-bg);\n color: var(--pop-black);\n padding: 30px;\n position: relative;\n overflow: hidden;\n border: 10px solid var(--pop-black);\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-image: radial-gradient(var(--pop-black) 1px, transparent 1px);\n background-size: 10px 10px;\n opacity: 0.05;\n z-index: 0;\n pointer-events: none;\n }\n \n .container .halftone-bg {\n position: absolute;\n top: -50px;\n right: -50px;\n width: 200px;\n height: 200px;\n background-color: var(--pop-yellow);\n border-radius: 50%;\n z-index: 0;\n }\n \n .container .halftone-bg::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-image: radial-gradient(var(--pop-black) 2px, transparent 2px);\n background-size: 8px 8px;\n border-radius: 50%;\n opacity: 0.2;\n }\n \n .container .content {\n position: relative;\n z-index: 1;\n }\n \n .container .date {\n font-family: \ ' Bangers \ ' , cursive;\n background-color: var(--pop-red);\n color: var(--pop-bg);\n display: inline-block;\n padding: 5px 15px;\n font-size: 18px;\n transform: rotate(-3deg);\n position: relative;\n box-shadow: 5px 5px 0 var(--pop-black);\n margin-bottom: 30px;\n letter-spacing: 1px;\n }\n \n .container .date::after {\n content: \"!\";\n font-size: 24px;\n Line truncated
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 , ' 极简主义风格 ' , ' <div class=\"container\">\n <div class=\"date\">2025.05.18</div>\n <h1 class=\"title\">摄影的艺术</h1>\n <p class=\"subtitle\">光影与构图的永恒魅力</p>\n <div class=\"divider\"></div>\n <blockquote class=\"quote\">\n \"摄影不仅是捕捉瞬间,而是创造永恒。\"\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-number\">01</span>\n <span>摄影是光影的艺术,掌握光线是创作好照片的关键</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">02</span>\n <span>构图是视觉语言,通过空间关系传达情感与故事</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">03</span>\n <span>数码技术改变了摄影工具,但不改变摄影的本质</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">04</span>\n <span>真正的摄影眼光将在视觉饱和的时代成为宝贵能力</span>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描二维码,获取更多摄影技巧</div>\n </div>\n <div class=\"editor-note\">\n <strong>编辑笔记:</strong> 在图像泛滥的数字时代,摄影的形式在变,但作为记录与表达的方式,其艺术本质不变。\n </div>\n </div> ' , ' <style>\n /* 极简主义风格 */\n .container {\n font-family: \ ' Helvetica Neue \ ' , \ ' Noto Sans \ ' , sans-serif;\n --container-bg: #f8f8f8;\n --container-text: #222222;\n --container-accent: #333333;\n --container-border: #e0e0e0;\n background-color: var(--container-bg);\n color: var(--container-text);\n padding: 40px;\n position: relative;\n line-height: 1.5;\n }\n \n .container .date {\n font-size: 12px;\n font-weight: 400;\n letter-spacing: 1px;\n color: #888888;\n margin-bottom: 30px;\n }\n \n .container .title {\n font-size: 32px;\n font-weight: 300;\n margin-bottom: 16px;\n letter-spacing: -0.5px;\n }\n \n .container .subtitle {\n font-size: 16px;\n font-weight: 400;\n margin-bottom: 40px;\n color: #555555;\n }\n \n .container .divider {\n height: 1px;\n width: 40px;\n background-color: var(--container-border);\n margin: 30px 0;\n }\n \n .container .quote {\n font-size: 18px;\n line-height: 1.6;\n font-weight: 300;\n padding: 20px 0;\n border-left: none;\n border-top: 1px solid var(--container-border);\n border-bottom: 1px solid var(--container-border);\n margin: 30px 0;\n }\n \n .container .points {\n margin: 40px 0;\n }\n \n .container .point {\n margin-bottom: 20px;\n display: flex;\n align-items: flex-start;\n }\n \n .container .point-number {\n color: #888888;\n font-size: 14px;\n font-weight: 400;\n margin-right: 15px;\n min-width: 20px;\n }\n \n .container .qr-section {\n margin-top: 40px;\n display: flex;\n align-items: center;\n }\n \n .container .qr-code {\n width: 80px;\n height: 80px;\n margin-right: 20px;\n border: none;\n }\n \n .container .qr-text {\n font-size: 12px;\n color: #888888;\n }\n \n .container .editor-note {\n margin-top: 40px;\n font-size: 13px;\n color: #555555;\n padding: 20px 0;\n border-top: 1px solid var(--container-border);\n }\n </style> ' , ' 采用极简主义风格设计,遵循\"少即是多\"的理念。使用大量留白创造呼吸空间,仅保留最必要的元素。配色方案限制在2-3种中性色,主要为白色背景配以黑色或深灰色文字。排版应精确到像素级别,使用精心设计的网格系统和黄金比例。字体选择无衬线字体如Helvetica或Noto Sans,字重变化作为主要层次手段。装饰元素几乎为零,仅使用极细的分隔线和微妙的阴影。整体设计应呈现出克制、优雅且永恒的美学,让内容本身成为焦点。参考Dieter Rams的设计原则和日本无印良品(MUJI)的产品美学。 ' , Line truncated
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 ' , ' <div class=\"container\">\n <div class=\"border\"></div>\n <div class=\"corner corner-tl\"></div>\n <div class=\"corner corner-tr\"></div>\n <div class=\"corner corner-bl\"></div>\n <div class=\"corner corner-br\"></div>\n <div class=\"date\">Le 15 Avril, 2025</div>\n <h1 class=\"title\">古典音乐的复兴</h1>\n <p class=\"subtitle\">在数字时代,巴赫、莫扎特与贝多芬的永恒旋律重获新生</p>\n <div class=\"divider\"></div>\n <blockquote class=\"quote\">\n 古典音乐不是过去的遗物,而是人类灵魂深处永恒的共鸣,跨越时空与文化的界限。\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-marker\">※</span>\n <span>古典音乐与现代聆听:流媒体平台革命性地改变了年轻一代接触古典音乐的方式</span>\n </div>\n <div class=\"point\">\n <span class=\"point-marker\">※</span>\n <span>数字化保存:高保真技术让历史录音重获新生,填补音乐史的空白</span>\n </div>\n <div class=\"point\">\n <span class=\"point-marker\">※</span>\n <span>跨界融合:古典元素在电影、游戏与流行音乐中的创新应用</span>\n </div>\n <div class=\"point\">\n <span class=\"point-marker\">※</span>\n <span>音乐教育的变革:虚拟现实和交互式应用为古典音乐普及带来新机遇</span>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描二维码,聆听精选古典音乐集</div>\n </div>\n <div class=\"editor-note\">\n <strong>编辑笔记:</strong> 在这个快节奏的数字时代,古典音乐以其深度与复杂性,为我们提供了一种珍贵的沉浸式体验,让我们能够暂时脱离浮躁,回归内心的宁静。\n </div>\n </div> ' , ' <style>\n /* 优雅复古风格 */\n .container {\n font-family: \ ' Noto Serif SC \ ' , \ ' Baskerville \ ' , serif;\n --container-bg: #f8f3e6;\n --container-text: #3a2a1d;\n --container-accent: #8b4513;\n --container-secondary: #a52a2a;\n background-color: var(--container-bg);\n color: var(--container-text);\n padding: 40px;\n position: relative;\n overflow: hidden;\n box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.05);\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-image: url(\"data:image/svg+xml,%3Csvg width=\ ' 100 \ ' height=\ ' 100 \ ' viewBox=\ ' 0 0 100 100 \ ' xmlns=\ ' http : / / www . w3 . org / 2000 / svg \ ' %3E%3Cpath d=\ ' M11 18 c3 . 866 0 7 - 3 . 134 7 - 7 s - 3 . 134 - 7 - 7 - 7 - 7 3 . 134 - 7 7 3 . 134 7 7 7 zm48 25 c3 . 866 0 7 - 3 . 134 7 - 7 s - 3 . 134 - 7 - 7 - 7 - 7 3 . 134 - 7 7 3 . 134 7 7 7 zm - 43 - 7 c1 . 657 0 3 - 1 . 343 3 - 3 s - 1 . 343 - 3 - 3 - 3 - 3 1 . 343 - 3 3 1 . 343 3 3 3 zm63 31 c1 . 657 0 3 - 1 . 343 3 - 3 s - 1 . 343 - 3 - 3 - 3 - 3 1 . 343 - 3 3 1 . 343 3 3 3 zM34 90 c1 . 657 0 3 - 1 . 343 3 - 3 s - 1 . 343 - 3 - 3 - 3 - 3 1 . 343 - 3 3 1 . 343 3 3 3 zm56 - 76 c1 . 657 0 3 - 1 . 343 3 - 3 s - 1 . 343 - 3 - 3 - 3 - 3 1 . 343 - 3 3 1 . 343 3 3 3 zM12 86 c2 . 21 0 4 - 1 . 79 4 - 4 s - 1 . 79 - 4 - 4 - 4 - 4 1 . 79 - 4 4 1 . 79 4 4 4 zm28 - 65 c2 . 21 0 4 - 1 . 79 4 - 4 s - 1 . 79 - 4 - 4 - 4 - 4 1 . 79 - 4 4 1 . 79 4 4 4 zm23 - 11 c2 . 76 0 5 - 2 . 24 5 - 5 s - 2 . 24 - 5 - 5 - 5 - 5 2 . 24 - 5 5 2 . 24 5 5 5 zm - 6 60 c2 . 21 0 4 - 1 . 79 4 - 4 s - 1 . 79 - 4 - 4 - 4 - 4 1 . 79 - 4 4 1 . 79 4 4 4 zm29 22 c2 . 76 0 5 - 2 . 24 5 - 5 s - 2 . 24 - 5 - 5 - 5 - 5 2 . 24 - 5 5 2 . 24 5 5 5 zM32 63 c2 . 76 0 5 - 2 . 24 5 - 5 s - 2 . 24 - 5 - 5 - 5 - 5 2 . 24 - 5 5 2 . 24 5 5 5 zm57 - 13 c2 . 76 0 5 - 2 . 24 5 - 5 s - 2 . 24 - 5 - 5 - 5 - 5 2 . 24 - 5 5 2 . 24 5 5 5 zm - 9 - 21 c1 . 105 0 2 - . 895 2 - 2 s - . 895 - 2 - 2 - 2 - 2 . 895 - 2 2 . 895 2 2 2 zM60 91 c1 . 105 0 2 - . 895 2 - 2 s - . 895 - 2 - 2 - 2 - 2 . 895 - 2 2 . 895 2 2 2 zM35 41 c1 . 105 0 2 - . 895 2 - 2 s - . 895 - 2 - 2 - 2 - 2 . 895 - 2 2 . 895 2 2 2 zM12 60 c1 . 105 0 2 - . 895 2 - 2 s - . 895 - 2 - 2 - 2 - 2 . 895 - 2 2 . 895 2 2 2 z \ ' fill=\ ' % 23 a18f7d \ ' fill-opacity=\ ' 0 . 05 \ ' fill-rule=\ ' evenodd \ ' /%3E%3C/svg%3E\");\n opacity: 0.5;\n pointer-events: none;\n }\n \n .container .border {\n position: absolute;\n top: 15px;\n left: 15px;\n right: 15px;\n bottom: 15px;\n border: 1px solid rgba(139, 69, 19, 0.3);\n pointer-events: none;\n }\n \n .container .corner {\n position: absolute;\n width: 30px;\n height: 30px;\n border-color: var(--container-accent);\n border-style: solid;\n border-width: 0;\n }\n \n .container .corner-tl {\n top: 15px;\n left: 15px;\n border-top-width: 1px;\n Line truncated
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 , ' 大胆现代 ' , ' <div class=\"container\">\n <div class=\"date\">15 JULY 2025</div>\n <h1 class=\"title\">城市<span>重构</span></h1>\n <p class=\"subtitle\">新型建筑正在重塑城市景观,打造更具可持续性与人文关怀的未来生活空间</p>\n <div class=\"divider\"></div>\n <blockquote class=\"quote\">\n \"未来的城市不仅是由玻璃、钢铁和混凝土构成的,更应该是由社区、生态和创新精神塑造的有机体。\"\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-number\">01</span>\n <span>垂直森林:建筑外立面融合大量植被,每栋建筑成为碳吸收器和生物多样性中心</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">02</span>\n <span>模块化设计:可重配置的建筑系统使空间根据需求灵活变化,减少资源浪费</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">03</span>\n <span>智能材料:自修复混凝土和光伏玻璃等材料革命性地改变建筑能耗与寿命</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">04</span>\n <span>社区导向:建筑设计重新聚焦于创造有意义的公共空间,促进人际互动</span>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描二维码,探索全球创新建筑案例</div>\n </div>\n <div class=\"editor-note\">\n <strong>EDITOR\ ' S NOTE : < / strong > 现 代 建 筑 正 走 向 一 个 关 键 转 折 点 , 从 单 纯 追 求 形 式 美 学 转 向 整 合 生 态 系 统 、 人 文 关 怀 与 技 术 创 新 的 综 合 解 决 方 案 。 \ n < / div > \ n < / div > ' , ' < style > \ n /* 大胆现代风格 */ \ n . container { \ n /* 主题风格 */ \ n font - family : \ ' Noto Sans SC\ ' , sans - serif ; \ n --container-bg: #121212;\n --container-text: #ffffff;\n --container-accent: #ff2e63;\n --container-secondary: #00fff5;\n background-color: var(--container-bg);\n color: var(--container-text);\n font-family: \'Noto Sans SC\', sans-serif;\n padding: 40px;\n position: relative;\n overflow: hidden;\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n width: 150px;\n height: 150px;\n background-color: var(--container-accent);\n opacity: 0.2;\n border-radius: 0 0 0 100%;\n z-index: 0;\n }\n \n .container .date {\n font-size: 14px;\n font-weight: 700;\n letter-spacing: 2px;\n color: var(--container-secondary);\n margin-bottom: 30px;\n position: relative;\n }\n \n .container .title {\n font-size: 60px;\n font-weight: 800;\n line-height: 1;\n margin-bottom: 20px;\n text-transform: uppercase;\n letter-spacing: -1px;\n position: relative;\n }\n \n .container .title span {\n color: var(--container-accent);\n }\n \n .container .subtitle {\n font-size: 18px;\n font-weight: 400;\n margin-bottom: 40px;\n line-height: 1.4;\n position: relative;\n }\n \n .container .divider {\n height: 4px;\n width: 100px;\n background-color: var(--container-accent);\n margin: 30px 0;\n }\n \n .container .quote {\n font-size: 24px;\n line-height: 1.3;\n font-weight: 700;\n padding: 20px;\n border-left: 4px solid var(--container-secondary);\n margin: 30px 0;\n background-color: rgba(255,255,255,0.05);\n }\n \n .container .points {\n margin: 40px 0;\n }\n \n .container .point {\n margin-bottom: 20px;\n line-height: 1.5;\n display: flex;\n align-items: flex-start;\n }\n \n .container .point-number {\n color: var(--container-accent);\n font-size: 24px;\n font-weight: 800;\n margin-right: 15px;\n line-height: 1;\n }\n \n .container .qr-section {\n margin-top: 40px;\n display: flex;\n align-items: center;\n background-color: rgba(255,255,255,0.05);\n padding: 20px;\n }\n \n .container .qr-code {\n width: 100px;\n height: 100px;\n margin-right: 20px;\n border: 2px solid var(--container-accent);\n Line truncated
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 ' , ' <div class=\"container\">\n <div class=\"container\">\n <div class=\"date\">2025年5月17日</div>\n <div class=\"title-container\">\n <div class=\"ink-mark\"></div>\n <h1 class=\"title\">茶道之美</h1>\n </div>\n <p class=\"subtitle\">一碗茶,一方宇宙,茶道中蕴含的东方生活美学与哲思</p>\n <blockquote class=\"quote\">\n 茶道不只是饮茶仪式,更是对和、敬、清、寂四大原则的生活实践。\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n 待客之心:茶室中每一个动作,每一处设计都体现对客人的至高敬意\n </div>\n <div class=\"point\">\n 四季感知:茶道仪式随季节变化而调整,体现与自然和谐共处的理念\n </div>\n <div class=\"point\">\n 珍视瞬间:茶道秉持\"一期一会\"精神,视每次相聚为人生独特相遇\n </div>\n <div class=\"point\">\n 留白之美:茶室布置的极简与留白,是对内心平静的物理表达\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描二维码,探索更多日本传统美学</div>\n </div>\n <div class=\"editor-note\">\n <strong>編集者注:</strong> 在这个快节奏的现代社会,茶道所蕴含的慢生活哲学,为我们提供了一种回归本真、寻找内心平静的方式。\n </div>\n </div>\n </div> ' , ' <style>\n /* 日式极简风格 */\n .container {\n font-family: \ ' Noto Sans JP \ ' , \ ' Noto Sans SC \ ' , sans-serif;\n --jp-bg: #f7f7f5;\n --jp-text: #333333;\n --jp-accent: #111111;\n --jp-light: #d7d7d7;\n background-color: var(--jp-bg);\n color: var(--jp-text);\n padding: 60px 40px;\n position: relative;\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n \n .container .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n \n .container .date {\n font-size: 12px;\n font-weight: 300;\n letter-spacing: 2px;\n color: var(--jp-text);\n opacity: 0.7;\n writing-mode: vertical-rl;\n text-orientation: mixed;\n position: absolute;\n top: 40px;\n right: 40px;\n height: 120px;\n }\n \n .container .title-container {\n display: flex;\n margin-bottom: 80px;\n }\n \n .container .ink-mark {\n width: 30px;\n height: 30px;\n margin-right: 20px;\n background-color: var(--jp-accent);\n opacity: 0.8;\n border-radius: 50%;\n position: relative;\n overflow: hidden;\n }\n \n .container .ink-mark::after {\n content: \"\";\n position: absolute;\n top: 15%;\n left: 20%;\n width: 60%;\n height: 60%;\n background-color: var(--jp-bg);\n border-radius: 50%;\n }\n \n .container .title {\n font-size: 28px;\n font-weight: 300;\n line-height: 1.4;\n letter-spacing: 3px;\n flex-grow: 1;\n }\n \n .container .subtitle {\n font-size: 14px;\n font-weight: 300;\n margin: 0 0 60px 50px;\n line-height: 1.8;\n max-width: 280px;\n }\n \n .container .line {\n width: 1px;\n height: 50px;\n background-color: var(--jp-accent);\n margin: 20px 0 20px 25px;\n opacity: 0.5;\n }\n \n .container .quote {\n font-size: 16px;\n line-height: 1.8;\n font-weight: 300;\n margin: 20px 0 20px 50px;\n padding-left: 20px;\n border-left: 1px solid var(--jp-light);\n max-width: 280px;\n }\n \n .container .points {\n margin: 60px 0 0 50px;\n max-width: 280px;\n }\n \n .container .point {\n margin-bottom: 20px;\n line-height: 1.8;\n font-size: 14px;\n font-weight: 300;\n display: flex;\n align-items: flex-start;\n }\n \n .container .point::before {\n content: \"—\";\n margin-right: 15px;\n color: var(--jp-accent);\n }\n \n Line truncated
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 , ' 赛博朋克风格 ' , ' <div class=\"container\">\n <div class=\"circuit\"></div>\n <div class=\"date\">03.09.2025 :: RENDER_LOG</div>\n <h1 class=\"title\">\n <div class=\"glitch-box\">\n <div class=\"glitch-text\" data-text=\"沉浸式艺术\">沉浸式艺术</div>\n </div>\n </h1>\n <p class=\"subtitle\">数字技术正在重塑艺术创作与体验的边界,建立物理与虚拟世界之间的无缝连接</p>\n <div class=\"divider\"></div>\n <blockquote class=\"quote\">\n \"当代艺术已不再局限于观看,而是成为一种全身心参与的多感官体验;技术不只是工具,更是创作的共同体。\"\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-number\">01</span>\n <span>生成式艺术:AI算法已从辅助工具发展为独立创作者,挑战我们对原创性与创造力的理解</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">02</span>\n <span>物理-数字混合:增强现实技术使艺术装置可以同时存在于物理空间和数字领域,创造多层次叙事</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">03</span>\n <span>神经反馈:新一代沉浸式作品可读取观众脑电波,实时调整内容以优化情感体验</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">04</span>\n <span>非永久性艺术:数字作品的短暂性和动态性正挑战艺术保存的传统理念,强调体验而非收藏</span>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫码进入虚拟展览,体验最前沿沉浸式艺术作品</div>\n </div>\n <div class=\"editor-note\">\n 数字艺术生态正在迅速演变,技术与创意的融合不仅创造了前所未有的表达形式,也重新定义了艺术与观众、艺术与社会的关系。在这个新兴领域,体验已成为作品的核心。\n </div>\n </div> ' , ' <style>\n /* 赛博朋克风格 */\n .container {\n --cyber-bg: #0a0e17;\n --cyber-text: #e0e0e0;\n --cyber-accent1: #ff2a6d;\n --cyber-accent2: #05d9e8;\n --cyber-accent3: #7bff00;\n --cyber-dark: #1a1a2e;\n background-color: var(--cyber-bg);\n color: var(--cyber-text);\n font-family: \ ' Courier New \ ' , monospace;\n padding: 30px;\n position: relative;\n overflow: hidden;\n border: 1px solid var(--cyber-accent2);\n }\n \n @keyframes scanline {\n 0% {\n transform: translateY(-100%);\n }\n 100% {\n transform: translateY(100%);\n }\n }\n \n @keyframes flicker {\n 0% { opacity: 1; }\n 3% { opacity: 0.8; }\n 6% { opacity: 1; }\n 7% { opacity: 0.9; }\n 8% { opacity: 1; }\n 9% { opacity: 0.9; }\n 10% { opacity: 1; }\n 100% { opacity: 1; }\n }\n \n @keyframes glitch {\n 0% { transform: translate(0); }\n 20% { transform: translate(-2px, 2px); }\n 40% { transform: translate(-2px, -2px); }\n 60% { transform: translate(2px, 2px); }\n 80% { transform: translate(2px, -2px); }\n 100% { transform: translate(0); }\n }\n \n @keyframes rgbOffset {\n 0% {text-shadow: -1px 0 var(--cyber-accent1), 1px 0 var(--cyber-accent2);}\n 50% {text-shadow: 1px 0 var(--cyber-accent1), -1px 0 var(--cyber-accent2);}\n 100% {text-shadow: -1px 0 var(--cyber-accent1), 1px 0 var(--cyber-accent2);}\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: \n radial-gradient(circle at 20% 35%, rgba(5, 217, 232, 0.15) 0%, transparent 40%),\n radial-gradient(circle at 75% 65%, rgba(255, 42, 109, 0.15) 0%, transparent 40%);\n pointer-events: none;\n z-index: 0;\n }\n \n .container::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.03));\n Line truncated
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 , ' 瑞士国际主义风格的解构版 ' , ' <div class=\"container\">\n <div class=\"reference-points\">\n <div class=\"reference-point\"></div>\n <div class=\"reference-point\"></div>\n <div class=\"reference-point\"></div>\n <div class=\"reference-point\"></div>\n <div class=\"reference-point\"></div>\n </div>\n <div class=\"grid-line\"></div>\n <div class=\"grid-line\"></div>\n <div class=\"grid-line\"></div>\n <div class=\"grid-line\"></div>\n <div class=\"date\">17.08.2025</div>\n <div class=\"title-container\">\n <h1 class=\"title\">字体革命</h1>\n <div class=\"title-shadow\">字体革命</div>\n </div>\n <p class=\"subtitle\">在数字时代,字体设计如何突破传统边界,重新定义可读性与表现力的平衡</p>\n <div class=\"divider\"></div>\n <div class=\"quote-container\">\n <div class=\"quote-line\"></div>\n <blockquote class=\"quote\">\n \"字体不仅是内容的载体,更是信息本身的一部分;它以无声的方式塑造我们的阅读体验与情感反应。\"\n </blockquote>\n </div>\n <div class=\"points\">\n <div class=\"point\">\n <div class=\"point-number\">01</div>\n <div class=\"point-content\">可变字体技术:单一字体文件可实现无限权重变化,为设计师提供前所未有的精细控制</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">02</div>\n <div class=\"point-content\">屏幕优化:新一代数字字体通过亚像素渲染技术,解决了高分辨率显示器上的清晰度挑战</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">03</div>\n <div class=\"point-content\">多语言兼容:字体设计正在拥抱全球化,单一字体系统可支持多达十几种文字系统</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">04</div>\n <div class=\"point-content\">表情符号演变:从简单图标到复杂表情系统,它们已成为现代字体设计中不可或缺的部分</div>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描探索当代最具创新性的字体设计</div>\n </div>\n <div class=\"editor-note\">\n <strong>编辑笔记:</strong> 字体设计正处于历史性转折点,数字工具与多屏阅读体验正推动这门古老艺术形式进入全新时代。设计师不再只关注形式美学,更需思考跨平台、跨文化的视觉语言建构。\n </div>\n </div> ' , ' <style>\n /* 瑞士国际主义风格的解构版 */\n .container {\n --swiss-bg: #ffffff;\n --swiss-text: #000000;\n --swiss-grid: #cccccc;\n --swiss-accent: #ff0000;\n --swiss-secondary: #0066ff;\n background-color: var(--swiss-bg);\n color: var(--swiss-text);\n font-family: \ ' Helvetica Neue \ ' , Helvetica, Arial, sans-serif;\n padding: 25px;\n position: relative;\n overflow: hidden;\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-image: \n linear-gradient(to right, transparent 98%, var(--swiss-grid) 98%, var(--swiss-grid) 100%),\n linear-gradient(to bottom, transparent 98%, var(--swiss-grid) 98%, var(--swiss-grid) 100%);\n background-size: 20px 20px;\n opacity: 0.3;\n z-index: 0;\n }\n \n .container .reference-points {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n z-index: 0;\n }\n \n .container .reference-point {\n position: absolute;\n width: 5px;\n height: 5px;\n background-color: var(--swiss-accent);\n border-radius: 50%;\n opacity: 0.5;\n }\n \n .container .reference-point:nth-child(1) {\n top: 15%;\n left: 20%;\n }\n \n .container .reference-point:nth-child(2) {\n top: 40%;\n left: 85%;\n }\n \n .container .reference-point:nth-child(3) {\n top: 75%;\n left: 35%;\n }\n \n .container .reference-point:nth-child(4) {\n top: 25%;\n left: 65%;\n }\n \n .c Line truncated
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 , ' 新未来主义 ' , ' <div class=\"container\">\n <div class=\"curve-element curve-element-1\"></div>\n <div class=\"curve-element curve-element-2\"></div>\n \n <div class=\"content\">\n <div class=\"date\">2025.09.21</div>\n \n <div class=\"title-container\">\n <h1 class=\"title\">星际探索</h1>\n <p class=\"subtitle\">当代太空技术正在重新定义人类的边界,开启多行星文明的新篇章</p>\n </div>\n \n <div class=\"highlight-box\">\n <blockquote class=\"quote\">\n 宇宙不仅比我们想象的更奇异,甚至比我们能够想象的还要奇异。探索太空不只是关于发现新世界,更是重新认识我们自己。\n </blockquote>\n </div>\n \n <div class=\"points\">\n <div class=\"point\">\n <div class=\"point-number\">01</div>\n <div class=\"point-text\">可重复使用火箭:航天发射成本降低90%,开启太空旅行的商业化时代</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">02</div>\n <div class=\"point-text\">月球基地建设:国际联合计划已进入实质性阶段,首个永久前哨将于2030年建成</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">03</div>\n <div class=\"point-text\">深空通信网络:量子纠缠技术突破将实现与火星探测器的即时通信</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">04</div>\n <div class=\"point-text\">小行星采矿:近地轨道资源开发预计将在2035年实现商业化,创造万亿级市场</div>\n </div>\n </div>\n \n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描观看最新太空任务实时数据与高清图像</div>\n </div>\n \n <div class=\"editor-note\">\n <strong>编辑注释:</strong>太空探索已从政府主导的国家项目转变为公私合作的产业生态。这一转变不仅加速了技术创新,也正在为地球资源、能源与环境危机提供潜在解决方案。\n </div>\n </div>\n </div> ' , ' <style>\n /* 新未来主义风格 */\n .container {\n font-family: \ ' Roboto \ ' , \ ' Noto Sans SC \ ' , sans-serif;\n --neo-fut-bg: #f7f7f7;\n --neo-fut-text: #2d2d2d;\n --neo-fut-primary: #e5e5e5;\n --neo-fut-secondary: #b3b3b3;\n --neo-fut-accent: #0066ff;\n --neo-fut-metal: linear-gradient(145deg, #e6e6e6, #cccccc);\n background: var(--neo-fut-bg);\n color: var(--neo-fut-text);\n padding: 35px;\n border-radius: 15px;\n position: relative;\n overflow: hidden;\n box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 120px;\n background: linear-gradient(110deg, rgba(230, 230, 230, 0.8), rgba(200, 200, 200, 0.4));\n clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);\n z-index: 0;\n }\n \n .container .content {\n position: relative;\n z-index: 1;\n }\n \n .container .curve-element {\n position: absolute;\n width: 200px;\n height: 200px;\n border-radius: 50%;\n background: linear-gradient(145deg, #f0f0f0, #e0e0e0);\n filter: blur(30px);\n opacity: 0.6;\n z-index: -1;\n }\n \n .container .curve-element-1 {\n top: -100px;\n right: -50px;\n }\n \n .container .curve-element-2 {\n bottom: -80px;\n left: -70px;\n width: 300px;\n height: 300px;\n opacity: 0.3;\n }\n \n .container .date {\n font-size: 12px;\n font-weight: 500;\n letter-spacing: 2px;\n text-transform: uppercase;\n color: var(--neo-fut-secondary);\n margin-bottom: 25px;\n padding-left: 5px;\n }\n \n .container .title-container {\n margin-bottom: 30px;\n position: relative;\n }\n \n .container .title {\n font-size: 42px;\n font-weight: 300;\n line-height: 1.1;\n letter-spacing: -1px;\n Line truncated
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 , ' 超现实主义数字拼贴风格 ' , ' <div class=\"container\">\n <div class=\"floating-objects\">\n <div class=\"floating-eye\"></div>\n </div>\n <div class=\"date\">RÉALITÉ • 17 JUIN 2025</div>\n <div class=\"title-container\">\n <h1 class=\"title\">数字身份的迷宫</h1>\n <p class=\"subtitle\">在社交媒体的万花筒中,我们的自我变成了一系列精心策划的数字碎片</p>\n </div>\n <div class=\"quote-container\">\n <blockquote class=\"quote\">\n \"我们创造了数字化的第二自我,它既是我们的延伸,又是我们的囚笼;既是真实的表达,又是精心构建的幻象。\"\n </blockquote>\n </div>\n <div class=\"points\">\n <div class=\"point\">\n <div class=\"point-content\">数字拼贴:现代人的身份已成为多平台角色的复合体,每个平台展现不同的自我片段</div>\n </div>\n <div class=\"point\">\n <div class=\"point-content\">算法回音室:我们所见的内容塑造着我们的认知,而我们的行为又强化着算法的预测</div>\n </div>\n <div class=\"point\">\n <div class=\"point-content\">真实与表演的融合:在持续的公开展示中,表演逐渐成为真实,界限被永久模糊</div>\n </div>\n <div class=\"point\">\n <div class=\"point-content\">集体孤独:我们从未如此紧密连接,却同时经历着新形式的社交隔离与疏离</div>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描进入一场关于数字身份的沉浸式体验</div>\n </div>\n <div class=\"editor-note\">\n <span class=\"note-title\">ÉDITORIAL:</span>\n 社交媒体已不仅是我们使用的工具,更成为塑造我们思维与互动方式的环境。理解这种新现实的超现实性质,是我们在数字时代保持真实与连接的关键。\n </div>\n </div> ' , ' <style>\n /* 超现实主义数字拼贴风格 */\n .container {\n --surreal-primary: #2a1a4a;\n --surreal-secondary: #ff6b6b;\n --surreal-accent: #64e8de;\n --surreal-text: #f0f0f0;\n --surreal-dream: #9d4edd;\n \n background: linear-gradient(135deg, var(--surreal-primary), #1a0b2e);\n color: var(--surreal-text);\n font-family: \ ' Cormorant Garamond \ ' , \ ' Noto Serif SC \ ' , serif;\n padding: 30px;\n position: relative;\n overflow: hidden;\n box-shadow: 0 10px 30px rgba(0,0,0,0.3);\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n width: 200px;\n height: 200px;\n border-radius: 50%;\n background: radial-gradient(circle, var(--surreal-accent), transparent 70%);\n opacity: 0.2;\n top: -50px;\n right: -50px;\n filter: blur(20px);\n z-index: 0;\n }\n \n .container::after {\n content: \"\";\n position: absolute;\n width: 150px;\n height: 150px;\n background: url(\ ' data : image / svg + xml ; utf8 , < svg xmlns = \ " http://www.w3.org/2000/svg\ " width = \ " 100\ " height = \ " 100\ " viewBox = \ " 0 0 100 100\ " > < path d = \ " M50,5 L95,50 L50,95 L5,50 Z\ " fill = \ " none\ " stroke = \ " %239d4edd\ " stroke - width = \ " 2\ " / > < / svg > \ ' );\n background-size: contain;\n bottom: 20px;\n left: 20px;\n opacity: 0.15;\n transform: rotate(15deg);\n pointer-events: none;\n z-index: 0;\n }\n \n .container .floating-objects {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n z-index: 1;\n }\n \n .container .floating-eye {\n position: absolute;\n top: 30%;\n right: 15%;\n width: 60px;\n height: 40px;\n border-radius: 50%;\n background: white;\n box-shadow: 0 0 20px rgba(157, 78, 221, 0.5);\n }\n \n .container .floating-eye::after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 25px;\n height: 25px;\n border-radius: 50%;\n background: var(--surreal-primary);\n }\n \n .container .date {\n font-family: \ ' Cinzel \ ' , serif;\n font-size: 16px;\n letter-spacing: 3px;\n colo Line truncated
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 , ' 新巴洛克数字风格 ' , ' <div class=\"container\">\n <div class=\"ornate-border\"></div>\n <div class=\"corner-decoration corner-top-left\"></div>\n <div class=\"corner-decoration corner-top-right\"></div>\n <div class=\"corner-decoration corner-bottom-left\"></div>\n <div class=\"corner-decoration corner-bottom-right\"></div>\n \n <div class=\"content\">\n <div class=\"date\">LE XVII AOÛT • ANNO DOMINI MMXXIV</div>\n <div class=\"title-decoration\">✧ ✦ ✧</div>\n <h1 class=\"title\">交响盛宴</h1>\n <p class=\"subtitle\">古典音乐的永恒华彩,在当代世界中绽放出永不褪色的光辉</p>\n \n <div class=\"divider\"></div>\n \n <blockquote class=\"quote\">\n \"交响乐不仅是音符的组合,更是人类情感的建筑;每一个乐章如同巴洛克宫殿的厅堂,宏伟、精致且充满戏剧性。\"\n </blockquote>\n \n <div class=\"points\">\n <div class=\"point\">\n <div class=\"point-content\"><span class=\"drop-cap\">管</span>弦乐团正在经历数字化复兴,通过沉浸式技术与全息投影,为古典音乐带来革命性的聆听体验</div>\n </div>\n <div class=\"point\">\n <div class=\"point-content\">巴洛克音乐的复杂对位法与华丽装饰音,成为当代作曲家重新探索的灵感源泉,影响着电影配乐与游戏音乐</div>\n </div>\n <div class=\"point\">\n <div class=\"point-content\">年轻指挥家正在打破传统界限,将古典作品与现代元素融合,吸引新一代观众走进音乐厅</div>\n </div>\n <div class=\"point\">\n <div class=\"point-content\">高分辨率音频技术使巴赫、亨德尔与维瓦尔第的作品呈现出前所未有的细节与层次,重现巴洛克音乐的精髓</div>\n </div>\n </div>\n \n <div class=\"qr-section\">\n <div class=\"qr-frame\">\n <div class=\"qr-decoration\">HARMONIA MUNDI</div>\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描聆听精选巴洛克音乐杰作</div>\n </div>\n </div>\n \n <div class=\"editor-note\">\n <span class=\"note-title\">MAESTRO\ ' S NOTE : < / span > \ n 古 典 音 乐 的 魅 力 在 于 它 超 越 了 时 间 的 限 制 。 几 个 世 纪 前 的 作 品 至 今 仍 能 唤 起 深 刻 的 共 鸣 , 提 醒 我 们 艺 术 的 永 恒 价 值 。 在 这 个 快 节 奏 的 数 字 时 代 , 交 响 乐 团 提 供 了 一 种 珍 贵 的 共 同 体 验 , 让 我 们 暂 时 脱 离 碎 片 化 的 现 代 生 活 。 \ n < / div > \ n < / div > \ n < / div > ' , ' < style > \ n /* 新巴洛克数字风格 */ \ n . container { \ n --baroque-gold: #d4af37;\n --baroque-red: #800020;\n --baroque-blue: #1e3163;\n --baroque-black: #121212;\n --baroque-cream: #f8f0e3;\n \n background: linear-gradient(to bottom, var(--baroque-black) 0%, #2c2112 100%);\n color: var(--baroque-cream);\n font-family: \'Playfair Display\', \'Noto Serif SC\', serif;\n padding: 30px;\n position: relative;\n overflow: hidden;\n box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);\n border: 1px solid rgba(212, 175, 55, 0.3);\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-image: url(\'data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100\" height=\"100\" viewBox=\"0 0 100 100\"><path d=\"M20,20 C40,10 60,10 80,20 C90,40 90,60 80,80 C60,90 40,90 20,80 C10,60 10,40 20,20 Z\" fill=\"none\" stroke=\"%23d4af37\" stroke-width=\"0.5\" opacity=\"0.2\"/></svg>\');\n background-size: 150px 150px;\n opacity: 0.1;\n pointer-events: none;\n }\n \n .container .ornate-border {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border: 20px solid transparent;\n border-image: url(\'data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100\" height=\"100\" viewBox=\"0 0 100 100\"><path d=\"M0,0 L100,0 L100,100 L0,100 Z M10,10 L10,90 L90,90 L90,10 Z\" fill=\"none\" stroke=\"%23d4af37\" stroke-width=\"2\"/><path d=\"M0,0 C30,20 70,20 100,0 M0,100 C30,80 70,80 100,100 M0,0 C20,30 20,70 0,100 M100,0 C80,30 80,70 100,100\" fill=\"none\" stroke=\"%23 Line truncated
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 , ' 斯堪的纳维亚风格 ' , ' <div class=\"container\">\n <div class=\"triangle-decor\"></div>\n <div class=\"date\">Juni 20, 2025</div>\n <h1 class=\"title\">可持续设计</h1>\n <p class=\"subtitle\">如何通过设计创造更环保的未来</p>\n <div class=\"divider\"></div>\n <blockquote class=\"quote\">\n 优秀的设计不只是看起来美观,更应该对地球和人类的未来负责。\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-number\">1</span>\n <span>可循环材料:选择可生物降解或可完全回收的材料是可持续设计的基础</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">2</span>\n <span>长久耐用:设计应超越短暂流行,创造能经受时间考验的产品</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">3</span>\n <span>节能生产:优化制造流程,减少能源消耗和碳排放</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">4</span>\n <span>全生命周期:考虑产品从原材料到废弃处理的完整环境影响</span>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描二维码,了解更多可持续设计案例</div>\n </div>\n <div class=\"editor-note\">\n <strong>编辑手记:</strong> 在资源有限的世界里,可持续设计不再是选择而是必需。北欧设计一直引领这一理念,将简约美学与环保责任完美结合。\n </div>\n </div> ' , ' <style>\n /* 斯堪的纳维亚风格 */\n .container {\n font-family: \ ' Futura \ ' , \ ' Noto Sans SC \ ' , sans-serif;\n --scandi-bg: #ffffff;\n --scandi-text: #333333;\n --scandi-accent: #6a8d73;\n --scandi-secondary: #f0dbc4;\n --scandi-pale: #f7f7f7;\n --scandi-gray: #a5a5a5;\n background-color: var(--scandi-bg);\n color: var(--scandi-text);\n padding: 40px;\n position: relative;\n line-height: 1.5;\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 20px;\n left: 20px;\n right: 20px;\n bottom: 20px;\n border: 1px solid var(--scandi-secondary);\n pointer-events: none;\n z-index: 0;\n }\n \n .container .date {\n font-size: 12px;\n font-weight: 400;\n letter-spacing: 2px;\n color: var(--scandi-gray);\n margin-bottom: 30px;\n text-transform: uppercase;\n }\n \n .container .title {\n font-size: 36px;\n font-weight: 500;\n margin-bottom: 16px;\n color: var(--scandi-text);\n letter-spacing: -0.5px;\n }\n \n .container .subtitle {\n font-size: 16px;\n font-weight: 400;\n margin-bottom: 40px;\n color: var(--scandi-gray);\n }\n \n .container .divider {\n height: 2px;\n width: 50px;\n background-color: var(--scandi-accent);\n margin: 30px 0;\n }\n \n .container .quote {\n font-size: 20px;\n line-height: 1.6;\n padding: 30px;\n margin: 30px 0;\n background-color: var(--scandi-pale);\n position: relative;\n }\n \n .container .quote::before {\n content: \"\"\";\n position: absolute;\n top: 0;\n left: 10px;\n font-size: 60px;\n color: var(--scandi-accent);\n opacity: 0.3;\n line-height: 1;\n }\n \n .container .points {\n margin: 40px 0;\n }\n \n .container .point {\n margin-bottom: 24px;\n display: flex;\n align-items: flex-start;\n }\n \n .container .point-number {\n min-width: 24px;\n height: 24px;\n border-radius: 50%;\n background-color: var(--scandi-accent);\n color: white;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 12px;\n margin-right: 15px;\n margin-top: 2px;\n }\n \n .container .qr-section {\n margin-top: 40px;\n display: flex;\n align-items: center;\n background-color: var(--scandi-pale);\n padding: 30px;\n }\n \n .container .qr Line truncated
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 , ' 未来科技风格 ' , ' <div class=\"container\">\n <div class=\"date\">2025.03.21</div>\n <h1 class=\"title\">深空探索</h1>\n <p class=\"subtitle\">人类文明跨越星际的下一步</p>\n <div class=\"divider\"></div>\n <blockquote class=\"quote\">\n \"我们在地球上的存在只是宇宙意识的短暂火花,深空探索是延续这火花的唯一希望。\"\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-number\">001</span>\n <span>量子引擎突破光速限制的理论基础已初步验证,星际旅行不再是科幻</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">002</span>\n <span>近星系人工智能探测网络已部署,预计5年内发回首批系外行星详细数据</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">003</span>\n <span>深空辐射防护技术解决了长期太空旅行的最大生物学障碍</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">004</span>\n <span>月球永久基地将成为人类迈向火星与更远星系的跳板</span>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描接入星际探索实时数据网络</div>\n </div>\n <div class=\"editor-note\">\n <strong>编辑笔记:</strong> 本报道基于最新深空探索计划发布的官方数据。部分预测基于当前技术发展曲线,实际进展可能因政治或资金因素有所调整。\n </div>\n </div> ' , ' <style>\n /* 未来科技风格 */\n .container {\n font-family: \ ' Space Mono \ ' , \ ' Noto Sans SC \ ' , monospace;\n --tech-bg: #0a0f18;\n --tech-text: #e2e8f0;\n --tech-accent: #0df2ff;\n --tech-secondary: #ff00a5;\n --tech-dark: #141c2b;\n --tech-grid: rgba(13, 242, 255, 0.1);\n background-color: var(--tech-bg);\n background-image: \n radial-gradient(circle at 15% 30%, rgba(13, 242, 255, 0.1) 0%, transparent 25%),\n linear-gradient(to bottom, transparent 0%, rgba(13, 242, 255, 0.05) 100%);\n color: var(--tech-text);\n padding: 35px;\n position: relative;\n overflow: hidden;\n line-height: 1.5;\n animation: powerOn 1s ease-out forwards;\n }\n \n @keyframes powerOn {\n 0% { opacity: 0; filter: blur(10px); }\n 50% { opacity: 0.5; filter: blur(5px); }\n 60% { opacity: 0.6; filter: blur(0); }\n 65% { opacity: 0.8; }\n 70% { opacity: 0.4; }\n 75% { opacity: 0.9; }\n 80% { opacity: 0.7; }\n 100% { opacity: 1; filter: blur(0); }\n }\n \n @keyframes scanLine {\n 0% { transform: translateY(-100%); }\n 100% { transform: translateY(100%); }\n }\n \n @keyframes blink {\n 0%, 100% { opacity: 1; }\n 50% { opacity: 0.3; }\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-image: \n linear-gradient(90deg, var(--tech-grid) 1px, transparent 1px),\n linear-gradient(0deg, var(--tech-grid) 1px, transparent 1px);\n background-size: 20px 20px;\n pointer-events: none;\n z-index: 0;\n }\n \n .container::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100%;\n background: linear-gradient(transparent 0%, rgba(13, 242, 255, 0.2) 50%, transparent 100%);\n pointer-events: none;\n z-index: 2;\n opacity: 0.1;\n height: 2px;\n animation: scanLine 3s linear infinite;\n }\n \n .container .date {\n font-size: 12px;\n font-weight: 400;\n letter-spacing: 2px;\n color: var(--tech-accent);\n margin-bottom: 30px;\n display: flex;\n align-items: center;\n text-transform: uppercase;\n }\n \n .container .date::before {\n content: \"//\";\n margin-right: 8px;\n }\n \n .container .date::after {\n content: \"\";\n display: inline-block;\n width: 8px;\n height: 8px;\n background-color: var(--tech-accent);\n margin-left: 8p Line truncated
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 , ' 红色党政风 ' , ' <div class=\"container\">\n <div class=\"emblem-decor\"></div>\n <div class=\"date\">二〇二五年七月一日</div>\n <h1 class=\"title\">新时代为民服务</h1>\n <p class=\"subtitle\">践行初心使命 提升服务效能</p>\n <div class=\"divider\"></div>\n <blockquote class=\"quote\">\n 全心全意为人民服务是我们一切工作的根本宗旨,要始终把人民放在心中最高位置。\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-number\">01</span>\n <span>深化简政放权,推进\"最多跑一次\"改革</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">02</span>\n <span>完善基层服务体系,打通服务群众\"最后一公里\"</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">03</span>\n <span>强化数字赋能,建设智慧服务平台</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">04</span>\n <span>健全监督机制,确保权力在阳光下运行</span>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://obj.lemonc.cc/files/2025/04/09/145324.png\" alt=\"QR Code\">\n <div class=\"qr-text\">扫码进入便民服务直通车</div>\n </div>\n <div class=\"editor-note\">\n <strong>重要通知:</strong> 本年度将全面推进服务型建设,欢迎广大群众监督并提出宝贵意见建议,共同推动服务工作提质增效。\n </div>\n </div> ' , ' <style>\n /* 党政风格 */\n .container {\n font-family: \ ' SimSun \ ' , \ ' Noto Serif SC \ ' , serif;\n --party-bg: #fff9f9;\n --party-text: #4a4a4a;\n --party-accent: #c12c2c;\n --party-secondary: #f0e6e6;\n --party-pale: #fdf0f0;\n --party-gray: #8c8c8c;\n background-color: var(--party-bg);\n color: var(--party-text);\n padding: 40px;\n position: relative;\n line-height: 1.8;\n border: 1px solid var(--party-secondary);\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);\n }\n\n .container .emblem-decor {\n position: absolute;\n top: 20px;\n right: 20px;\n width: 60px;\n height: 60px;\n background-color: var(--party-accent);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n font-weight: bold;\n font-size: 14px;\n text-align: center;\n line-height: 1.2;\n }\n\n .container .emblem-decor::before {\n content: \"为民\\A服务\";\n white-space: pre;\n }\n\n .container .date {\n font-size: 16px;\n font-weight: 400;\n color: var(--party-accent);\n margin-bottom: 30px;\n text-align: center;\n letter-spacing: 5px;\n }\n\n .container .title {\n font-size: 36px;\n font-weight: 700;\n margin-bottom: 16px;\n color: var(--party-accent);\n text-align: center;\n letter-spacing: 10px;\n text-shadow: 1px 1px 2px rgba(0,0,0,0.1);\n }\n\n .container .subtitle {\n font-size: 20px;\n font-weight: 400;\n margin-bottom: 40px;\n color: var(--party-accent);\n text-align: center;\n letter-spacing: 2px;\n }\n\n .container .divider {\n height: 3px;\n width: 120px;\n background: linear-gradient(90deg, transparent, var(--party-accent), transparent);\n margin: 30px auto;\n position: relative;\n }\n\n .container .divider::before,\n .container .divider::after {\n content: \"★\";\n position: absolute;\n top: -12px;\n color: var(--party-accent);\n font-size: 16px;\n }\n\n .container .divider::before {\n left: -20px;\n }\n\n .container .divider::after {\n right: -20px;\n }\n\n .container .quote {\n font-size: 20px;\n line-height: 1.8;\n padding: 25px 30px;\n margin: 30px 0;\n background-color: var(--party-pale);\n border: 1px solid var(--party-secondary);\n color: var(--party-accent);\n text-align: center;\n font-weight: 500;\n }\n\n .container .points {\n margin: 40px 0;\n padding: 0 20px;\n }\n\n .contain Line truncated
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 , ' 淡雅政务风 ' , ' <div class=\"container\">\n <div class=\"badge-decor\"></div>\n <div class=\"date\">2025年5月15日</div>\n <h1 class=\"title\">政务服务优化</h1>\n <p class=\"subtitle\">推动便民利企服务高质量发展</p>\n <div class=\"divider\"></div>\n <blockquote class=\"quote\">\n 坚持以人民为中心的发展思想,持续深化\"放管服\"改革,打造高效、透明、便民的政务服务体系。\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-number\">一</span>\n <span>推进\"一网通办\",实现政务服务事项全程网上办理</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">二</span>\n <span>优化审批流程,压缩办理时限,提升服务效率</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">三</span>\n <span>加强政务公开,保障群众知情权、参与权、监督权</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">四</span>\n <span>完善投诉反馈机制,及时解决群众反映的问题</span>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://obj.lemonc.cc/files/2025/04/09/145324.png\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描二维码,进入政务服务网上大厅</div>\n </div>\n <div class=\"editor-note\">\n <strong>政务公告:</strong> 本年度将继续推进政务服务标准化规范化便利化建设,欢迎广大市民群众监督并提出宝贵意见。\n </div>\n </div> ' , ' <style>\n /* 政务风格 */\n .container {\n font-family: \ ' Microsoft YaHei \ ' , \ ' Noto Sans SC \ ' , sans-serif;\n --gov-bg: #f5f7fa;\n --gov-text: #333333;\n --gov-accent: #1a56a7;\n --gov-secondary: #d9e3f2;\n --gov-pale: #e8edf5;\n --gov-gray: #666666;\n background-color: var(--gov-bg);\n color: var(--gov-text);\n padding: 40px;\n position: relative;\n line-height: 1.6;\n border: 1px solid var(--gov-secondary);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);\n }\n\n .container .badge-decor {\n position: absolute;\n top: 20px;\n right: 20px;\n width: 60px;\n height: 60px;\n background-color: var(--gov-accent);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n font-weight: bold;\n font-size: 12px;\n text-align: center;\n line-height: 1.2;\n }\n\n .container .badge-decor::before {\n content: \"政务\\A服务\";\n white-space: pre;\n }\n\n .container .date {\n font-size: 14px;\n font-weight: 400;\n color: var(--gov-gray);\n margin-bottom: 30px;\n }\n\n .container .title {\n font-size: 32px;\n font-weight: 600;\n margin-bottom: 16px;\n color: var(--gov-accent);\n text-align: center;\n }\n\n .container .subtitle {\n font-size: 18px;\n font-weight: 400;\n margin-bottom: 40px;\n color: var(--gov-gray);\n text-align: center;\n }\n\n .container .divider {\n height: 3px;\n width: 100px;\n background-color: var(--gov-accent);\n margin: 30px auto;\n position: relative;\n }\n\n .container .divider::before,\n .container .divider::after {\n content: \"\";\n position: absolute;\n top: -3px;\n width: 6px;\n height: 9px;\n background-color: var(--gov-accent);\n }\n\n .container .divider::before {\n left: -10px;\n }\n\n .container .divider::after {\n right: -10px;\n }\n\n .container .quote {\n font-size: 18px;\n line-height: 1.8;\n padding: 25px;\n margin: 30px 0;\n background-color: var(--gov-pale);\n border-left: 4px solid var(--gov-accent);\n color: var(--gov-text);\n }\n\n .container .points {\n margin: 40px 0;\n }\n\n .container .point {\n margin-bottom: 24px;\n display: flex;\n align-items: flex-start;\n }\n\n .container .point-number {\n min-width: 30px;\n height: 30px;\n border-radius: 50%;\n background-color: v Line truncated
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 , ' 新表现主义风格 ' , ' <div class=\"container\">\n <div class=\"content\">\n <div class=\"date\">2025年03月28日</div>\n <h1 class=\"title\">黑胶复兴</h1>\n <p class=\"subtitle\">模拟声音的回归,旧时代技术在数字世界中的意外胜利</p>\n \n <div class=\"quote-container\">\n <blockquote class=\"quote\">\n 在完美无瑕的数字音频中,我们失去了音乐的灵魂;而在黑胶唱片的噼啪声中,我们重新找到了它。\n </blockquote>\n </div>\n \n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-number\">1</span>\n <div class=\"point-text\">触觉体验:黑胶唱片提供了一种物理仪式感,从挑选唱片到放上唱盘的每一步都是体验的一部分</div>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">2</span>\n <div class=\"point-text\">温暖声学:模拟录制的非线性特性创造出数字完美主义无法复制的声音质感</div>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">3</span>\n <div class=\"point-text\">艺术载体:12英寸唱片封面成为视觉艺术的重要媒介,许多经典专辑因其封面设计而被铭记</div>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">4</span>\n <div class=\"point-text\">慢听革命:黑胶体验鼓励人们完整聆听一张专辑,抵抗流媒体时代的碎片化消费</div>\n </div>\n </div>\n \n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫码探索珍稀黑胶唱片收藏</div>\n </div>\n \n <div class=\"editor-note\">\n <strong>编辑笔记:</strong>黑胶唱片的复兴超越了单纯的怀旧,它代表了人们对实体音乐体验的渴望与反抗。在数字极简主义主导的今天,这种\"不完美\"的媒介正在成为艺术真实性的象征。\n </div>\n </div>\n </div> ' , ' <style>\n /* 新表现主义风格 */\n .container {\n font-family: \ ' Comic Sans MS \ ' , \ ' Noto Sans SC \ ' , cursive, sans-serif;\n --neo-exp-bg: #f8f4e0;\n --neo-exp-primary: #d62828;\n --neo-exp-secondary: #003049;\n --neo-exp-accent: #fcbf49;\n --neo-exp-text: #252422;\n background-color: var(--neo-exp-bg);\n color: var(--neo-exp-text);\n padding: 30px;\n position: relative;\n overflow: hidden;\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: -10%;\n right: -10%;\n width: 60%;\n height: 70%;\n background-color: var(--neo-exp-accent);\n opacity: 0.4;\n transform: rotate(15deg);\n z-index: 0;\n }\n \n .container::after {\n content: \"\";\n position: absolute;\n bottom: -5%;\n left: -5%;\n width: 35%;\n height: 45%;\n background-color: var(--neo-exp-primary);\n opacity: 0.3;\n transform: rotate(-10deg);\n z-index: 0;\n }\n \n .container .content {\n position: relative;\n z-index: 1;\n }\n \n .container .date {\n font-family: \ ' Courier New \ ' , monospace;\n font-weight: bold;\n font-size: 16px;\n margin-bottom: 20px;\n transform: rotate(-2deg);\n display: inline-block;\n padding: 5px 15px;\n background-color: var(--neo-exp-secondary);\n color: var(--neo-exp-bg);\n }\n \n .container .title {\n font-size: 68px;\n line-height: 0.9;\n font-weight: 900;\n margin-bottom: 25px;\n color: var(--neo-exp-primary);\n transform: skew(-5deg);\n text-shadow: 3px 3px 0 var(--neo-exp-secondary);\n letter-spacing: -2px;\n }\n \n .container .subtitle {\n font-size: 22px;\n font-weight: 600;\n line-height: 1.2;\n margin-bottom: 30px;\n padding-left: 20px;\n border-left: 8px solid var(--neo-exp-accent);\n position: relative;\n z-index: 2;\n }\n \n .container .quote-container {\n margin: 40px 0;\n position: relative;\n }\n \n .container .q Line truncated
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 , ' 波普艺术风格 ' , ' <div class=\"container\">\n <div class=\"halftone-bg\"></div>\n <div class=\"star\"></div>\n <div class=\"star\"></div>\n <div class=\"content\">\n <div class=\"date\">2025年6月15日</div>\n <div class=\"title-container\">\n <div class=\"boom\">VIRAL!</div>\n <h1 class=\"title\">网红经济</h1>\n <div class=\"title-bg\">网红经济</div>\n </div>\n <p class=\"subtitle\">社交媒体如何彻底改变了我们的消费方式、审美标准与名人文化</p>\n <div class=\"quote-bubble\">\n <p class=\"quote\">\"在这个时代,每个人都有15分钟的成名机会,但网红们用算法延长了这个时间到无限!\"</p>\n </div>\n <div class=\"points\">\n <div class=\"point\">\n <div class=\"point-number\">1</div>\n <div class=\"point-content\">信任营销:相比传统广告,76%的消费者更相信真实人物的产品推荐</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">2</div>\n <div class=\"point-content\">微网红崛起:专注小众领域的内容创作者正获得比大网红更高的互动率</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">3</div>\n <div class=\"point-content\">真实性危机:完美人设背后,创作者身份与现实生活的严重割裂导致心理健康问题</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">4</div>\n <div class=\"point-content\">算法控制:平台推荐机制决定了谁能出名,创作者如何迎合算法成为成功关键</div>\n </div>\n </div>\n <div class=\"qr-section\">\n <div class=\"qr-container\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n </div>\n <div class=\"qr-text\">扫码关注我们的爆款网红推荐</div>\n </div>\n <div class=\"editor-note\">\n 网红经济不仅创造了全新的职业,更重塑了整个市场营销生态。当每个人都能成为媒体时,影响力成为新的货币,而真实性则成为最稀缺的资源。\n </div>\n </div>\n </div> ' , ' <style>\n /* 波普艺术风格 */\n @import url(\ ' https : / / fonts . googleapis . com / css2 ? family = Bangers & family = Poppins : wght @ 400 ; 700 & display = swap \ ' );\n \n .container {\n font-family: \ ' Poppins \ ' , sans-serif;\n --pop-red: #ff214f;\n --pop-yellow: #ffde03;\n --pop-blue: #0066ff;\n --pop-bg: #ffffff;\n --pop-black: #000000;\n background-color: var(--pop-bg);\n color: var(--pop-black);\n padding: 30px;\n position: relative;\n overflow: hidden;\n border: 10px solid var(--pop-black);\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-image: radial-gradient(var(--pop-black) 1px, transparent 1px);\n background-size: 10px 10px;\n opacity: 0.05;\n z-index: 0;\n pointer-events: none;\n }\n \n .container .halftone-bg {\n position: absolute;\n top: -50px;\n right: -50px;\n width: 200px;\n height: 200px;\n background-color: var(--pop-yellow);\n border-radius: 50%;\n z-index: 0;\n }\n \n .container .halftone-bg::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-image: radial-gradient(var(--pop-black) 2px, transparent 2px);\n background-size: 8px 8px;\n border-radius: 50%;\n opacity: 0.2;\n }\n \n .container .content {\n position: relative;\n z-index: 1;\n }\n \n .container .date {\n font-family: \ ' Bangers \ ' , cursive;\n background-color: var(--pop-red);\n color: var(--pop-bg);\n display: inline-block;\n padding: 5px 15px;\n font-size: 18px;\n transform: rotate(-3deg);\n position: relative;\n box-shadow: 5px 5px 0 var(--pop-black);\n margin-bottom: 30px;\n letter-spacing: 1px;\n }\n \n .container .date::after {\n content: \"!\";\n font-size: 24p Line truncated
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 , ' 极简主义风格 ' , ' <div class=\"container\">\n <div class=\"date\">2025.05.18</div>\n <h1 class=\"title\">摄影的艺术</h1>\n <p class=\"subtitle\">光影与构图的永恒魅力</p>\n <div class=\"divider\"></div>\n <blockquote class=\"quote\">\n \"摄影不仅是捕捉瞬间,而是创造永恒。\"\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-number\">01</span>\n <span>摄影是光影的艺术,掌握光线是创作好照片的关键</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">02</span>\n <span>构图是视觉语言,通过空间关系传达情感与故事</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">03</span>\n <span>数码技术改变了摄影工具,但不改变摄影的本质</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">04</span>\n <span>真正的摄影眼光将在视觉饱和的时代成为宝贵能力</span>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描二维码,获取更多摄影技巧</div>\n </div>\n <div class=\"editor-note\">\n <strong>编辑笔记:</strong> 在图像泛滥的数字时代,摄影的形式在变,但作为记录与表达的方式,其艺术本质不变。\n </div>\n </div> ' , ' <style>\n /* 极简主义风格 */\n .container {\n font-family: \ ' Helvetica Neue \ ' , \ ' Noto Sans \ ' , sans-serif;\n --container-bg: #f8f8f8;\n --container-text: #222222;\n --container-accent: #333333;\n --container-border: #e0e0e0;\n background-color: var(--container-bg);\n color: var(--container-text);\n padding: 40px;\n position: relative;\n line-height: 1.5;\n }\n \n .container .date {\n font-size: 12px;\n font-weight: 400;\n letter-spacing: 1px;\n color: #888888;\n margin-bottom: 30px;\n }\n \n .container .title {\n font-size: 32px;\n font-weight: 300;\n margin-bottom: 16px;\n letter-spacing: -0.5px;\n }\n \n .container .subtitle {\n font-size: 16px;\n font-weight: 400;\n margin-bottom: 40px;\n color: #555555;\n }\n \n .container .divider {\n height: 1px;\n width: 40px;\n background-color: var(--container-border);\n margin: 30px 0;\n }\n \n .container .quote {\n font-size: 18px;\n line-height: 1.6;\n font-weight: 300;\n padding: 20px 0;\n border-left: none;\n border-top: 1px solid var(--container-border);\n border-bottom: 1px solid var(--container-border);\n margin: 30px 0;\n }\n \n .container .points {\n margin: 40px 0;\n }\n \n .container .point {\n margin-bottom: 20px;\n display: flex;\n align-items: flex-start;\n }\n \n .container .point-number {\n color: #888888;\n font-size: 14px;\n font-weight: 400;\n margin-right: 15px;\n min-width: 20px;\n }\n \n .container .qr-section {\n margin-top: 40px;\n display: flex;\n align-items: center;\n }\n \n .container .qr-code {\n width: 80px;\n height: 80px;\n margin-right: 20px;\n border: none;\n }\n \n .container .qr-text {\n font-size: 12px;\n color: #888888;\n }\n \n .container .editor-note {\n margin-top: 40px;\n font-size: 13px;\n color: #555555;\n padding: 20px 0;\n border-top: 1px solid var(--container-border);\n }\n </style> ' , ' 采用极简主义风格设计,遵循\"少即是多\"的理念。使用大量留白创造呼吸空间,仅保留最必要的元素。配色方案限制在2-3种中性色,主要为白色背景配以黑色或深灰色文字。排版应精确到像素级别,使用精心设计的网格系统和黄金比例。字体选择无衬线字体如Helvetica或Noto Sans,字重变化作为主要层次手段。装饰元素几乎为零,仅使用极细的分隔线和微妙的阴影。整体设计应呈现出克制、优雅且永恒的美学,让内容本身成为焦点。参考Dieter Rams的设计原则和日本无印良品(MUJI)的产 Line truncated
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 ' , ' <div class=\"container\">\n <div class=\"border\"></div>\n <div class=\"corner corner-tl\"></div>\n <div class=\"corner corner-tr\"></div>\n <div class=\"corner corner-bl\"></div>\n <div class=\"corner corner-br\"></div>\n <div class=\"date\">Le 15 Avril, 2025</div>\n <h1 class=\"title\">古典音乐的复兴</h1>\n <p class=\"subtitle\">在数字时代,巴赫、莫扎特与贝多芬的永恒旋律重获新生</p>\n <div class=\"divider\"></div>\n <blockquote class=\"quote\">\n 古典音乐不是过去的遗物,而是人类灵魂深处永恒的共鸣,跨越时空与文化的界限。\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-marker\">※</span>\n <span>古典音乐与现代聆听:流媒体平台革命性地改变了年轻一代接触古典音乐的方式</span>\n </div>\n <div class=\"point\">\n <span class=\"point-marker\">※</span>\n <span>数字化保存:高保真技术让历史录音重获新生,填补音乐史的空白</span>\n </div>\n <div class=\"point\">\n <span class=\"point-marker\">※</span>\n <span>跨界融合:古典元素在电影、游戏与流行音乐中的创新应用</span>\n </div>\n <div class=\"point\">\n <span class=\"point-marker\">※</span>\n <span>音乐教育的变革:虚拟现实和交互式应用为古典音乐普及带来新机遇</span>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描二维码,聆听精选古典音乐集</div>\n </div>\n <div class=\"editor-note\">\n <strong>编辑笔记:</strong> 在这个快节奏的数字时代,古典音乐以其深度与复杂性,为我们提供了一种珍贵的沉浸式体验,让我们能够暂时脱离浮躁,回归内心的宁静。\n </div>\n </div> ' , ' <style>\n /* 优雅复古风格 */\n .container {\n font-family: \ ' Noto Serif SC \ ' , \ ' Baskerville \ ' , serif;\n --container-bg: #f8f3e6;\n --container-text: #3a2a1d;\n --container-accent: #8b4513;\n --container-secondary: #a52a2a;\n background-color: var(--container-bg);\n color: var(--container-text);\n padding: 40px;\n position: relative;\n overflow: hidden;\n box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.05);\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-image: url(\"data:image/svg+xml,%3Csvg width=\ ' 100 \ ' height=\ ' 100 \ ' viewBox=\ ' 0 0 100 100 \ ' xmlns=\ ' http : / / www . w3 . org / 2000 / svg \ ' %3E%3Cpath d=\ ' M11 18 c3 . 866 0 7 - 3 . 134 7 - 7 s - 3 . 134 - 7 - 7 - 7 - 7 3 . 134 - 7 7 3 . 134 7 7 7 zm48 25 c3 . 866 0 7 - 3 . 134 7 - 7 s - 3 . 134 - 7 - 7 - 7 - 7 3 . 134 - 7 7 3 . 134 7 7 7 zm - 43 - 7 c1 . 657 0 3 - 1 . 343 3 - 3 s - 1 . 343 - 3 - 3 - 3 - 3 1 . 343 - 3 3 1 . 343 3 3 3 zm63 31 c1 . 657 0 3 - 1 . 343 3 - 3 s - 1 . 343 - 3 - 3 - 3 - 3 1 . 343 - 3 3 1 . 343 3 3 3 zM34 90 c1 . 657 0 3 - 1 . 343 3 - 3 s - 1 . 343 - 3 - 3 - 3 - 3 1 . 343 - 3 3 1 . 343 3 3 3 zm56 - 76 c1 . 657 0 3 - 1 . 343 3 - 3 s - 1 . 343 - 3 - 3 - 3 - 3 1 . 343 - 3 3 1 . 343 3 3 3 zM12 86 c2 . 21 0 4 - 1 . 79 4 - 4 s - 1 . 79 - 4 - 4 - 4 - 4 1 . 79 - 4 4 1 . 79 4 4 4 zm28 - 65 c2 . 21 0 4 - 1 . 79 4 - 4 s - 1 . 79 - 4 - 4 - 4 - 4 1 . 79 - 4 4 1 . 79 4 4 4 zm23 - 11 c2 . 76 0 5 - 2 . 24 5 - 5 s - 2 . 24 - 5 - 5 - 5 - 5 2 . 24 - 5 5 2 . 24 5 5 5 zm - 6 60 c2 . 21 0 4 - 1 . 79 4 - 4 s - 1 . 79 - 4 - 4 - 4 - 4 1 . 79 - 4 4 1 . 79 4 4 4 zm29 22 c2 . 76 0 5 - 2 . 24 5 - 5 s - 2 . 24 - 5 - 5 - 5 - 5 2 . 24 - 5 5 2 . 24 5 5 5 zM32 63 c2 . 76 0 5 - 2 . 24 5 - 5 s - 2 . 24 - 5 - 5 - 5 - 5 2 . 24 - 5 5 2 . 24 5 5 5 zm57 - 13 c2 . 76 0 5 - 2 . 24 5 - 5 s - 2 . 24 - 5 - 5 - 5 - 5 2 . 24 - 5 5 2 . 24 5 5 5 zm - 9 - 21 c1 . 105 0 2 - . 895 2 - 2 s - . 895 - 2 - 2 - 2 - 2 . 895 - 2 2 . 895 2 2 2 zM60 91 c1 . 105 0 2 - . 895 2 - 2 s - . 895 - 2 - 2 - 2 - 2 . 895 - 2 2 . 895 2 2 2 zM35 41 c1 . 105 0 2 - . 895 2 - 2 s - . 895 - 2 - 2 - 2 - 2 . 895 - 2 2 . 895 2 2 2 zM12 60 c1 . 105 0 2 - . 895 2 - 2 s - . 895 - 2 - 2 - 2 - 2 . 895 - 2 2 . 895 2 2 2 z \ ' fill=\ ' % 23 a18f7d \ ' fill-opacity=\ ' 0 . 05 \ ' fill-rule=\ ' evenodd \ ' /%3E%3C/svg%3E\");\n opacity: 0.5;\n pointer-events: none;\n }\n \n .container .border {\n position: absolute;\n top: 15px;\n left: 15px;\n right: 15px;\n bottom: 15px;\n border: 1px solid rgba(139, 69, 19, 0.3);\n pointer-events: none;\n }\n \n .container .corner {\n position: absolute;\n width: 30px;\n height: 30px;\n border-color: var(--container-accent);\n border-style: solid;\n border-width: 0;\n }\n \n .container .corner-tl {\n top: 15px;\n left: 15px;\n border-top-wi Line truncated
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 , ' 大胆现代 ' , ' <div class=\"container\">\n <div class=\"date\">15 JULY 2025</div>\n <h1 class=\"title\">城市<span>重构</span></h1>\n <p class=\"subtitle\">新型建筑正在重塑城市景观,打造更具可持续性与人文关怀的未来生活空间</p>\n <div class=\"divider\"></div>\n <blockquote class=\"quote\">\n \"未来的城市不仅是由玻璃、钢铁和混凝土构成的,更应该是由社区、生态和创新精神塑造的有机体。\"\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-number\">01</span>\n <span>垂直森林:建筑外立面融合大量植被,每栋建筑成为碳吸收器和生物多样性中心</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">02</span>\n <span>模块化设计:可重配置的建筑系统使空间根据需求灵活变化,减少资源浪费</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">03</span>\n <span>智能材料:自修复混凝土和光伏玻璃等材料革命性地改变建筑能耗与寿命</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">04</span>\n <span>社区导向:建筑设计重新聚焦于创造有意义的公共空间,促进人际互动</span>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描二维码,探索全球创新建筑案例</div>\n </div>\n <div class=\"editor-note\">\n <strong>EDITOR\ ' S NOTE : < / strong > 现 代 建 筑 正 走 向 一 个 关 键 转 折 点 , 从 单 纯 追 求 形 式 美 学 转 向 整 合 生 态 系 统 、 人 文 关 怀 与 技 术 创 新 的 综 合 解 决 方 案 。 \ n < / div > \ n < / div > ' , ' < style > \ n /* 大胆现代风格 */ \ n . container { \ n /* 主题风格 */ \ n font - family : \ ' Noto Sans SC\ ' , sans - serif ; \ n --container-bg: #121212;\n --container-text: #ffffff;\n --container-accent: #ff2e63;\n --container-secondary: #00fff5;\n background-color: var(--container-bg);\n color: var(--container-text);\n font-family: \'Noto Sans SC\', sans-serif;\n padding: 40px;\n position: relative;\n overflow: hidden;\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n width: 150px;\n height: 150px;\n background-color: var(--container-accent);\n opacity: 0.2;\n border-radius: 0 0 0 100%;\n z-index: 0;\n }\n \n .container .date {\n font-size: 14px;\n font-weight: 700;\n letter-spacing: 2px;\n color: var(--container-secondary);\n margin-bottom: 30px;\n position: relative;\n }\n \n .container .title {\n font-size: 60px;\n font-weight: 800;\n line-height: 1;\n margin-bottom: 20px;\n text-transform: uppercase;\n letter-spacing: -1px;\n position: relative;\n }\n \n .container .title span {\n color: var(--container-accent);\n }\n \n .container .subtitle {\n font-size: 18px;\n font-weight: 400;\n margin-bottom: 40px;\n line-height: 1.4;\n position: relative;\n }\n \n .container .divider {\n height: 4px;\n width: 100px;\n background-color: var(--container-accent);\n margin: 30px 0;\n }\n \n .container .quote {\n font-size: 24px;\n line-height: 1.3;\n font-weight: 700;\n padding: 20px;\n border-left: 4px solid var(--container-secondary);\n margin: 30px 0;\n background-color: rgba(255,255,255,0.05);\n }\n \n .container .points {\n margin: 40px 0;\n }\n \n .container .point {\n margin-bottom: 20px;\n line-height: 1.5;\n display: flex;\n align-items: flex-start;\n }\n \n .container .point-number {\n color: var(--container-accent);\n font-size: 24px;\n font-weight: 800;\n margin-right: 15px;\n line-height: 1;\n }\n \n .container .qr-section {\n margin-top: 40px;\n display: flex;\n align-items: center;\n background-color: rgba(255,255,255,0.05);\n padding: 20px;\n }\n \n .container .qr-code {\n width: 100px;\n height: 100px;\n margin-right: 20px;\n border: 2px solid var(--container- Line truncated
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 ' , ' <div class=\"container\">\n <div class=\"container\">\n <div class=\"date\">2025年5月17日</div>\n <div class=\"title-container\">\n <div class=\"ink-mark\"></div>\n <h1 class=\"title\">茶道之美</h1>\n </div>\n <p class=\"subtitle\">一碗茶,一方宇宙,茶道中蕴含的东方生活美学与哲思</p>\n <blockquote class=\"quote\">\n 茶道不只是饮茶仪式,更是对和、敬、清、寂四大原则的生活实践。\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n 待客之心:茶室中每一个动作,每一处设计都体现对客人的至高敬意\n </div>\n <div class=\"point\">\n 四季感知:茶道仪式随季节变化而调整,体现与自然和谐共处的理念\n </div>\n <div class=\"point\">\n 珍视瞬间:茶道秉持\"一期一会\"精神,视每次相聚为人生独特相遇\n </div>\n <div class=\"point\">\n 留白之美:茶室布置的极简与留白,是对内心平静的物理表达\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描二维码,探索更多日本传统美学</div>\n </div>\n <div class=\"editor-note\">\n <strong>編集者注:</strong> 在这个快节奏的现代社会,茶道所蕴含的慢生活哲学,为我们提供了一种回归本真、寻找内心平静的方式。\n </div>\n </div>\n </div> ' , ' <style>\n /* 日式极简风格 */\n .container {\n font-family: \ ' Noto Sans JP \ ' , \ ' Noto Sans SC \ ' , sans-serif;\n --jp-bg: #f7f7f5;\n --jp-text: #333333;\n --jp-accent: #111111;\n --jp-light: #d7d7d7;\n background-color: var(--jp-bg);\n color: var(--jp-text);\n padding: 60px 40px;\n position: relative;\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n \n .container .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n \n .container .date {\n font-size: 12px;\n font-weight: 300;\n letter-spacing: 2px;\n color: var(--jp-text);\n opacity: 0.7;\n writing-mode: vertical-rl;\n text-orientation: mixed;\n position: absolute;\n top: 40px;\n right: 40px;\n height: 120px;\n }\n \n .container .title-container {\n display: flex;\n margin-bottom: 80px;\n }\n \n .container .ink-mark {\n width: 30px;\n height: 30px;\n margin-right: 20px;\n background-color: var(--jp-accent);\n opacity: 0.8;\n border-radius: 50%;\n position: relative;\n overflow: hidden;\n }\n \n .container .ink-mark::after {\n content: \"\";\n position: absolute;\n top: 15%;\n left: 20%;\n width: 60%;\n height: 60%;\n background-color: var(--jp-bg);\n border-radius: 50%;\n }\n \n .container .title {\n font-size: 28px;\n font-weight: 300;\n line-height: 1.4;\n letter-spacing: 3px;\n flex-grow: 1;\n }\n \n .container .subtitle {\n font-size: 14px;\n font-weight: 300;\n margin: 0 0 60px 50px;\n line-height: 1.8;\n max-width: 280px;\n }\n \n .container .line {\n width: 1px;\n height: 50px;\n background-color: var(--jp-accent);\n margin: 20px 0 20px 25px;\n opacity: 0.5;\n }\n \n .container .quote {\n font-size: 16px;\n line-height: 1.8;\n font-weight: 300;\n margin: 20px 0 20px 50px;\n padding-left: 20px;\n border-left: 1px solid var(--jp-light);\n max-width: 280px;\n }\n \n .container .points {\n margin: 60px 0 0 50px;\n max-width: 280px;\n }\n \n .container .point {\n margin-bottom: 20px;\n line-height: 1.8;\n font-size: 14px;\n font-weight: 300;\n display: flex;\n align-items: flex-start;\n }\n \n .container .point::before {\n content: \"—\";\n margin-right: 15px;\n color: var(--jp-accent);\n Line truncated
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 , ' 赛博朋克风格 ' , ' <div class=\"container\">\n <div class=\"circuit\"></div>\n <div class=\"date\">03.09.2025 :: RENDER_LOG</div>\n <h1 class=\"title\">\n <div class=\"glitch-box\">\n <div class=\"glitch-text\" data-text=\"沉浸式艺术\">沉浸式艺术</div>\n </div>\n </h1>\n <p class=\"subtitle\">数字技术正在重塑艺术创作与体验的边界,建立物理与虚拟世界之间的无缝连接</p>\n <div class=\"divider\"></div>\n <blockquote class=\"quote\">\n \"当代艺术已不再局限于观看,而是成为一种全身心参与的多感官体验;技术不只是工具,更是创作的共同体。\"\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-number\">01</span>\n <span>生成式艺术:AI算法已从辅助工具发展为独立创作者,挑战我们对原创性与创造力的理解</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">02</span>\n <span>物理-数字混合:增强现实技术使艺术装置可以同时存在于物理空间和数字领域,创造多层次叙事</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">03</span>\n <span>神经反馈:新一代沉浸式作品可读取观众脑电波,实时调整内容以优化情感体验</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">04</span>\n <span>非永久性艺术:数字作品的短暂性和动态性正挑战艺术保存的传统理念,强调体验而非收藏</span>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫码进入虚拟展览,体验最前沿沉浸式艺术作品</div>\n </div>\n <div class=\"editor-note\">\n 数字艺术生态正在迅速演变,技术与创意的融合不仅创造了前所未有的表达形式,也重新定义了艺术与观众、艺术与社会的关系。在这个新兴领域,体验已成为作品的核心。\n </div>\n </div> ' , ' <style>\n /* 赛博朋克风格 */\n .container {\n --cyber-bg: #0a0e17;\n --cyber-text: #e0e0e0;\n --cyber-accent1: #ff2a6d;\n --cyber-accent2: #05d9e8;\n --cyber-accent3: #7bff00;\n --cyber-dark: #1a1a2e;\n background-color: var(--cyber-bg);\n color: var(--cyber-text);\n font-family: \ ' Courier New \ ' , monospace;\n padding: 30px;\n position: relative;\n overflow: hidden;\n border: 1px solid var(--cyber-accent2);\n }\n \n @keyframes scanline {\n 0% {\n transform: translateY(-100%);\n }\n 100% {\n transform: translateY(100%);\n }\n }\n \n @keyframes flicker {\n 0% { opacity: 1; }\n 3% { opacity: 0.8; }\n 6% { opacity: 1; }\n 7% { opacity: 0.9; }\n 8% { opacity: 1; }\n 9% { opacity: 0.9; }\n 10% { opacity: 1; }\n 100% { opacity: 1; }\n }\n \n @keyframes glitch {\n 0% { transform: translate(0); }\n 20% { transform: translate(-2px, 2px); }\n 40% { transform: translate(-2px, -2px); }\n 60% { transform: translate(2px, 2px); }\n 80% { transform: translate(2px, -2px); }\n 100% { transform: translate(0); }\n }\n \n @keyframes rgbOffset {\n 0% {text-shadow: -1px 0 var(--cyber-accent1), 1px 0 var(--cyber-accent2);}\n 50% {text-shadow: 1px 0 var(--cyber-accent1), -1px 0 var(--cyber-accent2);}\n 100% {text-shadow: -1px 0 var(--cyber-accent1), 1px 0 var(--cyber-accent2);}\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: \n radial-gradient(circle at 20% 35%, rgba(5, 217, 232, 0.15) 0%, transparent 40%),\n radial-gradient(circle at 75% 65%, rgba(255, 42, 109, 0.15) 0%, transparent 40%);\n pointer-events: none;\n z-index: 0;\n }\n \n .container::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0 Line truncated
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 , ' 瑞士国际主义风格的解构版 ' , ' <div class=\"container\">\n <div class=\"reference-points\">\n <div class=\"reference-point\"></div>\n <div class=\"reference-point\"></div>\n <div class=\"reference-point\"></div>\n <div class=\"reference-point\"></div>\n <div class=\"reference-point\"></div>\n </div>\n <div class=\"grid-line\"></div>\n <div class=\"grid-line\"></div>\n <div class=\"grid-line\"></div>\n <div class=\"grid-line\"></div>\n <div class=\"date\">17.08.2025</div>\n <div class=\"title-container\">\n <h1 class=\"title\">字体革命</h1>\n <div class=\"title-shadow\">字体革命</div>\n </div>\n <p class=\"subtitle\">在数字时代,字体设计如何突破传统边界,重新定义可读性与表现力的平衡</p>\n <div class=\"divider\"></div>\n <div class=\"quote-container\">\n <div class=\"quote-line\"></div>\n <blockquote class=\"quote\">\n \"字体不仅是内容的载体,更是信息本身的一部分;它以无声的方式塑造我们的阅读体验与情感反应。\"\n </blockquote>\n </div>\n <div class=\"points\">\n <div class=\"point\">\n <div class=\"point-number\">01</div>\n <div class=\"point-content\">可变字体技术:单一字体文件可实现无限权重变化,为设计师提供前所未有的精细控制</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">02</div>\n <div class=\"point-content\">屏幕优化:新一代数字字体通过亚像素渲染技术,解决了高分辨率显示器上的清晰度挑战</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">03</div>\n <div class=\"point-content\">多语言兼容:字体设计正在拥抱全球化,单一字体系统可支持多达十几种文字系统</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">04</div>\n <div class=\"point-content\">表情符号演变:从简单图标到复杂表情系统,它们已成为现代字体设计中不可或缺的部分</div>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描探索当代最具创新性的字体设计</div>\n </div>\n <div class=\"editor-note\">\n <strong>编辑笔记:</strong> 字体设计正处于历史性转折点,数字工具与多屏阅读体验正推动这门古老艺术形式进入全新时代。设计师不再只关注形式美学,更需思考跨平台、跨文化的视觉语言建构。\n </div>\n </div> ' , ' <style>\n /* 瑞士国际主义风格的解构版 */\n .container {\n --swiss-bg: #ffffff;\n --swiss-text: #000000;\n --swiss-grid: #cccccc;\n --swiss-accent: #ff0000;\n --swiss-secondary: #0066ff;\n background-color: var(--swiss-bg);\n color: var(--swiss-text);\n font-family: \ ' Helvetica Neue \ ' , Helvetica, Arial, sans-serif;\n padding: 25px;\n position: relative;\n overflow: hidden;\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-image: \n linear-gradient(to right, transparent 98%, var(--swiss-grid) 98%, var(--swiss-grid) 100%),\n linear-gradient(to bottom, transparent 98%, var(--swiss-grid) 98%, var(--swiss-grid) 100%);\n background-size: 20px 20px;\n opacity: 0.3;\n z-index: 0;\n }\n \n .container .reference-points {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n z-index: 0;\n }\n \n .container .reference-point {\n position: absolute;\n width: 5px;\n height: 5px;\n background-color: var(--swiss-accent);\n border-radius: 50%;\n opacity: 0.5;\n }\n \n .container .reference-point:nth-child(1) {\n top: 15%;\n left: 20%;\n }\n \n .container .reference-point:nth-child(2) {\n top: 40%;\n left: 85%;\n }\n \n .container .reference-point:nth-child(3) {\n top: 75%;\n left: 35%;\n }\n \n .container .reference-point:nth-child(4) {\n top: 25%;\n left: 65%;\n }\n Line truncated
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 , ' 新未来主义 ' , ' <div class=\"container\">\n <div class=\"curve-element curve-element-1\"></div>\n <div class=\"curve-element curve-element-2\"></div>\n \n <div class=\"content\">\n <div class=\"date\">2025.09.21</div>\n \n <div class=\"title-container\">\n <h1 class=\"title\">星际探索</h1>\n <p class=\"subtitle\">当代太空技术正在重新定义人类的边界,开启多行星文明的新篇章</p>\n </div>\n \n <div class=\"highlight-box\">\n <blockquote class=\"quote\">\n 宇宙不仅比我们想象的更奇异,甚至比我们能够想象的还要奇异。探索太空不只是关于发现新世界,更是重新认识我们自己。\n </blockquote>\n </div>\n \n <div class=\"points\">\n <div class=\"point\">\n <div class=\"point-number\">01</div>\n <div class=\"point-text\">可重复使用火箭:航天发射成本降低90%,开启太空旅行的商业化时代</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">02</div>\n <div class=\"point-text\">月球基地建设:国际联合计划已进入实质性阶段,首个永久前哨将于2030年建成</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">03</div>\n <div class=\"point-text\">深空通信网络:量子纠缠技术突破将实现与火星探测器的即时通信</div>\n </div>\n <div class=\"point\">\n <div class=\"point-number\">04</div>\n <div class=\"point-text\">小行星采矿:近地轨道资源开发预计将在2035年实现商业化,创造万亿级市场</div>\n </div>\n </div>\n \n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描观看最新太空任务实时数据与高清图像</div>\n </div>\n \n <div class=\"editor-note\">\n <strong>编辑注释:</strong>太空探索已从政府主导的国家项目转变为公私合作的产业生态。这一转变不仅加速了技术创新,也正在为地球资源、能源与环境危机提供潜在解决方案。\n </div>\n </div>\n </div> ' , ' <style>\n /* 新未来主义风格 */\n .container {\n font-family: \ ' Roboto \ ' , \ ' Noto Sans SC \ ' , sans-serif;\n --neo-fut-bg: #f7f7f7;\n --neo-fut-text: #2d2d2d;\n --neo-fut-primary: #e5e5e5;\n --neo-fut-secondary: #b3b3b3;\n --neo-fut-accent: #0066ff;\n --neo-fut-metal: linear-gradient(145deg, #e6e6e6, #cccccc);\n background: var(--neo-fut-bg);\n color: var(--neo-fut-text);\n padding: 35px;\n border-radius: 15px;\n position: relative;\n overflow: hidden;\n box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 120px;\n background: linear-gradient(110deg, rgba(230, 230, 230, 0.8), rgba(200, 200, 200, 0.4));\n clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);\n z-index: 0;\n }\n \n .container .content {\n position: relative;\n z-index: 1;\n }\n \n .container .curve-element {\n position: absolute;\n width: 200px;\n height: 200px;\n border-radius: 50%;\n background: linear-gradient(145deg, #f0f0f0, #e0e0e0);\n filter: blur(30px);\n opacity: 0.6;\n z-index: -1;\n }\n \n .container .curve-element-1 {\n top: -100px;\n right: -50px;\n }\n \n .container .curve-element-2 {\n bottom: -80px;\n left: -70px;\n width: 300px;\n height: 300px;\n opacity: 0.3;\n }\n \n .container .date {\n font-size: 12px;\n font-weight: 500;\n letter-spacing: 2px;\n text-transform: uppercase;\n color: var(--neo-fut-secondary);\n margin-bottom: 25px;\n padding-left: 5px;\n }\n \n .container .title-container {\n margin-bottom: 30px;\n position: relative;\n }\n \n .container .title {\n font-size: 42px;\n font-weight: 300;\n line-height: 1.1;\n letter-spacin Line truncated
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 , ' 超现实主义数字拼贴风格 ' , ' <div class=\"container\">\n <div class=\"floating-objects\">\n <div class=\"floating-eye\"></div>\n </div>\n <div class=\"date\">RÉALITÉ • 17 JUIN 2025</div>\n <div class=\"title-container\">\n <h1 class=\"title\">数字身份的迷宫</h1>\n <p class=\"subtitle\">在社交媒体的万花筒中,我们的自我变成了一系列精心策划的数字碎片</p>\n </div>\n <div class=\"quote-container\">\n <blockquote class=\"quote\">\n \"我们创造了数字化的第二自我,它既是我们的延伸,又是我们的囚笼;既是真实的表达,又是精心构建的幻象。\"\n </blockquote>\n </div>\n <div class=\"points\">\n <div class=\"point\">\n <div class=\"point-content\">数字拼贴:现代人的身份已成为多平台角色的复合体,每个平台展现不同的自我片段</div>\n </div>\n <div class=\"point\">\n <div class=\"point-content\">算法回音室:我们所见的内容塑造着我们的认知,而我们的行为又强化着算法的预测</div>\n </div>\n <div class=\"point\">\n <div class=\"point-content\">真实与表演的融合:在持续的公开展示中,表演逐渐成为真实,界限被永久模糊</div>\n </div>\n <div class=\"point\">\n <div class=\"point-content\">集体孤独:我们从未如此紧密连接,却同时经历着新形式的社交隔离与疏离</div>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描进入一场关于数字身份的沉浸式体验</div>\n </div>\n <div class=\"editor-note\">\n <span class=\"note-title\">ÉDITORIAL:</span>\n 社交媒体已不仅是我们使用的工具,更成为塑造我们思维与互动方式的环境。理解这种新现实的超现实性质,是我们在数字时代保持真实与连接的关键。\n </div>\n </div> ' , ' <style>\n /* 超现实主义数字拼贴风格 */\n .container {\n --surreal-primary: #2a1a4a;\n --surreal-secondary: #ff6b6b;\n --surreal-accent: #64e8de;\n --surreal-text: #f0f0f0;\n --surreal-dream: #9d4edd;\n \n background: linear-gradient(135deg, var(--surreal-primary), #1a0b2e);\n color: var(--surreal-text);\n font-family: \ ' Cormorant Garamond \ ' , \ ' Noto Serif SC \ ' , serif;\n padding: 30px;\n position: relative;\n overflow: hidden;\n box-shadow: 0 10px 30px rgba(0,0,0,0.3);\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n width: 200px;\n height: 200px;\n border-radius: 50%;\n background: radial-gradient(circle, var(--surreal-accent), transparent 70%);\n opacity: 0.2;\n top: -50px;\n right: -50px;\n filter: blur(20px);\n z-index: 0;\n }\n \n .container::after {\n content: \"\";\n position: absolute;\n width: 150px;\n height: 150px;\n background: url(\ ' data : image / svg + xml ; utf8 , < svg xmlns = \ " http://www.w3.org/2000/svg\ " width = \ " 100\ " height = \ " 100\ " viewBox = \ " 0 0 100 100\ " > < path d = \ " M50,5 L95,50 L50,95 L5,50 Z\ " fill = \ " none\ " stroke = \ " %239d4edd\ " stroke - width = \ " 2\ " / > < / svg > \ ' );\n background-size: contain;\n bottom: 20px;\n left: 20px;\n opacity: 0.15;\n transform: rotate(15deg);\n pointer-events: none;\n z-index: 0;\n }\n \n .container .floating-objects {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n z-index: 1;\n }\n \n .container .floating-eye {\n position: absolute;\n top: 30%;\n right: 15%;\n width: 60px;\n height: 40px;\n border-radius: 50%;\n background: white;\n box-shadow: 0 0 20px rgba(157, 78, 221, 0.5);\n }\n \n .container .floating-eye::after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 25px;\n height: 25px;\n border-radius: 50%;\n background: var(--surreal-primary);\n }\n \n .container .date {\n font-family: \ ' Cinzel \ ' , serif;\n font-size: 16px;\n letter-spacing: 3px;\n Line truncated
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 , ' 新巴洛克数字风格 ' , ' <div class=\"container\">\n <div class=\"ornate-border\"></div>\n <div class=\"corner-decoration corner-top-left\"></div>\n <div class=\"corner-decoration corner-top-right\"></div>\n <div class=\"corner-decoration corner-bottom-left\"></div>\n <div class=\"corner-decoration corner-bottom-right\"></div>\n \n <div class=\"content\">\n <div class=\"date\">LE XVII AOÛT • ANNO DOMINI MMXXIV</div>\n <div class=\"title-decoration\">✧ ✦ ✧</div>\n <h1 class=\"title\">交响盛宴</h1>\n <p class=\"subtitle\">古典音乐的永恒华彩,在当代世界中绽放出永不褪色的光辉</p>\n \n <div class=\"divider\"></div>\n \n <blockquote class=\"quote\">\n \"交响乐不仅是音符的组合,更是人类情感的建筑;每一个乐章如同巴洛克宫殿的厅堂,宏伟、精致且充满戏剧性。\"\n </blockquote>\n \n <div class=\"points\">\n <div class=\"point\">\n <div class=\"point-content\"><span class=\"drop-cap\">管</span>弦乐团正在经历数字化复兴,通过沉浸式技术与全息投影,为古典音乐带来革命性的聆听体验</div>\n </div>\n <div class=\"point\">\n <div class=\"point-content\">巴洛克音乐的复杂对位法与华丽装饰音,成为当代作曲家重新探索的灵感源泉,影响着电影配乐与游戏音乐</div>\n </div>\n <div class=\"point\">\n <div class=\"point-content\">年轻指挥家正在打破传统界限,将古典作品与现代元素融合,吸引新一代观众走进音乐厅</div>\n </div>\n <div class=\"point\">\n <div class=\"point-content\">高分辨率音频技术使巴赫、亨德尔与维瓦尔第的作品呈现出前所未有的细节与层次,重现巴洛克音乐的精髓</div>\n </div>\n </div>\n \n <div class=\"qr-section\">\n <div class=\"qr-frame\">\n <div class=\"qr-decoration\">HARMONIA MUNDI</div>\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描聆听精选巴洛克音乐杰作</div>\n </div>\n </div>\n \n <div class=\"editor-note\">\n <span class=\"note-title\">MAESTRO\ ' S NOTE : < / span > \ n 古 典 音 乐 的 魅 力 在 于 它 超 越 了 时 间 的 限 制 。 几 个 世 纪 前 的 作 品 至 今 仍 能 唤 起 深 刻 的 共 鸣 , 提 醒 我 们 艺 术 的 永 恒 价 值 。 在 这 个 快 节 奏 的 数 字 时 代 , 交 响 乐 团 提 供 了 一 种 珍 贵 的 共 同 体 验 , 让 我 们 暂 时 脱 离 碎 片 化 的 现 代 生 活 。 \ n < / div > \ n < / div > \ n < / div > ' , ' < style > \ n /* 新巴洛克数字风格 */ \ n . container { \ n --baroque-gold: #d4af37;\n --baroque-red: #800020;\n --baroque-blue: #1e3163;\n --baroque-black: #121212;\n --baroque-cream: #f8f0e3;\n \n background: linear-gradient(to bottom, var(--baroque-black) 0%, #2c2112 100%);\n color: var(--baroque-cream);\n font-family: \'Playfair Display\', \'Noto Serif SC\', serif;\n padding: 30px;\n position: relative;\n overflow: hidden;\n box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);\n border: 1px solid rgba(212, 175, 55, 0.3);\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-image: url(\'data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100\" height=\"100\" viewBox=\"0 0 100 100\"><path d=\"M20,20 C40,10 60,10 80,20 C90,40 90,60 80,80 C60,90 40,90 20,80 C10,60 10,40 20,20 Z\" fill=\"none\" stroke=\"%23d4af37\" stroke-width=\"0.5\" opacity=\"0.2\"/></svg>\');\n background-size: 150px 150px;\n opacity: 0.1;\n pointer-events: none;\n }\n \n .container .ornate-border {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border: 20px solid transparent;\n border-image: url(\'data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100\" height=\"100\" viewBox=\"0 0 100 100\"><path d=\"M0,0 L100,0 L100,100 L0,100 Z M10,10 L10,90 L90,90 L90,10 Z\" fill=\"none\" stroke=\"%23d4af37\" stroke-width=\"2\"/><path d=\"M0,0 C30,20 70,20 100,0 M0,100 C30,80 70,80 100,100 M0,0 C20,30 20,70 0,100 M100,0 C80,30 80,70 100,100\" fill=\"none\ Line truncated
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 , ' 斯堪的纳维亚风格 ' , ' <div class=\"container\">\n <div class=\"triangle-decor\"></div>\n <div class=\"date\">Juni 20, 2025</div>\n <h1 class=\"title\">可持续设计</h1>\n <p class=\"subtitle\">如何通过设计创造更环保的未来</p>\n <div class=\"divider\"></div>\n <blockquote class=\"quote\">\n 优秀的设计不只是看起来美观,更应该对地球和人类的未来负责。\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-number\">1</span>\n <span>可循环材料:选择可生物降解或可完全回收的材料是可持续设计的基础</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">2</span>\n <span>长久耐用:设计应超越短暂流行,创造能经受时间考验的产品</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">3</span>\n <span>节能生产:优化制造流程,减少能源消耗和碳排放</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">4</span>\n <span>全生命周期:考虑产品从原材料到废弃处理的完整环境影响</span>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描二维码,了解更多可持续设计案例</div>\n </div>\n <div class=\"editor-note\">\n <strong>编辑手记:</strong> 在资源有限的世界里,可持续设计不再是选择而是必需。北欧设计一直引领这一理念,将简约美学与环保责任完美结合。\n </div>\n </div> ' , ' <style>\n /* 斯堪的纳维亚风格 */\n .container {\n font-family: \ ' Futura \ ' , \ ' Noto Sans SC \ ' , sans-serif;\n --scandi-bg: #ffffff;\n --scandi-text: #333333;\n --scandi-accent: #6a8d73;\n --scandi-secondary: #f0dbc4;\n --scandi-pale: #f7f7f7;\n --scandi-gray: #a5a5a5;\n background-color: var(--scandi-bg);\n color: var(--scandi-text);\n padding: 40px;\n position: relative;\n line-height: 1.5;\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 20px;\n left: 20px;\n right: 20px;\n bottom: 20px;\n border: 1px solid var(--scandi-secondary);\n pointer-events: none;\n z-index: 0;\n }\n \n .container .date {\n font-size: 12px;\n font-weight: 400;\n letter-spacing: 2px;\n color: var(--scandi-gray);\n margin-bottom: 30px;\n text-transform: uppercase;\n }\n \n .container .title {\n font-size: 36px;\n font-weight: 500;\n margin-bottom: 16px;\n color: var(--scandi-text);\n letter-spacing: -0.5px;\n }\n \n .container .subtitle {\n font-size: 16px;\n font-weight: 400;\n margin-bottom: 40px;\n color: var(--scandi-gray);\n }\n \n .container .divider {\n height: 2px;\n width: 50px;\n background-color: var(--scandi-accent);\n margin: 30px 0;\n }\n \n .container .quote {\n font-size: 20px;\n line-height: 1.6;\n padding: 30px;\n margin: 30px 0;\n background-color: var(--scandi-pale);\n position: relative;\n }\n \n .container .quote::before {\n content: \"\"\";\n position: absolute;\n top: 0;\n left: 10px;\n font-size: 60px;\n color: var(--scandi-accent);\n opacity: 0.3;\n line-height: 1;\n }\n \n .container .points {\n margin: 40px 0;\n }\n \n .container .point {\n margin-bottom: 24px;\n display: flex;\n align-items: flex-start;\n }\n \n .container .point-number {\n min-width: 24px;\n height: 24px;\n border-radius: 50%;\n background-color: var(--scandi-accent);\n color: white;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 12px;\n margin-right: 15px;\n margin-top: 2px;\n }\n \n .container .qr-section {\n margin-top: 40px;\n display: flex;\n align-items: center;\n background-color: var(--scandi-pale);\n padding: 30px;\n }\n \n Line truncated
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 , ' 未来科技风格 ' , ' <div class=\"container\">\n <div class=\"date\">2025.03.21</div>\n <h1 class=\"title\">深空探索</h1>\n <p class=\"subtitle\">人类文明跨越星际的下一步</p>\n <div class=\"divider\"></div>\n <blockquote class=\"quote\">\n \"我们在地球上的存在只是宇宙意识的短暂火花,深空探索是延续这火花的唯一希望。\"\n </blockquote>\n <div class=\"points\">\n <div class=\"point\">\n <span class=\"point-number\">001</span>\n <span>量子引擎突破光速限制的理论基础已初步验证,星际旅行不再是科幻</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">002</span>\n <span>近星系人工智能探测网络已部署,预计5年内发回首批系外行星详细数据</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">003</span>\n <span>深空辐射防护技术解决了长期太空旅行的最大生物学障碍</span>\n </div>\n <div class=\"point\">\n <span class=\"point-number\">004</span>\n <span>月球永久基地将成为人类迈向火星与更远星系的跳板</span>\n </div>\n </div>\n <div class=\"qr-section\">\n <img class=\"qr-code\" src=\"https://sourl.cn/3YudHU\" alt=\"QR Code\">\n <div class=\"qr-text\">扫描接入星际探索实时数据网络</div>\n </div>\n <div class=\"editor-note\">\n <strong>编辑笔记:</strong> 本报道基于最新深空探索计划发布的官方数据。部分预测基于当前技术发展曲线,实际进展可能因政治或资金因素有所调整。\n </div>\n </div> ' , ' <style>\n /* 未来科技风格 */\n .container {\n font-family: \ ' Space Mono \ ' , \ ' Noto Sans SC \ ' , monospace;\n --tech-bg: #0a0f18;\n --tech-text: #e2e8f0;\n --tech-accent: #0df2ff;\n --tech-secondary: #ff00a5;\n --tech-dark: #141c2b;\n --tech-grid: rgba(13, 242, 255, 0.1);\n background-color: var(--tech-bg);\n background-image: \n radial-gradient(circle at 15% 30%, rgba(13, 242, 255, 0.1) 0%, transparent 25%),\n linear-gradient(to bottom, transparent 0%, rgba(13, 242, 255, 0.05) 100%);\n color: var(--tech-text);\n padding: 35px;\n position: relative;\n overflow: hidden;\n line-height: 1.5;\n animation: powerOn 1s ease-out forwards;\n }\n \n @keyframes powerOn {\n 0% { opacity: 0; filter: blur(10px); }\n 50% { opacity: 0.5; filter: blur(5px); }\n 60% { opacity: 0.6; filter: blur(0); }\n 65% { opacity: 0.8; }\n 70% { opacity: 0.4; }\n 75% { opacity: 0.9; }\n 80% { opacity: 0.7; }\n 100% { opacity: 1; filter: blur(0); }\n }\n \n @keyframes scanLine {\n 0% { transform: translateY(-100%); }\n 100% { transform: translateY(100%); }\n }\n \n @keyframes blink {\n 0%, 100% { opacity: 1; }\n 50% { opacity: 0.3; }\n }\n \n .container::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-image: \n linear-gradient(90deg, var(--tech-grid) 1px, transparent 1px),\n linear-gradient(0deg, var(--tech-grid) 1px, transparent 1px);\n background-size: 20px 20px;\n pointer-events: none;\n z-index: 0;\n }\n \n .container::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100%;\n background: linear-gradient(transparent 0%, rgba(13, 242, 255, 0.2) 50%, transparent 100%);\n pointer-events: none;\n z-index: 2;\n opacity: 0.1;\n height: 2px;\n animation: scanLine 3s linear infinite;\n }\n \n .container .date {\n font-size: 12px;\n font-weight: 400;\n letter-spacing: 2px;\n color: var(--tech-accent);\n margin-bottom: 30px;\n display: flex;\n align-items: center;\n text-transform: uppercase;\n }\n \n .container .date::before {\n content: \"//\";\n margin-right: 8px;\n }\n \n .container .date::after {\n content: \"\";\n display: inline-block;\n width: 8px;\n height: 8px;\n background-color: var(--tech-accent);\n m Line truncated
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 </#list>\n</#list> ' , 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 <terminology>\n <words>\n <word>${terminology.word}</word>\n <#list terminology.synonymsList as synonyms>\n <word>${synonyms}</word>\n </#list>\n </words>\n <description>${terminology.description}</description>\n </terminology>\n</#list> ' , 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图片生成结果 ' , ' <a href=\"{url}\" target=\"_blank\"></a> ' , 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 </#list>\n</#list> ' , 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 <terminology>\n <words>\n <word>${terminology.word}</word>\n <#list terminology.synonymsList as synonyms>\n <word>${synonyms}</word>\n </#list>\n </words>\n <description>${terminology.description}</description>\n </terminology>\n</#list> ' , 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</#if> \n## 设计要求\n- 日期区域:以各风格特有的方式呈现当前日期\n- 标题和副标题:根据风格调整字体、大小、排版方式\n- 引用区块:设计独特的引用样式,体现风格特点\n- 核心要点列表:以符合风格的方式呈现列表内容\n<#if hasQrCode>\n - 二维码区域:将二维码融入整体设计\n</#if>\n - 编辑笔记/小贴士:设计成符合风格的边栏或注释\n## 输出要求\n- 只需要输出带有如上class 类的 div HTML代码,不需要 style 和其他\n- 只需要div 代码,不需要额外的解释,禁止输出 ``` 的代码块标识\n<#if hasQrCode>\n - 二维码图片的地址为: $ {qrCode}\n</#if>\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图片生成结果 ' , ' <a href=\"{url}\" target=\"_blank\"></a> ' , 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 <template-name>` 开头,模板从下方列表中选择\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 <theme-name>`,或使用 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 </#if>\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</#if>\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 用户名密码</#if>\n<#if timeRange?has_content>\n- 时间范围: ${timeRange}\n</#if>\n\n<#if authType == "ssh" && sshPrivateKey?has_content>\n## SSH 私钥\n```\n${sshPrivateKey}\n```\n</#if>\n<#if authType == "http" && httpUsername?has_content>\n## HTTP 认证信息\n- 用户名: ${httpUsername}\n- 密码/Token: ${httpPassword}\n</#if>\n\n## 评审要求\n1. <#if authType == \"ssh\">使用 SSH 私钥 clone 仓库到临时目录<#else>使用 HTTP 用户名密码 clone 仓库到临时目录</#if>\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 ;