smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml
@@ -949,6 +949,12 @@ </if> <if test="managementDoctorCode != null">and management_doctor_code = #{managementDoctorCode}</if> <if test="managementDoctor != null">and management_doctor like concat('%',#{managementDoctor}, '%')</if> <if test="startOutHospTime != null"> AND date_format(endtime,'%y%m%d') >= date_format(#{startOutHospTime},'%y%m%d') </if> <if test="endOutHospTime != null"> AND date_format(endtime,'%y%m%d') <= date_format(#{endOutHospTime},'%y%m%d') </if> ) a where a.finished =1) </select>