liusheng
2024-09-18 907641e56c2085aaa81f267946dc3e3e9fca73e7
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedWeightController.java
@@ -37,7 +37,7 @@
     * 查询患者体重记录列表
     */
    @ApiOperation("查询患者体重记录列表")
    @PreAuthorize("@ss.hasPermi('system:weight:list')")
    //@PreAuthorize("@ss.hasPermi('system:weight:list')")
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody PatMedWeight patMedWeight)
    {
@@ -50,7 +50,7 @@
     * 导出患者体重记录列表
     */
    @ApiOperation("导出患者体重记录列表")
    @PreAuthorize("@ss.hasPermi('system:weight:export')")
    //@PreAuthorize("@ss.hasPermi('system:weight:export')")
    @Log(title = "患者体重记录", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, PatMedWeight patMedWeight)
@@ -64,7 +64,7 @@
     * 获取患者体重记录详细信息
     */
    @ApiOperation("获取患者体重记录详细信息")
    @PreAuthorize("@ss.hasPermi('system:weight:query')")
    //@PreAuthorize("@ss.hasPermi('system:weight:query')")
    @ApiImplicitParam(name = "getInfo", value = "主键ID", dataType = "long", dataTypeClass = Long.class)
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id)
@@ -76,7 +76,7 @@
     * 新增患者体重记录
     */
    @ApiOperation("新增患者体重记录")
    @PreAuthorize("@ss.hasPermi('system:weight:add')")
    //@PreAuthorize("@ss.hasPermi('system:weight:add')")
    @Log(title = "患者体重记录", businessType = BusinessType.INSERT)
    @PostMapping("/add")
    public AjaxResult add(@RequestBody PatMedWeight patMedWeight)
@@ -88,7 +88,7 @@
     * 修改患者体重记录
     */
    @ApiOperation("修改患者体重记录")
    @PreAuthorize("@ss.hasPermi('system:weight:edit')")
    //@PreAuthorize("@ss.hasPermi('system:weight:edit')")
    @Log(title = "修改患者体重记录", businessType = BusinessType.UPDATE)
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody PatMedWeight patMedWeight)
@@ -100,7 +100,7 @@
     * 删除患者体重记录
     */
    @ApiOperation("删除患者体重记录")
    @PreAuthorize("@ss.hasPermi('system:weight:remove')")
    //@PreAuthorize("@ss.hasPermi('system:weight:remove')")
    @Log(title = "删除患者体重记录", businessType = BusinessType.DELETE)
    @ApiImplicitParam(name = "remove", value = "主键ID", dataType = "long", dataTypeClass = Array.class)
   @GetMapping("/remove/{ids}")