liusheng
2024-03-19 ded03f0315e02c13f17b8bf7777c89a5cc73130e
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementdetailSharedController.java
@@ -82,11 +82,12 @@
    @ApiOperation("新增报销申请明细")
    @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:add')")
    @Log(title = "报销申请明细", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    @RepeatSubmit
    public AjaxResult add(@RequestBody ServiceReimbursementdetailShared serviceReimbursementdetailShared)
    {
        return toAjax(serviceReimbursementdetailSharedService.save(serviceReimbursementdetailShared));
        boolean save = serviceReimbursementdetailSharedService.save(serviceReimbursementdetailShared);
        return AjaxResult.success(serviceReimbursementdetailShared);
    }
    /**
@@ -95,7 +96,7 @@
    @ApiOperation("修改报销申请明细")
    @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:edit')")
    @Log(title = "报销申请明细", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    @RepeatSubmit    
    public AjaxResult edit(@RequestBody ServiceReimbursementdetailShared serviceReimbursementdetailShared)
    {
@@ -108,7 +109,7 @@
    @ApiOperation("删除报销申请明细")
    @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:remove')")
    @Log(title = "报销申请明细", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    @GetMapping("/remove/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)
    {
        return toAjax(serviceReimbursementdetailSharedService.removeByIds(Arrays.asList(ids)));