Commit d5b1922c authored by lvzhuangzhuang's avatar lvzhuangzhuang

删除修改方法

parent 208b8aeb
...@@ -52,7 +52,7 @@ public class SysSuppliesController extends BaseController ...@@ -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}") @GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id) public AjaxResult getInfo(@PathVariable("id") Long id)
{ {
...@@ -60,18 +60,4 @@ public class SysSuppliesController extends BaseController ...@@ -60,18 +60,4 @@ public class SysSuppliesController extends BaseController
return AjaxResult.success(iSysSuppliesService.selectExcelById(id)); 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 "修改失败";
}
}
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment