| | |
| | | package com.ruoyi.web.controller.project; |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.annotation.NotRepeatCommit; |
| | | import com.ruoyi.common.annotation.RepeatSubmit; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | |
| | | 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); |
| | | } |
| | | |
| | | /** |