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

Closed
opened 2026-11-06 09:14:31 +08:00 by Lijianping · 0 comments
Collaborator

目标

POST /txys/car/repairs 强制 repairStartTime/repairEndTime,结束不得早于开始。目标仓:backend

范围

  • CarRepairService.save

不做

  • 不改 frontend / app UI(另仓)
  • 不改无关模块

验收

  • 缺开始/结束时间返回明确错误
  • 结束早于开始返回错误
  • 正常带齐字段可保存

相关文档

  • 工作区 docs/API与错误码.md
## 目标 `POST /txys/car/repairs` 强制 `repairStartTime`/`repairEndTime`,结束不得早于开始。目标仓:backend ## 范围 - `CarRepairService.save` ## 不做 - 不改 frontend / app UI(另仓) - 不改无关模块 ## 验收 - [ ] 缺开始/结束时间返回明确错误 - [ ] 结束早于开始返回错误 - [ ] 正常带齐字段可保存 ## 相关文档 - 工作区 `docs/API与错误码.md`
Sign in to join this conversation.
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#94
No description provided.