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 0106963c5..72654dc13 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 @@ -135,4 +135,17 @@ public class EcganalysisparasController { EcganalysisparasDO ecganalysisparas= ecganalysisparasService.getexamIDdata(examId); 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