|
|
|
@ -109,7 +109,7 @@ public class BlockController { |
|
|
|
|
|
|
|
|
|
@GetMapping("/all") |
|
|
|
|
@Operation(summary = "查询全部地块信息") |
|
|
|
|
public CommonResult<List<BlockRespVO>> selectAllBlock(@RequestParam("baseId") Integer baseId){ |
|
|
|
|
public CommonResult<List<BlockRespVO>> selectAllBlock(@RequestParam(value = "baseId", required = false) Integer baseId){ |
|
|
|
|
List<BlockDO> list = blockService.getBlockList(baseId); |
|
|
|
|
return success(BeanUtils.toBean(list, BlockRespVO.class)); |
|
|
|
|
} |
|
|
|
|