zhanghua
2023-11-29 704e7207d74b6477c5f472c5aba92d484ab17f98
ycl-platform/src/main/java/com/ycl/controller/cockpit/teamConstruction/TeamConstructionController.java
@@ -60,7 +60,8 @@
                .page(new Page<TeamConstruction>().setSize(size).setCurrent(current), new LambdaQueryWrapper<TeamConstruction>()
                        .like(StringUtils.isNotBlank(departName), TeamConstruction::getName, departName)
                        .eq(status != null, TeamConstruction::getStatus, status)
                        .eq(TeamConstruction::getIsDelete, isDelete)));
                        .eq(TeamConstruction::getIsDelete, isDelete)
                        .orderByDesc(TeamConstruction::getId)));
    }
    @PostMapping("/addition")
@@ -87,13 +88,15 @@
        teamConstruction.setId(id);
        return CommonResult.success(iTeamConstructionService.updateById(teamConstruction));
    }
    @ApiOperation(value = "批量删除违规类型")
    @DeleteMapping("/batch_delete")
    @LogSave(operationType = "运营基础设置",contain = "批量删除违规事项")
    @LogSave(operationType = "运营基础设置", contain = "批量删除违规事项")
    public CommonResult removeViolations(@RequestParam Long[] ids) {
        return CommonResult.success(iTeamConstructionService.removeBatchByIds(Arrays.asList(ids)));
    }
    @PostMapping("/export")
    @ApiOperation("导出")
    @LogSave(operationType = "队伍建设管理", contain = "导出")