| | |
| | | /** |
| | | * 查询伦理审查专家意见列表 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceEthicalreviewopinions serviceEthicalreviewopinions) { |
| | | startPage(); |
| | |
| | | /** |
| | | * 导出伦理审查专家意见列表 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:export')") |
| | | @Log(title = "伦理审查专家意见", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceEthicalreviewopinions serviceEthicalreviewopinions) { |
| | |
| | | /** |
| | | * 获取伦理审查专家意见详细信息 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceEthicalreviewopinionsService.getById(id)); |
| | |
| | | /** |
| | | * 新增伦理审查专家意见 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:add')") |
| | | //// @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')") |
| | | //// @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)); |
| | | } |
| | |
| | | /** |
| | | * 删除伦理审查专家意见 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:remove')") |
| | | @Log(title = "伦理审查专家意见", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |