From 068b7116a614bc73d0248251a5dc32af0d1e9c12 Mon Sep 17 00:00:00 2001 From: liquanyu Date: Tue, 18 Sep 2018 14:02:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mainOrm/master/TServiceTimeRecord.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform-biz-service/src/main/resources/mainOrm/master/TServiceTimeRecord.xml b/platform-biz-service/src/main/resources/mainOrm/master/TServiceTimeRecord.xml index cca235c..d930840 100644 --- a/platform-biz-service/src/main/resources/mainOrm/master/TServiceTimeRecord.xml +++ b/platform-biz-service/src/main/resources/mainOrm/master/TServiceTimeRecord.xml @@ -22,7 +22,7 @@ resultType="com.lyms.platform.pojo.TServiceTimeRecord"> SELECT s.id,s.serviceId,s.createTime,s.updateTime,s.startTime,s.endTime,s.type ,s.weekStart,s.weekEnd,s.remark,s.patientId,s.memberId,s.foreignId from t_service_time_record s - INNER JOIN t_patient_service_record t on t.id= s.serviceId where t.service_status=1 and t.ser_type=1 and s.endType=0 + INNER JOIN patient_service t on t.parentid= s.foreignId where t.ser_status=1 and t.ser_type=1 and s.endType=0 -- 1.8.3.1