fix(#94): 维修保养开始/结束时间服务端必填校验 #95

Merged
Lijianping merged 1 commit from fix/94-car-repair-time-required into main 2026-11-06 09:42:16 +08:00
Collaborator

变更摘要

  • CarRepairService.save:repairStartTime/repairEndTime 必填
  • 结束时间不得早于开始时间

Closes #94

自测步骤

  1. POST /txys/car/repairs 缺开始或结束 → 明确错误
  2. 结束早于开始 → 错误
  3. 字段齐全 → 保存成功

文档影响

工作区 docs/API与错误码.md 已写明必填(本地聚合)

## 变更摘要 - `CarRepairService.save`:`repairStartTime`/`repairEndTime` 必填 - 结束时间不得早于开始时间 Closes #94 ## 自测步骤 1. `POST /txys/car/repairs` 缺开始或结束 → 明确错误 2. 结束早于开始 → 错误 3. 字段齐全 → 保存成功 ## 文档影响 工作区 `docs/API与错误码.md` 已写明必填(本地聚合)
fix(#94): 维修保养开始/结束时间服务端必填校验
All checks were successful
CI / backend-compile (pull_request) Successful in 24m57s
a862617249
Co-authored-by: Cursor <cursoragent@cursor.com>
Lijianping deleted branch fix/94-car-repair-time-required 2026-11-06 09:42:16 +08:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jiaoce/xm_txys2_back!95
No description provided.