新增接口

This commit is contained in:
Euni4U 2024-12-09 16:30:04 +08:00
parent 50d11f1743
commit dfd17b332d

View File

@ -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<List<EcganalysisparasDO>> getDateStaAndEndData(@RequestParam("orgId") String orgid, @RequestParam("TimeSta") String TimeSta,@RequestParam("TimeEnd") String TimeEnd)
{
QueryWrapper<EcganalysisparasDO> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("orgId",orgid);
queryWrapper.ge("doctorDiagTime", TimeSta).le("doctorDiagTime",TimeEnd);
List<EcganalysisparasDO> doList= ecganalysisparasMapper.selectList(queryWrapper);
return success(doList);
}
}