新增接口
This commit is contained in:
parent
50d11f1743
commit
dfd17b332d
@ -135,4 +135,17 @@ public class EcganalysisparasController {
|
|||||||
EcganalysisparasDO ecganalysisparas= ecganalysisparasService.getexamIDdata(examId);
|
EcganalysisparasDO ecganalysisparas= ecganalysisparasService.getexamIDdata(examId);
|
||||||
return success(BeanUtils.toBean(ecganalysisparas, EcganalysisparasRespVO.class));
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user