完善维护列表
parent
5c300d2078
commit
3be069e239
|
@ -43,7 +43,7 @@ public class EngineVersion extends BaseEntity {
|
||||||
* 版本类名
|
* 版本类名
|
||||||
*/
|
*/
|
||||||
@Excel(name = "版本类名")
|
@Excel(name = "版本类名")
|
||||||
private String versionClass;
|
private String versionClass;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 版本名称
|
* 版本名称
|
||||||
|
|
|
@ -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);
|
||||||
}}));
|
}}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue