Commit Graph

2 Commits

Author SHA1 Message Date
kkfluous
1dca703caa feat(asset): add inspection template and record system for vehicle checks
Implement the shared inspection template system backend (Chunk 1) including:
- 4 database tables: template, template_item, record, record_item
- 3 enums: InspectionSourceType, InspectionStatus, InspectionResult
- 4 DO classes, 4 Mapper classes with query methods
- 6 VO classes for request/response
- MapStruct converter for DO/VO conversions
- Template service: CRUD, match by bizType+vehicleType
- Record service: create from template, clone, update items, complete
- 2 REST controllers with permission annotations
- Error codes for inspection and replacement modules

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 10:02:19 +08:00
k kfluous
a614df46f3 feat: 新增资产管理模块 - 停车场和车型参数管理
- 停车场管理:CRUD + 业务校验 + 权限控制
- 车型参数管理:主子表关联 + 维保项目管理
- 数据库表结构:asset_parking, asset_vehicle_model, asset_vehicle_model_maintain_item
- 优化点:参数校验、业务逻辑校验、类型安全
2026-03-12 03:04:11 +08:00