liusheng
2024-03-19 519886a70d630e3cdd6c0f40f55fcebc6e780dc5
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeSharedController.java
@@ -1,4 +1,4 @@
package com.ruoyi.project.controller;
package com.ruoyi.web.controller.project;
import java.util.Arrays;
import java.util.List;
@@ -82,11 +82,12 @@
    @ApiOperation("新增差旅报销付款信息")
    @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:add')")
    @Log(title = "差旅报销付款信息", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    @RepeatSubmit
    public AjaxResult add(@RequestBody ServiceReimbursementpayeeShared serviceReimbursementpayeeShared)
    {
        return toAjax(serviceReimbursementpayeeSharedService.save(serviceReimbursementpayeeShared));
        boolean save = serviceReimbursementpayeeSharedService.save(serviceReimbursementpayeeShared);
        return AjaxResult.success(serviceReimbursementpayeeShared);
    }
    /**
@@ -95,7 +96,7 @@
    @ApiOperation("修改差旅报销付款信息")
    @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:edit')")
    @Log(title = "差旅报销付款信息", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    @RepeatSubmit    
    public AjaxResult edit(@RequestBody ServiceReimbursementpayeeShared serviceReimbursementpayeeShared)
    {
@@ -108,7 +109,7 @@
    @ApiOperation("删除差旅报销付款信息")
    @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:remove')")
    @Log(title = "差旅报销付款信息", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    @GetMapping("/remove/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)
    {
        return toAjax(serviceReimbursementpayeeSharedService.removeByIds(Arrays.asList(ids)));