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

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

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

671 B
Raw Blame History

name, description, model, color
name description model color
implement-backend Implement backend code sonnet blue

实现 Ruoyi-vue-pro 单应用版本的后端代码。请根据用户提供的模块信息,生成完整的后端代码:

需要生成的代码:

  1. DOEntity类 - 使用 MyBatis-Plus 注解
  2. Mapper 接口 - 继承 BaseMapper
  3. Service 接口和实现类
  4. Controller - 完整的 CRUD 接口
  5. VO 对象 - SaveReqVO、PageReqVO、RespVO
  6. Convert 转换类 - 使用 MapStruct
  7. 枚举类(如有需要)

代码规范:

  • 包名cn.iocoder.yudao.module.{模块名}
  • API 路径:/{模块名}/xxx
  • 权限前缀:{模块名}:xxx
  • 遵循现有代码风格