zhitong.yu
7 天以前 7fc9c42987a13c1d8d2159591a5803e70518827f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package com.hxzk.gps.controller.Heart;
 
import cn.dev33.satoken.annotation.SaCheckLogin;
 
import com.hxzk.gps.controller.Heart.dto.TableSearchResult.TableSearchResult;
import com.hxzk.gps.result.ResultTable;
import com.hxzk.gps.service.Heart.TbHeartRecordService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * <p>
 *  前端控制器
 *  心率记录
 * </p>
 *
 * @author YuZhiTong
 * @since 2025-05-27
 */
@RestController
@RequestMapping("/Heart")
public class TbHeartRecordController {
    @Autowired
    private TbHeartRecordService heartRecordService;
    @SaCheckLogin
    @ApiOperation(value = "平台心率记录列表接口", notes = "该接口提供了平台心率记录信息列表查询功能")
    @PostMapping("FindHeartInfo")
    public ResultTable FindHeartInfo(@RequestBody TableSearchResult TableSearchResult){
        return heartRecordService.FindHeartInfo(TableSearchResult);
    }
}