测试编译class文件
parent
41de8a6d22
commit
fe4ec57998
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue