liusheng
2024-09-18 907641e56c2085aaa81f267946dc3e3e9fca73e7
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedOperationController.java
@@ -43,7 +43,7 @@
     * 查询患者手术记录列表
     */
    @ApiOperation("查询患者手术记录列表")
    @PreAuthorize("@ss.hasPermi('smartor:operation:list')")
    //@PreAuthorize("@ss.hasPermi('smartor:operation:list')")
    @GetMapping("/list")
    public TableDataInfo list(PatMedOperation patMedOperation) {
        startPage();
@@ -55,7 +55,7 @@
     * 导出患者手术记录列表
     */
    @ApiOperation("导出患者手术记录列表")
    @PreAuthorize("@ss.hasPermi('smartor:operation:export')")
    //@PreAuthorize("@ss.hasPermi('smartor:operation:export')")
    @Log(title = "患者手术记录" , businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, PatMedOperation patMedOperation) {
@@ -68,7 +68,7 @@
     * 获取患者手术记录详细信息
     */
    @ApiOperation("获取患者手术记录详细信息")
    @PreAuthorize("@ss.hasPermi('smartor:operation:query')")
    //@PreAuthorize("@ss.hasPermi('smartor:operation:query')")
    @GetMapping(value = "/getInfo/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id) {
        return success(patMedOperationService.selectPatMedOperationById(id));
@@ -77,7 +77,7 @@
    /**
     * 新增患者手术记录
     */
    @PreAuthorize("@ss.hasPermi('smartor:operation:add')")
    //@PreAuthorize("@ss.hasPermi('smartor:operation:add')")
    @Log(title = "患者手术记录" , businessType = BusinessType.INSERT)
    @PostMapping("/add")
    public AjaxResult add(@RequestBody PatMedOperation patMedOperation) {
@@ -88,7 +88,7 @@
     * 修改患者手术记录
     */
    @ApiOperation("修改患者手术记录")
    @PreAuthorize("@ss.hasPermi('smartor:operation:edit')")
    //@PreAuthorize("@ss.hasPermi('smartor:operation:edit')")
    @Log(title = "患者手术记录" , businessType = BusinessType.UPDATE)
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody PatMedOperation patMedOperation) {
@@ -99,7 +99,7 @@
     * 删除患者手术记录
     */
    @ApiOperation("删除患者手术记录")
    @PreAuthorize("@ss.hasPermi('smartor:operation:remove')")
    //@PreAuthorize("@ss.hasPermi('smartor:operation:remove')")
    @Log(title = "患者手术记录" , businessType = BusinessType.DELETE)
    @GetMapping("/remove/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids) {