List<PatientRecordForm> selectPatientRecordFormByRecords(@Param("ids")Long[] ids,@Param("recordId")Long recordId);
<select id="selectPatientRecordFormByRecords" parameterType="String" resultMap="PatientRecordFormResult">
select record_id,form_id,edc_follow_status ,save_type from patient_record_form where form_id in
<foreach item="id" collection="ids" open="(" separator="," close=")">
#{id}
</foreach>
and record_id =#{recordId}
</select>