| | |
| | | */ |
| | | @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("主键串") |