|  |  | 
 |  |  |      * 查询捐献附件列表 | 
 |  |  |      */ | 
 |  |  |     @ApiOperation("查询捐献附件列表") | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:annextype:list')") | 
 |  |  |     // @PreAuthorize("@ss.hasPermi('system:annextype:list')") | 
 |  |  |     @GetMapping("/list") | 
 |  |  |     public TableDataInfo list(BaseAnnextype baseAnnextype) { | 
 |  |  |         startPage(); | 
 |  |  | 
 |  |  |      * 导出捐献附件列表 | 
 |  |  |      */ | 
 |  |  |     @ApiOperation("导出捐献附件列表") | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:annextype:export')") | 
 |  |  |     // @PreAuthorize("@ss.hasPermi('system:annextype:export')") | 
 |  |  |     @Log(title = "捐献附件", businessType = BusinessType.EXPORT) | 
 |  |  |     @GetMapping("/export") | 
 |  |  |     public AjaxResult export(BaseAnnextype baseAnnextype) { | 
 |  |  | 
 |  |  |      * 获取捐献附件详细信息 | 
 |  |  |      */ | 
 |  |  |     @ApiOperation("获取捐献附件详细信息") | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:annextype:query')") | 
 |  |  |     // @PreAuthorize("@ss.hasPermi('system:annextype:query')") | 
 |  |  |     @GetMapping(value = "/getInfo/{id}") | 
 |  |  |     public AjaxResult getInfo(@PathVariable("id") Long id) { | 
 |  |  |         log.info("获取捐献附件详细信息{}:", id); | 
 |  |  | 
 |  |  |      * 新增捐献附件 | 
 |  |  |      */ | 
 |  |  |     @ApiOperation("新增捐献附件") | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:annextype:add')") | 
 |  |  |     // @PreAuthorize("@ss.hasPermi('system:annextype:add')") | 
 |  |  |     @Log(title = "捐献附件", businessType = BusinessType.INSERT) | 
 |  |  |     @PostMapping("/add") | 
 |  |  |      @RepeatSubmit | 
 |  |  |     @RepeatSubmit | 
 |  |  |     public AjaxResult add(@RequestBody BaseAnnextype baseAnnextype) { | 
 |  |  |         log.info("新增捐献附件{}:", baseAnnextype); | 
 |  |  |  | 
 |  |  |         if (ObjectUtils.isEmpty(baseAnnextype) || StringUtils.isEmpty(baseAnnextype.getDonationcategory()) || StringUtils.isEmpty(baseAnnextype.getAnnextype())) { | 
 |  |  |             throw new BaseException("请检查捐献类别和附件类型,为空了"); | 
 |  |  |         } | 
 |  |  |         return toAjax(baseAnnextypeService.save(baseAnnextype)); | 
 |  |  |         boolean save = baseAnnextypeService.save(baseAnnextype); | 
 |  |  |         return AjaxResult.success(baseAnnextype); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 修改捐献附件 | 
 |  |  |      */ | 
 |  |  |     @ApiOperation("修改捐献附件") | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:annextype:edit')") | 
 |  |  |     // @PreAuthorize("@ss.hasPermi('system:annextype:edit')") | 
 |  |  |     @Log(title = "捐献附件", businessType = BusinessType.UPDATE) | 
 |  |  |     @PostMapping("/edit") | 
 |  |  |     @RepeatSubmit | 
 |  |  | 
 |  |  |      * 删除捐献附件 | 
 |  |  |      */ | 
 |  |  |     @ApiOperation("删除捐献附件") | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:annextype:remove')") | 
 |  |  |     // @PreAuthorize("@ss.hasPermi('system:annextype:remove')") | 
 |  |  |     @Log(title = "捐献附件", businessType = BusinessType.DELETE) | 
 |  |  |     @GetMapping("/remove/{ids}") | 
 |  |  |     public AjaxResult remove(@PathVariable Long[] ids) { |