ycl-common/src/main/java/com/ycl/controller/depart/DepartController.java
@@ -67,9 +67,9 @@ * @Param [ids] * @return com.ycl.api.CommonResult<java.lang.Void> **/ @ApiOperation("删除") @PostMapping(value = "/batch_deletion)") public CommonResult<Void> delete(@RequestParam String[] ids) { @ApiOperation("批处理-删除") @PostMapping(value = "/batch_deletion") public CommonResult<Void> delete(@RequestParam Integer[] ids) { departService.removeBatchByIds(Arrays.asList(ids)); return CommonResult.success(null); } ycl-platform/src/main/java/com/ycl/controller/caseHandler/BaseCaseController.java
@@ -135,15 +135,15 @@ * @Description delete illegal buildings or violations * @Param [ids, type] **/ @ApiOperation(value = "删除违规/违建案件") @ApiOperation(value = "批处理-删除违规/违建案件") @DeleteMapping("/batch_deletion") @ApiImplicitParams({ @ApiImplicitParam(name = "type", value = "1 违规,2 违建", dataType = "Integer") }) public CommonResult removeCases(@RequestParam String[] ids, @RequestParam Integer type) { public CommonResult removeCases(@RequestParam Long[] ids, @RequestParam Integer type) { Integer violationType = 1; Integer illegalBuildingType = 2; List<String> idList = Arrays.asList(ids); List<Long> idList = Arrays.asList(ids); if (!idList.isEmpty()) { if (type == violationType) { return CommonResult.success(violationsService.removeBatchByIds(idList)); @@ -223,7 +223,7 @@ @ApiOperation(value = "案件状态修改") @PutMapping("/case_status_update") @ApiImplicitParams({ @ApiImplicitParam(value = "处理状态(0误报 1上报 2立案 3派遣 4处置 5核查 6结案7处理中8暂不处理)",name = "state") @ApiImplicitParam(value = "处理状态(0误报 1上报 2立案 3派遣 4处置 5核查 6结案7处理中8暂不处理)", name = "state") }) public CommonResult updateCaseStatus(@RequestParam Integer caseId, @RequestParam Integer state) { return CommonResult.success(baseCaseService @@ -253,8 +253,8 @@ @ApiOperation(value = "结案") @PutMapping("/end_case") public CommonResult endCase(@RequestParam Integer caseId,@RequestParam String result){ baseCaseService.endCase(caseId,result); public CommonResult endCase(@RequestParam Integer caseId, @RequestParam String result) { baseCaseService.endCase(caseId, result); return CommonResult.success("end case success~!"); } } ycl-platform/src/main/java/com/ycl/dto/casePool/IllegalBuildingParam.java
@@ -81,35 +81,35 @@ * 违建具体位置 */ @ApiModelProperty(value = "违建具体位置") @NotBlank(message = "不允许违建具体位置为空") @NotNull(message = "不允许违建具体位置为空") private String position; /** * 违建长 */ @ApiModelProperty(value = "违建长") @NotBlank(message = "不允许违建长为空") @NotNull(message = "不允许违建长为空") private Float buildingLength; /** * 违建宽 */ @ApiModelProperty(value = "违建宽") @NotBlank(message = "不允许违建宽为空") @NotNull(message = "不允许违建宽为空") private Float buildingWidth; /** * 违建高 */ @ApiModelProperty(value = "违建高") @NotBlank(message = "不允许违建高为空") @NotNull(message = "不允许违建高为空") private Float buildingHigh; /** * 违建面积 */ @ApiModelProperty(value = "违建面积") @NotBlank(message = "不允许违建面积为空") @NotNull(message = "不允许违建面积为空") private Float buildingArea; /**