完善维护列表
parent
5c300d2078
commit
3be069e239
|
@ -43,7 +43,7 @@ public class EngineVersion extends BaseEntity {
|
|||
* 版本类名
|
||||
*/
|
||||
@Excel(name = "版本类名")
|
||||
private String versionClass;
|
||||
private String versionClass;
|
||||
|
||||
/**
|
||||
* 版本名称
|
||||
|
|
|
@ -180,12 +180,12 @@ public class EngIneController extends BaseController {
|
|||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/findByIds/{id}")
|
||||
@GetMapping("/findByIdsfindByIds/{id}")
|
||||
public Result findVersionByIds(@PathVariable("id") Long id) {
|
||||
//使用mybatis-plus的查询方法
|
||||
// return Result.success(engineVersionService.getByIds(id));
|
||||
return Result.success(engIneService.list(new LambdaQueryWrapper<>() {{
|
||||
eq(EngineMaintenance::getId, id);
|
||||
return Result.success(engineVersionService.list(new LambdaQueryWrapper<>() {{
|
||||
eq(EngineVersion::getId, id);
|
||||
}}));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue