修改时间查询条件
This commit is contained in:
parent
e5e539603b
commit
96c127133d
@ -139,11 +139,11 @@ public class EcganalysisparasController {
|
|||||||
|
|
||||||
@GetMapping("/getDateStaAndEndData")
|
@GetMapping("/getDateStaAndEndData")
|
||||||
@Operation(summary = "根据时间获得心电数据")
|
@Operation(summary = "根据时间获得心电数据")
|
||||||
public CommonResult<List<EcganalysisparasDO>> getDateStaAndEndData(@RequestParam("orgId") String orgid, @RequestParam("TimeSta") String TimeSta,@RequestParam("TimeEnd") String TimeEnd)
|
public CommonResult<List<EcganalysisparasDO>> getDateStaAndEndData(@RequestParam("doctorName") String doctorName, @RequestParam("TimeSta") String TimeSta,@RequestParam("TimeEnd") String TimeEnd)
|
||||||
{
|
{
|
||||||
|
|
||||||
QueryWrapper<EcganalysisparasDO> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<EcganalysisparasDO> queryWrapper = new QueryWrapper<>();
|
||||||
queryWrapper.eq("orgId",orgid);
|
queryWrapper.eq("doctorName",doctorName);
|
||||||
queryWrapper.ge("doctorDiagTime", TimeSta).le("doctorDiagTime",TimeEnd);
|
queryWrapper.ge("doctorDiagTime", TimeSta).le("doctorDiagTime",TimeEnd);
|
||||||
List<EcganalysisparasDO> doList= ecganalysisparasMapper.selectList(queryWrapper);
|
List<EcganalysisparasDO> doList= ecganalysisparasMapper.selectList(queryWrapper);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user