From 69c4cb17e2d92882594f5b199d5d0c831b4c23ce Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Tue, 17 Dec 2024 17:56:30 +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 --- .../dal/mysql/ecganalysisparas/EcganalysisparasMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/dal/mysql/ecganalysisparas/EcganalysisparasMapper.java b/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/dal/mysql/ecganalysisparas/EcganalysisparasMapper.java index 80bed4950..89810a722 100644 --- a/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/dal/mysql/ecganalysisparas/EcganalysisparasMapper.java +++ b/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/dal/mysql/ecganalysisparas/EcganalysisparasMapper.java @@ -66,7 +66,7 @@ public interface EcganalysisparasMapper extends BaseMapperX sql.append(" SELECT t1.doctorDiagResult,t2.* ").append(System.lineSeparator()); sql.append(" FROM tb_ecganalysisparas t1 ").append(System.lineSeparator()); sql.append(" inner JOIN tb_patientexamlist t2 ON t1.regId=t2.regId AND t1.examId=t2.examId ").append(System.lineSeparator()); - sql.append(" WHERE 1=1 ").append(System.lineSeparator()); + sql.append(" WHERE 1=1 and t2.deviceType='ECG' ").append(System.lineSeparator()); sql.append(" AND t1.orgId='" + orgId.trim() + "' ").append(System.lineSeparator()); if (doctorDiagTimeStart != null) sql.append(" AND t1.doctorDiagTime>=str_to_date('" + doctorDiagTimeStart.format(DateTimeFormatter.ofPattern("yyyy-MM-dd")) + " 00:00:00','%Y-%m-%d %H:%i:%S') ").append(System.lineSeparator());