yxh
yxh
2024-01-04 a88e19be56fab4f06aae0248575b55fed41eaa1e
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganstaticsController.java
@@ -64,7 +64,7 @@
     */
    @ApiOperation("获取捐献案例器官列详细信息")
    @PreAuthorize("@ss.hasPermi('project:donateorganstatics:query')")
    @GetMapping(value = "/{id}")
    @GetMapping(value = "/getInfo/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id)
    {
        return AjaxResult.success(serviceDonateorganstaticsService.getById(id));
@@ -76,7 +76,7 @@
    @ApiOperation("新增捐献案例器官列")
    @PreAuthorize("@ss.hasPermi('project:donateorganstatics:add')")
    @Log(title = "捐献案例器官列", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    @RepeatSubmit
    public AjaxResult add(@RequestBody ServiceDonateorganstatics serviceDonateorganstatics)
    {
@@ -89,7 +89,7 @@
    @ApiOperation("修改捐献案例器官列")
    @PreAuthorize("@ss.hasPermi('project:donateorganstatics:edit')")
    @Log(title = "捐献案例器官列", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    @RepeatSubmit    
    public AjaxResult edit(@RequestBody ServiceDonateorganstatics serviceDonateorganstatics)
    {
@@ -102,7 +102,7 @@
    @ApiOperation("删除捐献案例器官列")
    @PreAuthorize("@ss.hasPermi('project:donateorganstatics:remove')")
    @Log(title = "捐献案例器官列", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    @GetMapping("/remove/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)
    {
        return toAjax(serviceDonateorganstaticsService.removeByIds(Arrays.asList(ids)));