Commit 068b7116a614bc73d0248251a5dc32af0d1e9c12

Authored by liquanyu
1 parent ad4f97f3f8
Exists in master and in 1 other branch dev

服务

Showing 1 changed file with 1 additions and 1 deletions

platform-biz-service/src/main/resources/mainOrm/master/TServiceTimeRecord.xml View file @ 068b711
... ... @@ -22,7 +22,7 @@
22 22 resultType="com.lyms.platform.pojo.TServiceTimeRecord">
23 23 SELECT s.id,s.serviceId,s.createTime,s.updateTime,s.startTime,s.endTime,s.type
24 24 ,s.weekStart,s.weekEnd,s.remark,s.patientId,s.memberId,s.foreignId from t_service_time_record s
25   - 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
  25 + INNER JOIN patient_service t on t.parentid= s.foreignId where t.ser_status=1 and t.ser_type=1 and s.endType=0
26 26 <if test="endTime != null">
27 27 <![CDATA[ and s.endTime <= #{endTime,jdbcType=TIMESTAMP} ]]>
28 28 </if>