| | |
| | | baseCaseService.save(baseCase); |
| | | return CommonResult.success(baseCaseService.saveIllegalBuildingCase(illegalBuildingParam, baseCase.getId())); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "案件详情") |
| | | @GetMapping("/baseCaseDetail/{code}") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "code", value = "事件编号") |
| | | }) |
| | | public CommonResult baseCaseDetail(@PathVariable(value = "code") String code) { |
| | | return CommonResult.success(baseCaseService.baseCaseDetail(code)); |
| | | } |
| | | |
| | | @ApiOperation("人工路径案件图片展示") |
| | | @GetMapping("/hand_work_case_images") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "type", value = "01 违规,02 违建", dataType = "Integer") |
| | | }) |
| | | public CommonResult queryCaseImages(@RequestParam Integer id,@RequestParam Integer type){ |
| | | return CommonResult.success(baseCaseService.listCaseImages(id,type)); |
| | | } |
| | | } |