维修优化
This commit is contained in:
parent
18e164775e
commit
753f63dc38
|
|
@ -95,7 +95,7 @@ public class RepairController extends BaseController {
|
|||
*/
|
||||
@ApiOperation(value = "获取维修单详情")
|
||||
@GetMapping("/getRepairDocumentInfo")
|
||||
public AjaxResult getRepairDocumentInfo(@NotBlank(message = "TaskId参数不能为空") Long taskId) {
|
||||
public AjaxResult getRepairDocumentInfo(Long taskId) {
|
||||
return service.getRepairDocumentInfo(taskId);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ public interface RepairService {
|
|||
/**
|
||||
* 查询维修单
|
||||
*/
|
||||
AjaxResult getRepairDocumentInfo(@NotBlank(message = "TaskId参数不能为空") Long taskId);
|
||||
AjaxResult getRepairDocumentInfo(Long taskId);
|
||||
|
||||
/**
|
||||
* 提交维修记录
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ public class RepairServiceImpl implements RepairService {
|
|||
* @param taskId 任务id
|
||||
*/
|
||||
@Override
|
||||
public AjaxResult getRepairDocumentInfo(@NotBlank(message = "TaskId参数不能为空") Long taskId) {
|
||||
public AjaxResult getRepairDocumentInfo(Long taskId) {
|
||||
try {
|
||||
// 查询维修任务信息
|
||||
RepairTask repairTaskInfo = repairMapper.getRepairTaskInfoByTaskId(taskId);
|
||||
|
|
|
|||
Loading…
Reference in New Issue