| | |
| | | @ApiOperation("新增亲属确认") |
| | | //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:add')") |
| | | @Log(title = "捐献亲属确认", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | | public AjaxResult add(@RequestBody ServiceRelativesconfirmation serviceRelativesconfirmation) { |
| | | return toAjax(serviceRelativesconfirmationService.save(serviceRelativesconfirmation)); |
| | | boolean save = serviceRelativesconfirmationService.save(serviceRelativesconfirmation); |
| | | return AjaxResult.success(serviceRelativesconfirmation); |
| | | } |
| | | |
| | | /** |
| | |
| | | } |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("downloadUrl", "/profile/download/wordtemplate/" + name + ".doc"); |
| | | map.put("downloadName", name + ".doc"); |
| | | return map; |
| | | } |
| | | |