修改查询时入参方式
This commit is contained in:
parent
ca87787784
commit
47a3e7e764
|
@ -33,13 +33,13 @@ public class DefectController {
|
||||||
|
|
||||||
@ApiOperation(value = "分页查询缺陷记录列表", httpMethod = "GET")
|
@ApiOperation(value = "分页查询缺陷记录列表", httpMethod = "GET")
|
||||||
@GetMapping("/page")
|
@GetMapping("/page")
|
||||||
public PageResult<DefectResp> page(@RequestBody DefectListReq req) {
|
public PageResult<DefectResp> page(DefectListReq req) {
|
||||||
return PageResult.ok(defectService.page(req));
|
return PageResult.ok(defectService.page(req));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiOperation(value = "查询缺陷记录列表", httpMethod = "GET")
|
@ApiOperation(value = "查询缺陷记录列表", httpMethod = "GET")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public Result<List<DefectResp>> list(@RequestBody DefectListReq req) {
|
public Result<List<DefectResp>> list(DefectListReq req) {
|
||||||
return Result.ok(defectService.list(req));
|
return Result.ok(defectService.list(req));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,13 +32,13 @@ public class ImageController {
|
||||||
|
|
||||||
@ApiOperation(value = "分页查询图像列表", httpMethod = "GET")
|
@ApiOperation(value = "分页查询图像列表", httpMethod = "GET")
|
||||||
@GetMapping("/page")
|
@GetMapping("/page")
|
||||||
public PageResult<ImageListResp> page(@RequestBody ImageListReq req) {
|
public PageResult<ImageListResp> page(ImageListReq req) {
|
||||||
return PageResult.ok(imageService.page(req));
|
return PageResult.ok(imageService.page(req));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiOperation(value = "查询图像列表", httpMethod = "GET")
|
@ApiOperation(value = "查询图像列表", httpMethod = "GET")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public Result<List<ImageListResp>> list(@RequestBody ImageListReq req){
|
public Result<List<ImageListResp>> list(ImageListReq req){
|
||||||
return Result.ok(imageService.list(req));
|
return Result.ok(imageService.list(req));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue