From 793b9cd7c17aca4ce6873056c7fa167662e9d431 Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Mon, 9 Dec 2024 16:31:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BF=83=E7=94=B5=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=8E=A5=E5=8F=A3=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EcganalysisparasController.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/ecganalysisparas/EcganalysisparasController.java b/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/ecganalysisparas/EcganalysisparasController.java index e974aae9b..6d7f3acf7 100644 --- a/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/ecganalysisparas/EcganalysisparasController.java +++ b/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/ecganalysisparas/EcganalysisparasController.java @@ -136,4 +136,17 @@ public class EcganalysisparasController { EcganalysisparasDO ecganalysisparas= ecganalysisparasService.getexamIDdata(examId,orgId); return success(BeanUtils.toBean(ecganalysisparas, EcganalysisparasRespVO.class)); } + + @GetMapping("/getDateStaAndEndData") + @Operation(summary = "根据时间获得心电数据") + public CommonResult> getDateStaAndEndData(@RequestParam("orgId") String orgid, @RequestParam("TimeSta") String TimeSta,@RequestParam("TimeEnd") String TimeEnd) + { + + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper.eq("orgId",orgid); + queryWrapper.ge("doctorDiagTime", TimeSta).le("doctorDiagTime",TimeEnd); + List doList= ecganalysisparasMapper.selectList(queryWrapper); + + return success(doList); + } } \ No newline at end of file