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