| | |
| | | * 新增建筑单元 |
| | | */ |
| | | @ApiOperation("新增建筑单元") |
| | | // @PreAuthorize("@ss.hasPermi('oa:building:add')") |
| | | @PreAuthorize("@ss.hasPermi('oa:building:add')") |
| | | @Log(title = "建筑单元", businessType = BusinessType.INSERT) |
| | | @RepeatSubmit() |
| | | @PostMapping() |
| | |
| | | * 修改建筑单元 |
| | | */ |
| | | @ApiOperation("修改建筑单元") |
| | | // @PreAuthorize("@ss.hasPermi('oa:building:edit')") |
| | | @PreAuthorize("@ss.hasPermi('oa:building:edit')") |
| | | @Log(title = "建筑单元", businessType = BusinessType.UPDATE) |
| | | @RepeatSubmit() |
| | | @PutMapping() |
| | |
| | | * 删除建筑单元 |
| | | */ |
| | | @ApiOperation("删除建筑单元") |
| | | // @PreAuthorize("@ss.hasPermi('oa:building:remove')") |
| | | @PreAuthorize("@ss.hasPermi('oa:building:remove')") |
| | | @Log(title = "建筑单元" , businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult<Void> remove(@ApiParam("主键串") |
| | |
| | | * 修改高校组织机构 |
| | | */ |
| | | @ApiOperation("修改高校组织机构") |
| | | // @PreAuthorize("@ss.hasPermi('oa:organization:edit')") |
| | | @PreAuthorize("@ss.hasPermi('oa:organization:edit')") |
| | | @Log(title = "高校组织机构", businessType = BusinessType.UPDATE) |
| | | @RepeatSubmit() |
| | | @PutMapping() |
| | |
| | | * 删除高校组织机构 |
| | | */ |
| | | @ApiOperation("删除高校组织机构") |
| | | // @PreAuthorize("@ss.hasPermi('oa:organization:remove')") |
| | | @PreAuthorize("@ss.hasPermi('oa:organization:remove')") |
| | | @Log(title = "高校组织机构" , businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult<Void> remove(@ApiParam("主键串") |
| | |
| | | * 查询厂商列表 |
| | | */ |
| | | @ApiOperation("查询厂商列表") |
| | | @PreAuthorize("@ss.hasPermi('oa:manufacturer:list')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:manufacturer:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo<DevManufacturerVo> list(@Validated(QueryGroup.class) DevManufacturerBo bo) { |
| | | return iDevManufacturerService.queryPageList(bo); |
| | |
| | | * 获取厂商详细信息 |
| | | */ |
| | | @ApiOperation("获取厂商详细信息") |
| | | @PreAuthorize("@ss.hasPermi('oa:manufacturer:query')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:manufacturer:query')") |
| | | @GetMapping("/{id}") |
| | | public AjaxResult<DevManufacturerVo> getInfo(@ApiParam("主键") |
| | | @NotNull(message = "主键不能为空") |
| | |
| | | */ |
| | | @ApiOperation("查询外设单元列表") |
| | | @DataDictClass |
| | | @PreAuthorize("@ss.hasPermi('oa:peripheralUnit:list')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:peripheralUnit:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo<DevPeripheralUnitVo> list(@Validated(QueryGroup.class) DevPeripheralUnitBo bo) { |
| | | return iDevPeripheralUnitService.queryPageList(bo); |
| | |
| | | * 获取外设单元详细信息 |
| | | */ |
| | | @ApiOperation("获取外设单元详细信息") |
| | | @PreAuthorize("@ss.hasPermi('oa:peripheralUnit:info')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:peripheralUnit:info')") |
| | | @DataDictClass |
| | | @GetMapping("/{id}") |
| | | public AjaxResult<DevPeripheralUnitVo> getInfo(@ApiParam("主键") |
| | |
| | | */ |
| | | @DataDictClass |
| | | @ApiOperation("查询AI设备列表") |
| | | @PreAuthorize("@ss.hasPermi('oa:ai:list')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:ai:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo<SgAiVo> list(@Validated(QueryGroup.class) SgAiBo bo) { |
| | | return iSgAiService.queryPageList(bo); |
| | |
| | | * 获取AI设备详细信息 |
| | | */ |
| | | @ApiOperation("获取AI设备详细信息") |
| | | @PreAuthorize("@ss.hasPermi('oa:ai:query')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:ai:query')") |
| | | @GetMapping("/{id}") |
| | | public AjaxResult<SgAiVo> getInfo(@ApiParam("主键") |
| | | @NotNull(message = "主键不能为空") |
| | |
| | | * 新增AI设备 |
| | | */ |
| | | @ApiOperation("新增AI设备") |
| | | @PreAuthorize("@ss.hasPermi('oa:ai:add')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:ai:add')") |
| | | @Log(title = "AI设备", businessType = BusinessType.INSERT) |
| | | @RepeatSubmit() |
| | | @PostMapping() |
| | |
| | | * 修改AI设备 |
| | | */ |
| | | @ApiOperation("修改AI设备") |
| | | @PreAuthorize("@ss.hasPermi('oa:ai:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:ai:edit')") |
| | | @Log(title = "AI设备", businessType = BusinessType.UPDATE) |
| | | @RepeatSubmit() |
| | | @PutMapping() |
| | |
| | | * 删除AI设备 |
| | | */ |
| | | @ApiOperation("删除AI设备") |
| | | @PreAuthorize("@ss.hasPermi('oa:ai:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:ai:remove')") |
| | | @Log(title = "AI设备" , businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult<Void> remove(@ApiParam("主键串") |
| | |
| | | */ |
| | | @DataDictClass |
| | | @ApiOperation("查询施工批次列表") |
| | | @PreAuthorize("@ss.hasPermi('oa:constructionBatch:list')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:constructionBatch:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo<SgConstructionBatchVo> list(@Validated(QueryGroup.class) SgConstructionBatchBo bo) { |
| | | return iSgConstructionBatchService.queryPageList(bo); |
| | |
| | | * 导出施工批次列表 |
| | | */ |
| | | @ApiOperation("导出施工批次列表") |
| | | @PreAuthorize("@ss.hasPermi('oa:constructionBatch:export')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:constructionBatch:export')") |
| | | @Log(title = "施工批次", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public void export(@Validated SgConstructionBatchBo bo, HttpServletResponse response) { |
| | |
| | | * 获取施工批次详细信息 |
| | | */ |
| | | @ApiOperation("获取施工批次详细信息") |
| | | @PreAuthorize("@ss.hasPermi('oa:constructionBatch:query')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:constructionBatch:query')") |
| | | @GetMapping("/{id}") |
| | | public AjaxResult<SgConstructionBatchVo> getInfo(@ApiParam("主键") |
| | | @NotNull(message = "主键不能为空") |
| | |
| | | * 新增施工批次 |
| | | */ |
| | | @ApiOperation("新增施工批次") |
| | | @PreAuthorize("@ss.hasPermi('oa:constructionBatch:add')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:constructionBatch:add')") |
| | | @Log(title = "施工批次", businessType = BusinessType.INSERT) |
| | | @RepeatSubmit() |
| | | @PostMapping() |
| | |
| | | * 修改施工批次 |
| | | */ |
| | | @ApiOperation("修改施工批次") |
| | | @PreAuthorize("@ss.hasPermi('oa:constructionBatch:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:constructionBatch:edit')") |
| | | @Log(title = "施工批次", businessType = BusinessType.UPDATE) |
| | | @RepeatSubmit() |
| | | @PutMapping() |
| | |
| | | * 删除施工批次 |
| | | */ |
| | | @ApiOperation("删除施工批次") |
| | | @PreAuthorize("@ss.hasPermi('oa:constructionBatch:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:constructionBatch:remove')") |
| | | @Log(title = "施工批次" , businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult<Void> remove(@ApiParam("主键串") |
| | |
| | | */ |
| | | @DataDictClass |
| | | @ApiOperation("查询交换设备列表") |
| | | @PreAuthorize("@ss.hasPermi('oa:exchange:list')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:exchange:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo<SgExchangeVo> list(@Validated(QueryGroup.class) SgExchangeBo bo) { |
| | | return iSgExchangeService.queryPageList(bo); |
| | |
| | | * 获取交换设备详细信息 |
| | | */ |
| | | @ApiOperation("获取交换设备详细信息") |
| | | @PreAuthorize("@ss.hasPermi('oa:exchange:query')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:exchange:query')") |
| | | @GetMapping("/{id}") |
| | | public AjaxResult<SgExchangeVo> getInfo(@ApiParam("主键") |
| | | @NotNull(message = "主键不能为空") |
| | |
| | | * 新增交换设备 |
| | | */ |
| | | @ApiOperation("新增交换设备") |
| | | @PreAuthorize("@ss.hasPermi('oa:exchange:add')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:exchange:add')") |
| | | @Log(title = "交换设备", businessType = BusinessType.INSERT) |
| | | @RepeatSubmit() |
| | | @PostMapping() |
| | |
| | | * 修改交换设备 |
| | | */ |
| | | @ApiOperation("修改交换设备") |
| | | @PreAuthorize("@ss.hasPermi('oa:exchange:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:exchange:edit')") |
| | | @Log(title = "交换设备", businessType = BusinessType.UPDATE) |
| | | @RepeatSubmit() |
| | | @PutMapping() |
| | |
| | | * 删除交换设备 |
| | | */ |
| | | @ApiOperation("删除交换设备") |
| | | @PreAuthorize("@ss.hasPermi('oa:exchange:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:exchange:remove')") |
| | | @Log(title = "交换设备" , businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult<Void> remove(@ApiParam("主键串") |
| | |
| | | */ |
| | | @DataDictClass |
| | | @ApiOperation("查询IoT设备列表") |
| | | @PreAuthorize("@ss.hasPermi('oa:iot:list')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:iot:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo<SgIotVo> list(@Validated(QueryGroup.class) SgIotBo bo) { |
| | | return iSgIotService.queryPageList(bo); |
| | |
| | | * 获取IoT设备详细信息 |
| | | */ |
| | | @ApiOperation("获取IoT设备详细信息") |
| | | @PreAuthorize("@ss.hasPermi('oa:iot:query')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:iot:query')") |
| | | @GetMapping("/{id}") |
| | | public AjaxResult<SgIotVo> getInfo(@ApiParam("主键") |
| | | @NotNull(message = "主键不能为空") |
| | |
| | | * 新增IoT设备 |
| | | */ |
| | | @ApiOperation("新增IoT设备") |
| | | @PreAuthorize("@ss.hasPermi('oa:iot:add')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:iot:add')") |
| | | @Log(title = "IoT设备", businessType = BusinessType.INSERT) |
| | | @RepeatSubmit() |
| | | @PostMapping() |
| | |
| | | * 修改IoT设备 |
| | | */ |
| | | @ApiOperation("修改IoT设备") |
| | | @PreAuthorize("@ss.hasPermi('oa:iot:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:iot:edit')") |
| | | @Log(title = "IoT设备", businessType = BusinessType.UPDATE) |
| | | @RepeatSubmit() |
| | | @PutMapping() |
| | |
| | | * 删除IoT设备 |
| | | */ |
| | | @ApiOperation("删除IoT设备") |
| | | @PreAuthorize("@ss.hasPermi('oa:iot:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:iot:remove')") |
| | | @Log(title = "IoT设备" , businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult<Void> remove(@ApiParam("主键串") |
| | |
| | | */ |
| | | @DataDictClass |
| | | @ApiOperation("查询ipc设备列表") |
| | | @PreAuthorize("@ss.hasPermi('oa:ipc:list')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:ipc:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo<SgIpcVo> list(@Validated(QueryGroup.class) SgIpcBo bo) { |
| | | return iSgIpcService.queryPageList(bo); |
| | |
| | | * 获取ipc设备详细信息 |
| | | */ |
| | | @ApiOperation("获取ipc设备详细信息") |
| | | @PreAuthorize("@ss.hasPermi('oa:ipc:query')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:ipc:query')") |
| | | @GetMapping("/{id}") |
| | | public AjaxResult<SgIpcVo> getInfo(@ApiParam("主键") |
| | | @NotNull(message = "主键不能为空") |
| | |
| | | * 新增ipc设备 |
| | | */ |
| | | @ApiOperation("新增ipc设备") |
| | | @PreAuthorize("@ss.hasPermi('oa:ipc:add')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:ipc:add')") |
| | | @Log(title = "ipc设备", businessType = BusinessType.INSERT) |
| | | @RepeatSubmit() |
| | | @PostMapping() |
| | |
| | | * 修改ipc设备 |
| | | */ |
| | | @ApiOperation("修改ipc设备") |
| | | @PreAuthorize("@ss.hasPermi('oa:ipc:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:ipc:edit')") |
| | | @Log(title = "ipc设备", businessType = BusinessType.UPDATE) |
| | | @RepeatSubmit() |
| | | @PutMapping() |
| | |
| | | * 删除ipc设备 |
| | | */ |
| | | @ApiOperation("删除ipc设备") |
| | | @PreAuthorize("@ss.hasPermi('oa:ipc:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:ipc:remove')") |
| | | @Log(title = "ipc设备" , businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult<Void> remove(@ApiParam("主键串") |
| | |
| | | */ |
| | | @DataDictClass |
| | | @ApiOperation("查询NVR设备列表") |
| | | @PreAuthorize("@ss.hasPermi('oa:nvr:list')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:nvr:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo<SgNvrVo> list(@Validated(QueryGroup.class) SgNvrBo bo) { |
| | | return iSgNvrService.queryPageList(bo); |
| | |
| | | * 导出NVR设备列表 |
| | | */ |
| | | @ApiOperation("导出NVR设备列表") |
| | | @PreAuthorize("@ss.hasPermi('oa:nvr:export')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:nvr:export')") |
| | | @Log(title = "NVR设备", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public void export(@Validated SgNvrBo bo, HttpServletResponse response) { |
| | |
| | | * 获取NVR设备详细信息 |
| | | */ |
| | | @ApiOperation("获取NVR设备详细信息") |
| | | @PreAuthorize("@ss.hasPermi('oa:nvr:query')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:nvr:query')") |
| | | @GetMapping("/{id}") |
| | | public AjaxResult<SgNvrVo> getInfo(@ApiParam("主键") |
| | | @NotNull(message = "主键不能为空") |
| | |
| | | * 新增NVR设备 |
| | | */ |
| | | @ApiOperation("新增NVR设备") |
| | | @PreAuthorize("@ss.hasPermi('oa:nvr:add')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:nvr:add')") |
| | | @Log(title = "NVR设备", businessType = BusinessType.INSERT) |
| | | @RepeatSubmit() |
| | | @PostMapping() |
| | |
| | | * 修改NVR设备 |
| | | */ |
| | | @ApiOperation("修改NVR设备") |
| | | @PreAuthorize("@ss.hasPermi('oa:nvr:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:nvr:edit')") |
| | | @Log(title = "NVR设备", businessType = BusinessType.UPDATE) |
| | | @RepeatSubmit() |
| | | @PutMapping() |
| | |
| | | * 删除NVR设备 |
| | | */ |
| | | @ApiOperation("删除NVR设备") |
| | | @PreAuthorize("@ss.hasPermi('oa:nvr:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:nvr:remove')") |
| | | @Log(title = "NVR设备" , businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult<Void> remove(@ApiParam("主键串") |
| | |
| | | */ |
| | | @DataDictClass |
| | | @ApiOperation("查询预留IP列表") |
| | | @PreAuthorize("@ss.hasPermi('oa:reserveIp:list')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:reserveIp:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo<SgReserveIpVo> list(@Validated(QueryGroup.class) SgReserveIpBo bo) { |
| | | return iSgReserveIpService.queryPageList(bo); |
| | |
| | | * 导出预留IP列表 |
| | | */ |
| | | @ApiOperation("导出预留IP列表") |
| | | @PreAuthorize("@ss.hasPermi('oa:reserveIp:export')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:reserveIp:export')") |
| | | @Log(title = "预留IP", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public void export(@Validated SgReserveIpBo bo, HttpServletResponse response) { |
| | |
| | | * 获取预留IP详细信息 |
| | | */ |
| | | @ApiOperation("获取预留IP详细信息") |
| | | @PreAuthorize("@ss.hasPermi('oa:reserveIp:query')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:reserveIp:query')") |
| | | @GetMapping("/{id}") |
| | | public AjaxResult<SgReserveIpVo> getInfo(@ApiParam("主键") |
| | | @NotNull(message = "主键不能为空") |
| | |
| | | * 新增预留IP |
| | | */ |
| | | @ApiOperation("新增预留IP") |
| | | @PreAuthorize("@ss.hasPermi('oa:reserveIp:add')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:reserveIp:add')") |
| | | @Log(title = "预留IP", businessType = BusinessType.INSERT) |
| | | @RepeatSubmit() |
| | | @PostMapping() |
| | |
| | | * 修改预留IP |
| | | */ |
| | | @ApiOperation("修改预留IP") |
| | | @PreAuthorize("@ss.hasPermi('oa:reserveIp:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:reserveIp:edit')") |
| | | @Log(title = "预留IP", businessType = BusinessType.UPDATE) |
| | | @RepeatSubmit() |
| | | @PutMapping() |
| | |
| | | * 删除预留IP |
| | | */ |
| | | @ApiOperation("删除预留IP") |
| | | @PreAuthorize("@ss.hasPermi('oa:reserveIp:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:reserveIp:remove')") |
| | | @Log(title = "预留IP" , businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult<Void> remove(@ApiParam("主键串") |
| | |
| | | */ |
| | | @DataDictClass |
| | | @ApiOperation("查询服务器列表") |
| | | @PreAuthorize("@ss.hasPermi('oa:server:list')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:server:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo<SgServerVo> list(@Validated(QueryGroup.class) SgServerBo bo) { |
| | | return iSgServerService.queryPageList(bo); |
| | |
| | | * 导出服务器列表 |
| | | */ |
| | | @ApiOperation("导出服务器列表") |
| | | @PreAuthorize("@ss.hasPermi('oa:server:export')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:server:export')") |
| | | @Log(title = "服务器", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public void export(@Validated SgServerBo bo, HttpServletResponse response) { |
| | |
| | | * 获取服务器详细信息 |
| | | */ |
| | | @ApiOperation("获取服务器详细信息") |
| | | @PreAuthorize("@ss.hasPermi('oa:server:query')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:server:query')") |
| | | @GetMapping("/{id}") |
| | | public AjaxResult<SgServerVo> getInfo(@ApiParam("主键") |
| | | @NotNull(message = "主键不能为空") |
| | |
| | | * 新增服务器 |
| | | */ |
| | | @ApiOperation("新增服务器") |
| | | @PreAuthorize("@ss.hasPermi('oa:server:add')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:server:add')") |
| | | @Log(title = "服务器", businessType = BusinessType.INSERT) |
| | | @RepeatSubmit() |
| | | @PostMapping() |
| | |
| | | * 修改服务器 |
| | | */ |
| | | @ApiOperation("修改服务器") |
| | | @PreAuthorize("@ss.hasPermi('oa:server:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:server:edit')") |
| | | @Log(title = "服务器", businessType = BusinessType.UPDATE) |
| | | @RepeatSubmit() |
| | | @PutMapping() |
| | |
| | | * 删除服务器 |
| | | */ |
| | | @ApiOperation("删除服务器") |
| | | @PreAuthorize("@ss.hasPermi('oa:server:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:server:remove')") |
| | | @Log(title = "服务器" , businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult<Void> remove(@ApiParam("主键串") |
| | |
| | | */ |
| | | @DataDictClass |
| | | @ApiOperation("查询软件系统列表") |
| | | @PreAuthorize("@ss.hasPermi('oa:system:list')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:system:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo<SgSystemVo> list(@Validated(QueryGroup.class) SgSystemBo bo) { |
| | | return iSgSystemService.queryPageList(bo); |
| | |
| | | * 获取软件系统详细信息 |
| | | */ |
| | | @ApiOperation("获取软件系统详细信息") |
| | | @PreAuthorize("@ss.hasPermi('oa:system:query')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:system:query')") |
| | | @GetMapping("/{id}") |
| | | public AjaxResult<SgSystemVo> getInfo(@ApiParam("主键") |
| | | @NotNull(message = "主键不能为空") |
| | |
| | | * 新增软件系统 |
| | | */ |
| | | @ApiOperation("新增软件系统") |
| | | @PreAuthorize("@ss.hasPermi('oa:system:add')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:system:add')") |
| | | @Log(title = "软件系统", businessType = BusinessType.INSERT) |
| | | @RepeatSubmit() |
| | | @PostMapping() |
| | |
| | | * 修改软件系统 |
| | | */ |
| | | @ApiOperation("修改软件系统") |
| | | @PreAuthorize("@ss.hasPermi('oa:system:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:system:edit')") |
| | | @Log(title = "软件系统", businessType = BusinessType.UPDATE) |
| | | @RepeatSubmit() |
| | | @PutMapping() |
| | |
| | | * 删除软件系统 |
| | | */ |
| | | @ApiOperation("删除软件系统") |
| | | @PreAuthorize("@ss.hasPermi('oa:system:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:system:remove')") |
| | | @Log(title = "软件系统" , businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult<Void> remove(@ApiParam("主键串") |