| | |
| | | import com.ycl.service.caseHandler.IDisposeRecordService; |
| | | import com.ycl.service.caseHandler.IIllegalBuildingService; |
| | | import com.ycl.service.caseHandler.IViolationsService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import com.ycl.vo.casePool.CasePoolIllegalBuildingVO; |
| | | import com.ycl.vo.casePool.CasePoolViolationVO; |
| | | import io.swagger.annotations.*; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.validation.annotation.Validated; |
| | |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "type", value = "01 违规,02 违建", dataType = "Integer") |
| | | }) |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "成功", response = CasePoolViolationVO.class), |
| | | @ApiResponse(code = 200, message = "成功", response = CasePoolIllegalBuildingVO.class), |
| | | }) |
| | | public CommonResult removeCase(@RequestParam Integer id, @RequestParam Integer type) { |
| | | Integer violationType = 01; |
| | | Integer illegalBuildingType = 02; |
| | |
| | | } |
| | | |
| | | @ApiOperation("案件暂不处理") |
| | | @GetMapping("/case_leave") |
| | | @PutMapping("/case_leave") |
| | | public CommonResult updateCaseStatus(@RequestParam Integer caseId) { |
| | | Integer leaveType = 8; |
| | | return CommonResult.success(baseCaseService |