维修优化

This commit is contained in:
sxu 2024-11-25 13:12:34 +08:00
parent 18e164775e
commit 753f63dc38
3 changed files with 3 additions and 3 deletions

View File

@ -95,7 +95,7 @@ public class RepairController extends BaseController {
*/ */
@ApiOperation(value = "获取维修单详情") @ApiOperation(value = "获取维修单详情")
@GetMapping("/getRepairDocumentInfo") @GetMapping("/getRepairDocumentInfo")
public AjaxResult getRepairDocumentInfo(@NotBlank(message = "TaskId参数不能为空") Long taskId) { public AjaxResult getRepairDocumentInfo(Long taskId) {
return service.getRepairDocumentInfo(taskId); return service.getRepairDocumentInfo(taskId);
} }

View File

@ -43,7 +43,7 @@ public interface RepairService {
/** /**
* 查询维修单 * 查询维修单
*/ */
AjaxResult getRepairDocumentInfo(@NotBlank(message = "TaskId参数不能为空") Long taskId); AjaxResult getRepairDocumentInfo(Long taskId);
/** /**
* 提交维修记录 * 提交维修记录

View File

@ -153,7 +153,7 @@ public class RepairServiceImpl implements RepairService {
* @param taskId 任务id * @param taskId 任务id
*/ */
@Override @Override
public AjaxResult getRepairDocumentInfo(@NotBlank(message = "TaskId参数不能为空") Long taskId) { public AjaxResult getRepairDocumentInfo(Long taskId) {
try { try {
// 查询维修任务信息 // 查询维修任务信息
RepairTask repairTaskInfo = repairMapper.getRepairTaskInfoByTaskId(taskId); RepairTask repairTaskInfo = repairMapper.getRepairTaskInfoByTaskId(taskId);