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)); 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; /**