完善维护列表

master
Qin Dong Ming 2024-09-01 15:52:30 +08:00
parent 5c300d2078
commit 3be069e239
2 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@ public class EngineVersion extends BaseEntity {
* *
*/ */
@Excel(name = "版本类名") @Excel(name = "版本类名")
private String versionClass; private String versionClass;
/** /**
* *

View File

@ -180,12 +180,12 @@ public class EngIneController extends BaseController {
* @param id * @param id
* @return * @return
*/ */
@GetMapping("/findByIds/{id}") @GetMapping("/findByIdsfindByIds/{id}")
public Result findVersionByIds(@PathVariable("id") Long id) { public Result findVersionByIds(@PathVariable("id") Long id) {
//使用mybatis-plus的查询方法 //使用mybatis-plus的查询方法
// return Result.success(engineVersionService.getByIds(id)); // return Result.success(engineVersionService.getByIds(id));
return Result.success(engIneService.list(new LambdaQueryWrapper<>() {{ return Result.success(engineVersionService.list(new LambdaQueryWrapper<>() {{
eq(EngineMaintenance::getId, id); eq(EngineVersion::getId, id);
}})); }}));
} }