唐耀东
2022-05-18 163f15f11565405041d58e0db3a17dcaa08f1988
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgConstructionBatchController.java
@@ -49,7 +49,7 @@
     */
    @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);
@@ -59,7 +59,7 @@
     * 导出施工批次列表
     */
    @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) {
@@ -71,7 +71,7 @@
     * 获取施工批次详细信息
     */
    @ApiOperation("获取施工批次详细信息")
    @PreAuthorize("@ss.hasPermi('oa:constructionBatch:query')")
//    @PreAuthorize("@ss.hasPermi('oa:constructionBatch:query')")
    @GetMapping("/{id}")
    public AjaxResult<SgConstructionBatchVo> getInfo(@ApiParam("主键")
                                                  @NotNull(message = "主键不能为空")
@@ -83,7 +83,7 @@
     * 新增施工批次
     */
    @ApiOperation("新增施工批次")
    @PreAuthorize("@ss.hasPermi('oa:constructionBatch:add')")
//    @PreAuthorize("@ss.hasPermi('oa:constructionBatch:add')")
    @Log(title = "施工批次", businessType = BusinessType.INSERT)
    @RepeatSubmit()
    @PostMapping()
@@ -95,7 +95,7 @@
     * 修改施工批次
     */
    @ApiOperation("修改施工批次")
    @PreAuthorize("@ss.hasPermi('oa:constructionBatch:edit')")
//    @PreAuthorize("@ss.hasPermi('oa:constructionBatch:edit')")
    @Log(title = "施工批次", businessType = BusinessType.UPDATE)
    @RepeatSubmit()
    @PutMapping()
@@ -107,7 +107,7 @@
     * 删除施工批次
     */
    @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("主键串")