Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
K
klck
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
位宇华
klck
Commits
d5b1922c
Commit
d5b1922c
authored
Jul 11, 2023
by
lvzhuangzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除修改方法
parent
208b8aeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
15 deletions
+1
-15
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysSuppliesController.java
...om/ruoyi/web/controller/system/SysSuppliesController.java
+1
-15
No files found.
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysSuppliesController.java
View file @
d5b1922c
...
...
@@ -52,7 +52,7 @@ public class SysSuppliesController extends BaseController
/**
* 获取模板详情详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('
ruoyi-myLuckyexcel:myluckyexcel
:query')"
)
@PreAuthorize
(
"@ss.hasPermi('
system:supplies
:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
...
...
@@ -60,18 +60,4 @@ public class SysSuppliesController extends BaseController
return
AjaxResult
.
success
(
iSysSuppliesService
.
selectExcelById
(
id
));
}
/**
* 修改物资管理列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:supplies:edit')"
)
@PostMapping
(
"/edit"
)
public
String
edit
(
@RequestBody
SysSupplies
sysSupplies
)
{
Integer
i
=
iSysSuppliesService
.
edit
(
sysSupplies
);
if
(
i
==
1
){
return
"修改成功"
;
}
else
{
return
"修改失败"
;
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment