| | |
| | | //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:add')") |
| | | @Log(title = "伦理审查专家意见", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @NotRepeatCommit(key = "param:arg[1]", value = 30000) |
| | | // @NotRepeatCommit(key = "param:arg[1]", value = 30000) |
| | | public AjaxResult add(@RequestBody ServiceEthicalreviewopinions serviceEthicalreviewopinions) { |
| | | boolean save = serviceEthicalreviewopinionsService.save(serviceEthicalreviewopinions); |
| | | return AjaxResult.success(serviceEthicalreviewopinions); |
| | |
| | | //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:edit')") |
| | | @Log(title = "伦理审查专家意见", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | | // @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody ServiceEthicalreviewopinions serviceEthicalreviewopinions) { |
| | | return toAjax(serviceEthicalreviewopinionsService.updateById(serviceEthicalreviewopinions)); |
| | | } |