liusheng
2024-03-15 4c42cd3d556ea72d70ea43a734cc38acd6b81e74
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeController.java
@@ -1,4 +1,4 @@
package com.ruoyi.project.controller;
package com.ruoyi.web.controller.project;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.annotation.RepeatSubmit;
@@ -75,11 +75,12 @@
    @ApiOperation("新增差旅报销付款信息")
    //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:add')")
    @Log(title = "差旅报销付款信息", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    @RepeatSubmit
    public AjaxResult add(@RequestBody ServiceReimbursementpayee serviceReimbursementpayee)
    {
        return toAjax(serviceReimbursementpayeeService.save(serviceReimbursementpayee));
        boolean save = serviceReimbursementpayeeService.save(serviceReimbursementpayee);
        return AjaxResult.success(serviceReimbursementpayee);
    }
    /**
@@ -88,7 +89,7 @@
    @ApiOperation("修改差旅报销付款信息")
    //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:edit')")
    @Log(title = "差旅报销付款信息", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/reimbursementpayeeEdit")
    @RepeatSubmit    
    public AjaxResult edit(@RequestBody ServiceReimbursementpayee serviceReimbursementpayee)
    {
@@ -101,7 +102,7 @@
    @ApiOperation("删除差旅报销付款信息")
    //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:remove')")
    @Log(title = "差旅报销付款信息", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    @GetMapping("/remove/{ids}")
    public AjaxResult remove(@PathVariable String[] ids)
    {
        return toAjax(serviceReimbursementpayeeService.removeByIds(Arrays.asList(ids)));