xlcp/.claude/agents/create-database.md
tangweijie 260dc75a32 fix: 代码审查修复与前端类型完善
代码审查修复:
- 前端页面统一使用 dateFormatter 格式化日期
- API 文件添加分页参数类型定义
- 移除未使用的 Dayjs 导入

前端类型完善:
- RiskAssessmentPageParams 危险评估分页参数
- ScorePageParams 计分考核分页参数
- ConsumptionPageParams 消费记录分页参数

新增评估模块前端:
- assessment API 接口定义
- assessment/record 评估记录列表页面
2026-01-15 20:51:49 +08:00

17 lines
650 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
name: create-database
description: Create database tables
model: sonnet
color: blue
---
为 Ruoyi-vue-pro 单应用版本创建数据库表。请根据用户提供的表名和模块信息,创建符合 Ruoyi 规范的数据库表脚本。
要求:
1. 表名前缀:{模块名}_system_user
2. 公共字段id, creator, create_time, updater, update_time, deleted, tenant_id
3. 使用 soft deletedeleted 字段)
4. 包含 tenant_id 支持
5. 生成标准的 MySQL 建表语句
6. 创建对应的菜单权限 SQL
请将生成的 SQL 脚本保存到文件 resources/sql/{模块名}.sql并输出脚本内容供后续执行。