From ee99290acc01bf294b44f39194f93762d7a3de2d Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 28 二月 2024 18:50:16 +0800
Subject: [PATCH] 代码提交
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeController.java | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeController.java
index d480692..7f3bae3 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeController.java
+++ b/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);
}
/**
@@ -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)));
--
Gitblit v1.9.3