liusheng
2024-10-22 580f358ce4e50816211d69ff6e31817b6593d731
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatArchivetagController.java
@@ -11,8 +11,6 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -40,7 +38,7 @@
    /**
     * 查询患者档案标签列表
     */
    @PreAuthorize("@ss.hasPermi('system:archivetag:list')")
    //@PreAuthorize("@ss.hasPermi('system:archivetag:list')")
   @PostMapping("/list")
    @ApiOperation("查询患者档案标签列表")
    public TableDataInfo list(@RequestBody PatArchivetag patArchivetag) {
@@ -52,7 +50,7 @@
    /**
     * 导出患者档案标签列表
     */
    @PreAuthorize("@ss.hasPermi('system:archivetag:export')")
    //@PreAuthorize("@ss.hasPermi('system:archivetag:export')")
    @PostMapping("/export")
    @ApiOperation("导出患者档案标签列表")
    public void export(HttpServletResponse response, PatArchivetag patArchivetag) {
@@ -65,7 +63,7 @@
     * 获取患者档案标签详细信息
     */
    @ApiOperation("获取患者档案标签详细信息")
    @PreAuthorize("@ss.hasPermi('system:archivetag:query')")
    //@PreAuthorize("@ss.hasPermi('system:archivetag:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id) {
        return success(patArchivetagService.selectPatArchivetagById(id));
@@ -74,7 +72,7 @@
    /**
     * 新增患者档案标签
     */
    @PreAuthorize("@ss.hasPermi('system:archivetag:add')")
    //@PreAuthorize("@ss.hasPermi('system:archivetag:add')")
    @ApiOperation("新增患者档案标签")
    @PostMapping("/add")
    public AjaxResult add(@RequestBody PatArchivetag patArchivetag) {
@@ -84,7 +82,7 @@
    /**
     * 修改患者档案标签
     */
    @PreAuthorize("@ss.hasPermi('system:archivetag:edit')")
    //@PreAuthorize("@ss.hasPermi('system:archivetag:edit')")
    @ApiOperation("修改患者档案标签")
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody PatArchivetag patArchivetag) {
@@ -94,7 +92,7 @@
    /**
     * 删除患者档案标签
     */
    @PreAuthorize("@ss.hasPermi('system:archivetag:remove')")
    //@PreAuthorize("@ss.hasPermi('system:archivetag:remove')")
    @ApiOperation("删除患者档案标签")
    @GetMapping("/remove/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids) {