测试编译class文件

master
Qin Dong Ming 2024-09-06 11:57:31 +08:00
parent 41de8a6d22
commit fe4ec57998
2 changed files with 10 additions and 0 deletions

View File

@ -224,4 +224,5 @@ public class EngIneController extends BaseController {
public Result findVersionById(@PathVariable("id") Long id) { public Result findVersionById(@PathVariable("id") Long id) {
return Result.success(engineVersionService.getById(id)); return Result.success(engineVersionService.getById(id));
} }
} }

View File

@ -212,4 +212,13 @@ public class EngineVersionController extends BaseController {
engineVersionService.close(id); engineVersionService.close(id);
return Result.success(); return Result.success();
} }
/**
* id
*/
@GetMapping("/getVersionById/{id}")
public Result getVersionById(@PathVariable("id") Long id) {
//使用mybatis-plus查询
return Result.success(engineVersionService.getById(id));
}
} }