完善维护列表
parent
5c300d2078
commit
3be069e239
|
@ -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