|
@@ -90,8 +90,8 @@ public class LabSubMangerController extends BaseController {
|
|
|
@ApiOperation("查询实验室详情")
|
|
@ApiOperation("查询实验室详情")
|
|
|
@GetMapping("/query/{id}/{type}")
|
|
@GetMapping("/query/{id}/{type}")
|
|
|
@PreAuthorize(hasPermi = PerPrefix.LABORATORY_SUBJECT + PerFun.QUERY)
|
|
@PreAuthorize(hasPermi = PerPrefix.LABORATORY_SUBJECT + PerFun.QUERY)
|
|
|
- public LabSubjectControllerVO querySubById(@PathVariable("id") Long id, @PathVariable("type") Integer type) {
|
|
|
|
|
- return subjectManagerService.querySubById(id, type);
|
|
|
|
|
|
|
+ public ResultData<LabSubjectControllerVO> querySubById(@PathVariable("id") Long id, @PathVariable("type") Integer type) {
|
|
|
|
|
+ return ResultData.success(subjectManagerService.querySubById(id, type));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|