| | |
| | | * @date 2021-11-17 |
| | | */ |
| | | @Slf4j |
| | | @Api(description = "捐献见证管理") |
| | | @Api(description = "捐献见证管理",tags = {"捐献获取见证"}) |
| | | @RestController |
| | | @RequestMapping("/project/donationwitness") |
| | | public class ServiceDonationwitnessController extends BaseController { |
| | |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | | public AjaxResult add(@RequestBody ServiceDonationwitnessVO serviceDonationwitnessVO) { |
| | | boolean save = serviceDonationwitnessService.add(serviceDonationwitnessVO); |
| | | long save = serviceDonationwitnessService.add(serviceDonationwitnessVO); |
| | | log.info("新增捐献见证是否成功:{},id为:{},infoId为:{}", save, serviceDonationwitnessVO.getId(), serviceDonationwitnessVO.getInfoid()); |
| | | return AjaxResult.success(save); |
| | | } |