liusheng
2024-06-05 2cba0d00dc45998105129a0c26cb546282cd39a8
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedPhysicalController.java
@@ -1,4 +1,4 @@
package com.smartor.controller;
package com.ruoyi.web.controller.smartor;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
@@ -26,7 +26,7 @@
/**
 * 患者体检记录Controller
 *
 *
 * @author smartor
 * @date 2023-03-04
 */
@@ -43,8 +43,8 @@
     */
    @ApiOperation("查询患者体检记录列表")
    @PreAuthorize("@ss.hasPermi('smartor:patphysical:list')")
    @GetMapping("/list")
    public TableDataInfo list(PatMedPhysical patMedPhysical)
    @PostMapping("/selectPatMedPhysicalList")
    public TableDataInfo selectPatMedPhysicallist(@RequestBody  PatMedPhysical patMedPhysical)
    {
        startPage();
        List<PatMedPhysical> list = patMedPhysicalService.selectPatMedPhysicalList(patMedPhysical);
@@ -82,7 +82,7 @@
    @ApiOperation("新增患者体检记录")
    @PreAuthorize("@ss.hasPermi('smartor:patphysical:add')")
    @Log(title = "患者体检记录", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    public AjaxResult add(@RequestBody PatMedPhysical patMedPhysical)
    {
        return toAjax(patMedPhysicalService.insertPatMedPhysical(patMedPhysical));
@@ -94,7 +94,7 @@
    @ApiOperation("修改患者体检记录")
    @PreAuthorize("@ss.hasPermi('smartor:patphysical:edit')")
    @Log(title = "患者体检记录", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody PatMedPhysical patMedPhysical)
    {
        return toAjax(patMedPhysicalService.updatePatMedPhysical(patMedPhysical));
@@ -106,7 +106,7 @@
    @ApiOperation("删除患者体检记录")
    @PreAuthorize("@ss.hasPermi('smartor:patphysical:remove')")
    @Log(title = "患者体检记录", businessType = BusinessType.DELETE)
   @DeleteMapping("/{ids}")
   @GetMapping("/remove/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)
    {
        return toAjax(patMedPhysicalService.deletePatMedPhysicalByIds(ids));